@stream-io/video-client 0.5.3 → 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 +14 -0
- package/dist/index.browser.es.js +3 -3
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/Call.ts +2 -1
- package/src/StreamSfuClient.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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
|
+
|
|
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)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **ring calls:** cancel auto-drop after rejecting a call ([#1241](https://github.com/GetStream/stream-video-js/issues/1241)) ([67a2aae](https://github.com/GetStream/stream-video-js/commit/67a2aaee658cbe759fbda4d3c924f33e872cd00e))
|
|
18
|
+
|
|
5
19
|
### [0.5.3](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.5.2...@stream-io/video-client-0.5.3) (2023-12-22)
|
|
6
20
|
|
|
7
21
|
|
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();
|
|
@@ -11330,10 +11330,10 @@ class Call {
|
|
|
11330
11330
|
this.sfuClient?.close();
|
|
11331
11331
|
this.sfuClient = undefined;
|
|
11332
11332
|
this.dispatcher.offAll();
|
|
11333
|
+
this.state.setCallingState(CallingState.LEFT);
|
|
11333
11334
|
// Call all leave call hooks, e.g. to clean up global event handlers
|
|
11334
11335
|
this.leaveCallHooks.forEach((hook) => hook());
|
|
11335
11336
|
this.clientStore.unregisterCall(this);
|
|
11336
|
-
this.state.setCallingState(CallingState.LEFT);
|
|
11337
11337
|
this.camera.removeSubscriptions();
|
|
11338
11338
|
this.microphone.removeSubscriptions();
|
|
11339
11339
|
this.screenShare.removeSubscriptions();
|
|
@@ -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
|
};
|