@stream-io/video-client 1.8.1 → 1.8.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-client",
3
- "version": "1.8.1",
3
+ "version": "1.8.3",
4
4
  "packageManager": "yarn@3.2.4",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -276,7 +276,6 @@ export const disposeOfMediaStream = (stream: MediaStream) => {
276
276
  if (!stream.active) return;
277
277
  stream.getTracks().forEach((track) => {
278
278
  track.stop();
279
- stream.removeTrack(track);
280
279
  });
281
280
  // @ts-expect-error release() is present in react-native-webrtc and must be called to dispose the stream
282
281
  if (typeof stream.release === 'function') {