@stream-io/video-client 0.5.4 → 0.5.5
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/StreamSfuClient.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
### [0.5.5](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.5.4...@stream-io/video-client-0.5.5) (2024-01-16)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **sfu:** ensure SFU WebSocket is closed ([#1242](https://github.com/GetStream/stream-video-js/issues/1242)) ([3f99206](https://github.com/GetStream/stream-video-js/commit/3f9920616c26770911ebbc54d50dc50f4ca219e2)), closes [#1212](https://github.com/GetStream/stream-video-js/issues/1212)
|
|
11
|
+
|
|
5
12
|
### [0.5.4](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.5.3...@stream-io/video-client-0.5.4) (2024-01-16)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.browser.es.js
CHANGED
|
@@ -8579,7 +8579,7 @@ class StreamSfuClient {
|
|
|
8579
8579
|
this.unhealthyTimeoutInMs = this.pingIntervalInMs + 5 * 1000;
|
|
8580
8580
|
this.close = (code = StreamSfuClient.NORMAL_CLOSURE, reason = 'js-client: requested signal connection close') => {
|
|
8581
8581
|
this.logger('debug', 'Closing SFU WS connection', code, reason);
|
|
8582
|
-
if (this.signalWs.readyState
|
|
8582
|
+
if (this.signalWs.readyState !== this.signalWs.CLOSED) {
|
|
8583
8583
|
this.signalWs.close(code, reason);
|
|
8584
8584
|
}
|
|
8585
8585
|
this.unsubscribeIceTrickle();
|
|
@@ -14232,7 +14232,7 @@ class StreamClient {
|
|
|
14232
14232
|
});
|
|
14233
14233
|
};
|
|
14234
14234
|
this.getUserAgent = () => {
|
|
14235
|
-
const version = "0.5.
|
|
14235
|
+
const version = "0.5.5" ;
|
|
14236
14236
|
return (this.userAgent ||
|
|
14237
14237
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
14238
14238
|
};
|