livekit-client 1.6.7 → 1.6.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/livekit-client.esm.mjs +429 -250
- package/dist/livekit-client.esm.mjs.map +1 -1
- package/dist/livekit-client.umd.js +1 -1
- package/dist/livekit-client.umd.js.map +1 -1
- package/dist/src/proto/google/protobuf/timestamp.d.ts +9 -2
- package/dist/src/proto/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/src/proto/livekit_models.d.ts +958 -58
- package/dist/src/proto/livekit_models.d.ts.map +1 -1
- package/dist/src/proto/livekit_rtc.d.ts +8394 -3725
- package/dist/src/proto/livekit_rtc.d.ts.map +1 -1
- package/dist/src/room/Room.d.ts +1 -1
- package/dist/src/room/Room.d.ts.map +1 -1
- package/dist/src/room/events.d.ts +1 -1
- package/dist/src/room/participant/LocalParticipant.d.ts +18 -0
- package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
- package/dist/src/room/track/options.d.ts +8 -0
- package/dist/src/room/track/options.d.ts.map +1 -1
- package/dist/src/room/types.d.ts +7 -0
- package/dist/src/room/types.d.ts.map +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/ts4.2/src/proto/google/protobuf/timestamp.d.ts +11 -2
- package/dist/ts4.2/src/proto/livekit_models.d.ts +1199 -177
- package/dist/ts4.2/src/proto/livekit_rtc.d.ts +9260 -4023
- package/dist/ts4.2/src/room/Room.d.ts +1 -1
- package/dist/ts4.2/src/room/events.d.ts +1 -1
- package/dist/ts4.2/src/room/participant/LocalParticipant.d.ts +18 -0
- package/dist/ts4.2/src/room/track/options.d.ts +8 -0
- package/dist/ts4.2/src/room/types.d.ts +7 -0
- package/dist/ts4.2/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/src/proto/google/protobuf/timestamp.ts +4 -0
- package/src/proto/livekit_models.ts +128 -31
- package/src/proto/livekit_rtc.ts +262 -161
- package/src/room/RTCEngine.ts +9 -9
- package/src/room/Room.ts +50 -43
- package/src/room/events.ts +1 -1
- package/src/room/participant/LocalParticipant.ts +99 -21
- package/src/room/track/options.ts +12 -0
- package/src/room/types.ts +9 -0
- package/src/version.ts +1 -1
@@ -57,11 +57,11 @@ export declare enum DisconnectReason {
|
|
57
57
|
export declare function disconnectReasonFromJSON(object: any): DisconnectReason;
|
58
58
|
export declare function disconnectReasonToJSON(object: DisconnectReason): string;
|
59
59
|
export declare enum ReconnectReason {
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
60
|
+
RR_UNKOWN = 0,
|
61
|
+
RR_SIGNAL_DISCONNECTED = 1,
|
62
|
+
RR_PUBLISHER_FAILED = 2,
|
63
|
+
RR_SUBSCRIBER_FAILED = 3,
|
64
|
+
RR_SWITCH_CANDIDATE = 4,
|
65
65
|
UNRECOGNIZED = -1
|
66
66
|
}
|
67
67
|
export declare function reconnectReasonFromJSON(object: any): ReconnectReason;
|
@@ -216,6 +216,8 @@ export interface UserPacket {
|
|
216
216
|
payload: Uint8Array;
|
217
217
|
/** the ID of the participants who will receive the message (the message will be sent to all the people in the room if this variable is empty) */
|
218
218
|
destinationSids: string[];
|
219
|
+
/** topic under which the message was published */
|
220
|
+
topic?: string | undefined;
|
219
221
|
}
|
220
222
|
export interface ParticipantTracks {
|
221
223
|
/** participant ID of participant to whom the tracks belong */
|
@@ -337,7 +339,7 @@ export declare const Room: {
|
|
337
339
|
decode(input: _m0.Reader | Uint8Array, length?: number): Room;
|
338
340
|
fromJSON(object: any): Room;
|
339
341
|
toJSON(message: Room): unknown;
|
340
|
-
|
342
|
+
create<I extends {
|
341
343
|
sid?: string | undefined;
|
342
344
|
name?: string | undefined;
|
343
345
|
emptyTimeout?: number | undefined;
|
@@ -374,27 +376,72 @@ export declare const Room: {
|
|
374
376
|
metadata?: string | undefined;
|
375
377
|
numParticipants?: number | undefined;
|
376
378
|
activeRecording?: boolean | undefined;
|
377
|
-
} & { [K_2 in Exclude<keyof I, keyof Room>]: never; }>(
|
379
|
+
} & { [K_2 in Exclude<keyof I, keyof Room>]: never; }>(base?: I | undefined): Room;
|
380
|
+
fromPartial<I_1 extends {
|
381
|
+
sid?: string | undefined;
|
382
|
+
name?: string | undefined;
|
383
|
+
emptyTimeout?: number | undefined;
|
384
|
+
maxParticipants?: number | undefined;
|
385
|
+
creationTime?: number | undefined;
|
386
|
+
turnPassword?: string | undefined;
|
387
|
+
enabledCodecs?: {
|
388
|
+
mime?: string | undefined;
|
389
|
+
fmtpLine?: string | undefined;
|
390
|
+
}[] | undefined;
|
391
|
+
metadata?: string | undefined;
|
392
|
+
numParticipants?: number | undefined;
|
393
|
+
activeRecording?: boolean | undefined;
|
394
|
+
} & {
|
395
|
+
sid?: string | undefined;
|
396
|
+
name?: string | undefined;
|
397
|
+
emptyTimeout?: number | undefined;
|
398
|
+
maxParticipants?: number | undefined;
|
399
|
+
creationTime?: number | undefined;
|
400
|
+
turnPassword?: string | undefined;
|
401
|
+
enabledCodecs?: ({
|
402
|
+
mime?: string | undefined;
|
403
|
+
fmtpLine?: string | undefined;
|
404
|
+
}[] & ({
|
405
|
+
mime?: string | undefined;
|
406
|
+
fmtpLine?: string | undefined;
|
407
|
+
} & {
|
408
|
+
mime?: string | undefined;
|
409
|
+
fmtpLine?: string | undefined;
|
410
|
+
} & { [K_3 in Exclude<keyof I_1["enabledCodecs"][number], keyof Codec>]: never; })[] & { [K_4 in Exclude<keyof I_1["enabledCodecs"], keyof {
|
411
|
+
mime?: string | undefined;
|
412
|
+
fmtpLine?: string | undefined;
|
413
|
+
}[]>]: never; }) | undefined;
|
414
|
+
metadata?: string | undefined;
|
415
|
+
numParticipants?: number | undefined;
|
416
|
+
activeRecording?: boolean | undefined;
|
417
|
+
} & { [K_5 in Exclude<keyof I_1, keyof Room>]: never; }>(object: I_1): Room;
|
378
418
|
};
|
379
419
|
export declare const Codec: {
|
380
420
|
encode(message: Codec, writer?: _m0.Writer): _m0.Writer;
|
381
421
|
decode(input: _m0.Reader | Uint8Array, length?: number): Codec;
|
382
422
|
fromJSON(object: any): Codec;
|
383
423
|
toJSON(message: Codec): unknown;
|
384
|
-
|
424
|
+
create<I extends {
|
425
|
+
mime?: string | undefined;
|
426
|
+
fmtpLine?: string | undefined;
|
427
|
+
} & {
|
428
|
+
mime?: string | undefined;
|
429
|
+
fmtpLine?: string | undefined;
|
430
|
+
} & { [K in Exclude<keyof I, keyof Codec>]: never; }>(base?: I | undefined): Codec;
|
431
|
+
fromPartial<I_1 extends {
|
385
432
|
mime?: string | undefined;
|
386
433
|
fmtpLine?: string | undefined;
|
387
434
|
} & {
|
388
435
|
mime?: string | undefined;
|
389
436
|
fmtpLine?: string | undefined;
|
390
|
-
} & { [
|
437
|
+
} & { [K_1 in Exclude<keyof I_1, keyof Codec>]: never; }>(object: I_1): Codec;
|
391
438
|
};
|
392
439
|
export declare const ParticipantPermission: {
|
393
440
|
encode(message: ParticipantPermission, writer?: _m0.Writer): _m0.Writer;
|
394
441
|
decode(input: _m0.Reader | Uint8Array, length?: number): ParticipantPermission;
|
395
442
|
fromJSON(object: any): ParticipantPermission;
|
396
443
|
toJSON(message: ParticipantPermission): unknown;
|
397
|
-
|
444
|
+
create<I extends {
|
398
445
|
canSubscribe?: boolean | undefined;
|
399
446
|
canPublish?: boolean | undefined;
|
400
447
|
canPublishData?: boolean | undefined;
|
@@ -408,14 +455,314 @@ export declare const ParticipantPermission: {
|
|
408
455
|
canPublishSources?: (TrackSource[] & TrackSource[] & { [K in Exclude<keyof I["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
409
456
|
hidden?: boolean | undefined;
|
410
457
|
recorder?: boolean | undefined;
|
411
|
-
} & { [K_1 in Exclude<keyof I, keyof ParticipantPermission>]: never; }>(
|
458
|
+
} & { [K_1 in Exclude<keyof I, keyof ParticipantPermission>]: never; }>(base?: I | undefined): ParticipantPermission;
|
459
|
+
fromPartial<I_1 extends {
|
460
|
+
canSubscribe?: boolean | undefined;
|
461
|
+
canPublish?: boolean | undefined;
|
462
|
+
canPublishData?: boolean | undefined;
|
463
|
+
canPublishSources?: TrackSource[] | undefined;
|
464
|
+
hidden?: boolean | undefined;
|
465
|
+
recorder?: boolean | undefined;
|
466
|
+
} & {
|
467
|
+
canSubscribe?: boolean | undefined;
|
468
|
+
canPublish?: boolean | undefined;
|
469
|
+
canPublishData?: boolean | undefined;
|
470
|
+
canPublishSources?: (TrackSource[] & TrackSource[] & { [K_2 in Exclude<keyof I_1["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
471
|
+
hidden?: boolean | undefined;
|
472
|
+
recorder?: boolean | undefined;
|
473
|
+
} & { [K_3 in Exclude<keyof I_1, keyof ParticipantPermission>]: never; }>(object: I_1): ParticipantPermission;
|
412
474
|
};
|
413
475
|
export declare const ParticipantInfo: {
|
414
476
|
encode(message: ParticipantInfo, writer?: _m0.Writer): _m0.Writer;
|
415
477
|
decode(input: _m0.Reader | Uint8Array, length?: number): ParticipantInfo;
|
416
478
|
fromJSON(object: any): ParticipantInfo;
|
417
479
|
toJSON(message: ParticipantInfo): unknown;
|
418
|
-
|
480
|
+
create<I extends {
|
481
|
+
sid?: string | undefined;
|
482
|
+
identity?: string | undefined;
|
483
|
+
state?: ParticipantInfo_State | undefined;
|
484
|
+
tracks?: {
|
485
|
+
sid?: string | undefined;
|
486
|
+
type?: TrackType | undefined;
|
487
|
+
name?: string | undefined;
|
488
|
+
muted?: boolean | undefined;
|
489
|
+
width?: number | undefined;
|
490
|
+
height?: number | undefined;
|
491
|
+
simulcast?: boolean | undefined;
|
492
|
+
disableDtx?: boolean | undefined;
|
493
|
+
source?: TrackSource | undefined;
|
494
|
+
layers?: {
|
495
|
+
quality?: VideoQuality | undefined;
|
496
|
+
width?: number | undefined;
|
497
|
+
height?: number | undefined;
|
498
|
+
bitrate?: number | undefined;
|
499
|
+
ssrc?: number | undefined;
|
500
|
+
}[] | undefined;
|
501
|
+
mimeType?: string | undefined;
|
502
|
+
mid?: string | undefined;
|
503
|
+
codecs?: {
|
504
|
+
mimeType?: string | undefined;
|
505
|
+
mid?: string | undefined;
|
506
|
+
cid?: string | undefined;
|
507
|
+
layers?: {
|
508
|
+
quality?: VideoQuality | undefined;
|
509
|
+
width?: number | undefined;
|
510
|
+
height?: number | undefined;
|
511
|
+
bitrate?: number | undefined;
|
512
|
+
ssrc?: number | undefined;
|
513
|
+
}[] | undefined;
|
514
|
+
}[] | undefined;
|
515
|
+
stereo?: boolean | undefined;
|
516
|
+
disableRed?: boolean | undefined;
|
517
|
+
encryption?: Encryption_Type | undefined;
|
518
|
+
}[] | undefined;
|
519
|
+
metadata?: string | undefined;
|
520
|
+
joinedAt?: number | undefined;
|
521
|
+
name?: string | undefined;
|
522
|
+
version?: number | undefined;
|
523
|
+
permission?: {
|
524
|
+
canSubscribe?: boolean | undefined;
|
525
|
+
canPublish?: boolean | undefined;
|
526
|
+
canPublishData?: boolean | undefined;
|
527
|
+
canPublishSources?: TrackSource[] | undefined;
|
528
|
+
hidden?: boolean | undefined;
|
529
|
+
recorder?: boolean | undefined;
|
530
|
+
} | undefined;
|
531
|
+
region?: string | undefined;
|
532
|
+
isPublisher?: boolean | undefined;
|
533
|
+
} & {
|
534
|
+
sid?: string | undefined;
|
535
|
+
identity?: string | undefined;
|
536
|
+
state?: ParticipantInfo_State | undefined;
|
537
|
+
tracks?: ({
|
538
|
+
sid?: string | undefined;
|
539
|
+
type?: TrackType | undefined;
|
540
|
+
name?: string | undefined;
|
541
|
+
muted?: boolean | undefined;
|
542
|
+
width?: number | undefined;
|
543
|
+
height?: number | undefined;
|
544
|
+
simulcast?: boolean | undefined;
|
545
|
+
disableDtx?: boolean | undefined;
|
546
|
+
source?: TrackSource | undefined;
|
547
|
+
layers?: {
|
548
|
+
quality?: VideoQuality | undefined;
|
549
|
+
width?: number | undefined;
|
550
|
+
height?: number | undefined;
|
551
|
+
bitrate?: number | undefined;
|
552
|
+
ssrc?: number | undefined;
|
553
|
+
}[] | undefined;
|
554
|
+
mimeType?: string | undefined;
|
555
|
+
mid?: string | undefined;
|
556
|
+
codecs?: {
|
557
|
+
mimeType?: string | undefined;
|
558
|
+
mid?: string | undefined;
|
559
|
+
cid?: string | undefined;
|
560
|
+
layers?: {
|
561
|
+
quality?: VideoQuality | undefined;
|
562
|
+
width?: number | undefined;
|
563
|
+
height?: number | undefined;
|
564
|
+
bitrate?: number | undefined;
|
565
|
+
ssrc?: number | undefined;
|
566
|
+
}[] | undefined;
|
567
|
+
}[] | undefined;
|
568
|
+
stereo?: boolean | undefined;
|
569
|
+
disableRed?: boolean | undefined;
|
570
|
+
encryption?: Encryption_Type | undefined;
|
571
|
+
}[] & ({
|
572
|
+
sid?: string | undefined;
|
573
|
+
type?: TrackType | undefined;
|
574
|
+
name?: string | undefined;
|
575
|
+
muted?: boolean | undefined;
|
576
|
+
width?: number | undefined;
|
577
|
+
height?: number | undefined;
|
578
|
+
simulcast?: boolean | undefined;
|
579
|
+
disableDtx?: boolean | undefined;
|
580
|
+
source?: TrackSource | undefined;
|
581
|
+
layers?: {
|
582
|
+
quality?: VideoQuality | undefined;
|
583
|
+
width?: number | undefined;
|
584
|
+
height?: number | undefined;
|
585
|
+
bitrate?: number | undefined;
|
586
|
+
ssrc?: number | undefined;
|
587
|
+
}[] | undefined;
|
588
|
+
mimeType?: string | undefined;
|
589
|
+
mid?: string | undefined;
|
590
|
+
codecs?: {
|
591
|
+
mimeType?: string | undefined;
|
592
|
+
mid?: string | undefined;
|
593
|
+
cid?: string | undefined;
|
594
|
+
layers?: {
|
595
|
+
quality?: VideoQuality | undefined;
|
596
|
+
width?: number | undefined;
|
597
|
+
height?: number | undefined;
|
598
|
+
bitrate?: number | undefined;
|
599
|
+
ssrc?: number | undefined;
|
600
|
+
}[] | undefined;
|
601
|
+
}[] | undefined;
|
602
|
+
stereo?: boolean | undefined;
|
603
|
+
disableRed?: boolean | undefined;
|
604
|
+
encryption?: Encryption_Type | undefined;
|
605
|
+
} & {
|
606
|
+
sid?: string | undefined;
|
607
|
+
type?: TrackType | undefined;
|
608
|
+
name?: string | undefined;
|
609
|
+
muted?: boolean | undefined;
|
610
|
+
width?: number | undefined;
|
611
|
+
height?: number | undefined;
|
612
|
+
simulcast?: boolean | undefined;
|
613
|
+
disableDtx?: boolean | undefined;
|
614
|
+
source?: TrackSource | undefined;
|
615
|
+
layers?: ({
|
616
|
+
quality?: VideoQuality | undefined;
|
617
|
+
width?: number | undefined;
|
618
|
+
height?: number | undefined;
|
619
|
+
bitrate?: number | undefined;
|
620
|
+
ssrc?: number | undefined;
|
621
|
+
}[] & ({
|
622
|
+
quality?: VideoQuality | undefined;
|
623
|
+
width?: number | undefined;
|
624
|
+
height?: number | undefined;
|
625
|
+
bitrate?: number | undefined;
|
626
|
+
ssrc?: number | undefined;
|
627
|
+
} & {
|
628
|
+
quality?: VideoQuality | undefined;
|
629
|
+
width?: number | undefined;
|
630
|
+
height?: number | undefined;
|
631
|
+
bitrate?: number | undefined;
|
632
|
+
ssrc?: number | undefined;
|
633
|
+
} & { [K in Exclude<keyof I["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_1 in Exclude<keyof I["tracks"][number]["layers"], keyof {
|
634
|
+
quality?: VideoQuality | undefined;
|
635
|
+
width?: number | undefined;
|
636
|
+
height?: number | undefined;
|
637
|
+
bitrate?: number | undefined;
|
638
|
+
ssrc?: number | undefined;
|
639
|
+
}[]>]: never; }) | undefined;
|
640
|
+
mimeType?: string | undefined;
|
641
|
+
mid?: string | undefined;
|
642
|
+
codecs?: ({
|
643
|
+
mimeType?: string | undefined;
|
644
|
+
mid?: string | undefined;
|
645
|
+
cid?: string | undefined;
|
646
|
+
layers?: {
|
647
|
+
quality?: VideoQuality | undefined;
|
648
|
+
width?: number | undefined;
|
649
|
+
height?: number | undefined;
|
650
|
+
bitrate?: number | undefined;
|
651
|
+
ssrc?: number | undefined;
|
652
|
+
}[] | undefined;
|
653
|
+
}[] & ({
|
654
|
+
mimeType?: string | undefined;
|
655
|
+
mid?: string | undefined;
|
656
|
+
cid?: string | undefined;
|
657
|
+
layers?: {
|
658
|
+
quality?: VideoQuality | undefined;
|
659
|
+
width?: number | undefined;
|
660
|
+
height?: number | undefined;
|
661
|
+
bitrate?: number | undefined;
|
662
|
+
ssrc?: number | undefined;
|
663
|
+
}[] | undefined;
|
664
|
+
} & {
|
665
|
+
mimeType?: string | undefined;
|
666
|
+
mid?: string | undefined;
|
667
|
+
cid?: string | undefined;
|
668
|
+
layers?: ({
|
669
|
+
quality?: VideoQuality | undefined;
|
670
|
+
width?: number | undefined;
|
671
|
+
height?: number | undefined;
|
672
|
+
bitrate?: number | undefined;
|
673
|
+
ssrc?: number | undefined;
|
674
|
+
}[] & ({
|
675
|
+
quality?: VideoQuality | undefined;
|
676
|
+
width?: number | undefined;
|
677
|
+
height?: number | undefined;
|
678
|
+
bitrate?: number | undefined;
|
679
|
+
ssrc?: number | undefined;
|
680
|
+
} & {
|
681
|
+
quality?: VideoQuality | undefined;
|
682
|
+
width?: number | undefined;
|
683
|
+
height?: number | undefined;
|
684
|
+
bitrate?: number | undefined;
|
685
|
+
ssrc?: number | undefined;
|
686
|
+
} & { [K_2 in Exclude<keyof I["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_3 in Exclude<keyof I["tracks"][number]["codecs"][number]["layers"], keyof {
|
687
|
+
quality?: VideoQuality | undefined;
|
688
|
+
width?: number | undefined;
|
689
|
+
height?: number | undefined;
|
690
|
+
bitrate?: number | undefined;
|
691
|
+
ssrc?: number | undefined;
|
692
|
+
}[]>]: never; }) | undefined;
|
693
|
+
} & { [K_4 in Exclude<keyof I["tracks"][number]["codecs"][number], keyof SimulcastCodecInfo>]: never; })[] & { [K_5 in Exclude<keyof I["tracks"][number]["codecs"], keyof {
|
694
|
+
mimeType?: string | undefined;
|
695
|
+
mid?: string | undefined;
|
696
|
+
cid?: string | undefined;
|
697
|
+
layers?: {
|
698
|
+
quality?: VideoQuality | undefined;
|
699
|
+
width?: number | undefined;
|
700
|
+
height?: number | undefined;
|
701
|
+
bitrate?: number | undefined;
|
702
|
+
ssrc?: number | undefined;
|
703
|
+
}[] | undefined;
|
704
|
+
}[]>]: never; }) | undefined;
|
705
|
+
stereo?: boolean | undefined;
|
706
|
+
disableRed?: boolean | undefined;
|
707
|
+
encryption?: Encryption_Type | undefined;
|
708
|
+
} & { [K_6 in Exclude<keyof I["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_7 in Exclude<keyof I["tracks"], keyof {
|
709
|
+
sid?: string | undefined;
|
710
|
+
type?: TrackType | undefined;
|
711
|
+
name?: string | undefined;
|
712
|
+
muted?: boolean | undefined;
|
713
|
+
width?: number | undefined;
|
714
|
+
height?: number | undefined;
|
715
|
+
simulcast?: boolean | undefined;
|
716
|
+
disableDtx?: boolean | undefined;
|
717
|
+
source?: TrackSource | undefined;
|
718
|
+
layers?: {
|
719
|
+
quality?: VideoQuality | undefined;
|
720
|
+
width?: number | undefined;
|
721
|
+
height?: number | undefined;
|
722
|
+
bitrate?: number | undefined;
|
723
|
+
ssrc?: number | undefined;
|
724
|
+
}[] | undefined;
|
725
|
+
mimeType?: string | undefined;
|
726
|
+
mid?: string | undefined;
|
727
|
+
codecs?: {
|
728
|
+
mimeType?: string | undefined;
|
729
|
+
mid?: string | undefined;
|
730
|
+
cid?: string | undefined;
|
731
|
+
layers?: {
|
732
|
+
quality?: VideoQuality | undefined;
|
733
|
+
width?: number | undefined;
|
734
|
+
height?: number | undefined;
|
735
|
+
bitrate?: number | undefined;
|
736
|
+
ssrc?: number | undefined;
|
737
|
+
}[] | undefined;
|
738
|
+
}[] | undefined;
|
739
|
+
stereo?: boolean | undefined;
|
740
|
+
disableRed?: boolean | undefined;
|
741
|
+
encryption?: Encryption_Type | undefined;
|
742
|
+
}[]>]: never; }) | undefined;
|
743
|
+
metadata?: string | undefined;
|
744
|
+
joinedAt?: number | undefined;
|
745
|
+
name?: string | undefined;
|
746
|
+
version?: number | undefined;
|
747
|
+
permission?: ({
|
748
|
+
canSubscribe?: boolean | undefined;
|
749
|
+
canPublish?: boolean | undefined;
|
750
|
+
canPublishData?: boolean | undefined;
|
751
|
+
canPublishSources?: TrackSource[] | undefined;
|
752
|
+
hidden?: boolean | undefined;
|
753
|
+
recorder?: boolean | undefined;
|
754
|
+
} & {
|
755
|
+
canSubscribe?: boolean | undefined;
|
756
|
+
canPublish?: boolean | undefined;
|
757
|
+
canPublishData?: boolean | undefined;
|
758
|
+
canPublishSources?: (TrackSource[] & TrackSource[] & { [K_8 in Exclude<keyof I["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
759
|
+
hidden?: boolean | undefined;
|
760
|
+
recorder?: boolean | undefined;
|
761
|
+
} & { [K_9 in Exclude<keyof I["permission"], keyof ParticipantPermission>]: never; }) | undefined;
|
762
|
+
region?: string | undefined;
|
763
|
+
isPublisher?: boolean | undefined;
|
764
|
+
} & { [K_10 in Exclude<keyof I, keyof ParticipantInfo>]: never; }>(base?: I | undefined): ParticipantInfo;
|
765
|
+
fromPartial<I_1 extends {
|
419
766
|
sid?: string | undefined;
|
420
767
|
identity?: string | undefined;
|
421
768
|
state?: ParticipantInfo_State | undefined;
|
@@ -568,7 +915,7 @@ export declare const ParticipantInfo: {
|
|
568
915
|
height?: number | undefined;
|
569
916
|
bitrate?: number | undefined;
|
570
917
|
ssrc?: number | undefined;
|
571
|
-
} & { [
|
918
|
+
} & { [K_11 in Exclude<keyof I_1["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_12 in Exclude<keyof I_1["tracks"][number]["layers"], keyof {
|
572
919
|
quality?: VideoQuality | undefined;
|
573
920
|
width?: number | undefined;
|
574
921
|
height?: number | undefined;
|
@@ -621,14 +968,14 @@ export declare const ParticipantInfo: {
|
|
621
968
|
height?: number | undefined;
|
622
969
|
bitrate?: number | undefined;
|
623
970
|
ssrc?: number | undefined;
|
624
|
-
} & { [
|
971
|
+
} & { [K_13 in Exclude<keyof I_1["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_14 in Exclude<keyof I_1["tracks"][number]["codecs"][number]["layers"], keyof {
|
625
972
|
quality?: VideoQuality | undefined;
|
626
973
|
width?: number | undefined;
|
627
974
|
height?: number | undefined;
|
628
975
|
bitrate?: number | undefined;
|
629
976
|
ssrc?: number | undefined;
|
630
977
|
}[]>]: never; }) | undefined;
|
631
|
-
} & { [
|
978
|
+
} & { [K_15 in Exclude<keyof I_1["tracks"][number]["codecs"][number], keyof SimulcastCodecInfo>]: never; })[] & { [K_16 in Exclude<keyof I_1["tracks"][number]["codecs"], keyof {
|
632
979
|
mimeType?: string | undefined;
|
633
980
|
mid?: string | undefined;
|
634
981
|
cid?: string | undefined;
|
@@ -643,7 +990,7 @@ export declare const ParticipantInfo: {
|
|
643
990
|
stereo?: boolean | undefined;
|
644
991
|
disableRed?: boolean | undefined;
|
645
992
|
encryption?: Encryption_Type | undefined;
|
646
|
-
} & { [
|
993
|
+
} & { [K_17 in Exclude<keyof I_1["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_18 in Exclude<keyof I_1["tracks"], keyof {
|
647
994
|
sid?: string | undefined;
|
648
995
|
type?: TrackType | undefined;
|
649
996
|
name?: string | undefined;
|
@@ -693,27 +1040,28 @@ export declare const ParticipantInfo: {
|
|
693
1040
|
canSubscribe?: boolean | undefined;
|
694
1041
|
canPublish?: boolean | undefined;
|
695
1042
|
canPublishData?: boolean | undefined;
|
696
|
-
canPublishSources?: (TrackSource[] & TrackSource[] & { [
|
1043
|
+
canPublishSources?: (TrackSource[] & TrackSource[] & { [K_19 in Exclude<keyof I_1["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
697
1044
|
hidden?: boolean | undefined;
|
698
1045
|
recorder?: boolean | undefined;
|
699
|
-
} & { [
|
1046
|
+
} & { [K_20 in Exclude<keyof I_1["permission"], keyof ParticipantPermission>]: never; }) | undefined;
|
700
1047
|
region?: string | undefined;
|
701
1048
|
isPublisher?: boolean | undefined;
|
702
|
-
} & { [
|
1049
|
+
} & { [K_21 in Exclude<keyof I_1, keyof ParticipantInfo>]: never; }>(object: I_1): ParticipantInfo;
|
703
1050
|
};
|
704
1051
|
export declare const Encryption: {
|
705
1052
|
encode(_: Encryption, writer?: _m0.Writer): _m0.Writer;
|
706
1053
|
decode(input: _m0.Reader | Uint8Array, length?: number): Encryption;
|
707
1054
|
fromJSON(_: any): Encryption;
|
708
1055
|
toJSON(_: Encryption): unknown;
|
709
|
-
|
1056
|
+
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I | undefined): Encryption;
|
1057
|
+
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): Encryption;
|
710
1058
|
};
|
711
1059
|
export declare const SimulcastCodecInfo: {
|
712
1060
|
encode(message: SimulcastCodecInfo, writer?: _m0.Writer): _m0.Writer;
|
713
1061
|
decode(input: _m0.Reader | Uint8Array, length?: number): SimulcastCodecInfo;
|
714
1062
|
fromJSON(object: any): SimulcastCodecInfo;
|
715
1063
|
toJSON(message: SimulcastCodecInfo): unknown;
|
716
|
-
|
1064
|
+
create<I extends {
|
717
1065
|
mimeType?: string | undefined;
|
718
1066
|
mid?: string | undefined;
|
719
1067
|
cid?: string | undefined;
|
@@ -753,14 +1101,55 @@ export declare const SimulcastCodecInfo: {
|
|
753
1101
|
bitrate?: number | undefined;
|
754
1102
|
ssrc?: number | undefined;
|
755
1103
|
}[]>]: never; }) | undefined;
|
756
|
-
} & { [K_2 in Exclude<keyof I, keyof SimulcastCodecInfo>]: never; }>(
|
1104
|
+
} & { [K_2 in Exclude<keyof I, keyof SimulcastCodecInfo>]: never; }>(base?: I | undefined): SimulcastCodecInfo;
|
1105
|
+
fromPartial<I_1 extends {
|
1106
|
+
mimeType?: string | undefined;
|
1107
|
+
mid?: string | undefined;
|
1108
|
+
cid?: string | undefined;
|
1109
|
+
layers?: {
|
1110
|
+
quality?: VideoQuality | undefined;
|
1111
|
+
width?: number | undefined;
|
1112
|
+
height?: number | undefined;
|
1113
|
+
bitrate?: number | undefined;
|
1114
|
+
ssrc?: number | undefined;
|
1115
|
+
}[] | undefined;
|
1116
|
+
} & {
|
1117
|
+
mimeType?: string | undefined;
|
1118
|
+
mid?: string | undefined;
|
1119
|
+
cid?: string | undefined;
|
1120
|
+
layers?: ({
|
1121
|
+
quality?: VideoQuality | undefined;
|
1122
|
+
width?: number | undefined;
|
1123
|
+
height?: number | undefined;
|
1124
|
+
bitrate?: number | undefined;
|
1125
|
+
ssrc?: number | undefined;
|
1126
|
+
}[] & ({
|
1127
|
+
quality?: VideoQuality | undefined;
|
1128
|
+
width?: number | undefined;
|
1129
|
+
height?: number | undefined;
|
1130
|
+
bitrate?: number | undefined;
|
1131
|
+
ssrc?: number | undefined;
|
1132
|
+
} & {
|
1133
|
+
quality?: VideoQuality | undefined;
|
1134
|
+
width?: number | undefined;
|
1135
|
+
height?: number | undefined;
|
1136
|
+
bitrate?: number | undefined;
|
1137
|
+
ssrc?: number | undefined;
|
1138
|
+
} & { [K_3 in Exclude<keyof I_1["layers"][number], keyof VideoLayer>]: never; })[] & { [K_4 in Exclude<keyof I_1["layers"], keyof {
|
1139
|
+
quality?: VideoQuality | undefined;
|
1140
|
+
width?: number | undefined;
|
1141
|
+
height?: number | undefined;
|
1142
|
+
bitrate?: number | undefined;
|
1143
|
+
ssrc?: number | undefined;
|
1144
|
+
}[]>]: never; }) | undefined;
|
1145
|
+
} & { [K_5 in Exclude<keyof I_1, keyof SimulcastCodecInfo>]: never; }>(object: I_1): SimulcastCodecInfo;
|
757
1146
|
};
|
758
1147
|
export declare const TrackInfo: {
|
759
1148
|
encode(message: TrackInfo, writer?: _m0.Writer): _m0.Writer;
|
760
1149
|
decode(input: _m0.Reader | Uint8Array, length?: number): TrackInfo;
|
761
1150
|
fromJSON(object: any): TrackInfo;
|
762
1151
|
toJSON(message: TrackInfo): unknown;
|
763
|
-
|
1152
|
+
create<I extends {
|
764
1153
|
sid?: string | undefined;
|
765
1154
|
type?: TrackType | undefined;
|
766
1155
|
name?: string | undefined;
|
@@ -897,14 +1286,165 @@ export declare const TrackInfo: {
|
|
897
1286
|
stereo?: boolean | undefined;
|
898
1287
|
disableRed?: boolean | undefined;
|
899
1288
|
encryption?: Encryption_Type | undefined;
|
900
|
-
} & { [K_6 in Exclude<keyof I, keyof TrackInfo>]: never; }>(
|
1289
|
+
} & { [K_6 in Exclude<keyof I, keyof TrackInfo>]: never; }>(base?: I | undefined): TrackInfo;
|
1290
|
+
fromPartial<I_1 extends {
|
1291
|
+
sid?: string | undefined;
|
1292
|
+
type?: TrackType | undefined;
|
1293
|
+
name?: string | undefined;
|
1294
|
+
muted?: boolean | undefined;
|
1295
|
+
width?: number | undefined;
|
1296
|
+
height?: number | undefined;
|
1297
|
+
simulcast?: boolean | undefined;
|
1298
|
+
disableDtx?: boolean | undefined;
|
1299
|
+
source?: TrackSource | undefined;
|
1300
|
+
layers?: {
|
1301
|
+
quality?: VideoQuality | undefined;
|
1302
|
+
width?: number | undefined;
|
1303
|
+
height?: number | undefined;
|
1304
|
+
bitrate?: number | undefined;
|
1305
|
+
ssrc?: number | undefined;
|
1306
|
+
}[] | undefined;
|
1307
|
+
mimeType?: string | undefined;
|
1308
|
+
mid?: string | undefined;
|
1309
|
+
codecs?: {
|
1310
|
+
mimeType?: string | undefined;
|
1311
|
+
mid?: string | undefined;
|
1312
|
+
cid?: string | undefined;
|
1313
|
+
layers?: {
|
1314
|
+
quality?: VideoQuality | undefined;
|
1315
|
+
width?: number | undefined;
|
1316
|
+
height?: number | undefined;
|
1317
|
+
bitrate?: number | undefined;
|
1318
|
+
ssrc?: number | undefined;
|
1319
|
+
}[] | undefined;
|
1320
|
+
}[] | undefined;
|
1321
|
+
stereo?: boolean | undefined;
|
1322
|
+
disableRed?: boolean | undefined;
|
1323
|
+
encryption?: Encryption_Type | undefined;
|
1324
|
+
} & {
|
1325
|
+
sid?: string | undefined;
|
1326
|
+
type?: TrackType | undefined;
|
1327
|
+
name?: string | undefined;
|
1328
|
+
muted?: boolean | undefined;
|
1329
|
+
width?: number | undefined;
|
1330
|
+
height?: number | undefined;
|
1331
|
+
simulcast?: boolean | undefined;
|
1332
|
+
disableDtx?: boolean | undefined;
|
1333
|
+
source?: TrackSource | undefined;
|
1334
|
+
layers?: ({
|
1335
|
+
quality?: VideoQuality | undefined;
|
1336
|
+
width?: number | undefined;
|
1337
|
+
height?: number | undefined;
|
1338
|
+
bitrate?: number | undefined;
|
1339
|
+
ssrc?: number | undefined;
|
1340
|
+
}[] & ({
|
1341
|
+
quality?: VideoQuality | undefined;
|
1342
|
+
width?: number | undefined;
|
1343
|
+
height?: number | undefined;
|
1344
|
+
bitrate?: number | undefined;
|
1345
|
+
ssrc?: number | undefined;
|
1346
|
+
} & {
|
1347
|
+
quality?: VideoQuality | undefined;
|
1348
|
+
width?: number | undefined;
|
1349
|
+
height?: number | undefined;
|
1350
|
+
bitrate?: number | undefined;
|
1351
|
+
ssrc?: number | undefined;
|
1352
|
+
} & { [K_7 in Exclude<keyof I_1["layers"][number], keyof VideoLayer>]: never; })[] & { [K_8 in Exclude<keyof I_1["layers"], keyof {
|
1353
|
+
quality?: VideoQuality | undefined;
|
1354
|
+
width?: number | undefined;
|
1355
|
+
height?: number | undefined;
|
1356
|
+
bitrate?: number | undefined;
|
1357
|
+
ssrc?: number | undefined;
|
1358
|
+
}[]>]: never; }) | undefined;
|
1359
|
+
mimeType?: string | undefined;
|
1360
|
+
mid?: string | undefined;
|
1361
|
+
codecs?: ({
|
1362
|
+
mimeType?: string | undefined;
|
1363
|
+
mid?: string | undefined;
|
1364
|
+
cid?: string | undefined;
|
1365
|
+
layers?: {
|
1366
|
+
quality?: VideoQuality | undefined;
|
1367
|
+
width?: number | undefined;
|
1368
|
+
height?: number | undefined;
|
1369
|
+
bitrate?: number | undefined;
|
1370
|
+
ssrc?: number | undefined;
|
1371
|
+
}[] | undefined;
|
1372
|
+
}[] & ({
|
1373
|
+
mimeType?: string | undefined;
|
1374
|
+
mid?: string | undefined;
|
1375
|
+
cid?: string | undefined;
|
1376
|
+
layers?: {
|
1377
|
+
quality?: VideoQuality | undefined;
|
1378
|
+
width?: number | undefined;
|
1379
|
+
height?: number | undefined;
|
1380
|
+
bitrate?: number | undefined;
|
1381
|
+
ssrc?: number | undefined;
|
1382
|
+
}[] | undefined;
|
1383
|
+
} & {
|
1384
|
+
mimeType?: string | undefined;
|
1385
|
+
mid?: string | undefined;
|
1386
|
+
cid?: string | undefined;
|
1387
|
+
layers?: ({
|
1388
|
+
quality?: VideoQuality | undefined;
|
1389
|
+
width?: number | undefined;
|
1390
|
+
height?: number | undefined;
|
1391
|
+
bitrate?: number | undefined;
|
1392
|
+
ssrc?: number | undefined;
|
1393
|
+
}[] & ({
|
1394
|
+
quality?: VideoQuality | undefined;
|
1395
|
+
width?: number | undefined;
|
1396
|
+
height?: number | undefined;
|
1397
|
+
bitrate?: number | undefined;
|
1398
|
+
ssrc?: number | undefined;
|
1399
|
+
} & {
|
1400
|
+
quality?: VideoQuality | undefined;
|
1401
|
+
width?: number | undefined;
|
1402
|
+
height?: number | undefined;
|
1403
|
+
bitrate?: number | undefined;
|
1404
|
+
ssrc?: number | undefined;
|
1405
|
+
} & { [K_9 in Exclude<keyof I_1["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_10 in Exclude<keyof I_1["codecs"][number]["layers"], keyof {
|
1406
|
+
quality?: VideoQuality | undefined;
|
1407
|
+
width?: number | undefined;
|
1408
|
+
height?: number | undefined;
|
1409
|
+
bitrate?: number | undefined;
|
1410
|
+
ssrc?: number | undefined;
|
1411
|
+
}[]>]: never; }) | undefined;
|
1412
|
+
} & { [K_11 in Exclude<keyof I_1["codecs"][number], keyof SimulcastCodecInfo>]: never; })[] & { [K_12 in Exclude<keyof I_1["codecs"], keyof {
|
1413
|
+
mimeType?: string | undefined;
|
1414
|
+
mid?: string | undefined;
|
1415
|
+
cid?: string | undefined;
|
1416
|
+
layers?: {
|
1417
|
+
quality?: VideoQuality | undefined;
|
1418
|
+
width?: number | undefined;
|
1419
|
+
height?: number | undefined;
|
1420
|
+
bitrate?: number | undefined;
|
1421
|
+
ssrc?: number | undefined;
|
1422
|
+
}[] | undefined;
|
1423
|
+
}[]>]: never; }) | undefined;
|
1424
|
+
stereo?: boolean | undefined;
|
1425
|
+
disableRed?: boolean | undefined;
|
1426
|
+
encryption?: Encryption_Type | undefined;
|
1427
|
+
} & { [K_13 in Exclude<keyof I_1, keyof TrackInfo>]: never; }>(object: I_1): TrackInfo;
|
901
1428
|
};
|
902
1429
|
export declare const VideoLayer: {
|
903
1430
|
encode(message: VideoLayer, writer?: _m0.Writer): _m0.Writer;
|
904
1431
|
decode(input: _m0.Reader | Uint8Array, length?: number): VideoLayer;
|
905
1432
|
fromJSON(object: any): VideoLayer;
|
906
1433
|
toJSON(message: VideoLayer): unknown;
|
907
|
-
|
1434
|
+
create<I extends {
|
1435
|
+
quality?: VideoQuality | undefined;
|
1436
|
+
width?: number | undefined;
|
1437
|
+
height?: number | undefined;
|
1438
|
+
bitrate?: number | undefined;
|
1439
|
+
ssrc?: number | undefined;
|
1440
|
+
} & {
|
1441
|
+
quality?: VideoQuality | undefined;
|
1442
|
+
width?: number | undefined;
|
1443
|
+
height?: number | undefined;
|
1444
|
+
bitrate?: number | undefined;
|
1445
|
+
ssrc?: number | undefined;
|
1446
|
+
} & { [K in Exclude<keyof I, keyof VideoLayer>]: never; }>(base?: I | undefined): VideoLayer;
|
1447
|
+
fromPartial<I_1 extends {
|
908
1448
|
quality?: VideoQuality | undefined;
|
909
1449
|
width?: number | undefined;
|
910
1450
|
height?: number | undefined;
|
@@ -916,20 +1456,106 @@ export declare const VideoLayer: {
|
|
916
1456
|
height?: number | undefined;
|
917
1457
|
bitrate?: number | undefined;
|
918
1458
|
ssrc?: number | undefined;
|
919
|
-
} & { [
|
1459
|
+
} & { [K_1 in Exclude<keyof I_1, keyof VideoLayer>]: never; }>(object: I_1): VideoLayer;
|
920
1460
|
};
|
921
1461
|
export declare const DataPacket: {
|
922
1462
|
encode(message: DataPacket, writer?: _m0.Writer): _m0.Writer;
|
923
1463
|
decode(input: _m0.Reader | Uint8Array, length?: number): DataPacket;
|
924
1464
|
fromJSON(object: any): DataPacket;
|
925
1465
|
toJSON(message: DataPacket): unknown;
|
926
|
-
|
1466
|
+
create<I extends {
|
1467
|
+
kind?: DataPacket_Kind | undefined;
|
1468
|
+
value?: ({
|
1469
|
+
user?: {
|
1470
|
+
participantSid?: string | undefined;
|
1471
|
+
payload?: Uint8Array | undefined;
|
1472
|
+
destinationSids?: string[] | undefined;
|
1473
|
+
topic?: string | undefined;
|
1474
|
+
} | undefined;
|
1475
|
+
} & {
|
1476
|
+
$case: "user";
|
1477
|
+
}) | ({
|
1478
|
+
speaker?: {
|
1479
|
+
speakers?: {
|
1480
|
+
sid?: string | undefined;
|
1481
|
+
level?: number | undefined;
|
1482
|
+
active?: boolean | undefined;
|
1483
|
+
}[] | undefined;
|
1484
|
+
} | undefined;
|
1485
|
+
} & {
|
1486
|
+
$case: "speaker";
|
1487
|
+
}) | undefined;
|
1488
|
+
} & {
|
1489
|
+
kind?: DataPacket_Kind | undefined;
|
1490
|
+
value?: ({
|
1491
|
+
user?: {
|
1492
|
+
participantSid?: string | undefined;
|
1493
|
+
payload?: Uint8Array | undefined;
|
1494
|
+
destinationSids?: string[] | undefined;
|
1495
|
+
topic?: string | undefined;
|
1496
|
+
} | undefined;
|
1497
|
+
} & {
|
1498
|
+
$case: "user";
|
1499
|
+
} & {
|
1500
|
+
user?: ({
|
1501
|
+
participantSid?: string | undefined;
|
1502
|
+
payload?: Uint8Array | undefined;
|
1503
|
+
destinationSids?: string[] | undefined;
|
1504
|
+
topic?: string | undefined;
|
1505
|
+
} & {
|
1506
|
+
participantSid?: string | undefined;
|
1507
|
+
payload?: Uint8Array | undefined;
|
1508
|
+
destinationSids?: (string[] & string[] & { [K in Exclude<keyof I["value"]["user"]["destinationSids"], keyof string[]>]: never; }) | undefined;
|
1509
|
+
topic?: string | undefined;
|
1510
|
+
} & { [K_1 in Exclude<keyof I["value"]["user"], keyof UserPacket>]: never; }) | undefined;
|
1511
|
+
$case: "user";
|
1512
|
+
} & { [K_2 in Exclude<keyof I["value"], "user" | "$case">]: never; }) | ({
|
1513
|
+
speaker?: {
|
1514
|
+
speakers?: {
|
1515
|
+
sid?: string | undefined;
|
1516
|
+
level?: number | undefined;
|
1517
|
+
active?: boolean | undefined;
|
1518
|
+
}[] | undefined;
|
1519
|
+
} | undefined;
|
1520
|
+
} & {
|
1521
|
+
$case: "speaker";
|
1522
|
+
} & {
|
1523
|
+
speaker?: ({
|
1524
|
+
speakers?: {
|
1525
|
+
sid?: string | undefined;
|
1526
|
+
level?: number | undefined;
|
1527
|
+
active?: boolean | undefined;
|
1528
|
+
}[] | undefined;
|
1529
|
+
} & {
|
1530
|
+
speakers?: ({
|
1531
|
+
sid?: string | undefined;
|
1532
|
+
level?: number | undefined;
|
1533
|
+
active?: boolean | undefined;
|
1534
|
+
}[] & ({
|
1535
|
+
sid?: string | undefined;
|
1536
|
+
level?: number | undefined;
|
1537
|
+
active?: boolean | undefined;
|
1538
|
+
} & {
|
1539
|
+
sid?: string | undefined;
|
1540
|
+
level?: number | undefined;
|
1541
|
+
active?: boolean | undefined;
|
1542
|
+
} & { [K_3 in Exclude<keyof I["value"]["speaker"]["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_4 in Exclude<keyof I["value"]["speaker"]["speakers"], keyof {
|
1543
|
+
sid?: string | undefined;
|
1544
|
+
level?: number | undefined;
|
1545
|
+
active?: boolean | undefined;
|
1546
|
+
}[]>]: never; }) | undefined;
|
1547
|
+
} & { [K_5 in Exclude<keyof I["value"]["speaker"], "speakers">]: never; }) | undefined;
|
1548
|
+
$case: "speaker";
|
1549
|
+
} & { [K_6 in Exclude<keyof I["value"], "speaker" | "$case">]: never; }) | undefined;
|
1550
|
+
} & { [K_7 in Exclude<keyof I, keyof DataPacket>]: never; }>(base?: I | undefined): DataPacket;
|
1551
|
+
fromPartial<I_1 extends {
|
927
1552
|
kind?: DataPacket_Kind | undefined;
|
928
1553
|
value?: ({
|
929
1554
|
user?: {
|
930
1555
|
participantSid?: string | undefined;
|
931
1556
|
payload?: Uint8Array | undefined;
|
932
1557
|
destinationSids?: string[] | undefined;
|
1558
|
+
topic?: string | undefined;
|
933
1559
|
} | undefined;
|
934
1560
|
} & {
|
935
1561
|
$case: "user";
|
@@ -951,6 +1577,7 @@ export declare const DataPacket: {
|
|
951
1577
|
participantSid?: string | undefined;
|
952
1578
|
payload?: Uint8Array | undefined;
|
953
1579
|
destinationSids?: string[] | undefined;
|
1580
|
+
topic?: string | undefined;
|
954
1581
|
} | undefined;
|
955
1582
|
} & {
|
956
1583
|
$case: "user";
|
@@ -959,13 +1586,15 @@ export declare const DataPacket: {
|
|
959
1586
|
participantSid?: string | undefined;
|
960
1587
|
payload?: Uint8Array | undefined;
|
961
1588
|
destinationSids?: string[] | undefined;
|
1589
|
+
topic?: string | undefined;
|
962
1590
|
} & {
|
963
1591
|
participantSid?: string | undefined;
|
964
1592
|
payload?: Uint8Array | undefined;
|
965
|
-
destinationSids?: (string[] & string[] & { [
|
966
|
-
|
1593
|
+
destinationSids?: (string[] & string[] & { [K_8 in Exclude<keyof I_1["value"]["user"]["destinationSids"], keyof string[]>]: never; }) | undefined;
|
1594
|
+
topic?: string | undefined;
|
1595
|
+
} & { [K_9 in Exclude<keyof I_1["value"]["user"], keyof UserPacket>]: never; }) | undefined;
|
967
1596
|
$case: "user";
|
968
|
-
} & { [
|
1597
|
+
} & { [K_10 in Exclude<keyof I_1["value"], "user" | "$case">]: never; }) | ({
|
969
1598
|
speaker?: {
|
970
1599
|
speakers?: {
|
971
1600
|
sid?: string | undefined;
|
@@ -995,22 +1624,22 @@ export declare const DataPacket: {
|
|
995
1624
|
sid?: string | undefined;
|
996
1625
|
level?: number | undefined;
|
997
1626
|
active?: boolean | undefined;
|
998
|
-
} & { [
|
1627
|
+
} & { [K_11 in Exclude<keyof I_1["value"]["speaker"]["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_12 in Exclude<keyof I_1["value"]["speaker"]["speakers"], keyof {
|
999
1628
|
sid?: string | undefined;
|
1000
1629
|
level?: number | undefined;
|
1001
1630
|
active?: boolean | undefined;
|
1002
1631
|
}[]>]: never; }) | undefined;
|
1003
|
-
} & { [
|
1632
|
+
} & { [K_13 in Exclude<keyof I_1["value"]["speaker"], "speakers">]: never; }) | undefined;
|
1004
1633
|
$case: "speaker";
|
1005
|
-
} & { [
|
1006
|
-
} & { [
|
1634
|
+
} & { [K_14 in Exclude<keyof I_1["value"], "speaker" | "$case">]: never; }) | undefined;
|
1635
|
+
} & { [K_15 in Exclude<keyof I_1, keyof DataPacket>]: never; }>(object: I_1): DataPacket;
|
1007
1636
|
};
|
1008
1637
|
export declare const ActiveSpeakerUpdate: {
|
1009
1638
|
encode(message: ActiveSpeakerUpdate, writer?: _m0.Writer): _m0.Writer;
|
1010
1639
|
decode(input: _m0.Reader | Uint8Array, length?: number): ActiveSpeakerUpdate;
|
1011
1640
|
fromJSON(object: any): ActiveSpeakerUpdate;
|
1012
1641
|
toJSON(message: ActiveSpeakerUpdate): unknown;
|
1013
|
-
|
1642
|
+
create<I extends {
|
1014
1643
|
speakers?: {
|
1015
1644
|
sid?: string | undefined;
|
1016
1645
|
level?: number | undefined;
|
@@ -1034,14 +1663,48 @@ export declare const ActiveSpeakerUpdate: {
|
|
1034
1663
|
level?: number | undefined;
|
1035
1664
|
active?: boolean | undefined;
|
1036
1665
|
}[]>]: never; }) | undefined;
|
1037
|
-
} & { [K_2 in Exclude<keyof I, "speakers">]: never; }>(
|
1666
|
+
} & { [K_2 in Exclude<keyof I, "speakers">]: never; }>(base?: I | undefined): ActiveSpeakerUpdate;
|
1667
|
+
fromPartial<I_1 extends {
|
1668
|
+
speakers?: {
|
1669
|
+
sid?: string | undefined;
|
1670
|
+
level?: number | undefined;
|
1671
|
+
active?: boolean | undefined;
|
1672
|
+
}[] | undefined;
|
1673
|
+
} & {
|
1674
|
+
speakers?: ({
|
1675
|
+
sid?: string | undefined;
|
1676
|
+
level?: number | undefined;
|
1677
|
+
active?: boolean | undefined;
|
1678
|
+
}[] & ({
|
1679
|
+
sid?: string | undefined;
|
1680
|
+
level?: number | undefined;
|
1681
|
+
active?: boolean | undefined;
|
1682
|
+
} & {
|
1683
|
+
sid?: string | undefined;
|
1684
|
+
level?: number | undefined;
|
1685
|
+
active?: boolean | undefined;
|
1686
|
+
} & { [K_3 in Exclude<keyof I_1["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_4 in Exclude<keyof I_1["speakers"], keyof {
|
1687
|
+
sid?: string | undefined;
|
1688
|
+
level?: number | undefined;
|
1689
|
+
active?: boolean | undefined;
|
1690
|
+
}[]>]: never; }) | undefined;
|
1691
|
+
} & { [K_5 in Exclude<keyof I_1, "speakers">]: never; }>(object: I_1): ActiveSpeakerUpdate;
|
1038
1692
|
};
|
1039
1693
|
export declare const SpeakerInfo: {
|
1040
1694
|
encode(message: SpeakerInfo, writer?: _m0.Writer): _m0.Writer;
|
1041
1695
|
decode(input: _m0.Reader | Uint8Array, length?: number): SpeakerInfo;
|
1042
1696
|
fromJSON(object: any): SpeakerInfo;
|
1043
1697
|
toJSON(message: SpeakerInfo): unknown;
|
1044
|
-
|
1698
|
+
create<I extends {
|
1699
|
+
sid?: string | undefined;
|
1700
|
+
level?: number | undefined;
|
1701
|
+
active?: boolean | undefined;
|
1702
|
+
} & {
|
1703
|
+
sid?: string | undefined;
|
1704
|
+
level?: number | undefined;
|
1705
|
+
active?: boolean | undefined;
|
1706
|
+
} & { [K in Exclude<keyof I, keyof SpeakerInfo>]: never; }>(base?: I | undefined): SpeakerInfo;
|
1707
|
+
fromPartial<I_1 extends {
|
1045
1708
|
sid?: string | undefined;
|
1046
1709
|
level?: number | undefined;
|
1047
1710
|
active?: boolean | undefined;
|
@@ -1049,42 +1712,77 @@ export declare const SpeakerInfo: {
|
|
1049
1712
|
sid?: string | undefined;
|
1050
1713
|
level?: number | undefined;
|
1051
1714
|
active?: boolean | undefined;
|
1052
|
-
} & { [
|
1715
|
+
} & { [K_1 in Exclude<keyof I_1, keyof SpeakerInfo>]: never; }>(object: I_1): SpeakerInfo;
|
1053
1716
|
};
|
1054
1717
|
export declare const UserPacket: {
|
1055
1718
|
encode(message: UserPacket, writer?: _m0.Writer): _m0.Writer;
|
1056
1719
|
decode(input: _m0.Reader | Uint8Array, length?: number): UserPacket;
|
1057
1720
|
fromJSON(object: any): UserPacket;
|
1058
1721
|
toJSON(message: UserPacket): unknown;
|
1059
|
-
|
1722
|
+
create<I extends {
|
1060
1723
|
participantSid?: string | undefined;
|
1061
1724
|
payload?: Uint8Array | undefined;
|
1062
1725
|
destinationSids?: string[] | undefined;
|
1726
|
+
topic?: string | undefined;
|
1063
1727
|
} & {
|
1064
1728
|
participantSid?: string | undefined;
|
1065
1729
|
payload?: Uint8Array | undefined;
|
1066
1730
|
destinationSids?: (string[] & string[] & { [K in Exclude<keyof I["destinationSids"], keyof string[]>]: never; }) | undefined;
|
1067
|
-
|
1731
|
+
topic?: string | undefined;
|
1732
|
+
} & { [K_1 in Exclude<keyof I, keyof UserPacket>]: never; }>(base?: I | undefined): UserPacket;
|
1733
|
+
fromPartial<I_1 extends {
|
1734
|
+
participantSid?: string | undefined;
|
1735
|
+
payload?: Uint8Array | undefined;
|
1736
|
+
destinationSids?: string[] | undefined;
|
1737
|
+
topic?: string | undefined;
|
1738
|
+
} & {
|
1739
|
+
participantSid?: string | undefined;
|
1740
|
+
payload?: Uint8Array | undefined;
|
1741
|
+
destinationSids?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["destinationSids"], keyof string[]>]: never; }) | undefined;
|
1742
|
+
topic?: string | undefined;
|
1743
|
+
} & { [K_3 in Exclude<keyof I_1, keyof UserPacket>]: never; }>(object: I_1): UserPacket;
|
1068
1744
|
};
|
1069
1745
|
export declare const ParticipantTracks: {
|
1070
1746
|
encode(message: ParticipantTracks, writer?: _m0.Writer): _m0.Writer;
|
1071
1747
|
decode(input: _m0.Reader | Uint8Array, length?: number): ParticipantTracks;
|
1072
1748
|
fromJSON(object: any): ParticipantTracks;
|
1073
1749
|
toJSON(message: ParticipantTracks): unknown;
|
1074
|
-
|
1750
|
+
create<I extends {
|
1075
1751
|
participantSid?: string | undefined;
|
1076
1752
|
trackSids?: string[] | undefined;
|
1077
1753
|
} & {
|
1078
1754
|
participantSid?: string | undefined;
|
1079
1755
|
trackSids?: (string[] & string[] & { [K in Exclude<keyof I["trackSids"], keyof string[]>]: never; }) | undefined;
|
1080
|
-
} & { [K_1 in Exclude<keyof I, keyof ParticipantTracks>]: never; }>(
|
1756
|
+
} & { [K_1 in Exclude<keyof I, keyof ParticipantTracks>]: never; }>(base?: I | undefined): ParticipantTracks;
|
1757
|
+
fromPartial<I_1 extends {
|
1758
|
+
participantSid?: string | undefined;
|
1759
|
+
trackSids?: string[] | undefined;
|
1760
|
+
} & {
|
1761
|
+
participantSid?: string | undefined;
|
1762
|
+
trackSids?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["trackSids"], keyof string[]>]: never; }) | undefined;
|
1763
|
+
} & { [K_3 in Exclude<keyof I_1, keyof ParticipantTracks>]: never; }>(object: I_1): ParticipantTracks;
|
1081
1764
|
};
|
1082
1765
|
export declare const ServerInfo: {
|
1083
1766
|
encode(message: ServerInfo, writer?: _m0.Writer): _m0.Writer;
|
1084
1767
|
decode(input: _m0.Reader | Uint8Array, length?: number): ServerInfo;
|
1085
1768
|
fromJSON(object: any): ServerInfo;
|
1086
1769
|
toJSON(message: ServerInfo): unknown;
|
1087
|
-
|
1770
|
+
create<I extends {
|
1771
|
+
edition?: ServerInfo_Edition | undefined;
|
1772
|
+
version?: string | undefined;
|
1773
|
+
protocol?: number | undefined;
|
1774
|
+
region?: string | undefined;
|
1775
|
+
nodeId?: string | undefined;
|
1776
|
+
debugInfo?: string | undefined;
|
1777
|
+
} & {
|
1778
|
+
edition?: ServerInfo_Edition | undefined;
|
1779
|
+
version?: string | undefined;
|
1780
|
+
protocol?: number | undefined;
|
1781
|
+
region?: string | undefined;
|
1782
|
+
nodeId?: string | undefined;
|
1783
|
+
debugInfo?: string | undefined;
|
1784
|
+
} & { [K in Exclude<keyof I, keyof ServerInfo>]: never; }>(base?: I | undefined): ServerInfo;
|
1785
|
+
fromPartial<I_1 extends {
|
1088
1786
|
edition?: ServerInfo_Edition | undefined;
|
1089
1787
|
version?: string | undefined;
|
1090
1788
|
protocol?: number | undefined;
|
@@ -1098,14 +1796,37 @@ export declare const ServerInfo: {
|
|
1098
1796
|
region?: string | undefined;
|
1099
1797
|
nodeId?: string | undefined;
|
1100
1798
|
debugInfo?: string | undefined;
|
1101
|
-
} & { [
|
1799
|
+
} & { [K_1 in Exclude<keyof I_1, keyof ServerInfo>]: never; }>(object: I_1): ServerInfo;
|
1102
1800
|
};
|
1103
1801
|
export declare const ClientInfo: {
|
1104
1802
|
encode(message: ClientInfo, writer?: _m0.Writer): _m0.Writer;
|
1105
1803
|
decode(input: _m0.Reader | Uint8Array, length?: number): ClientInfo;
|
1106
1804
|
fromJSON(object: any): ClientInfo;
|
1107
1805
|
toJSON(message: ClientInfo): unknown;
|
1108
|
-
|
1806
|
+
create<I extends {
|
1807
|
+
sdk?: ClientInfo_SDK | undefined;
|
1808
|
+
version?: string | undefined;
|
1809
|
+
protocol?: number | undefined;
|
1810
|
+
os?: string | undefined;
|
1811
|
+
osVersion?: string | undefined;
|
1812
|
+
deviceModel?: string | undefined;
|
1813
|
+
browser?: string | undefined;
|
1814
|
+
browserVersion?: string | undefined;
|
1815
|
+
address?: string | undefined;
|
1816
|
+
network?: string | undefined;
|
1817
|
+
} & {
|
1818
|
+
sdk?: ClientInfo_SDK | undefined;
|
1819
|
+
version?: string | undefined;
|
1820
|
+
protocol?: number | undefined;
|
1821
|
+
os?: string | undefined;
|
1822
|
+
osVersion?: string | undefined;
|
1823
|
+
deviceModel?: string | undefined;
|
1824
|
+
browser?: string | undefined;
|
1825
|
+
browserVersion?: string | undefined;
|
1826
|
+
address?: string | undefined;
|
1827
|
+
network?: string | undefined;
|
1828
|
+
} & { [K in Exclude<keyof I, keyof ClientInfo>]: never; }>(base?: I | undefined): ClientInfo;
|
1829
|
+
fromPartial<I_1 extends {
|
1109
1830
|
sdk?: ClientInfo_SDK | undefined;
|
1110
1831
|
version?: string | undefined;
|
1111
1832
|
protocol?: number | undefined;
|
@@ -1127,14 +1848,14 @@ export declare const ClientInfo: {
|
|
1127
1848
|
browserVersion?: string | undefined;
|
1128
1849
|
address?: string | undefined;
|
1129
1850
|
network?: string | undefined;
|
1130
|
-
} & { [
|
1851
|
+
} & { [K_1 in Exclude<keyof I_1, keyof ClientInfo>]: never; }>(object: I_1): ClientInfo;
|
1131
1852
|
};
|
1132
1853
|
export declare const ClientConfiguration: {
|
1133
1854
|
encode(message: ClientConfiguration, writer?: _m0.Writer): _m0.Writer;
|
1134
1855
|
decode(input: _m0.Reader | Uint8Array, length?: number): ClientConfiguration;
|
1135
1856
|
fromJSON(object: any): ClientConfiguration;
|
1136
1857
|
toJSON(message: ClientConfiguration): unknown;
|
1137
|
-
|
1858
|
+
create<I extends {
|
1138
1859
|
video?: {
|
1139
1860
|
hardwareEncoder?: ClientConfigSetting | undefined;
|
1140
1861
|
} | undefined;
|
@@ -1182,25 +1903,79 @@ export declare const ClientConfiguration: {
|
|
1182
1903
|
}[]>]: never; }) | undefined;
|
1183
1904
|
} & { [K_4 in Exclude<keyof I["disabledCodecs"], "codecs">]: never; }) | undefined;
|
1184
1905
|
forceRelay?: ClientConfigSetting | undefined;
|
1185
|
-
} & { [K_5 in Exclude<keyof I, keyof ClientConfiguration>]: never; }>(
|
1906
|
+
} & { [K_5 in Exclude<keyof I, keyof ClientConfiguration>]: never; }>(base?: I | undefined): ClientConfiguration;
|
1907
|
+
fromPartial<I_1 extends {
|
1908
|
+
video?: {
|
1909
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1910
|
+
} | undefined;
|
1911
|
+
screen?: {
|
1912
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1913
|
+
} | undefined;
|
1914
|
+
resumeConnection?: ClientConfigSetting | undefined;
|
1915
|
+
disabledCodecs?: {
|
1916
|
+
codecs?: {
|
1917
|
+
mime?: string | undefined;
|
1918
|
+
fmtpLine?: string | undefined;
|
1919
|
+
}[] | undefined;
|
1920
|
+
} | undefined;
|
1921
|
+
forceRelay?: ClientConfigSetting | undefined;
|
1922
|
+
} & {
|
1923
|
+
video?: ({
|
1924
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1925
|
+
} & {
|
1926
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1927
|
+
} & { [K_6 in Exclude<keyof I_1["video"], "hardwareEncoder">]: never; }) | undefined;
|
1928
|
+
screen?: ({
|
1929
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1930
|
+
} & {
|
1931
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1932
|
+
} & { [K_7 in Exclude<keyof I_1["screen"], "hardwareEncoder">]: never; }) | undefined;
|
1933
|
+
resumeConnection?: ClientConfigSetting | undefined;
|
1934
|
+
disabledCodecs?: ({
|
1935
|
+
codecs?: {
|
1936
|
+
mime?: string | undefined;
|
1937
|
+
fmtpLine?: string | undefined;
|
1938
|
+
}[] | undefined;
|
1939
|
+
} & {
|
1940
|
+
codecs?: ({
|
1941
|
+
mime?: string | undefined;
|
1942
|
+
fmtpLine?: string | undefined;
|
1943
|
+
}[] & ({
|
1944
|
+
mime?: string | undefined;
|
1945
|
+
fmtpLine?: string | undefined;
|
1946
|
+
} & {
|
1947
|
+
mime?: string | undefined;
|
1948
|
+
fmtpLine?: string | undefined;
|
1949
|
+
} & { [K_8 in Exclude<keyof I_1["disabledCodecs"]["codecs"][number], keyof Codec>]: never; })[] & { [K_9 in Exclude<keyof I_1["disabledCodecs"]["codecs"], keyof {
|
1950
|
+
mime?: string | undefined;
|
1951
|
+
fmtpLine?: string | undefined;
|
1952
|
+
}[]>]: never; }) | undefined;
|
1953
|
+
} & { [K_10 in Exclude<keyof I_1["disabledCodecs"], "codecs">]: never; }) | undefined;
|
1954
|
+
forceRelay?: ClientConfigSetting | undefined;
|
1955
|
+
} & { [K_11 in Exclude<keyof I_1, keyof ClientConfiguration>]: never; }>(object: I_1): ClientConfiguration;
|
1186
1956
|
};
|
1187
1957
|
export declare const VideoConfiguration: {
|
1188
1958
|
encode(message: VideoConfiguration, writer?: _m0.Writer): _m0.Writer;
|
1189
1959
|
decode(input: _m0.Reader | Uint8Array, length?: number): VideoConfiguration;
|
1190
1960
|
fromJSON(object: any): VideoConfiguration;
|
1191
1961
|
toJSON(message: VideoConfiguration): unknown;
|
1192
|
-
|
1962
|
+
create<I extends {
|
1963
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1964
|
+
} & {
|
1965
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
1966
|
+
} & { [K in Exclude<keyof I, "hardwareEncoder">]: never; }>(base?: I | undefined): VideoConfiguration;
|
1967
|
+
fromPartial<I_1 extends {
|
1193
1968
|
hardwareEncoder?: ClientConfigSetting | undefined;
|
1194
1969
|
} & {
|
1195
1970
|
hardwareEncoder?: ClientConfigSetting | undefined;
|
1196
|
-
} & { [
|
1971
|
+
} & { [K_1 in Exclude<keyof I_1, "hardwareEncoder">]: never; }>(object: I_1): VideoConfiguration;
|
1197
1972
|
};
|
1198
1973
|
export declare const DisabledCodecs: {
|
1199
1974
|
encode(message: DisabledCodecs, writer?: _m0.Writer): _m0.Writer;
|
1200
1975
|
decode(input: _m0.Reader | Uint8Array, length?: number): DisabledCodecs;
|
1201
1976
|
fromJSON(object: any): DisabledCodecs;
|
1202
1977
|
toJSON(message: DisabledCodecs): unknown;
|
1203
|
-
|
1978
|
+
create<I extends {
|
1204
1979
|
codecs?: {
|
1205
1980
|
mime?: string | undefined;
|
1206
1981
|
fmtpLine?: string | undefined;
|
@@ -1219,14 +1994,34 @@ export declare const DisabledCodecs: {
|
|
1219
1994
|
mime?: string | undefined;
|
1220
1995
|
fmtpLine?: string | undefined;
|
1221
1996
|
}[]>]: never; }) | undefined;
|
1222
|
-
} & { [K_2 in Exclude<keyof I, "codecs">]: never; }>(
|
1997
|
+
} & { [K_2 in Exclude<keyof I, "codecs">]: never; }>(base?: I | undefined): DisabledCodecs;
|
1998
|
+
fromPartial<I_1 extends {
|
1999
|
+
codecs?: {
|
2000
|
+
mime?: string | undefined;
|
2001
|
+
fmtpLine?: string | undefined;
|
2002
|
+
}[] | undefined;
|
2003
|
+
} & {
|
2004
|
+
codecs?: ({
|
2005
|
+
mime?: string | undefined;
|
2006
|
+
fmtpLine?: string | undefined;
|
2007
|
+
}[] & ({
|
2008
|
+
mime?: string | undefined;
|
2009
|
+
fmtpLine?: string | undefined;
|
2010
|
+
} & {
|
2011
|
+
mime?: string | undefined;
|
2012
|
+
fmtpLine?: string | undefined;
|
2013
|
+
} & { [K_3 in Exclude<keyof I_1["codecs"][number], keyof Codec>]: never; })[] & { [K_4 in Exclude<keyof I_1["codecs"], keyof {
|
2014
|
+
mime?: string | undefined;
|
2015
|
+
fmtpLine?: string | undefined;
|
2016
|
+
}[]>]: never; }) | undefined;
|
2017
|
+
} & { [K_5 in Exclude<keyof I_1, "codecs">]: never; }>(object: I_1): DisabledCodecs;
|
1223
2018
|
};
|
1224
2019
|
export declare const RTPStats: {
|
1225
2020
|
encode(message: RTPStats, writer?: _m0.Writer): _m0.Writer;
|
1226
2021
|
decode(input: _m0.Reader | Uint8Array, length?: number): RTPStats;
|
1227
2022
|
fromJSON(object: any): RTPStats;
|
1228
2023
|
toJSON(message: RTPStats): unknown;
|
1229
|
-
|
2024
|
+
create<I extends {
|
1230
2025
|
startTime?: Date | undefined;
|
1231
2026
|
endTime?: Date | undefined;
|
1232
2027
|
duration?: number | undefined;
|
@@ -1316,33 +2111,138 @@ export declare const RTPStats: {
|
|
1316
2111
|
lastKeyFrame?: Date | undefined;
|
1317
2112
|
layerLockPlis?: number | undefined;
|
1318
2113
|
lastLayerLockPli?: Date | undefined;
|
1319
|
-
} & { [K_1 in Exclude<keyof I, keyof RTPStats>]: never; }>(
|
2114
|
+
} & { [K_1 in Exclude<keyof I, keyof RTPStats>]: never; }>(base?: I | undefined): RTPStats;
|
2115
|
+
fromPartial<I_1 extends {
|
2116
|
+
startTime?: Date | undefined;
|
2117
|
+
endTime?: Date | undefined;
|
2118
|
+
duration?: number | undefined;
|
2119
|
+
packets?: number | undefined;
|
2120
|
+
packetRate?: number | undefined;
|
2121
|
+
bytes?: number | undefined;
|
2122
|
+
headerBytes?: number | undefined;
|
2123
|
+
bitrate?: number | undefined;
|
2124
|
+
packetsLost?: number | undefined;
|
2125
|
+
packetLossRate?: number | undefined;
|
2126
|
+
packetLossPercentage?: number | undefined;
|
2127
|
+
packetsDuplicate?: number | undefined;
|
2128
|
+
packetDuplicateRate?: number | undefined;
|
2129
|
+
bytesDuplicate?: number | undefined;
|
2130
|
+
headerBytesDuplicate?: number | undefined;
|
2131
|
+
bitrateDuplicate?: number | undefined;
|
2132
|
+
packetsPadding?: number | undefined;
|
2133
|
+
packetPaddingRate?: number | undefined;
|
2134
|
+
bytesPadding?: number | undefined;
|
2135
|
+
headerBytesPadding?: number | undefined;
|
2136
|
+
bitratePadding?: number | undefined;
|
2137
|
+
packetsOutOfOrder?: number | undefined;
|
2138
|
+
frames?: number | undefined;
|
2139
|
+
frameRate?: number | undefined;
|
2140
|
+
jitterCurrent?: number | undefined;
|
2141
|
+
jitterMax?: number | undefined;
|
2142
|
+
gapHistogram?: {
|
2143
|
+
[x: number]: number | undefined;
|
2144
|
+
} | undefined;
|
2145
|
+
nacks?: number | undefined;
|
2146
|
+
nackAcks?: number | undefined;
|
2147
|
+
nackMisses?: number | undefined;
|
2148
|
+
nackRepeated?: number | undefined;
|
2149
|
+
plis?: number | undefined;
|
2150
|
+
lastPli?: Date | undefined;
|
2151
|
+
firs?: number | undefined;
|
2152
|
+
lastFir?: Date | undefined;
|
2153
|
+
rttCurrent?: number | undefined;
|
2154
|
+
rttMax?: number | undefined;
|
2155
|
+
keyFrames?: number | undefined;
|
2156
|
+
lastKeyFrame?: Date | undefined;
|
2157
|
+
layerLockPlis?: number | undefined;
|
2158
|
+
lastLayerLockPli?: Date | undefined;
|
2159
|
+
} & {
|
2160
|
+
startTime?: Date | undefined;
|
2161
|
+
endTime?: Date | undefined;
|
2162
|
+
duration?: number | undefined;
|
2163
|
+
packets?: number | undefined;
|
2164
|
+
packetRate?: number | undefined;
|
2165
|
+
bytes?: number | undefined;
|
2166
|
+
headerBytes?: number | undefined;
|
2167
|
+
bitrate?: number | undefined;
|
2168
|
+
packetsLost?: number | undefined;
|
2169
|
+
packetLossRate?: number | undefined;
|
2170
|
+
packetLossPercentage?: number | undefined;
|
2171
|
+
packetsDuplicate?: number | undefined;
|
2172
|
+
packetDuplicateRate?: number | undefined;
|
2173
|
+
bytesDuplicate?: number | undefined;
|
2174
|
+
headerBytesDuplicate?: number | undefined;
|
2175
|
+
bitrateDuplicate?: number | undefined;
|
2176
|
+
packetsPadding?: number | undefined;
|
2177
|
+
packetPaddingRate?: number | undefined;
|
2178
|
+
bytesPadding?: number | undefined;
|
2179
|
+
headerBytesPadding?: number | undefined;
|
2180
|
+
bitratePadding?: number | undefined;
|
2181
|
+
packetsOutOfOrder?: number | undefined;
|
2182
|
+
frames?: number | undefined;
|
2183
|
+
frameRate?: number | undefined;
|
2184
|
+
jitterCurrent?: number | undefined;
|
2185
|
+
jitterMax?: number | undefined;
|
2186
|
+
gapHistogram?: ({
|
2187
|
+
[x: number]: number | undefined;
|
2188
|
+
} & {
|
2189
|
+
[x: number]: number | undefined;
|
2190
|
+
} & { [K_2 in Exclude<keyof I_1["gapHistogram"], number>]: never; }) | undefined;
|
2191
|
+
nacks?: number | undefined;
|
2192
|
+
nackAcks?: number | undefined;
|
2193
|
+
nackMisses?: number | undefined;
|
2194
|
+
nackRepeated?: number | undefined;
|
2195
|
+
plis?: number | undefined;
|
2196
|
+
lastPli?: Date | undefined;
|
2197
|
+
firs?: number | undefined;
|
2198
|
+
lastFir?: Date | undefined;
|
2199
|
+
rttCurrent?: number | undefined;
|
2200
|
+
rttMax?: number | undefined;
|
2201
|
+
keyFrames?: number | undefined;
|
2202
|
+
lastKeyFrame?: Date | undefined;
|
2203
|
+
layerLockPlis?: number | undefined;
|
2204
|
+
lastLayerLockPli?: Date | undefined;
|
2205
|
+
} & { [K_3 in Exclude<keyof I_1, keyof RTPStats>]: never; }>(object: I_1): RTPStats;
|
1320
2206
|
};
|
1321
2207
|
export declare const RTPStats_GapHistogramEntry: {
|
1322
2208
|
encode(message: RTPStats_GapHistogramEntry, writer?: _m0.Writer): _m0.Writer;
|
1323
2209
|
decode(input: _m0.Reader | Uint8Array, length?: number): RTPStats_GapHistogramEntry;
|
1324
2210
|
fromJSON(object: any): RTPStats_GapHistogramEntry;
|
1325
2211
|
toJSON(message: RTPStats_GapHistogramEntry): unknown;
|
1326
|
-
|
2212
|
+
create<I extends {
|
2213
|
+
key?: number | undefined;
|
2214
|
+
value?: number | undefined;
|
2215
|
+
} & {
|
2216
|
+
key?: number | undefined;
|
2217
|
+
value?: number | undefined;
|
2218
|
+
} & { [K in Exclude<keyof I, keyof RTPStats_GapHistogramEntry>]: never; }>(base?: I | undefined): RTPStats_GapHistogramEntry;
|
2219
|
+
fromPartial<I_1 extends {
|
1327
2220
|
key?: number | undefined;
|
1328
2221
|
value?: number | undefined;
|
1329
2222
|
} & {
|
1330
2223
|
key?: number | undefined;
|
1331
2224
|
value?: number | undefined;
|
1332
|
-
} & { [
|
2225
|
+
} & { [K_1 in Exclude<keyof I_1, keyof RTPStats_GapHistogramEntry>]: never; }>(object: I_1): RTPStats_GapHistogramEntry;
|
1333
2226
|
};
|
1334
2227
|
export declare const TimedVersion: {
|
1335
2228
|
encode(message: TimedVersion, writer?: _m0.Writer): _m0.Writer;
|
1336
2229
|
decode(input: _m0.Reader | Uint8Array, length?: number): TimedVersion;
|
1337
2230
|
fromJSON(object: any): TimedVersion;
|
1338
2231
|
toJSON(message: TimedVersion): unknown;
|
1339
|
-
|
2232
|
+
create<I extends {
|
2233
|
+
unixMicro?: number | undefined;
|
2234
|
+
ticks?: number | undefined;
|
2235
|
+
} & {
|
2236
|
+
unixMicro?: number | undefined;
|
2237
|
+
ticks?: number | undefined;
|
2238
|
+
} & { [K in Exclude<keyof I, keyof TimedVersion>]: never; }>(base?: I | undefined): TimedVersion;
|
2239
|
+
fromPartial<I_1 extends {
|
1340
2240
|
unixMicro?: number | undefined;
|
1341
2241
|
ticks?: number | undefined;
|
1342
2242
|
} & {
|
1343
2243
|
unixMicro?: number | undefined;
|
1344
2244
|
ticks?: number | undefined;
|
1345
|
-
} & { [
|
2245
|
+
} & { [K_1 in Exclude<keyof I_1, keyof TimedVersion>]: never; }>(object: I_1): TimedVersion;
|
1346
2246
|
};
|
1347
2247
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
1348
2248
|
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|