@stream-io/video-client 0.5.3 → 0.5.4
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/Call.ts +2 -1
package/dist/index.es.js
CHANGED
|
@@ -11333,10 +11333,10 @@ class Call {
|
|
|
11333
11333
|
this.sfuClient?.close();
|
|
11334
11334
|
this.sfuClient = undefined;
|
|
11335
11335
|
this.dispatcher.offAll();
|
|
11336
|
+
this.state.setCallingState(CallingState.LEFT);
|
|
11336
11337
|
// Call all leave call hooks, e.g. to clean up global event handlers
|
|
11337
11338
|
this.leaveCallHooks.forEach((hook) => hook());
|
|
11338
11339
|
this.clientStore.unregisterCall(this);
|
|
11339
|
-
this.state.setCallingState(CallingState.LEFT);
|
|
11340
11340
|
this.camera.removeSubscriptions();
|
|
11341
11341
|
this.microphone.removeSubscriptions();
|
|
11342
11342
|
this.screenShare.removeSubscriptions();
|
|
@@ -14236,7 +14236,7 @@ class StreamClient {
|
|
|
14236
14236
|
});
|
|
14237
14237
|
};
|
|
14238
14238
|
this.getUserAgent = () => {
|
|
14239
|
-
const version = "0.5.
|
|
14239
|
+
const version = "0.5.4" ;
|
|
14240
14240
|
return (this.userAgent ||
|
|
14241
14241
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
14242
14242
|
};
|