@stream-io/video-client 0.2.1 → 0.2.3
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 +8 -5
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +8 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +8 -5
- package/dist/index.es.js.map +1 -1
- package/dist/src/Call.d.ts +7 -4
- package/dist/src/gen/coordinator/index.d.ts +25 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/Call.ts +9 -5
- package/src/gen/coordinator/index.ts +25 -0
package/dist/index.es.js
CHANGED
|
@@ -10479,9 +10479,12 @@ class Call {
|
|
|
10479
10479
|
});
|
|
10480
10480
|
/**
|
|
10481
10481
|
* Starts the livestreaming of the call.
|
|
10482
|
+
*
|
|
10483
|
+
* @param data the request data.
|
|
10484
|
+
* @param params the request params.
|
|
10482
10485
|
*/
|
|
10483
|
-
this.goLive = (params) => __awaiter(this, void 0, void 0, function* () {
|
|
10484
|
-
return this.streamClient.post(`${this.streamClientBasePath}/go_live`,
|
|
10486
|
+
this.goLive = (data = {}, params) => __awaiter(this, void 0, void 0, function* () {
|
|
10487
|
+
return this.streamClient.post(`${this.streamClientBasePath}/go_live`, data, params);
|
|
10485
10488
|
});
|
|
10486
10489
|
/**
|
|
10487
10490
|
* Stops the livestreaming of the call.
|
|
@@ -10492,13 +10495,13 @@ class Call {
|
|
|
10492
10495
|
/**
|
|
10493
10496
|
* Starts the broadcasting of the call.
|
|
10494
10497
|
*/
|
|
10495
|
-
this.
|
|
10498
|
+
this.startHLS = () => __awaiter(this, void 0, void 0, function* () {
|
|
10496
10499
|
return this.streamClient.post(`${this.streamClientBasePath}/start_broadcasting`, {});
|
|
10497
10500
|
});
|
|
10498
10501
|
/**
|
|
10499
10502
|
* Stops the broadcasting of the call.
|
|
10500
10503
|
*/
|
|
10501
|
-
this.
|
|
10504
|
+
this.stopHLS = () => __awaiter(this, void 0, void 0, function* () {
|
|
10502
10505
|
return this.streamClient.post(`${this.streamClientBasePath}/stop_broadcasting`, {});
|
|
10503
10506
|
});
|
|
10504
10507
|
/**
|
|
@@ -11881,7 +11884,7 @@ class WSConnectionFallback {
|
|
|
11881
11884
|
}
|
|
11882
11885
|
}
|
|
11883
11886
|
|
|
11884
|
-
const version = '0.2.
|
|
11887
|
+
const version = '0.2.3';
|
|
11885
11888
|
|
|
11886
11889
|
const logger = getLogger(['location']);
|
|
11887
11890
|
const HINT_URL = `https://hint.stream-io-video.com/`;
|