livekit-client 1.15.1 → 1.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/livekit-client.esm.mjs +4 -2
- package/dist/livekit-client.esm.mjs.map +1 -1
- package/dist/livekit-client.umd.js +1 -1
- package/dist/livekit-client.umd.js.map +1 -1
- package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/room/participant/LocalParticipant.ts +6 -1
|
@@ -10577,7 +10577,7 @@ function getMatch(exp, ua) {
|
|
|
10577
10577
|
return match && match.length >= id && match[id] || '';
|
|
10578
10578
|
}
|
|
10579
10579
|
|
|
10580
|
-
var version$1 = "1.15.
|
|
10580
|
+
var version$1 = "1.15.2";
|
|
10581
10581
|
|
|
10582
10582
|
const version = version$1;
|
|
10583
10583
|
const protocolVersion = 10;
|
|
@@ -21074,7 +21074,9 @@ class LocalParticipant extends Participant {
|
|
|
21074
21074
|
codec: defaultVideoCodec
|
|
21075
21075
|
};
|
|
21076
21076
|
}
|
|
21077
|
-
if (opts.backupCodec && videoCodec !== opts.backupCodec.codec
|
|
21077
|
+
if (opts.backupCodec && videoCodec !== opts.backupCodec.codec &&
|
|
21078
|
+
// TODO remove this once e2ee is supported for backup codecs
|
|
21079
|
+
req.encryption === Encryption_Type.NONE) {
|
|
21078
21080
|
// multi-codec simulcast requires dynacast
|
|
21079
21081
|
if (!this.roomOptions.dynacast) {
|
|
21080
21082
|
this.roomOptions.dynacast = true;
|