@stream-io/video-client 1.0.7 → 1.0.8
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 +4 -2
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +4 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/Call.ts +5 -1
package/dist/index.cjs.js
CHANGED
|
@@ -12334,7 +12334,9 @@ class Call {
|
|
|
12334
12334
|
if (this.ringing) {
|
|
12335
12335
|
// I'm the one who started the call, so I should cancel it.
|
|
12336
12336
|
const hasOtherParticipants = this.state.remoteParticipants.length > 0;
|
|
12337
|
-
if (this.isCreatedByMe &&
|
|
12337
|
+
if (this.isCreatedByMe &&
|
|
12338
|
+
!hasOtherParticipants &&
|
|
12339
|
+
callingState === exports.CallingState.RINGING) {
|
|
12338
12340
|
// Signals other users that I have cancelled my call to them
|
|
12339
12341
|
// before they accepted it.
|
|
12340
12342
|
await this.reject();
|
|
@@ -15282,7 +15284,7 @@ class StreamClient {
|
|
|
15282
15284
|
});
|
|
15283
15285
|
};
|
|
15284
15286
|
this.getUserAgent = () => {
|
|
15285
|
-
const version = "1.0.
|
|
15287
|
+
const version = "1.0.8" ;
|
|
15286
15288
|
return (this.userAgent ||
|
|
15287
15289
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
15288
15290
|
};
|