@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.cjs.js
CHANGED
|
@@ -8485,6 +8485,7 @@ const watchCallEnded = (call) => {
|
|
|
8485
8485
|
if (call.state.callingState === exports.CallingState.RINGING ||
|
|
8486
8486
|
call.state.callingState === exports.CallingState.JOINED ||
|
|
8487
8487
|
call.state.callingState === exports.CallingState.JOINING) {
|
|
8488
|
+
call.state.setMetadata(event.call);
|
|
8488
8489
|
yield call.leave();
|
|
8489
8490
|
}
|
|
8490
8491
|
});
|
|
@@ -10511,13 +10512,13 @@ class Call {
|
|
|
10511
10512
|
/**
|
|
10512
10513
|
* Starts the broadcasting of the call.
|
|
10513
10514
|
*/
|
|
10514
|
-
this.
|
|
10515
|
+
this.startHLS = () => __awaiter(this, void 0, void 0, function* () {
|
|
10515
10516
|
return this.streamClient.post(`${this.streamClientBasePath}/start_broadcasting`, {});
|
|
10516
10517
|
});
|
|
10517
10518
|
/**
|
|
10518
10519
|
* Stops the broadcasting of the call.
|
|
10519
10520
|
*/
|
|
10520
|
-
this.
|
|
10521
|
+
this.stopHLS = () => __awaiter(this, void 0, void 0, function* () {
|
|
10521
10522
|
return this.streamClient.post(`${this.streamClientBasePath}/stop_broadcasting`, {});
|
|
10522
10523
|
});
|
|
10523
10524
|
/**
|
|
@@ -11900,7 +11901,7 @@ class WSConnectionFallback {
|
|
|
11900
11901
|
}
|
|
11901
11902
|
}
|
|
11902
11903
|
|
|
11903
|
-
const version = '0.2.
|
|
11904
|
+
const version = '0.2.2';
|
|
11904
11905
|
|
|
11905
11906
|
const logger = getLogger(['location']);
|
|
11906
11907
|
const HINT_URL = `https://hint.stream-io-video.com/`;
|