@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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
### [0.2.3](https://github.com/GetStream/stream-video-js/compare/client0.2.2...client0.2.3) (2023-08-14)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* extra config params in goLive() API ([#924](https://github.com/GetStream/stream-video-js/issues/924)) ([e14a082](https://github.com/GetStream/stream-video-js/commit/e14a0829460a3c5ff6d249dd159e6118df0b8352))
|
|
11
|
+
|
|
12
|
+
### [0.2.2](https://github.com/GetStream/stream-video-js/compare/client0.2.1...client0.2.2) (2023-08-08)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **livestream:** Livestream tutorial rewrite ([#909](https://github.com/GetStream/stream-video-js/issues/909)) ([49efdaa](https://github.com/GetStream/stream-video-js/commit/49efdaa14faccaa4848e8f9bdf3abb7748b925ac))
|
|
18
|
+
|
|
5
19
|
### [0.2.1](https://github.com/GetStream/stream-video-js/compare/client0.2.0...client0.2.1) (2023-08-07)
|
|
6
20
|
|
|
7
21
|
|
package/dist/index.browser.es.js
CHANGED
|
@@ -10476,9 +10476,12 @@ class Call {
|
|
|
10476
10476
|
});
|
|
10477
10477
|
/**
|
|
10478
10478
|
* Starts the livestreaming of the call.
|
|
10479
|
+
*
|
|
10480
|
+
* @param data the request data.
|
|
10481
|
+
* @param params the request params.
|
|
10479
10482
|
*/
|
|
10480
|
-
this.goLive = (params) => __awaiter(this, void 0, void 0, function* () {
|
|
10481
|
-
return this.streamClient.post(`${this.streamClientBasePath}/go_live`,
|
|
10483
|
+
this.goLive = (data = {}, params) => __awaiter(this, void 0, void 0, function* () {
|
|
10484
|
+
return this.streamClient.post(`${this.streamClientBasePath}/go_live`, data, params);
|
|
10482
10485
|
});
|
|
10483
10486
|
/**
|
|
10484
10487
|
* Stops the livestreaming of the call.
|
|
@@ -10489,13 +10492,13 @@ class Call {
|
|
|
10489
10492
|
/**
|
|
10490
10493
|
* Starts the broadcasting of the call.
|
|
10491
10494
|
*/
|
|
10492
|
-
this.
|
|
10495
|
+
this.startHLS = () => __awaiter(this, void 0, void 0, function* () {
|
|
10493
10496
|
return this.streamClient.post(`${this.streamClientBasePath}/start_broadcasting`, {});
|
|
10494
10497
|
});
|
|
10495
10498
|
/**
|
|
10496
10499
|
* Stops the broadcasting of the call.
|
|
10497
10500
|
*/
|
|
10498
|
-
this.
|
|
10501
|
+
this.stopHLS = () => __awaiter(this, void 0, void 0, function* () {
|
|
10499
10502
|
return this.streamClient.post(`${this.streamClientBasePath}/stop_broadcasting`, {});
|
|
10500
10503
|
});
|
|
10501
10504
|
/**
|
|
@@ -11877,7 +11880,7 @@ class WSConnectionFallback {
|
|
|
11877
11880
|
}
|
|
11878
11881
|
}
|
|
11879
11882
|
|
|
11880
|
-
const version = '0.2.
|
|
11883
|
+
const version = '0.2.3';
|
|
11881
11884
|
|
|
11882
11885
|
const logger = getLogger(['location']);
|
|
11883
11886
|
const HINT_URL = `https://hint.stream-io-video.com/`;
|