@stream-io/video-client 0.3.25 → 0.3.27
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 +65 -27
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +66 -28
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +65 -27
- package/dist/index.es.js.map +1 -1
- package/dist/src/Call.d.ts +12 -3
- package/dist/src/gen/coordinator/index.d.ts +289 -142
- package/dist/src/store/CallState.d.ts +12 -3
- package/dist/version.d.ts +1 -1
- package/package.json +14 -14
- package/src/Call.ts +42 -4
- package/src/__tests__/server-side/call-types.test.ts +3 -7
- package/src/gen/coordinator/index.ts +295 -147
- package/src/store/CallState.ts +28 -7
- package/src/store/__tests__/CallState.test.ts +6 -4
|
@@ -295,40 +295,40 @@ export interface BlockedUserEvent {
|
|
|
295
295
|
/**
|
|
296
296
|
*
|
|
297
297
|
* @export
|
|
298
|
-
* @interface
|
|
298
|
+
* @interface BroadcastSettingsRequest
|
|
299
299
|
*/
|
|
300
|
-
export interface
|
|
300
|
+
export interface BroadcastSettingsRequest {
|
|
301
301
|
/**
|
|
302
302
|
*
|
|
303
303
|
* @type {boolean}
|
|
304
|
-
* @memberof
|
|
304
|
+
* @memberof BroadcastSettingsRequest
|
|
305
305
|
*/
|
|
306
|
-
enabled
|
|
306
|
+
enabled?: boolean;
|
|
307
307
|
/**
|
|
308
308
|
*
|
|
309
|
-
* @type {
|
|
310
|
-
* @memberof
|
|
309
|
+
* @type {HLSSettingsRequest}
|
|
310
|
+
* @memberof BroadcastSettingsRequest
|
|
311
311
|
*/
|
|
312
|
-
hls
|
|
312
|
+
hls?: HLSSettingsRequest;
|
|
313
313
|
}
|
|
314
314
|
/**
|
|
315
315
|
*
|
|
316
316
|
* @export
|
|
317
|
-
* @interface
|
|
317
|
+
* @interface BroadcastSettingsResponse
|
|
318
318
|
*/
|
|
319
|
-
export interface
|
|
319
|
+
export interface BroadcastSettingsResponse {
|
|
320
320
|
/**
|
|
321
321
|
*
|
|
322
322
|
* @type {boolean}
|
|
323
|
-
* @memberof
|
|
323
|
+
* @memberof BroadcastSettingsResponse
|
|
324
324
|
*/
|
|
325
|
-
enabled
|
|
325
|
+
enabled: boolean;
|
|
326
326
|
/**
|
|
327
327
|
*
|
|
328
|
-
* @type {
|
|
329
|
-
* @memberof
|
|
328
|
+
* @type {HLSSettingsResponse}
|
|
329
|
+
* @memberof BroadcastSettingsResponse
|
|
330
330
|
*/
|
|
331
|
-
hls
|
|
331
|
+
hls: HLSSettingsResponse;
|
|
332
332
|
}
|
|
333
333
|
/**
|
|
334
334
|
* This event is sent when a user accepts a notification to join a call.
|
|
@@ -368,135 +368,135 @@ export interface CallAcceptedEvent {
|
|
|
368
368
|
user: UserResponse;
|
|
369
369
|
}
|
|
370
370
|
/**
|
|
371
|
-
* This event is sent when call
|
|
371
|
+
* This event is sent when a call is created. Clients receiving this event should check if the ringing
|
|
372
|
+
* field is set to true and if so, show the call screen
|
|
372
373
|
* @export
|
|
373
|
-
* @interface
|
|
374
|
+
* @interface CallCreatedEvent
|
|
374
375
|
*/
|
|
375
|
-
export interface
|
|
376
|
+
export interface CallCreatedEvent {
|
|
377
|
+
/**
|
|
378
|
+
*
|
|
379
|
+
* @type {CallResponse}
|
|
380
|
+
* @memberof CallCreatedEvent
|
|
381
|
+
*/
|
|
382
|
+
call: CallResponse;
|
|
376
383
|
/**
|
|
377
384
|
*
|
|
378
385
|
* @type {string}
|
|
379
|
-
* @memberof
|
|
386
|
+
* @memberof CallCreatedEvent
|
|
380
387
|
*/
|
|
381
388
|
call_cid: string;
|
|
382
389
|
/**
|
|
383
390
|
*
|
|
384
391
|
* @type {string}
|
|
385
|
-
* @memberof
|
|
392
|
+
* @memberof CallCreatedEvent
|
|
386
393
|
*/
|
|
387
394
|
created_at: string;
|
|
388
395
|
/**
|
|
389
|
-
*
|
|
390
|
-
* @type {
|
|
391
|
-
* @memberof
|
|
396
|
+
* the members added to this call
|
|
397
|
+
* @type {Array<MemberResponse>}
|
|
398
|
+
* @memberof CallCreatedEvent
|
|
392
399
|
*/
|
|
393
|
-
|
|
400
|
+
members: Array<MemberResponse>;
|
|
394
401
|
/**
|
|
395
|
-
* The type of event: "call.
|
|
402
|
+
* The type of event: "call.created" in this case
|
|
396
403
|
* @type {string}
|
|
397
|
-
* @memberof
|
|
404
|
+
* @memberof CallCreatedEvent
|
|
398
405
|
*/
|
|
399
406
|
type: string;
|
|
400
407
|
}
|
|
401
408
|
/**
|
|
402
|
-
* This event is sent when call
|
|
409
|
+
* This event is sent when a call is mark as ended for all its participants. Clients receiving this event should leave the call screen
|
|
403
410
|
* @export
|
|
404
|
-
* @interface
|
|
411
|
+
* @interface CallEndedEvent
|
|
405
412
|
*/
|
|
406
|
-
export interface
|
|
413
|
+
export interface CallEndedEvent {
|
|
414
|
+
/**
|
|
415
|
+
*
|
|
416
|
+
* @type {CallResponse}
|
|
417
|
+
* @memberof CallEndedEvent
|
|
418
|
+
*/
|
|
419
|
+
call: CallResponse;
|
|
407
420
|
/**
|
|
408
421
|
*
|
|
409
422
|
* @type {string}
|
|
410
|
-
* @memberof
|
|
423
|
+
* @memberof CallEndedEvent
|
|
411
424
|
*/
|
|
412
425
|
call_cid: string;
|
|
413
426
|
/**
|
|
414
427
|
*
|
|
415
428
|
* @type {string}
|
|
416
|
-
* @memberof
|
|
429
|
+
* @memberof CallEndedEvent
|
|
417
430
|
*/
|
|
418
431
|
created_at: string;
|
|
419
432
|
/**
|
|
420
|
-
* The type of event: "call.
|
|
433
|
+
* The type of event: "call.ended" in this case
|
|
421
434
|
* @type {string}
|
|
422
|
-
* @memberof
|
|
435
|
+
* @memberof CallEndedEvent
|
|
423
436
|
*/
|
|
424
437
|
type: string;
|
|
438
|
+
/**
|
|
439
|
+
*
|
|
440
|
+
* @type {UserResponse}
|
|
441
|
+
* @memberof CallEndedEvent
|
|
442
|
+
*/
|
|
443
|
+
user?: UserResponse;
|
|
425
444
|
}
|
|
426
445
|
/**
|
|
427
|
-
* This event is sent when
|
|
428
|
-
* field is set to true and if so, show the call screen
|
|
446
|
+
* This event is sent when HLS broadcasting has started
|
|
429
447
|
* @export
|
|
430
|
-
* @interface
|
|
448
|
+
* @interface CallHLSBroadcastingStartedEvent
|
|
431
449
|
*/
|
|
432
|
-
export interface
|
|
433
|
-
/**
|
|
434
|
-
*
|
|
435
|
-
* @type {CallResponse}
|
|
436
|
-
* @memberof CallCreatedEvent
|
|
437
|
-
*/
|
|
438
|
-
call: CallResponse;
|
|
450
|
+
export interface CallHLSBroadcastingStartedEvent {
|
|
439
451
|
/**
|
|
440
452
|
*
|
|
441
453
|
* @type {string}
|
|
442
|
-
* @memberof
|
|
454
|
+
* @memberof CallHLSBroadcastingStartedEvent
|
|
443
455
|
*/
|
|
444
456
|
call_cid: string;
|
|
445
457
|
/**
|
|
446
458
|
*
|
|
447
459
|
* @type {string}
|
|
448
|
-
* @memberof
|
|
460
|
+
* @memberof CallHLSBroadcastingStartedEvent
|
|
449
461
|
*/
|
|
450
462
|
created_at: string;
|
|
451
463
|
/**
|
|
452
|
-
*
|
|
453
|
-
* @type {
|
|
454
|
-
* @memberof
|
|
464
|
+
*
|
|
465
|
+
* @type {string}
|
|
466
|
+
* @memberof CallHLSBroadcastingStartedEvent
|
|
455
467
|
*/
|
|
456
|
-
|
|
468
|
+
hls_playlist_url: string;
|
|
457
469
|
/**
|
|
458
|
-
* The type of event: "call.
|
|
470
|
+
* The type of event: "call.hls_broadcasting_started" in this case
|
|
459
471
|
* @type {string}
|
|
460
|
-
* @memberof
|
|
472
|
+
* @memberof CallHLSBroadcastingStartedEvent
|
|
461
473
|
*/
|
|
462
474
|
type: string;
|
|
463
475
|
}
|
|
464
476
|
/**
|
|
465
|
-
* This event is sent when
|
|
477
|
+
* This event is sent when HLS broadcasting has stopped
|
|
466
478
|
* @export
|
|
467
|
-
* @interface
|
|
479
|
+
* @interface CallHLSBroadcastingStoppedEvent
|
|
468
480
|
*/
|
|
469
|
-
export interface
|
|
470
|
-
/**
|
|
471
|
-
*
|
|
472
|
-
* @type {CallResponse}
|
|
473
|
-
* @memberof CallEndedEvent
|
|
474
|
-
*/
|
|
475
|
-
call: CallResponse;
|
|
481
|
+
export interface CallHLSBroadcastingStoppedEvent {
|
|
476
482
|
/**
|
|
477
483
|
*
|
|
478
484
|
* @type {string}
|
|
479
|
-
* @memberof
|
|
485
|
+
* @memberof CallHLSBroadcastingStoppedEvent
|
|
480
486
|
*/
|
|
481
487
|
call_cid: string;
|
|
482
488
|
/**
|
|
483
489
|
*
|
|
484
490
|
* @type {string}
|
|
485
|
-
* @memberof
|
|
491
|
+
* @memberof CallHLSBroadcastingStoppedEvent
|
|
486
492
|
*/
|
|
487
493
|
created_at: string;
|
|
488
494
|
/**
|
|
489
|
-
* The type of event: "call.
|
|
495
|
+
* The type of event: "call.hls_broadcasting_stopped" in this case
|
|
490
496
|
* @type {string}
|
|
491
|
-
* @memberof
|
|
497
|
+
* @memberof CallHLSBroadcastingStoppedEvent
|
|
492
498
|
*/
|
|
493
499
|
type: string;
|
|
494
|
-
/**
|
|
495
|
-
*
|
|
496
|
-
* @type {UserResponse}
|
|
497
|
-
* @memberof CallEndedEvent
|
|
498
|
-
*/
|
|
499
|
-
user?: UserResponse;
|
|
500
500
|
}
|
|
501
501
|
/**
|
|
502
502
|
*
|
|
@@ -1138,6 +1138,12 @@ export interface CallResponse {
|
|
|
1138
1138
|
* @memberof CallResponse
|
|
1139
1139
|
*/
|
|
1140
1140
|
team?: string;
|
|
1141
|
+
/**
|
|
1142
|
+
*
|
|
1143
|
+
* @type {ThumbnailResponse}
|
|
1144
|
+
* @memberof CallResponse
|
|
1145
|
+
*/
|
|
1146
|
+
thumbnails?: ThumbnailResponse;
|
|
1141
1147
|
/**
|
|
1142
1148
|
*
|
|
1143
1149
|
* @type {boolean}
|
|
@@ -1469,6 +1475,12 @@ export interface CallSettingsRequest {
|
|
|
1469
1475
|
* @memberof CallSettingsRequest
|
|
1470
1476
|
*/
|
|
1471
1477
|
screensharing?: ScreensharingSettingsRequest;
|
|
1478
|
+
/**
|
|
1479
|
+
*
|
|
1480
|
+
* @type {ThumbnailsSettingsRequest}
|
|
1481
|
+
* @memberof CallSettingsRequest
|
|
1482
|
+
*/
|
|
1483
|
+
thumbnails?: ThumbnailsSettingsRequest;
|
|
1472
1484
|
/**
|
|
1473
1485
|
*
|
|
1474
1486
|
* @type {TranscriptionSettingsRequest}
|
|
@@ -1502,10 +1514,10 @@ export interface CallSettingsResponse {
|
|
|
1502
1514
|
backstage: BackstageSettings;
|
|
1503
1515
|
/**
|
|
1504
1516
|
*
|
|
1505
|
-
* @type {
|
|
1517
|
+
* @type {BroadcastSettingsResponse}
|
|
1506
1518
|
* @memberof CallSettingsResponse
|
|
1507
1519
|
*/
|
|
1508
|
-
broadcasting:
|
|
1520
|
+
broadcasting: BroadcastSettingsResponse;
|
|
1509
1521
|
/**
|
|
1510
1522
|
*
|
|
1511
1523
|
* @type {GeofenceSettings}
|
|
@@ -1514,10 +1526,10 @@ export interface CallSettingsResponse {
|
|
|
1514
1526
|
geofencing: GeofenceSettings;
|
|
1515
1527
|
/**
|
|
1516
1528
|
*
|
|
1517
|
-
* @type {
|
|
1529
|
+
* @type {RecordSettingsResponse}
|
|
1518
1530
|
* @memberof CallSettingsResponse
|
|
1519
1531
|
*/
|
|
1520
|
-
recording:
|
|
1532
|
+
recording: RecordSettingsResponse;
|
|
1521
1533
|
/**
|
|
1522
1534
|
*
|
|
1523
1535
|
* @type {RingSettings}
|
|
@@ -1530,6 +1542,12 @@ export interface CallSettingsResponse {
|
|
|
1530
1542
|
* @memberof CallSettingsResponse
|
|
1531
1543
|
*/
|
|
1532
1544
|
screensharing: ScreensharingSettings;
|
|
1545
|
+
/**
|
|
1546
|
+
*
|
|
1547
|
+
* @type {ThumbnailsSettings}
|
|
1548
|
+
* @memberof CallSettingsResponse
|
|
1549
|
+
*/
|
|
1550
|
+
thumbnails: ThumbnailsSettings;
|
|
1533
1551
|
/**
|
|
1534
1552
|
*
|
|
1535
1553
|
* @type {TranscriptionSettings}
|
|
@@ -2514,52 +2532,64 @@ export interface GoLiveResponse {
|
|
|
2514
2532
|
/**
|
|
2515
2533
|
*
|
|
2516
2534
|
* @export
|
|
2517
|
-
* @interface
|
|
2535
|
+
* @interface HLSSettingsRequest
|
|
2518
2536
|
*/
|
|
2519
|
-
export interface
|
|
2537
|
+
export interface HLSSettingsRequest {
|
|
2520
2538
|
/**
|
|
2521
2539
|
*
|
|
2522
2540
|
* @type {boolean}
|
|
2523
|
-
* @memberof
|
|
2541
|
+
* @memberof HLSSettingsRequest
|
|
2524
2542
|
*/
|
|
2525
|
-
auto_on
|
|
2543
|
+
auto_on?: boolean;
|
|
2526
2544
|
/**
|
|
2527
2545
|
*
|
|
2528
2546
|
* @type {boolean}
|
|
2529
|
-
* @memberof
|
|
2547
|
+
* @memberof HLSSettingsRequest
|
|
2530
2548
|
*/
|
|
2531
|
-
enabled
|
|
2549
|
+
enabled?: boolean;
|
|
2550
|
+
/**
|
|
2551
|
+
*
|
|
2552
|
+
* @type {LayoutSettingsRequest}
|
|
2553
|
+
* @memberof HLSSettingsRequest
|
|
2554
|
+
*/
|
|
2555
|
+
layout?: LayoutSettingsRequest;
|
|
2532
2556
|
/**
|
|
2533
2557
|
*
|
|
2534
2558
|
* @type {Array<string>}
|
|
2535
|
-
* @memberof
|
|
2559
|
+
* @memberof HLSSettingsRequest
|
|
2536
2560
|
*/
|
|
2537
|
-
quality_tracks
|
|
2561
|
+
quality_tracks?: Array<string>;
|
|
2538
2562
|
}
|
|
2539
2563
|
/**
|
|
2540
2564
|
*
|
|
2541
2565
|
* @export
|
|
2542
|
-
* @interface
|
|
2566
|
+
* @interface HLSSettingsResponse
|
|
2543
2567
|
*/
|
|
2544
|
-
export interface
|
|
2568
|
+
export interface HLSSettingsResponse {
|
|
2545
2569
|
/**
|
|
2546
2570
|
*
|
|
2547
2571
|
* @type {boolean}
|
|
2548
|
-
* @memberof
|
|
2572
|
+
* @memberof HLSSettingsResponse
|
|
2549
2573
|
*/
|
|
2550
|
-
auto_on
|
|
2574
|
+
auto_on: boolean;
|
|
2551
2575
|
/**
|
|
2552
2576
|
*
|
|
2553
2577
|
* @type {boolean}
|
|
2554
|
-
* @memberof
|
|
2578
|
+
* @memberof HLSSettingsResponse
|
|
2555
2579
|
*/
|
|
2556
|
-
enabled
|
|
2580
|
+
enabled: boolean;
|
|
2581
|
+
/**
|
|
2582
|
+
*
|
|
2583
|
+
* @type {LayoutSettings}
|
|
2584
|
+
* @memberof HLSSettingsResponse
|
|
2585
|
+
*/
|
|
2586
|
+
layout: LayoutSettings;
|
|
2557
2587
|
/**
|
|
2558
2588
|
*
|
|
2559
2589
|
* @type {Array<string>}
|
|
2560
|
-
* @memberof
|
|
2590
|
+
* @memberof HLSSettingsResponse
|
|
2561
2591
|
*/
|
|
2562
|
-
quality_tracks
|
|
2592
|
+
quality_tracks: Array<string>;
|
|
2563
2593
|
}
|
|
2564
2594
|
/**
|
|
2565
2595
|
*
|
|
@@ -2709,6 +2739,94 @@ export interface JoinCallResponse {
|
|
|
2709
2739
|
*/
|
|
2710
2740
|
own_capabilities: Array<OwnCapability>;
|
|
2711
2741
|
}
|
|
2742
|
+
/**
|
|
2743
|
+
*
|
|
2744
|
+
* @export
|
|
2745
|
+
* @interface LayoutSettings
|
|
2746
|
+
*/
|
|
2747
|
+
export interface LayoutSettings {
|
|
2748
|
+
/**
|
|
2749
|
+
*
|
|
2750
|
+
* @type {string}
|
|
2751
|
+
* @memberof LayoutSettings
|
|
2752
|
+
*/
|
|
2753
|
+
external_app_url: string;
|
|
2754
|
+
/**
|
|
2755
|
+
*
|
|
2756
|
+
* @type {string}
|
|
2757
|
+
* @memberof LayoutSettings
|
|
2758
|
+
*/
|
|
2759
|
+
external_css_url: string;
|
|
2760
|
+
/**
|
|
2761
|
+
*
|
|
2762
|
+
* @type {string}
|
|
2763
|
+
* @memberof LayoutSettings
|
|
2764
|
+
*/
|
|
2765
|
+
name: LayoutSettingsNameEnum;
|
|
2766
|
+
/**
|
|
2767
|
+
*
|
|
2768
|
+
* @type {{ [key: string]: any; }}
|
|
2769
|
+
* @memberof LayoutSettings
|
|
2770
|
+
*/
|
|
2771
|
+
options?: {
|
|
2772
|
+
[key: string]: any;
|
|
2773
|
+
};
|
|
2774
|
+
}
|
|
2775
|
+
/**
|
|
2776
|
+
* @export
|
|
2777
|
+
*/
|
|
2778
|
+
export declare const LayoutSettingsNameEnum: {
|
|
2779
|
+
readonly SPOTLIGHT: "spotlight";
|
|
2780
|
+
readonly GRID: "grid";
|
|
2781
|
+
readonly SINGLE_PARTICIPANT: "single-participant";
|
|
2782
|
+
readonly MOBILE: "mobile";
|
|
2783
|
+
readonly CUSTOM: "custom";
|
|
2784
|
+
};
|
|
2785
|
+
export type LayoutSettingsNameEnum = (typeof LayoutSettingsNameEnum)[keyof typeof LayoutSettingsNameEnum];
|
|
2786
|
+
/**
|
|
2787
|
+
*
|
|
2788
|
+
* @export
|
|
2789
|
+
* @interface LayoutSettingsRequest
|
|
2790
|
+
*/
|
|
2791
|
+
export interface LayoutSettingsRequest {
|
|
2792
|
+
/**
|
|
2793
|
+
*
|
|
2794
|
+
* @type {string}
|
|
2795
|
+
* @memberof LayoutSettingsRequest
|
|
2796
|
+
*/
|
|
2797
|
+
external_app_url?: string;
|
|
2798
|
+
/**
|
|
2799
|
+
*
|
|
2800
|
+
* @type {string}
|
|
2801
|
+
* @memberof LayoutSettingsRequest
|
|
2802
|
+
*/
|
|
2803
|
+
external_css_url?: string;
|
|
2804
|
+
/**
|
|
2805
|
+
*
|
|
2806
|
+
* @type {string}
|
|
2807
|
+
* @memberof LayoutSettingsRequest
|
|
2808
|
+
*/
|
|
2809
|
+
name: LayoutSettingsRequestNameEnum;
|
|
2810
|
+
/**
|
|
2811
|
+
*
|
|
2812
|
+
* @type {{ [key: string]: any; }}
|
|
2813
|
+
* @memberof LayoutSettingsRequest
|
|
2814
|
+
*/
|
|
2815
|
+
options?: {
|
|
2816
|
+
[key: string]: any;
|
|
2817
|
+
};
|
|
2818
|
+
}
|
|
2819
|
+
/**
|
|
2820
|
+
* @export
|
|
2821
|
+
*/
|
|
2822
|
+
export declare const LayoutSettingsRequestNameEnum: {
|
|
2823
|
+
readonly SPOTLIGHT: "spotlight";
|
|
2824
|
+
readonly GRID: "grid";
|
|
2825
|
+
readonly SINGLE_PARTICIPANT: "single-participant";
|
|
2826
|
+
readonly MOBILE: "mobile";
|
|
2827
|
+
readonly CUSTOM: "custom";
|
|
2828
|
+
};
|
|
2829
|
+
export type LayoutSettingsRequestNameEnum = (typeof LayoutSettingsRequestNameEnum)[keyof typeof LayoutSettingsRequestNameEnum];
|
|
2712
2830
|
/**
|
|
2713
2831
|
*
|
|
2714
2832
|
* @export
|
|
@@ -3347,95 +3465,85 @@ export interface ReactionResponse {
|
|
|
3347
3465
|
/**
|
|
3348
3466
|
*
|
|
3349
3467
|
* @export
|
|
3350
|
-
* @interface
|
|
3468
|
+
* @interface RecordSettingsRequest
|
|
3351
3469
|
*/
|
|
3352
|
-
export interface
|
|
3470
|
+
export interface RecordSettingsRequest {
|
|
3353
3471
|
/**
|
|
3354
3472
|
*
|
|
3355
3473
|
* @type {boolean}
|
|
3356
|
-
* @memberof
|
|
3474
|
+
* @memberof RecordSettingsRequest
|
|
3357
3475
|
*/
|
|
3358
|
-
audio_only
|
|
3476
|
+
audio_only?: boolean;
|
|
3477
|
+
/**
|
|
3478
|
+
*
|
|
3479
|
+
* @type {LayoutSettingsRequest}
|
|
3480
|
+
* @memberof RecordSettingsRequest
|
|
3481
|
+
*/
|
|
3482
|
+
layout?: LayoutSettingsRequest;
|
|
3359
3483
|
/**
|
|
3360
3484
|
*
|
|
3361
3485
|
* @type {string}
|
|
3362
|
-
* @memberof
|
|
3486
|
+
* @memberof RecordSettingsRequest
|
|
3363
3487
|
*/
|
|
3364
|
-
mode:
|
|
3488
|
+
mode: RecordSettingsRequestModeEnum;
|
|
3365
3489
|
/**
|
|
3366
3490
|
*
|
|
3367
3491
|
* @type {string}
|
|
3368
|
-
* @memberof
|
|
3492
|
+
* @memberof RecordSettingsRequest
|
|
3369
3493
|
*/
|
|
3370
|
-
quality
|
|
3494
|
+
quality?: RecordSettingsRequestQualityEnum;
|
|
3371
3495
|
}
|
|
3372
3496
|
/**
|
|
3373
3497
|
* @export
|
|
3374
3498
|
*/
|
|
3375
|
-
export declare const
|
|
3499
|
+
export declare const RecordSettingsRequestModeEnum: {
|
|
3376
3500
|
readonly AVAILABLE: "available";
|
|
3377
3501
|
readonly DISABLED: "disabled";
|
|
3378
3502
|
readonly AUTO_ON: "auto-on";
|
|
3379
3503
|
};
|
|
3380
|
-
export type
|
|
3504
|
+
export type RecordSettingsRequestModeEnum = (typeof RecordSettingsRequestModeEnum)[keyof typeof RecordSettingsRequestModeEnum];
|
|
3381
3505
|
/**
|
|
3382
3506
|
* @export
|
|
3383
3507
|
*/
|
|
3384
|
-
export declare const
|
|
3385
|
-
readonly AUDIO_ONLY: "audio-only";
|
|
3508
|
+
export declare const RecordSettingsRequestQualityEnum: {
|
|
3386
3509
|
readonly _360P: "360p";
|
|
3387
3510
|
readonly _480P: "480p";
|
|
3388
3511
|
readonly _720P: "720p";
|
|
3389
3512
|
readonly _1080P: "1080p";
|
|
3390
3513
|
readonly _1440P: "1440p";
|
|
3391
3514
|
};
|
|
3392
|
-
export type
|
|
3515
|
+
export type RecordSettingsRequestQualityEnum = (typeof RecordSettingsRequestQualityEnum)[keyof typeof RecordSettingsRequestQualityEnum];
|
|
3393
3516
|
/**
|
|
3394
3517
|
*
|
|
3395
3518
|
* @export
|
|
3396
|
-
* @interface
|
|
3519
|
+
* @interface RecordSettingsResponse
|
|
3397
3520
|
*/
|
|
3398
|
-
export interface
|
|
3521
|
+
export interface RecordSettingsResponse {
|
|
3399
3522
|
/**
|
|
3400
3523
|
*
|
|
3401
3524
|
* @type {boolean}
|
|
3402
|
-
* @memberof
|
|
3525
|
+
* @memberof RecordSettingsResponse
|
|
3403
3526
|
*/
|
|
3404
|
-
audio_only
|
|
3527
|
+
audio_only: boolean;
|
|
3528
|
+
/**
|
|
3529
|
+
*
|
|
3530
|
+
* @type {LayoutSettings}
|
|
3531
|
+
* @memberof RecordSettingsResponse
|
|
3532
|
+
*/
|
|
3533
|
+
layout: LayoutSettings;
|
|
3405
3534
|
/**
|
|
3406
3535
|
*
|
|
3407
3536
|
* @type {string}
|
|
3408
|
-
* @memberof
|
|
3537
|
+
* @memberof RecordSettingsResponse
|
|
3409
3538
|
*/
|
|
3410
|
-
mode
|
|
3539
|
+
mode: string;
|
|
3411
3540
|
/**
|
|
3412
3541
|
*
|
|
3413
3542
|
* @type {string}
|
|
3414
|
-
* @memberof
|
|
3543
|
+
* @memberof RecordSettingsResponse
|
|
3415
3544
|
*/
|
|
3416
|
-
quality
|
|
3545
|
+
quality: string;
|
|
3417
3546
|
}
|
|
3418
|
-
/**
|
|
3419
|
-
* @export
|
|
3420
|
-
*/
|
|
3421
|
-
export declare const RecordSettingsRequestModeEnum: {
|
|
3422
|
-
readonly AVAILABLE: "available";
|
|
3423
|
-
readonly DISABLED: "disabled";
|
|
3424
|
-
readonly AUTO_ON: "auto-on";
|
|
3425
|
-
};
|
|
3426
|
-
export type RecordSettingsRequestModeEnum = (typeof RecordSettingsRequestModeEnum)[keyof typeof RecordSettingsRequestModeEnum];
|
|
3427
|
-
/**
|
|
3428
|
-
* @export
|
|
3429
|
-
*/
|
|
3430
|
-
export declare const RecordSettingsRequestQualityEnum: {
|
|
3431
|
-
readonly AUDIO_ONLY: "audio-only";
|
|
3432
|
-
readonly _360P: "360p";
|
|
3433
|
-
readonly _480P: "480p";
|
|
3434
|
-
readonly _720P: "720p";
|
|
3435
|
-
readonly _1080P: "1080p";
|
|
3436
|
-
readonly _1440P: "1440p";
|
|
3437
|
-
};
|
|
3438
|
-
export type RecordSettingsRequestQualityEnum = (typeof RecordSettingsRequestQualityEnum)[keyof typeof RecordSettingsRequestQualityEnum];
|
|
3439
3547
|
/**
|
|
3440
3548
|
*
|
|
3441
3549
|
* @export
|
|
@@ -3685,19 +3793,19 @@ export interface SortParamRequest {
|
|
|
3685
3793
|
/**
|
|
3686
3794
|
*
|
|
3687
3795
|
* @export
|
|
3688
|
-
* @interface
|
|
3796
|
+
* @interface StartHLSBroadcastingResponse
|
|
3689
3797
|
*/
|
|
3690
|
-
export interface
|
|
3798
|
+
export interface StartHLSBroadcastingResponse {
|
|
3691
3799
|
/**
|
|
3692
3800
|
* Duration of the request in human-readable format
|
|
3693
3801
|
* @type {string}
|
|
3694
|
-
* @memberof
|
|
3802
|
+
* @memberof StartHLSBroadcastingResponse
|
|
3695
3803
|
*/
|
|
3696
3804
|
duration: string;
|
|
3697
3805
|
/**
|
|
3698
3806
|
*
|
|
3699
3807
|
* @type {string}
|
|
3700
|
-
* @memberof
|
|
3808
|
+
* @memberof StartHLSBroadcastingResponse
|
|
3701
3809
|
*/
|
|
3702
3810
|
playlist_url: string;
|
|
3703
3811
|
}
|
|
@@ -3730,13 +3838,13 @@ export interface StartTranscriptionResponse {
|
|
|
3730
3838
|
/**
|
|
3731
3839
|
*
|
|
3732
3840
|
* @export
|
|
3733
|
-
* @interface
|
|
3841
|
+
* @interface StopHLSBroadcastingResponse
|
|
3734
3842
|
*/
|
|
3735
|
-
export interface
|
|
3843
|
+
export interface StopHLSBroadcastingResponse {
|
|
3736
3844
|
/**
|
|
3737
3845
|
* Duration of the request in human-readable format
|
|
3738
3846
|
* @type {string}
|
|
3739
|
-
* @memberof
|
|
3847
|
+
* @memberof StopHLSBroadcastingResponse
|
|
3740
3848
|
*/
|
|
3741
3849
|
duration: string;
|
|
3742
3850
|
}
|
|
@@ -3835,6 +3943,45 @@ export interface TargetResolutionRequest {
|
|
|
3835
3943
|
*/
|
|
3836
3944
|
width?: number;
|
|
3837
3945
|
}
|
|
3946
|
+
/**
|
|
3947
|
+
*
|
|
3948
|
+
* @export
|
|
3949
|
+
* @interface ThumbnailResponse
|
|
3950
|
+
*/
|
|
3951
|
+
export interface ThumbnailResponse {
|
|
3952
|
+
/**
|
|
3953
|
+
*
|
|
3954
|
+
* @type {string}
|
|
3955
|
+
* @memberof ThumbnailResponse
|
|
3956
|
+
*/
|
|
3957
|
+
image_url: string;
|
|
3958
|
+
}
|
|
3959
|
+
/**
|
|
3960
|
+
*
|
|
3961
|
+
* @export
|
|
3962
|
+
* @interface ThumbnailsSettings
|
|
3963
|
+
*/
|
|
3964
|
+
export interface ThumbnailsSettings {
|
|
3965
|
+
/**
|
|
3966
|
+
*
|
|
3967
|
+
* @type {boolean}
|
|
3968
|
+
* @memberof ThumbnailsSettings
|
|
3969
|
+
*/
|
|
3970
|
+
enabled: boolean;
|
|
3971
|
+
}
|
|
3972
|
+
/**
|
|
3973
|
+
*
|
|
3974
|
+
* @export
|
|
3975
|
+
* @interface ThumbnailsSettingsRequest
|
|
3976
|
+
*/
|
|
3977
|
+
export interface ThumbnailsSettingsRequest {
|
|
3978
|
+
/**
|
|
3979
|
+
*
|
|
3980
|
+
* @type {boolean}
|
|
3981
|
+
* @memberof ThumbnailsSettingsRequest
|
|
3982
|
+
*/
|
|
3983
|
+
enabled?: boolean;
|
|
3984
|
+
}
|
|
3838
3985
|
/**
|
|
3839
3986
|
*
|
|
3840
3987
|
* @export
|
|
@@ -4354,14 +4501,14 @@ export type VideoEvent = ({
|
|
|
4354
4501
|
} & CallAcceptedEvent) | ({
|
|
4355
4502
|
type: 'call.blocked_user';
|
|
4356
4503
|
} & BlockedUserEvent) | ({
|
|
4357
|
-
type: 'call.broadcasting_started';
|
|
4358
|
-
} & CallBroadcastingStartedEvent) | ({
|
|
4359
|
-
type: 'call.broadcasting_stopped';
|
|
4360
|
-
} & CallBroadcastingStoppedEvent) | ({
|
|
4361
4504
|
type: 'call.created';
|
|
4362
4505
|
} & CallCreatedEvent) | ({
|
|
4363
4506
|
type: 'call.ended';
|
|
4364
4507
|
} & CallEndedEvent) | ({
|
|
4508
|
+
type: 'call.hls_broadcasting_started';
|
|
4509
|
+
} & CallHLSBroadcastingStartedEvent) | ({
|
|
4510
|
+
type: 'call.hls_broadcasting_stopped';
|
|
4511
|
+
} & CallHLSBroadcastingStoppedEvent) | ({
|
|
4365
4512
|
type: 'call.live_started';
|
|
4366
4513
|
} & CallLiveStartedEvent) | ({
|
|
4367
4514
|
type: 'call.member_added';
|