@stream-io/video-client 1.2.0 → 1.2.1
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 -2
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/rtc/codecs.ts +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -6432,7 +6432,7 @@ const getGenericSdp = async (direction) => {
|
|
|
6432
6432
|
const offer = await tempPc.createOffer();
|
|
6433
6433
|
let sdp = offer.sdp ?? '';
|
|
6434
6434
|
tempPc.getTransceivers().forEach((t) => {
|
|
6435
|
-
t.stop();
|
|
6435
|
+
t.stop?.();
|
|
6436
6436
|
});
|
|
6437
6437
|
tempPc.close();
|
|
6438
6438
|
return sdp;
|
|
@@ -15308,7 +15308,7 @@ class StreamClient {
|
|
|
15308
15308
|
});
|
|
15309
15309
|
};
|
|
15310
15310
|
this.getUserAgent = () => {
|
|
15311
|
-
const version = "1.2.
|
|
15311
|
+
const version = "1.2.1" ;
|
|
15312
15312
|
return (this.userAgent ||
|
|
15313
15313
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
15314
15314
|
};
|