@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/CHANGELOG.md +14 -0
- package/dist/index.browser.es.js +2 -3
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +2 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/devices/devices.ts +0 -1
package/package.json
CHANGED
package/src/devices/devices.ts
CHANGED
|
@@ -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') {
|