@stream-io/video-client 0.2.0 → 0.2.2
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 +4 -3
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +4 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -3
- package/dist/index.es.js.map +1 -1
- package/dist/src/Call.d.ts +2 -2
- package/dist/src/gen/coordinator/index.d.ts +18 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/Call.ts +2 -2
- package/src/events/call.ts +1 -0
- package/src/gen/coordinator/index.ts +18 -0
package/dist/index.es.js
CHANGED
|
@@ -8465,6 +8465,7 @@ const watchCallEnded = (call) => {
|
|
|
8465
8465
|
if (call.state.callingState === CallingState.RINGING ||
|
|
8466
8466
|
call.state.callingState === CallingState.JOINED ||
|
|
8467
8467
|
call.state.callingState === CallingState.JOINING) {
|
|
8468
|
+
call.state.setMetadata(event.call);
|
|
8468
8469
|
yield call.leave();
|
|
8469
8470
|
}
|
|
8470
8471
|
});
|
|
@@ -10491,13 +10492,13 @@ class Call {
|
|
|
10491
10492
|
/**
|
|
10492
10493
|
* Starts the broadcasting of the call.
|
|
10493
10494
|
*/
|
|
10494
|
-
this.
|
|
10495
|
+
this.startHLS = () => __awaiter(this, void 0, void 0, function* () {
|
|
10495
10496
|
return this.streamClient.post(`${this.streamClientBasePath}/start_broadcasting`, {});
|
|
10496
10497
|
});
|
|
10497
10498
|
/**
|
|
10498
10499
|
* Stops the broadcasting of the call.
|
|
10499
10500
|
*/
|
|
10500
|
-
this.
|
|
10501
|
+
this.stopHLS = () => __awaiter(this, void 0, void 0, function* () {
|
|
10501
10502
|
return this.streamClient.post(`${this.streamClientBasePath}/stop_broadcasting`, {});
|
|
10502
10503
|
});
|
|
10503
10504
|
/**
|
|
@@ -11880,7 +11881,7 @@ class WSConnectionFallback {
|
|
|
11880
11881
|
}
|
|
11881
11882
|
}
|
|
11882
11883
|
|
|
11883
|
-
const version = '0.2.
|
|
11884
|
+
const version = '0.2.2';
|
|
11884
11885
|
|
|
11885
11886
|
const logger = getLogger(['location']);
|
|
11886
11887
|
const HINT_URL = `https://hint.stream-io-video.com/`;
|