openvidu-browser: Use lowercase RID for simulcast layers

Firefox converts everything to lowercase and then the RIDs wouldn't
match in the internal mediasoup lookup! So better use all lowercase for
these identifiers.
pull/699/head
Juan Navarro 2022-02-08 13:55:41 +01:00
parent b5e645f13d
commit 85f0e3ecd5
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ export class WebRtcPeer {
const layerDiv = 2 ** (maxLayers - l - 1); const layerDiv = 2 ** (maxLayers - l - 1);
const encoding: RTCRtpEncodingParameters = { const encoding: RTCRtpEncodingParameters = {
rid: "rDiv" + layerDiv.toString(), rid: "rdiv" + layerDiv.toString(),
// @ts-ignore -- Property missing from DOM types. // @ts-ignore -- Property missing from DOM types.
scalabilityMode: "L1T1", scalabilityMode: "L1T1",