livekit-client 1.15.1 → 1.15.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.1";
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;