We are using simulcast to send multiple streams to the SFU, what we are seeing is that while we are able to control the bit rate the resolution is the same on the 2 streams. here are my settings
–encodings
VIDEO_SIMULCAST_ENCODINGS= [
{
rid: "r0",
maxBitrate: 200000,
scaleResolutionDownBy: 2,
scalabilityMode: "S1T3",
},
{
rid: "r1",
maxBitrate: 600000,
scaleResolutionDownBy: 1,
scalabilityMode: "S1T3",
},
];
– Here is my getusermedia
let stream = await navigator.mediaDevices.getUserMedia({
video: deviceId
? {
deviceId: deviceId,
width: {
min: 640,
ideal: 1280,
},
height: {
min: 480,
ideal: 720,
},
frameRate,
}
: true,
});
What we are seeing are 2 streams and bothe have 1280X720 resolution, I thought the purpose of simulcast was to not only control the bit rate but also lower the resolution and the scaleResolutiondownBy should change the resolution.
Attached is the image of the 2 streams we are seeing.
Anythoughst as to why I wouldnt see 2 streams with different resolution but only different birate