@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/src/Call.d.ts
CHANGED
|
@@ -387,11 +387,11 @@ export declare class Call {
|
|
|
387
387
|
/**
|
|
388
388
|
* Starts the broadcasting of the call.
|
|
389
389
|
*/
|
|
390
|
-
|
|
390
|
+
startHLS: () => Promise<StartBroadcastingResponse>;
|
|
391
391
|
/**
|
|
392
392
|
* Stops the broadcasting of the call.
|
|
393
393
|
*/
|
|
394
|
-
|
|
394
|
+
stopHLS: () => Promise<StopBroadcastingResponse>;
|
|
395
395
|
/**
|
|
396
396
|
* Updates the call settings or custom data.
|
|
397
397
|
*
|
|
@@ -467,6 +467,12 @@ export interface CallCreatedEvent {
|
|
|
467
467
|
* @interface CallEndedEvent
|
|
468
468
|
*/
|
|
469
469
|
export interface CallEndedEvent {
|
|
470
|
+
/**
|
|
471
|
+
*
|
|
472
|
+
* @type {CallResponse}
|
|
473
|
+
* @memberof CallEndedEvent
|
|
474
|
+
*/
|
|
475
|
+
call: CallResponse;
|
|
470
476
|
/**
|
|
471
477
|
*
|
|
472
478
|
* @type {string}
|
|
@@ -1281,6 +1287,18 @@ export interface CallSessionResponse {
|
|
|
1281
1287
|
* @memberof CallSessionResponse
|
|
1282
1288
|
*/
|
|
1283
1289
|
id: string;
|
|
1290
|
+
/**
|
|
1291
|
+
*
|
|
1292
|
+
* @type {string}
|
|
1293
|
+
* @memberof CallSessionResponse
|
|
1294
|
+
*/
|
|
1295
|
+
live_ended_at?: string;
|
|
1296
|
+
/**
|
|
1297
|
+
*
|
|
1298
|
+
* @type {string}
|
|
1299
|
+
* @memberof CallSessionResponse
|
|
1300
|
+
*/
|
|
1301
|
+
live_started_at?: string;
|
|
1284
1302
|
/**
|
|
1285
1303
|
*
|
|
1286
1304
|
* @type {Array<CallParticipantResponse>}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.2.
|
|
1
|
+
export declare const version = "0.2.2";
|
package/package.json
CHANGED
package/src/Call.ts
CHANGED
|
@@ -1483,7 +1483,7 @@ export class Call {
|
|
|
1483
1483
|
/**
|
|
1484
1484
|
* Starts the broadcasting of the call.
|
|
1485
1485
|
*/
|
|
1486
|
-
|
|
1486
|
+
startHLS = async () => {
|
|
1487
1487
|
return this.streamClient.post<StartBroadcastingResponse>(
|
|
1488
1488
|
`${this.streamClientBasePath}/start_broadcasting`,
|
|
1489
1489
|
{},
|
|
@@ -1493,7 +1493,7 @@ export class Call {
|
|
|
1493
1493
|
/**
|
|
1494
1494
|
* Stops the broadcasting of the call.
|
|
1495
1495
|
*/
|
|
1496
|
-
|
|
1496
|
+
stopHLS = async () => {
|
|
1497
1497
|
return this.streamClient.post<StopBroadcastingResponse>(
|
|
1498
1498
|
`${this.streamClientBasePath}/stop_broadcasting`,
|
|
1499
1499
|
{},
|
package/src/events/call.ts
CHANGED
|
@@ -473,6 +473,12 @@ export interface CallCreatedEvent {
|
|
|
473
473
|
* @interface CallEndedEvent
|
|
474
474
|
*/
|
|
475
475
|
export interface CallEndedEvent {
|
|
476
|
+
/**
|
|
477
|
+
*
|
|
478
|
+
* @type {CallResponse}
|
|
479
|
+
* @memberof CallEndedEvent
|
|
480
|
+
*/
|
|
481
|
+
call: CallResponse;
|
|
476
482
|
/**
|
|
477
483
|
*
|
|
478
484
|
* @type {string}
|
|
@@ -1279,6 +1285,18 @@ export interface CallSessionResponse {
|
|
|
1279
1285
|
* @memberof CallSessionResponse
|
|
1280
1286
|
*/
|
|
1281
1287
|
id: string;
|
|
1288
|
+
/**
|
|
1289
|
+
*
|
|
1290
|
+
* @type {string}
|
|
1291
|
+
* @memberof CallSessionResponse
|
|
1292
|
+
*/
|
|
1293
|
+
live_ended_at?: string;
|
|
1294
|
+
/**
|
|
1295
|
+
*
|
|
1296
|
+
* @type {string}
|
|
1297
|
+
* @memberof CallSessionResponse
|
|
1298
|
+
*/
|
|
1299
|
+
live_started_at?: string;
|
|
1282
1300
|
/**
|
|
1283
1301
|
*
|
|
1284
1302
|
* @type {Array<CallParticipantResponse>}
|