// const TEMPORAL_LAYERS_COUNT = 2;
export const simulcastConfig: RTCRtpTransceiverInit = {
direction: "sendonly",
sendEncodings: [
{
rid: "h",
active: true,
// maxBitrate: 4_000_000,
// scalabilityMode: "L1T" + TEMPORAL_LAYERS_COUNT,
},
{
rid: "l",
active: true,
// maxBitrate: 4_000_000,
scaleResolutionDownBy: 4,
// scalabilityMode: "L1T" + TEMPORAL_LAYERS_COUNT,
},
],
};
but as Sergio Garcia Murillo suggested I changed the order in sendEncodings array and I am getting now
Simulcast streams:
0: 320x180 min_kbps: 150 target_kbps: 500 max_kbps: 700 max_fps: 60 max_qp: 56 num_tl: 3 active: true
1: 1280x720 min_kbps: 600 target_kbps: 2500 max_kbps: 2500 max_fps: 60 max_qp: 56 num_tl: 3 active: true
It looks like it helped a little but when I join to my room from two chrome tabs I can see something like this
FPS produced by the first participant

FPS produced by the second participant
