@stream-io/video-client 1.18.2 → 1.18.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 +7 -0
- package/dist/index.browser.es.js +2 -7
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +2 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -7
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/rtc/Publisher.ts +0 -5
package/package.json
CHANGED
package/src/rtc/Publisher.ts
CHANGED
|
@@ -227,11 +227,6 @@ export class Publisher extends BasePeerConnection {
|
|
|
227
227
|
}
|
|
228
228
|
for (const track of this.clonedTracks) {
|
|
229
229
|
this.stopTrack(track);
|
|
230
|
-
// @ts-expect-error release() is present in react-native-webrtc
|
|
231
|
-
if (track && typeof track.release === 'function') {
|
|
232
|
-
// @ts-expect-error
|
|
233
|
-
track.release();
|
|
234
|
-
}
|
|
235
230
|
}
|
|
236
231
|
};
|
|
237
232
|
|