livekit-client 1.15.5 → 1.15.6

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.
@@ -10586,7 +10586,7 @@ function getMatch(exp, ua) {
10586
10586
  return match && match.length >= id && match[id] || '';
10587
10587
  }
10588
10588
 
10589
- var version$1 = "1.15.5";
10589
+ var version$1 = "1.15.6";
10590
10590
 
10591
10591
  const version = version$1;
10592
10592
  const protocolVersion = 11;
@@ -14039,6 +14039,8 @@ class LocalTrack extends Track {
14039
14039
  throw TypeError('cannot set processor on track of unknown kind');
14040
14040
  }
14041
14041
  attachToElement(newTrack, this.processorElement);
14042
+ // ensure the processorElement itself stays muted
14043
+ this.processorElement.muted = true;
14042
14044
  yield this.processor.restart({
14043
14045
  track: newTrack,
14044
14046
  kind: this.kind,
@@ -14294,8 +14296,8 @@ class LocalTrack extends Track {
14294
14296
  throw TypeError('cannot set processor on track of unknown kind');
14295
14297
  }
14296
14298
  this.processorElement = (_a = this.processorElement) !== null && _a !== void 0 ? _a : document.createElement(this.kind);
14297
- this.processorElement.muted = true;
14298
14299
  attachToElement(this._mediaStreamTrack, this.processorElement);
14300
+ this.processorElement.muted = true;
14299
14301
  this.processorElement.play().catch(error => livekitLogger.error('failed to play processor element', {
14300
14302
  error
14301
14303
  }));