add av1 codec

This commit is contained in:
2025-09-07 14:08:11 +00:00
parent 8324597a84
commit 0e95d01786
4 changed files with 452 additions and 100 deletions

View File

@@ -55,14 +55,13 @@ export const mediaService = {
// Default constraints
let constraints = {
video: {
width: { ideal: 1280, max: 1920 },
height: { ideal: 720, max: 1080 },
frameRate: { ideal: 30, max: 60 },
},
width: { ideal: 640, max: 1280 },
height: { ideal: 480, max: 720 },
frameRate: { ideal: 15, max: 30 }
},
audio: {
echoCancellation: true,
noiseSuppression: true,
autoGainControl: true,
},
}