livekit-client 1.2.8 → 1.2.9

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.
@@ -10357,7 +10357,7 @@ function computeBitrate(currentStats, prevStats) {
10357
10357
  return (bytesNow - bytesPrev) * 8 * 1000 / (currentStats.timestamp - prevStats.timestamp);
10358
10358
  }
10359
10359
 
10360
- var version$1 = "1.2.8";
10360
+ var version$1 = "1.2.9";
10361
10361
 
10362
10362
  const version = version$1;
10363
10363
  const protocolVersion = 8;
@@ -13909,6 +13909,7 @@ class RemoteTrackPublication extends TrackPublication {
13909
13909
  prevTrack.off(TrackEvent.VideoDimensionsChanged, this.handleVideoDimensionsChange);
13910
13910
  prevTrack.off(TrackEvent.VisibilityChanged, this.handleVisibilityChange);
13911
13911
  prevTrack.off(TrackEvent.Ended, this.handleEnded);
13912
+ prevTrack.detach();
13912
13913
  }
13913
13914
 
13914
13915
  super.setTrack(track);