livekit-client 1.6.6 → 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 +508 -317
- 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/PCTransport.d.ts.map +1 -1
- package/dist/src/room/RTCEngine.d.ts +10 -3
- package/dist/src/room/RTCEngine.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/participant/RemoteParticipant.d.ts.map +1 -1
- package/dist/src/room/track/RemoteTrackPublication.d.ts +1 -1
- package/dist/src/room/track/RemoteTrackPublication.d.ts.map +1 -1
- package/dist/src/room/track/RemoteVideoTrack.d.ts.map +1 -1
- package/dist/src/room/track/Track.d.ts +2 -1
- package/dist/src/room/track/Track.d.ts.map +1 -1
- package/dist/src/room/track/options.d.ts +10 -2
- 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/RTCEngine.d.ts +10 -3
- 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/RemoteTrackPublication.d.ts +1 -1
- package/dist/ts4.2/src/room/track/Track.d.ts +2 -1
- package/dist/ts4.2/src/room/track/options.d.ts +10 -2
- package/dist/ts4.2/src/room/types.d.ts +7 -0
- package/dist/ts4.2/src/version.d.ts +1 -1
- package/package.json +14 -14
- 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/PCTransport.ts +2 -0
- package/src/room/RTCEngine.ts +50 -55
- package/src/room/Room.ts +60 -43
- package/src/room/events.ts +1 -1
- package/src/room/participant/LocalParticipant.ts +118 -28
- package/src/room/participant/RemoteParticipant.ts +2 -3
- package/src/room/track/RemoteTrackPublication.ts +3 -2
- package/src/room/track/RemoteVideoTrack.ts +0 -3
- package/src/room/track/Track.ts +2 -1
- package/src/room/track/options.ts +14 -2
- 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;
|
@@ -380,14 +382,58 @@ export declare const Room: {
|
|
380
382
|
activeRecording?: boolean | undefined;
|
381
383
|
} & {
|
382
384
|
[K_2 in Exclude<keyof I, keyof Room>]: never;
|
383
|
-
}>(
|
385
|
+
}>(base?: I | undefined): Room;
|
386
|
+
fromPartial<I_1 extends {
|
387
|
+
sid?: string | undefined;
|
388
|
+
name?: string | undefined;
|
389
|
+
emptyTimeout?: number | undefined;
|
390
|
+
maxParticipants?: number | undefined;
|
391
|
+
creationTime?: number | undefined;
|
392
|
+
turnPassword?: string | undefined;
|
393
|
+
enabledCodecs?: {
|
394
|
+
mime?: string | undefined;
|
395
|
+
fmtpLine?: string | undefined;
|
396
|
+
}[] | undefined;
|
397
|
+
metadata?: string | undefined;
|
398
|
+
numParticipants?: number | undefined;
|
399
|
+
activeRecording?: boolean | undefined;
|
400
|
+
} & {
|
401
|
+
sid?: string | undefined;
|
402
|
+
name?: string | undefined;
|
403
|
+
emptyTimeout?: number | undefined;
|
404
|
+
maxParticipants?: number | undefined;
|
405
|
+
creationTime?: number | undefined;
|
406
|
+
turnPassword?: string | undefined;
|
407
|
+
enabledCodecs?: ({
|
408
|
+
mime?: string | undefined;
|
409
|
+
fmtpLine?: string | undefined;
|
410
|
+
}[] & ({
|
411
|
+
mime?: string | undefined;
|
412
|
+
fmtpLine?: string | undefined;
|
413
|
+
} & {
|
414
|
+
mime?: string | undefined;
|
415
|
+
fmtpLine?: string | undefined;
|
416
|
+
} & {
|
417
|
+
[K_3 in Exclude<keyof I_1["enabledCodecs"][number], keyof Codec>]: never;
|
418
|
+
})[] & {
|
419
|
+
[K_4 in Exclude<keyof I_1["enabledCodecs"], keyof {
|
420
|
+
mime?: string | undefined;
|
421
|
+
fmtpLine?: string | undefined;
|
422
|
+
}[]>]: never;
|
423
|
+
}) | undefined;
|
424
|
+
metadata?: string | undefined;
|
425
|
+
numParticipants?: number | undefined;
|
426
|
+
activeRecording?: boolean | undefined;
|
427
|
+
} & {
|
428
|
+
[K_5 in Exclude<keyof I_1, keyof Room>]: never;
|
429
|
+
}>(object: I_1): Room;
|
384
430
|
};
|
385
431
|
export declare const Codec: {
|
386
432
|
encode(message: Codec, writer?: _m0.Writer): _m0.Writer;
|
387
433
|
decode(input: _m0.Reader | Uint8Array, length?: number): Codec;
|
388
434
|
fromJSON(object: any): Codec;
|
389
435
|
toJSON(message: Codec): unknown;
|
390
|
-
|
436
|
+
create<I extends {
|
391
437
|
mime?: string | undefined;
|
392
438
|
fmtpLine?: string | undefined;
|
393
439
|
} & {
|
@@ -395,14 +441,23 @@ export declare const Codec: {
|
|
395
441
|
fmtpLine?: string | undefined;
|
396
442
|
} & {
|
397
443
|
[K in Exclude<keyof I, keyof Codec>]: never;
|
398
|
-
}>(
|
444
|
+
}>(base?: I | undefined): Codec;
|
445
|
+
fromPartial<I_1 extends {
|
446
|
+
mime?: string | undefined;
|
447
|
+
fmtpLine?: string | undefined;
|
448
|
+
} & {
|
449
|
+
mime?: string | undefined;
|
450
|
+
fmtpLine?: string | undefined;
|
451
|
+
} & {
|
452
|
+
[K_1 in Exclude<keyof I_1, keyof Codec>]: never;
|
453
|
+
}>(object: I_1): Codec;
|
399
454
|
};
|
400
455
|
export declare const ParticipantPermission: {
|
401
456
|
encode(message: ParticipantPermission, writer?: _m0.Writer): _m0.Writer;
|
402
457
|
decode(input: _m0.Reader | Uint8Array, length?: number): ParticipantPermission;
|
403
458
|
fromJSON(object: any): ParticipantPermission;
|
404
459
|
toJSON(message: ParticipantPermission): unknown;
|
405
|
-
|
460
|
+
create<I extends {
|
406
461
|
canSubscribe?: boolean | undefined;
|
407
462
|
canPublish?: boolean | undefined;
|
408
463
|
canPublishData?: boolean | undefined;
|
@@ -420,14 +475,33 @@ export declare const ParticipantPermission: {
|
|
420
475
|
recorder?: boolean | undefined;
|
421
476
|
} & {
|
422
477
|
[K_1 in Exclude<keyof I, keyof ParticipantPermission>]: never;
|
423
|
-
}>(
|
478
|
+
}>(base?: I | undefined): ParticipantPermission;
|
479
|
+
fromPartial<I_1 extends {
|
480
|
+
canSubscribe?: boolean | undefined;
|
481
|
+
canPublish?: boolean | undefined;
|
482
|
+
canPublishData?: boolean | undefined;
|
483
|
+
canPublishSources?: TrackSource[] | undefined;
|
484
|
+
hidden?: boolean | undefined;
|
485
|
+
recorder?: boolean | undefined;
|
486
|
+
} & {
|
487
|
+
canSubscribe?: boolean | undefined;
|
488
|
+
canPublish?: boolean | undefined;
|
489
|
+
canPublishData?: boolean | undefined;
|
490
|
+
canPublishSources?: (TrackSource[] & TrackSource[] & {
|
491
|
+
[K_2 in Exclude<keyof I_1["canPublishSources"], keyof TrackSource[]>]: never;
|
492
|
+
}) | undefined;
|
493
|
+
hidden?: boolean | undefined;
|
494
|
+
recorder?: boolean | undefined;
|
495
|
+
} & {
|
496
|
+
[K_3 in Exclude<keyof I_1, keyof ParticipantPermission>]: never;
|
497
|
+
}>(object: I_1): ParticipantPermission;
|
424
498
|
};
|
425
499
|
export declare const ParticipantInfo: {
|
426
500
|
encode(message: ParticipantInfo, writer?: _m0.Writer): _m0.Writer;
|
427
501
|
decode(input: _m0.Reader | Uint8Array, length?: number): ParticipantInfo;
|
428
502
|
fromJSON(object: any): ParticipantInfo;
|
429
503
|
toJSON(message: ParticipantInfo): unknown;
|
430
|
-
|
504
|
+
create<I extends {
|
431
505
|
sid?: string | undefined;
|
432
506
|
identity?: string | undefined;
|
433
507
|
state?: ParticipantInfo_State | undefined;
|
@@ -733,98 +807,74 @@ export declare const ParticipantInfo: {
|
|
733
807
|
isPublisher?: boolean | undefined;
|
734
808
|
} & {
|
735
809
|
[K_10 in Exclude<keyof I, keyof ParticipantInfo>]: never;
|
736
|
-
}>(
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
};
|
747
|
-
export declare const SimulcastCodecInfo: {
|
748
|
-
encode(message: SimulcastCodecInfo, writer?: _m0.Writer): _m0.Writer;
|
749
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SimulcastCodecInfo;
|
750
|
-
fromJSON(object: any): SimulcastCodecInfo;
|
751
|
-
toJSON(message: SimulcastCodecInfo): unknown;
|
752
|
-
fromPartial<I extends {
|
753
|
-
mimeType?: string | undefined;
|
754
|
-
mid?: string | undefined;
|
755
|
-
cid?: string | undefined;
|
756
|
-
layers?: {
|
757
|
-
quality?: VideoQuality | undefined;
|
758
|
-
width?: number | undefined;
|
759
|
-
height?: number | undefined;
|
760
|
-
bitrate?: number | undefined;
|
761
|
-
ssrc?: number | undefined;
|
762
|
-
}[] | undefined;
|
763
|
-
} & {
|
764
|
-
mimeType?: string | undefined;
|
765
|
-
mid?: string | undefined;
|
766
|
-
cid?: string | undefined;
|
767
|
-
layers?: ({
|
768
|
-
quality?: VideoQuality | undefined;
|
769
|
-
width?: number | undefined;
|
770
|
-
height?: number | undefined;
|
771
|
-
bitrate?: number | undefined;
|
772
|
-
ssrc?: number | undefined;
|
773
|
-
}[] & ({
|
774
|
-
quality?: VideoQuality | undefined;
|
775
|
-
width?: number | undefined;
|
776
|
-
height?: number | undefined;
|
777
|
-
bitrate?: number | undefined;
|
778
|
-
ssrc?: number | undefined;
|
779
|
-
} & {
|
780
|
-
quality?: VideoQuality | undefined;
|
810
|
+
}>(base?: I | undefined): ParticipantInfo;
|
811
|
+
fromPartial<I_1 extends {
|
812
|
+
sid?: string | undefined;
|
813
|
+
identity?: string | undefined;
|
814
|
+
state?: ParticipantInfo_State | undefined;
|
815
|
+
tracks?: {
|
816
|
+
sid?: string | undefined;
|
817
|
+
type?: TrackType | undefined;
|
818
|
+
name?: string | undefined;
|
819
|
+
muted?: boolean | undefined;
|
781
820
|
width?: number | undefined;
|
782
821
|
height?: number | undefined;
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
})[] & {
|
788
|
-
[K_1 in Exclude<keyof I["layers"], keyof {
|
822
|
+
simulcast?: boolean | undefined;
|
823
|
+
disableDtx?: boolean | undefined;
|
824
|
+
source?: TrackSource | undefined;
|
825
|
+
layers?: {
|
789
826
|
quality?: VideoQuality | undefined;
|
790
827
|
width?: number | undefined;
|
791
828
|
height?: number | undefined;
|
792
829
|
bitrate?: number | undefined;
|
793
830
|
ssrc?: number | undefined;
|
794
|
-
}[]
|
795
|
-
|
831
|
+
}[] | undefined;
|
832
|
+
mimeType?: string | undefined;
|
833
|
+
mid?: string | undefined;
|
834
|
+
codecs?: {
|
835
|
+
mimeType?: string | undefined;
|
836
|
+
mid?: string | undefined;
|
837
|
+
cid?: string | undefined;
|
838
|
+
layers?: {
|
839
|
+
quality?: VideoQuality | undefined;
|
840
|
+
width?: number | undefined;
|
841
|
+
height?: number | undefined;
|
842
|
+
bitrate?: number | undefined;
|
843
|
+
ssrc?: number | undefined;
|
844
|
+
}[] | undefined;
|
845
|
+
}[] | undefined;
|
846
|
+
stereo?: boolean | undefined;
|
847
|
+
disableRed?: boolean | undefined;
|
848
|
+
encryption?: Encryption_Type | undefined;
|
849
|
+
}[] | undefined;
|
850
|
+
metadata?: string | undefined;
|
851
|
+
joinedAt?: number | undefined;
|
852
|
+
name?: string | undefined;
|
853
|
+
version?: number | undefined;
|
854
|
+
permission?: {
|
855
|
+
canSubscribe?: boolean | undefined;
|
856
|
+
canPublish?: boolean | undefined;
|
857
|
+
canPublishData?: boolean | undefined;
|
858
|
+
canPublishSources?: TrackSource[] | undefined;
|
859
|
+
hidden?: boolean | undefined;
|
860
|
+
recorder?: boolean | undefined;
|
861
|
+
} | undefined;
|
862
|
+
region?: string | undefined;
|
863
|
+
isPublisher?: boolean | undefined;
|
796
864
|
} & {
|
797
|
-
[K_2 in Exclude<keyof I, keyof SimulcastCodecInfo>]: never;
|
798
|
-
}>(object: I): SimulcastCodecInfo;
|
799
|
-
};
|
800
|
-
export declare const TrackInfo: {
|
801
|
-
encode(message: TrackInfo, writer?: _m0.Writer): _m0.Writer;
|
802
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): TrackInfo;
|
803
|
-
fromJSON(object: any): TrackInfo;
|
804
|
-
toJSON(message: TrackInfo): unknown;
|
805
|
-
fromPartial<I extends {
|
806
865
|
sid?: string | undefined;
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
source?: TrackSource | undefined;
|
815
|
-
layers?: {
|
816
|
-
quality?: VideoQuality | undefined;
|
866
|
+
identity?: string | undefined;
|
867
|
+
state?: ParticipantInfo_State | undefined;
|
868
|
+
tracks?: ({
|
869
|
+
sid?: string | undefined;
|
870
|
+
type?: TrackType | undefined;
|
871
|
+
name?: string | undefined;
|
872
|
+
muted?: boolean | undefined;
|
817
873
|
width?: number | undefined;
|
818
874
|
height?: number | undefined;
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
mimeType?: string | undefined;
|
823
|
-
mid?: string | undefined;
|
824
|
-
codecs?: {
|
825
|
-
mimeType?: string | undefined;
|
826
|
-
mid?: string | undefined;
|
827
|
-
cid?: string | undefined;
|
875
|
+
simulcast?: boolean | undefined;
|
876
|
+
disableDtx?: boolean | undefined;
|
877
|
+
source?: TrackSource | undefined;
|
828
878
|
layers?: {
|
829
879
|
quality?: VideoQuality | undefined;
|
830
880
|
width?: number | undefined;
|
@@ -832,56 +882,589 @@ export declare const TrackInfo: {
|
|
832
882
|
bitrate?: number | undefined;
|
833
883
|
ssrc?: number | undefined;
|
834
884
|
}[] | undefined;
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
height?: number | undefined;
|
853
|
-
bitrate?: number | undefined;
|
854
|
-
ssrc?: number | undefined;
|
885
|
+
mimeType?: string | undefined;
|
886
|
+
mid?: string | undefined;
|
887
|
+
codecs?: {
|
888
|
+
mimeType?: string | undefined;
|
889
|
+
mid?: string | undefined;
|
890
|
+
cid?: string | undefined;
|
891
|
+
layers?: {
|
892
|
+
quality?: VideoQuality | undefined;
|
893
|
+
width?: number | undefined;
|
894
|
+
height?: number | undefined;
|
895
|
+
bitrate?: number | undefined;
|
896
|
+
ssrc?: number | undefined;
|
897
|
+
}[] | undefined;
|
898
|
+
}[] | undefined;
|
899
|
+
stereo?: boolean | undefined;
|
900
|
+
disableRed?: boolean | undefined;
|
901
|
+
encryption?: Encryption_Type | undefined;
|
855
902
|
}[] & ({
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
ssrc?: number | undefined;
|
861
|
-
} & {
|
862
|
-
quality?: VideoQuality | undefined;
|
903
|
+
sid?: string | undefined;
|
904
|
+
type?: TrackType | undefined;
|
905
|
+
name?: string | undefined;
|
906
|
+
muted?: boolean | undefined;
|
863
907
|
width?: number | undefined;
|
864
908
|
height?: number | undefined;
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
})[] & {
|
870
|
-
[K_1 in Exclude<keyof I["layers"], keyof {
|
909
|
+
simulcast?: boolean | undefined;
|
910
|
+
disableDtx?: boolean | undefined;
|
911
|
+
source?: TrackSource | undefined;
|
912
|
+
layers?: {
|
871
913
|
quality?: VideoQuality | undefined;
|
872
914
|
width?: number | undefined;
|
873
915
|
height?: number | undefined;
|
874
916
|
bitrate?: number | undefined;
|
875
917
|
ssrc?: number | undefined;
|
876
|
-
}[]
|
877
|
-
}) | undefined;
|
878
|
-
mimeType?: string | undefined;
|
879
|
-
mid?: string | undefined;
|
880
|
-
codecs?: ({
|
918
|
+
}[] | undefined;
|
881
919
|
mimeType?: string | undefined;
|
882
920
|
mid?: string | undefined;
|
883
|
-
|
884
|
-
|
921
|
+
codecs?: {
|
922
|
+
mimeType?: string | undefined;
|
923
|
+
mid?: string | undefined;
|
924
|
+
cid?: string | undefined;
|
925
|
+
layers?: {
|
926
|
+
quality?: VideoQuality | undefined;
|
927
|
+
width?: number | undefined;
|
928
|
+
height?: number | undefined;
|
929
|
+
bitrate?: number | undefined;
|
930
|
+
ssrc?: number | undefined;
|
931
|
+
}[] | undefined;
|
932
|
+
}[] | undefined;
|
933
|
+
stereo?: boolean | undefined;
|
934
|
+
disableRed?: boolean | undefined;
|
935
|
+
encryption?: Encryption_Type | undefined;
|
936
|
+
} & {
|
937
|
+
sid?: string | undefined;
|
938
|
+
type?: TrackType | undefined;
|
939
|
+
name?: string | undefined;
|
940
|
+
muted?: boolean | undefined;
|
941
|
+
width?: number | undefined;
|
942
|
+
height?: number | undefined;
|
943
|
+
simulcast?: boolean | undefined;
|
944
|
+
disableDtx?: boolean | undefined;
|
945
|
+
source?: TrackSource | undefined;
|
946
|
+
layers?: ({
|
947
|
+
quality?: VideoQuality | undefined;
|
948
|
+
width?: number | undefined;
|
949
|
+
height?: number | undefined;
|
950
|
+
bitrate?: number | undefined;
|
951
|
+
ssrc?: number | undefined;
|
952
|
+
}[] & ({
|
953
|
+
quality?: VideoQuality | undefined;
|
954
|
+
width?: number | undefined;
|
955
|
+
height?: number | undefined;
|
956
|
+
bitrate?: number | undefined;
|
957
|
+
ssrc?: number | undefined;
|
958
|
+
} & {
|
959
|
+
quality?: VideoQuality | undefined;
|
960
|
+
width?: number | undefined;
|
961
|
+
height?: number | undefined;
|
962
|
+
bitrate?: number | undefined;
|
963
|
+
ssrc?: number | undefined;
|
964
|
+
} & {
|
965
|
+
[K_11 in Exclude<keyof I_1["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
|
966
|
+
})[] & {
|
967
|
+
[K_12 in Exclude<keyof I_1["tracks"][number]["layers"], keyof {
|
968
|
+
quality?: VideoQuality | undefined;
|
969
|
+
width?: number | undefined;
|
970
|
+
height?: number | undefined;
|
971
|
+
bitrate?: number | undefined;
|
972
|
+
ssrc?: number | undefined;
|
973
|
+
}[]>]: never;
|
974
|
+
}) | undefined;
|
975
|
+
mimeType?: string | undefined;
|
976
|
+
mid?: string | undefined;
|
977
|
+
codecs?: ({
|
978
|
+
mimeType?: string | undefined;
|
979
|
+
mid?: string | undefined;
|
980
|
+
cid?: string | undefined;
|
981
|
+
layers?: {
|
982
|
+
quality?: VideoQuality | undefined;
|
983
|
+
width?: number | undefined;
|
984
|
+
height?: number | undefined;
|
985
|
+
bitrate?: number | undefined;
|
986
|
+
ssrc?: number | undefined;
|
987
|
+
}[] | undefined;
|
988
|
+
}[] & ({
|
989
|
+
mimeType?: string | undefined;
|
990
|
+
mid?: string | undefined;
|
991
|
+
cid?: string | undefined;
|
992
|
+
layers?: {
|
993
|
+
quality?: VideoQuality | undefined;
|
994
|
+
width?: number | undefined;
|
995
|
+
height?: number | undefined;
|
996
|
+
bitrate?: number | undefined;
|
997
|
+
ssrc?: number | undefined;
|
998
|
+
}[] | undefined;
|
999
|
+
} & {
|
1000
|
+
mimeType?: string | undefined;
|
1001
|
+
mid?: string | undefined;
|
1002
|
+
cid?: string | undefined;
|
1003
|
+
layers?: ({
|
1004
|
+
quality?: VideoQuality | undefined;
|
1005
|
+
width?: number | undefined;
|
1006
|
+
height?: number | undefined;
|
1007
|
+
bitrate?: number | undefined;
|
1008
|
+
ssrc?: number | undefined;
|
1009
|
+
}[] & ({
|
1010
|
+
quality?: VideoQuality | undefined;
|
1011
|
+
width?: number | undefined;
|
1012
|
+
height?: number | undefined;
|
1013
|
+
bitrate?: number | undefined;
|
1014
|
+
ssrc?: number | undefined;
|
1015
|
+
} & {
|
1016
|
+
quality?: VideoQuality | undefined;
|
1017
|
+
width?: number | undefined;
|
1018
|
+
height?: number | undefined;
|
1019
|
+
bitrate?: number | undefined;
|
1020
|
+
ssrc?: number | undefined;
|
1021
|
+
} & {
|
1022
|
+
[K_13 in Exclude<keyof I_1["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
|
1023
|
+
})[] & {
|
1024
|
+
[K_14 in Exclude<keyof I_1["tracks"][number]["codecs"][number]["layers"], keyof {
|
1025
|
+
quality?: VideoQuality | undefined;
|
1026
|
+
width?: number | undefined;
|
1027
|
+
height?: number | undefined;
|
1028
|
+
bitrate?: number | undefined;
|
1029
|
+
ssrc?: number | undefined;
|
1030
|
+
}[]>]: never;
|
1031
|
+
}) | undefined;
|
1032
|
+
} & {
|
1033
|
+
[K_15 in Exclude<keyof I_1["tracks"][number]["codecs"][number], keyof SimulcastCodecInfo>]: never;
|
1034
|
+
})[] & {
|
1035
|
+
[K_16 in Exclude<keyof I_1["tracks"][number]["codecs"], keyof {
|
1036
|
+
mimeType?: string | undefined;
|
1037
|
+
mid?: string | undefined;
|
1038
|
+
cid?: string | undefined;
|
1039
|
+
layers?: {
|
1040
|
+
quality?: VideoQuality | undefined;
|
1041
|
+
width?: number | undefined;
|
1042
|
+
height?: number | undefined;
|
1043
|
+
bitrate?: number | undefined;
|
1044
|
+
ssrc?: number | undefined;
|
1045
|
+
}[] | undefined;
|
1046
|
+
}[]>]: never;
|
1047
|
+
}) | undefined;
|
1048
|
+
stereo?: boolean | undefined;
|
1049
|
+
disableRed?: boolean | undefined;
|
1050
|
+
encryption?: Encryption_Type | undefined;
|
1051
|
+
} & {
|
1052
|
+
[K_17 in Exclude<keyof I_1["tracks"][number], keyof TrackInfo>]: never;
|
1053
|
+
})[] & {
|
1054
|
+
[K_18 in Exclude<keyof I_1["tracks"], keyof {
|
1055
|
+
sid?: string | undefined;
|
1056
|
+
type?: TrackType | undefined;
|
1057
|
+
name?: string | undefined;
|
1058
|
+
muted?: boolean | undefined;
|
1059
|
+
width?: number | undefined;
|
1060
|
+
height?: number | undefined;
|
1061
|
+
simulcast?: boolean | undefined;
|
1062
|
+
disableDtx?: boolean | undefined;
|
1063
|
+
source?: TrackSource | undefined;
|
1064
|
+
layers?: {
|
1065
|
+
quality?: VideoQuality | undefined;
|
1066
|
+
width?: number | undefined;
|
1067
|
+
height?: number | undefined;
|
1068
|
+
bitrate?: number | undefined;
|
1069
|
+
ssrc?: number | undefined;
|
1070
|
+
}[] | undefined;
|
1071
|
+
mimeType?: string | undefined;
|
1072
|
+
mid?: string | undefined;
|
1073
|
+
codecs?: {
|
1074
|
+
mimeType?: string | undefined;
|
1075
|
+
mid?: string | undefined;
|
1076
|
+
cid?: string | undefined;
|
1077
|
+
layers?: {
|
1078
|
+
quality?: VideoQuality | undefined;
|
1079
|
+
width?: number | undefined;
|
1080
|
+
height?: number | undefined;
|
1081
|
+
bitrate?: number | undefined;
|
1082
|
+
ssrc?: number | undefined;
|
1083
|
+
}[] | undefined;
|
1084
|
+
}[] | undefined;
|
1085
|
+
stereo?: boolean | undefined;
|
1086
|
+
disableRed?: boolean | undefined;
|
1087
|
+
encryption?: Encryption_Type | undefined;
|
1088
|
+
}[]>]: never;
|
1089
|
+
}) | undefined;
|
1090
|
+
metadata?: string | undefined;
|
1091
|
+
joinedAt?: number | undefined;
|
1092
|
+
name?: string | undefined;
|
1093
|
+
version?: number | undefined;
|
1094
|
+
permission?: ({
|
1095
|
+
canSubscribe?: boolean | undefined;
|
1096
|
+
canPublish?: boolean | undefined;
|
1097
|
+
canPublishData?: boolean | undefined;
|
1098
|
+
canPublishSources?: TrackSource[] | undefined;
|
1099
|
+
hidden?: boolean | undefined;
|
1100
|
+
recorder?: boolean | undefined;
|
1101
|
+
} & {
|
1102
|
+
canSubscribe?: boolean | undefined;
|
1103
|
+
canPublish?: boolean | undefined;
|
1104
|
+
canPublishData?: boolean | undefined;
|
1105
|
+
canPublishSources?: (TrackSource[] & TrackSource[] & {
|
1106
|
+
[K_19 in Exclude<keyof I_1["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
|
1107
|
+
}) | undefined;
|
1108
|
+
hidden?: boolean | undefined;
|
1109
|
+
recorder?: boolean | undefined;
|
1110
|
+
} & {
|
1111
|
+
[K_20 in Exclude<keyof I_1["permission"], keyof ParticipantPermission>]: never;
|
1112
|
+
}) | undefined;
|
1113
|
+
region?: string | undefined;
|
1114
|
+
isPublisher?: boolean | undefined;
|
1115
|
+
} & {
|
1116
|
+
[K_21 in Exclude<keyof I_1, keyof ParticipantInfo>]: never;
|
1117
|
+
}>(object: I_1): ParticipantInfo;
|
1118
|
+
};
|
1119
|
+
export declare const Encryption: {
|
1120
|
+
encode(_: Encryption, writer?: _m0.Writer): _m0.Writer;
|
1121
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Encryption;
|
1122
|
+
fromJSON(_: any): Encryption;
|
1123
|
+
toJSON(_: Encryption): unknown;
|
1124
|
+
create<I extends {} & {} & {
|
1125
|
+
[K in Exclude<keyof I, never>]: never;
|
1126
|
+
}>(base?: I | undefined): Encryption;
|
1127
|
+
fromPartial<I_1 extends {} & {} & {
|
1128
|
+
[K_1 in Exclude<keyof I_1, never>]: never;
|
1129
|
+
}>(_: I_1): Encryption;
|
1130
|
+
};
|
1131
|
+
export declare const SimulcastCodecInfo: {
|
1132
|
+
encode(message: SimulcastCodecInfo, writer?: _m0.Writer): _m0.Writer;
|
1133
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SimulcastCodecInfo;
|
1134
|
+
fromJSON(object: any): SimulcastCodecInfo;
|
1135
|
+
toJSON(message: SimulcastCodecInfo): unknown;
|
1136
|
+
create<I extends {
|
1137
|
+
mimeType?: string | undefined;
|
1138
|
+
mid?: string | undefined;
|
1139
|
+
cid?: string | undefined;
|
1140
|
+
layers?: {
|
1141
|
+
quality?: VideoQuality | undefined;
|
1142
|
+
width?: number | undefined;
|
1143
|
+
height?: number | undefined;
|
1144
|
+
bitrate?: number | undefined;
|
1145
|
+
ssrc?: number | undefined;
|
1146
|
+
}[] | undefined;
|
1147
|
+
} & {
|
1148
|
+
mimeType?: string | undefined;
|
1149
|
+
mid?: string | undefined;
|
1150
|
+
cid?: string | undefined;
|
1151
|
+
layers?: ({
|
1152
|
+
quality?: VideoQuality | undefined;
|
1153
|
+
width?: number | undefined;
|
1154
|
+
height?: number | undefined;
|
1155
|
+
bitrate?: number | undefined;
|
1156
|
+
ssrc?: number | undefined;
|
1157
|
+
}[] & ({
|
1158
|
+
quality?: VideoQuality | undefined;
|
1159
|
+
width?: number | undefined;
|
1160
|
+
height?: number | undefined;
|
1161
|
+
bitrate?: number | undefined;
|
1162
|
+
ssrc?: number | undefined;
|
1163
|
+
} & {
|
1164
|
+
quality?: VideoQuality | undefined;
|
1165
|
+
width?: number | undefined;
|
1166
|
+
height?: number | undefined;
|
1167
|
+
bitrate?: number | undefined;
|
1168
|
+
ssrc?: number | undefined;
|
1169
|
+
} & {
|
1170
|
+
[K in Exclude<keyof I["layers"][number], keyof VideoLayer>]: never;
|
1171
|
+
})[] & {
|
1172
|
+
[K_1 in Exclude<keyof I["layers"], keyof {
|
1173
|
+
quality?: VideoQuality | undefined;
|
1174
|
+
width?: number | undefined;
|
1175
|
+
height?: number | undefined;
|
1176
|
+
bitrate?: number | undefined;
|
1177
|
+
ssrc?: number | undefined;
|
1178
|
+
}[]>]: never;
|
1179
|
+
}) | undefined;
|
1180
|
+
} & {
|
1181
|
+
[K_2 in Exclude<keyof I, keyof SimulcastCodecInfo>]: never;
|
1182
|
+
}>(base?: I | undefined): SimulcastCodecInfo;
|
1183
|
+
fromPartial<I_1 extends {
|
1184
|
+
mimeType?: string | undefined;
|
1185
|
+
mid?: string | undefined;
|
1186
|
+
cid?: string | undefined;
|
1187
|
+
layers?: {
|
1188
|
+
quality?: VideoQuality | undefined;
|
1189
|
+
width?: number | undefined;
|
1190
|
+
height?: number | undefined;
|
1191
|
+
bitrate?: number | undefined;
|
1192
|
+
ssrc?: number | undefined;
|
1193
|
+
}[] | undefined;
|
1194
|
+
} & {
|
1195
|
+
mimeType?: string | undefined;
|
1196
|
+
mid?: string | undefined;
|
1197
|
+
cid?: string | undefined;
|
1198
|
+
layers?: ({
|
1199
|
+
quality?: VideoQuality | undefined;
|
1200
|
+
width?: number | undefined;
|
1201
|
+
height?: number | undefined;
|
1202
|
+
bitrate?: number | undefined;
|
1203
|
+
ssrc?: number | undefined;
|
1204
|
+
}[] & ({
|
1205
|
+
quality?: VideoQuality | undefined;
|
1206
|
+
width?: number | undefined;
|
1207
|
+
height?: number | undefined;
|
1208
|
+
bitrate?: number | undefined;
|
1209
|
+
ssrc?: number | undefined;
|
1210
|
+
} & {
|
1211
|
+
quality?: VideoQuality | undefined;
|
1212
|
+
width?: number | undefined;
|
1213
|
+
height?: number | undefined;
|
1214
|
+
bitrate?: number | undefined;
|
1215
|
+
ssrc?: number | undefined;
|
1216
|
+
} & {
|
1217
|
+
[K_3 in Exclude<keyof I_1["layers"][number], keyof VideoLayer>]: never;
|
1218
|
+
})[] & {
|
1219
|
+
[K_4 in Exclude<keyof I_1["layers"], keyof {
|
1220
|
+
quality?: VideoQuality | undefined;
|
1221
|
+
width?: number | undefined;
|
1222
|
+
height?: number | undefined;
|
1223
|
+
bitrate?: number | undefined;
|
1224
|
+
ssrc?: number | undefined;
|
1225
|
+
}[]>]: never;
|
1226
|
+
}) | undefined;
|
1227
|
+
} & {
|
1228
|
+
[K_5 in Exclude<keyof I_1, keyof SimulcastCodecInfo>]: never;
|
1229
|
+
}>(object: I_1): SimulcastCodecInfo;
|
1230
|
+
};
|
1231
|
+
export declare const TrackInfo: {
|
1232
|
+
encode(message: TrackInfo, writer?: _m0.Writer): _m0.Writer;
|
1233
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TrackInfo;
|
1234
|
+
fromJSON(object: any): TrackInfo;
|
1235
|
+
toJSON(message: TrackInfo): unknown;
|
1236
|
+
create<I extends {
|
1237
|
+
sid?: string | undefined;
|
1238
|
+
type?: TrackType | undefined;
|
1239
|
+
name?: string | undefined;
|
1240
|
+
muted?: boolean | undefined;
|
1241
|
+
width?: number | undefined;
|
1242
|
+
height?: number | undefined;
|
1243
|
+
simulcast?: boolean | undefined;
|
1244
|
+
disableDtx?: boolean | undefined;
|
1245
|
+
source?: TrackSource | undefined;
|
1246
|
+
layers?: {
|
1247
|
+
quality?: VideoQuality | undefined;
|
1248
|
+
width?: number | undefined;
|
1249
|
+
height?: number | undefined;
|
1250
|
+
bitrate?: number | undefined;
|
1251
|
+
ssrc?: number | undefined;
|
1252
|
+
}[] | undefined;
|
1253
|
+
mimeType?: string | undefined;
|
1254
|
+
mid?: string | undefined;
|
1255
|
+
codecs?: {
|
1256
|
+
mimeType?: string | undefined;
|
1257
|
+
mid?: string | undefined;
|
1258
|
+
cid?: string | undefined;
|
1259
|
+
layers?: {
|
1260
|
+
quality?: VideoQuality | undefined;
|
1261
|
+
width?: number | undefined;
|
1262
|
+
height?: number | undefined;
|
1263
|
+
bitrate?: number | undefined;
|
1264
|
+
ssrc?: number | undefined;
|
1265
|
+
}[] | undefined;
|
1266
|
+
}[] | undefined;
|
1267
|
+
stereo?: boolean | undefined;
|
1268
|
+
disableRed?: boolean | undefined;
|
1269
|
+
encryption?: Encryption_Type | undefined;
|
1270
|
+
} & {
|
1271
|
+
sid?: string | undefined;
|
1272
|
+
type?: TrackType | undefined;
|
1273
|
+
name?: string | undefined;
|
1274
|
+
muted?: boolean | undefined;
|
1275
|
+
width?: number | undefined;
|
1276
|
+
height?: number | undefined;
|
1277
|
+
simulcast?: boolean | undefined;
|
1278
|
+
disableDtx?: boolean | undefined;
|
1279
|
+
source?: TrackSource | undefined;
|
1280
|
+
layers?: ({
|
1281
|
+
quality?: VideoQuality | undefined;
|
1282
|
+
width?: number | undefined;
|
1283
|
+
height?: number | undefined;
|
1284
|
+
bitrate?: number | undefined;
|
1285
|
+
ssrc?: number | undefined;
|
1286
|
+
}[] & ({
|
1287
|
+
quality?: VideoQuality | undefined;
|
1288
|
+
width?: number | undefined;
|
1289
|
+
height?: number | undefined;
|
1290
|
+
bitrate?: number | undefined;
|
1291
|
+
ssrc?: number | undefined;
|
1292
|
+
} & {
|
1293
|
+
quality?: VideoQuality | undefined;
|
1294
|
+
width?: number | undefined;
|
1295
|
+
height?: number | undefined;
|
1296
|
+
bitrate?: number | undefined;
|
1297
|
+
ssrc?: number | undefined;
|
1298
|
+
} & {
|
1299
|
+
[K in Exclude<keyof I["layers"][number], keyof VideoLayer>]: never;
|
1300
|
+
})[] & {
|
1301
|
+
[K_1 in Exclude<keyof I["layers"], keyof {
|
1302
|
+
quality?: VideoQuality | undefined;
|
1303
|
+
width?: number | undefined;
|
1304
|
+
height?: number | undefined;
|
1305
|
+
bitrate?: number | undefined;
|
1306
|
+
ssrc?: number | undefined;
|
1307
|
+
}[]>]: never;
|
1308
|
+
}) | undefined;
|
1309
|
+
mimeType?: string | undefined;
|
1310
|
+
mid?: string | undefined;
|
1311
|
+
codecs?: ({
|
1312
|
+
mimeType?: string | undefined;
|
1313
|
+
mid?: string | undefined;
|
1314
|
+
cid?: string | undefined;
|
1315
|
+
layers?: {
|
1316
|
+
quality?: VideoQuality | undefined;
|
1317
|
+
width?: number | undefined;
|
1318
|
+
height?: number | undefined;
|
1319
|
+
bitrate?: number | undefined;
|
1320
|
+
ssrc?: number | undefined;
|
1321
|
+
}[] | undefined;
|
1322
|
+
}[] & ({
|
1323
|
+
mimeType?: string | undefined;
|
1324
|
+
mid?: string | undefined;
|
1325
|
+
cid?: string | undefined;
|
1326
|
+
layers?: {
|
1327
|
+
quality?: VideoQuality | undefined;
|
1328
|
+
width?: number | undefined;
|
1329
|
+
height?: number | undefined;
|
1330
|
+
bitrate?: number | undefined;
|
1331
|
+
ssrc?: number | undefined;
|
1332
|
+
}[] | undefined;
|
1333
|
+
} & {
|
1334
|
+
mimeType?: string | undefined;
|
1335
|
+
mid?: string | undefined;
|
1336
|
+
cid?: string | undefined;
|
1337
|
+
layers?: ({
|
1338
|
+
quality?: VideoQuality | undefined;
|
1339
|
+
width?: number | undefined;
|
1340
|
+
height?: number | undefined;
|
1341
|
+
bitrate?: number | undefined;
|
1342
|
+
ssrc?: number | undefined;
|
1343
|
+
}[] & ({
|
1344
|
+
quality?: VideoQuality | undefined;
|
1345
|
+
width?: number | undefined;
|
1346
|
+
height?: number | undefined;
|
1347
|
+
bitrate?: number | undefined;
|
1348
|
+
ssrc?: number | undefined;
|
1349
|
+
} & {
|
1350
|
+
quality?: VideoQuality | undefined;
|
1351
|
+
width?: number | undefined;
|
1352
|
+
height?: number | undefined;
|
1353
|
+
bitrate?: number | undefined;
|
1354
|
+
ssrc?: number | undefined;
|
1355
|
+
} & {
|
1356
|
+
[K_2 in Exclude<keyof I["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
|
1357
|
+
})[] & {
|
1358
|
+
[K_3 in Exclude<keyof I["codecs"][number]["layers"], keyof {
|
1359
|
+
quality?: VideoQuality | undefined;
|
1360
|
+
width?: number | undefined;
|
1361
|
+
height?: number | undefined;
|
1362
|
+
bitrate?: number | undefined;
|
1363
|
+
ssrc?: number | undefined;
|
1364
|
+
}[]>]: never;
|
1365
|
+
}) | undefined;
|
1366
|
+
} & {
|
1367
|
+
[K_4 in Exclude<keyof I["codecs"][number], keyof SimulcastCodecInfo>]: never;
|
1368
|
+
})[] & {
|
1369
|
+
[K_5 in Exclude<keyof I["codecs"], keyof {
|
1370
|
+
mimeType?: string | undefined;
|
1371
|
+
mid?: string | undefined;
|
1372
|
+
cid?: string | undefined;
|
1373
|
+
layers?: {
|
1374
|
+
quality?: VideoQuality | undefined;
|
1375
|
+
width?: number | undefined;
|
1376
|
+
height?: number | undefined;
|
1377
|
+
bitrate?: number | undefined;
|
1378
|
+
ssrc?: number | undefined;
|
1379
|
+
}[] | undefined;
|
1380
|
+
}[]>]: never;
|
1381
|
+
}) | undefined;
|
1382
|
+
stereo?: boolean | undefined;
|
1383
|
+
disableRed?: boolean | undefined;
|
1384
|
+
encryption?: Encryption_Type | undefined;
|
1385
|
+
} & {
|
1386
|
+
[K_6 in Exclude<keyof I, keyof TrackInfo>]: never;
|
1387
|
+
}>(base?: I | undefined): TrackInfo;
|
1388
|
+
fromPartial<I_1 extends {
|
1389
|
+
sid?: string | undefined;
|
1390
|
+
type?: TrackType | undefined;
|
1391
|
+
name?: string | undefined;
|
1392
|
+
muted?: boolean | undefined;
|
1393
|
+
width?: number | undefined;
|
1394
|
+
height?: number | undefined;
|
1395
|
+
simulcast?: boolean | undefined;
|
1396
|
+
disableDtx?: boolean | undefined;
|
1397
|
+
source?: TrackSource | undefined;
|
1398
|
+
layers?: {
|
1399
|
+
quality?: VideoQuality | undefined;
|
1400
|
+
width?: number | undefined;
|
1401
|
+
height?: number | undefined;
|
1402
|
+
bitrate?: number | undefined;
|
1403
|
+
ssrc?: number | undefined;
|
1404
|
+
}[] | undefined;
|
1405
|
+
mimeType?: string | undefined;
|
1406
|
+
mid?: string | undefined;
|
1407
|
+
codecs?: {
|
1408
|
+
mimeType?: string | undefined;
|
1409
|
+
mid?: string | undefined;
|
1410
|
+
cid?: string | undefined;
|
1411
|
+
layers?: {
|
1412
|
+
quality?: VideoQuality | undefined;
|
1413
|
+
width?: number | undefined;
|
1414
|
+
height?: number | undefined;
|
1415
|
+
bitrate?: number | undefined;
|
1416
|
+
ssrc?: number | undefined;
|
1417
|
+
}[] | undefined;
|
1418
|
+
}[] | undefined;
|
1419
|
+
stereo?: boolean | undefined;
|
1420
|
+
disableRed?: boolean | undefined;
|
1421
|
+
encryption?: Encryption_Type | undefined;
|
1422
|
+
} & {
|
1423
|
+
sid?: string | undefined;
|
1424
|
+
type?: TrackType | undefined;
|
1425
|
+
name?: string | undefined;
|
1426
|
+
muted?: boolean | undefined;
|
1427
|
+
width?: number | undefined;
|
1428
|
+
height?: number | undefined;
|
1429
|
+
simulcast?: boolean | undefined;
|
1430
|
+
disableDtx?: boolean | undefined;
|
1431
|
+
source?: TrackSource | undefined;
|
1432
|
+
layers?: ({
|
1433
|
+
quality?: VideoQuality | undefined;
|
1434
|
+
width?: number | undefined;
|
1435
|
+
height?: number | undefined;
|
1436
|
+
bitrate?: number | undefined;
|
1437
|
+
ssrc?: number | undefined;
|
1438
|
+
}[] & ({
|
1439
|
+
quality?: VideoQuality | undefined;
|
1440
|
+
width?: number | undefined;
|
1441
|
+
height?: number | undefined;
|
1442
|
+
bitrate?: number | undefined;
|
1443
|
+
ssrc?: number | undefined;
|
1444
|
+
} & {
|
1445
|
+
quality?: VideoQuality | undefined;
|
1446
|
+
width?: number | undefined;
|
1447
|
+
height?: number | undefined;
|
1448
|
+
bitrate?: number | undefined;
|
1449
|
+
ssrc?: number | undefined;
|
1450
|
+
} & {
|
1451
|
+
[K_7 in Exclude<keyof I_1["layers"][number], keyof VideoLayer>]: never;
|
1452
|
+
})[] & {
|
1453
|
+
[K_8 in Exclude<keyof I_1["layers"], keyof {
|
1454
|
+
quality?: VideoQuality | undefined;
|
1455
|
+
width?: number | undefined;
|
1456
|
+
height?: number | undefined;
|
1457
|
+
bitrate?: number | undefined;
|
1458
|
+
ssrc?: number | undefined;
|
1459
|
+
}[]>]: never;
|
1460
|
+
}) | undefined;
|
1461
|
+
mimeType?: string | undefined;
|
1462
|
+
mid?: string | undefined;
|
1463
|
+
codecs?: ({
|
1464
|
+
mimeType?: string | undefined;
|
1465
|
+
mid?: string | undefined;
|
1466
|
+
cid?: string | undefined;
|
1467
|
+
layers?: {
|
885
1468
|
quality?: VideoQuality | undefined;
|
886
1469
|
width?: number | undefined;
|
887
1470
|
height?: number | undefined;
|
@@ -922,9 +1505,9 @@ export declare const TrackInfo: {
|
|
922
1505
|
bitrate?: number | undefined;
|
923
1506
|
ssrc?: number | undefined;
|
924
1507
|
} & {
|
925
|
-
[
|
1508
|
+
[K_9 in Exclude<keyof I_1["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
|
926
1509
|
})[] & {
|
927
|
-
[
|
1510
|
+
[K_10 in Exclude<keyof I_1["codecs"][number]["layers"], keyof {
|
928
1511
|
quality?: VideoQuality | undefined;
|
929
1512
|
width?: number | undefined;
|
930
1513
|
height?: number | undefined;
|
@@ -933,9 +1516,9 @@ export declare const TrackInfo: {
|
|
933
1516
|
}[]>]: never;
|
934
1517
|
}) | undefined;
|
935
1518
|
} & {
|
936
|
-
[
|
1519
|
+
[K_11 in Exclude<keyof I_1["codecs"][number], keyof SimulcastCodecInfo>]: never;
|
937
1520
|
})[] & {
|
938
|
-
[
|
1521
|
+
[K_12 in Exclude<keyof I_1["codecs"], keyof {
|
939
1522
|
mimeType?: string | undefined;
|
940
1523
|
mid?: string | undefined;
|
941
1524
|
cid?: string | undefined;
|
@@ -952,15 +1535,15 @@ export declare const TrackInfo: {
|
|
952
1535
|
disableRed?: boolean | undefined;
|
953
1536
|
encryption?: Encryption_Type | undefined;
|
954
1537
|
} & {
|
955
|
-
[
|
956
|
-
}>(object:
|
1538
|
+
[K_13 in Exclude<keyof I_1, keyof TrackInfo>]: never;
|
1539
|
+
}>(object: I_1): TrackInfo;
|
957
1540
|
};
|
958
1541
|
export declare const VideoLayer: {
|
959
1542
|
encode(message: VideoLayer, writer?: _m0.Writer): _m0.Writer;
|
960
1543
|
decode(input: _m0.Reader | Uint8Array, length?: number): VideoLayer;
|
961
1544
|
fromJSON(object: any): VideoLayer;
|
962
1545
|
toJSON(message: VideoLayer): unknown;
|
963
|
-
|
1546
|
+
create<I extends {
|
964
1547
|
quality?: VideoQuality | undefined;
|
965
1548
|
width?: number | undefined;
|
966
1549
|
height?: number | undefined;
|
@@ -974,20 +1557,36 @@ export declare const VideoLayer: {
|
|
974
1557
|
ssrc?: number | undefined;
|
975
1558
|
} & {
|
976
1559
|
[K in Exclude<keyof I, keyof VideoLayer>]: never;
|
977
|
-
}>(
|
1560
|
+
}>(base?: I | undefined): VideoLayer;
|
1561
|
+
fromPartial<I_1 extends {
|
1562
|
+
quality?: VideoQuality | undefined;
|
1563
|
+
width?: number | undefined;
|
1564
|
+
height?: number | undefined;
|
1565
|
+
bitrate?: number | undefined;
|
1566
|
+
ssrc?: number | undefined;
|
1567
|
+
} & {
|
1568
|
+
quality?: VideoQuality | undefined;
|
1569
|
+
width?: number | undefined;
|
1570
|
+
height?: number | undefined;
|
1571
|
+
bitrate?: number | undefined;
|
1572
|
+
ssrc?: number | undefined;
|
1573
|
+
} & {
|
1574
|
+
[K_1 in Exclude<keyof I_1, keyof VideoLayer>]: never;
|
1575
|
+
}>(object: I_1): VideoLayer;
|
978
1576
|
};
|
979
1577
|
export declare const DataPacket: {
|
980
1578
|
encode(message: DataPacket, writer?: _m0.Writer): _m0.Writer;
|
981
1579
|
decode(input: _m0.Reader | Uint8Array, length?: number): DataPacket;
|
982
1580
|
fromJSON(object: any): DataPacket;
|
983
1581
|
toJSON(message: DataPacket): unknown;
|
984
|
-
|
1582
|
+
create<I extends {
|
985
1583
|
kind?: DataPacket_Kind | undefined;
|
986
1584
|
value?: ({
|
987
1585
|
user?: {
|
988
1586
|
participantSid?: string | undefined;
|
989
1587
|
payload?: Uint8Array | undefined;
|
990
1588
|
destinationSids?: string[] | undefined;
|
1589
|
+
topic?: string | undefined;
|
991
1590
|
} | undefined;
|
992
1591
|
} & {
|
993
1592
|
$case: "user";
|
@@ -1009,6 +1608,7 @@ export declare const DataPacket: {
|
|
1009
1608
|
participantSid?: string | undefined;
|
1010
1609
|
payload?: Uint8Array | undefined;
|
1011
1610
|
destinationSids?: string[] | undefined;
|
1611
|
+
topic?: string | undefined;
|
1012
1612
|
} | undefined;
|
1013
1613
|
} & {
|
1014
1614
|
$case: "user";
|
@@ -1017,12 +1617,14 @@ export declare const DataPacket: {
|
|
1017
1617
|
participantSid?: string | undefined;
|
1018
1618
|
payload?: Uint8Array | undefined;
|
1019
1619
|
destinationSids?: string[] | undefined;
|
1620
|
+
topic?: string | undefined;
|
1020
1621
|
} & {
|
1021
1622
|
participantSid?: string | undefined;
|
1022
1623
|
payload?: Uint8Array | undefined;
|
1023
1624
|
destinationSids?: (string[] & string[] & {
|
1024
1625
|
[K in Exclude<keyof I["value"]["user"]["destinationSids"], keyof string[]>]: never;
|
1025
1626
|
}) | undefined;
|
1627
|
+
topic?: string | undefined;
|
1026
1628
|
} & {
|
1027
1629
|
[K_1 in Exclude<keyof I["value"]["user"], keyof UserPacket>]: never;
|
1028
1630
|
}) | undefined;
|
@@ -1076,15 +1678,147 @@ export declare const DataPacket: {
|
|
1076
1678
|
[K_6 in Exclude<keyof I["value"], "speaker" | "$case">]: never;
|
1077
1679
|
}) | undefined;
|
1078
1680
|
} & {
|
1079
|
-
[K_7 in Exclude<keyof I, keyof DataPacket>]: never;
|
1080
|
-
}>(
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1681
|
+
[K_7 in Exclude<keyof I, keyof DataPacket>]: never;
|
1682
|
+
}>(base?: I | undefined): DataPacket;
|
1683
|
+
fromPartial<I_1 extends {
|
1684
|
+
kind?: DataPacket_Kind | undefined;
|
1685
|
+
value?: ({
|
1686
|
+
user?: {
|
1687
|
+
participantSid?: string | undefined;
|
1688
|
+
payload?: Uint8Array | undefined;
|
1689
|
+
destinationSids?: string[] | undefined;
|
1690
|
+
topic?: string | undefined;
|
1691
|
+
} | undefined;
|
1692
|
+
} & {
|
1693
|
+
$case: "user";
|
1694
|
+
}) | ({
|
1695
|
+
speaker?: {
|
1696
|
+
speakers?: {
|
1697
|
+
sid?: string | undefined;
|
1698
|
+
level?: number | undefined;
|
1699
|
+
active?: boolean | undefined;
|
1700
|
+
}[] | undefined;
|
1701
|
+
} | undefined;
|
1702
|
+
} & {
|
1703
|
+
$case: "speaker";
|
1704
|
+
}) | undefined;
|
1705
|
+
} & {
|
1706
|
+
kind?: DataPacket_Kind | undefined;
|
1707
|
+
value?: ({
|
1708
|
+
user?: {
|
1709
|
+
participantSid?: string | undefined;
|
1710
|
+
payload?: Uint8Array | undefined;
|
1711
|
+
destinationSids?: string[] | undefined;
|
1712
|
+
topic?: string | undefined;
|
1713
|
+
} | undefined;
|
1714
|
+
} & {
|
1715
|
+
$case: "user";
|
1716
|
+
} & {
|
1717
|
+
user?: ({
|
1718
|
+
participantSid?: string | undefined;
|
1719
|
+
payload?: Uint8Array | undefined;
|
1720
|
+
destinationSids?: string[] | undefined;
|
1721
|
+
topic?: string | undefined;
|
1722
|
+
} & {
|
1723
|
+
participantSid?: string | undefined;
|
1724
|
+
payload?: Uint8Array | undefined;
|
1725
|
+
destinationSids?: (string[] & string[] & {
|
1726
|
+
[K_8 in Exclude<keyof I_1["value"]["user"]["destinationSids"], keyof string[]>]: never;
|
1727
|
+
}) | undefined;
|
1728
|
+
topic?: string | undefined;
|
1729
|
+
} & {
|
1730
|
+
[K_9 in Exclude<keyof I_1["value"]["user"], keyof UserPacket>]: never;
|
1731
|
+
}) | undefined;
|
1732
|
+
$case: "user";
|
1733
|
+
} & {
|
1734
|
+
[K_10 in Exclude<keyof I_1["value"], "user" | "$case">]: never;
|
1735
|
+
}) | ({
|
1736
|
+
speaker?: {
|
1737
|
+
speakers?: {
|
1738
|
+
sid?: string | undefined;
|
1739
|
+
level?: number | undefined;
|
1740
|
+
active?: boolean | undefined;
|
1741
|
+
}[] | undefined;
|
1742
|
+
} | undefined;
|
1743
|
+
} & {
|
1744
|
+
$case: "speaker";
|
1745
|
+
} & {
|
1746
|
+
speaker?: ({
|
1747
|
+
speakers?: {
|
1748
|
+
sid?: string | undefined;
|
1749
|
+
level?: number | undefined;
|
1750
|
+
active?: boolean | undefined;
|
1751
|
+
}[] | undefined;
|
1752
|
+
} & {
|
1753
|
+
speakers?: ({
|
1754
|
+
sid?: string | undefined;
|
1755
|
+
level?: number | undefined;
|
1756
|
+
active?: boolean | undefined;
|
1757
|
+
}[] & ({
|
1758
|
+
sid?: string | undefined;
|
1759
|
+
level?: number | undefined;
|
1760
|
+
active?: boolean | undefined;
|
1761
|
+
} & {
|
1762
|
+
sid?: string | undefined;
|
1763
|
+
level?: number | undefined;
|
1764
|
+
active?: boolean | undefined;
|
1765
|
+
} & {
|
1766
|
+
[K_11 in Exclude<keyof I_1["value"]["speaker"]["speakers"][number], keyof SpeakerInfo>]: never;
|
1767
|
+
})[] & {
|
1768
|
+
[K_12 in Exclude<keyof I_1["value"]["speaker"]["speakers"], keyof {
|
1769
|
+
sid?: string | undefined;
|
1770
|
+
level?: number | undefined;
|
1771
|
+
active?: boolean | undefined;
|
1772
|
+
}[]>]: never;
|
1773
|
+
}) | undefined;
|
1774
|
+
} & {
|
1775
|
+
[K_13 in Exclude<keyof I_1["value"]["speaker"], "speakers">]: never;
|
1776
|
+
}) | undefined;
|
1777
|
+
$case: "speaker";
|
1778
|
+
} & {
|
1779
|
+
[K_14 in Exclude<keyof I_1["value"], "speaker" | "$case">]: never;
|
1780
|
+
}) | undefined;
|
1781
|
+
} & {
|
1782
|
+
[K_15 in Exclude<keyof I_1, keyof DataPacket>]: never;
|
1783
|
+
}>(object: I_1): DataPacket;
|
1784
|
+
};
|
1785
|
+
export declare const ActiveSpeakerUpdate: {
|
1786
|
+
encode(message: ActiveSpeakerUpdate, writer?: _m0.Writer): _m0.Writer;
|
1787
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ActiveSpeakerUpdate;
|
1788
|
+
fromJSON(object: any): ActiveSpeakerUpdate;
|
1789
|
+
toJSON(message: ActiveSpeakerUpdate): unknown;
|
1790
|
+
create<I extends {
|
1791
|
+
speakers?: {
|
1792
|
+
sid?: string | undefined;
|
1793
|
+
level?: number | undefined;
|
1794
|
+
active?: boolean | undefined;
|
1795
|
+
}[] | undefined;
|
1796
|
+
} & {
|
1797
|
+
speakers?: ({
|
1798
|
+
sid?: string | undefined;
|
1799
|
+
level?: number | undefined;
|
1800
|
+
active?: boolean | undefined;
|
1801
|
+
}[] & ({
|
1802
|
+
sid?: string | undefined;
|
1803
|
+
level?: number | undefined;
|
1804
|
+
active?: boolean | undefined;
|
1805
|
+
} & {
|
1806
|
+
sid?: string | undefined;
|
1807
|
+
level?: number | undefined;
|
1808
|
+
active?: boolean | undefined;
|
1809
|
+
} & {
|
1810
|
+
[K in Exclude<keyof I["speakers"][number], keyof SpeakerInfo>]: never;
|
1811
|
+
})[] & {
|
1812
|
+
[K_1 in Exclude<keyof I["speakers"], keyof {
|
1813
|
+
sid?: string | undefined;
|
1814
|
+
level?: number | undefined;
|
1815
|
+
active?: boolean | undefined;
|
1816
|
+
}[]>]: never;
|
1817
|
+
}) | undefined;
|
1818
|
+
} & {
|
1819
|
+
[K_2 in Exclude<keyof I, "speakers">]: never;
|
1820
|
+
}>(base?: I | undefined): ActiveSpeakerUpdate;
|
1821
|
+
fromPartial<I_1 extends {
|
1088
1822
|
speakers?: {
|
1089
1823
|
sid?: string | undefined;
|
1090
1824
|
level?: number | undefined;
|
@@ -1104,24 +1838,24 @@ export declare const ActiveSpeakerUpdate: {
|
|
1104
1838
|
level?: number | undefined;
|
1105
1839
|
active?: boolean | undefined;
|
1106
1840
|
} & {
|
1107
|
-
[
|
1841
|
+
[K_3 in Exclude<keyof I_1["speakers"][number], keyof SpeakerInfo>]: never;
|
1108
1842
|
})[] & {
|
1109
|
-
[
|
1843
|
+
[K_4 in Exclude<keyof I_1["speakers"], keyof {
|
1110
1844
|
sid?: string | undefined;
|
1111
1845
|
level?: number | undefined;
|
1112
1846
|
active?: boolean | undefined;
|
1113
1847
|
}[]>]: never;
|
1114
1848
|
}) | undefined;
|
1115
1849
|
} & {
|
1116
|
-
[
|
1117
|
-
}>(object:
|
1850
|
+
[K_5 in Exclude<keyof I_1, "speakers">]: never;
|
1851
|
+
}>(object: I_1): ActiveSpeakerUpdate;
|
1118
1852
|
};
|
1119
1853
|
export declare const SpeakerInfo: {
|
1120
1854
|
encode(message: SpeakerInfo, writer?: _m0.Writer): _m0.Writer;
|
1121
1855
|
decode(input: _m0.Reader | Uint8Array, length?: number): SpeakerInfo;
|
1122
1856
|
fromJSON(object: any): SpeakerInfo;
|
1123
1857
|
toJSON(message: SpeakerInfo): unknown;
|
1124
|
-
|
1858
|
+
create<I extends {
|
1125
1859
|
sid?: string | undefined;
|
1126
1860
|
level?: number | undefined;
|
1127
1861
|
active?: boolean | undefined;
|
@@ -1131,33 +1865,61 @@ export declare const SpeakerInfo: {
|
|
1131
1865
|
active?: boolean | undefined;
|
1132
1866
|
} & {
|
1133
1867
|
[K in Exclude<keyof I, keyof SpeakerInfo>]: never;
|
1134
|
-
}>(
|
1868
|
+
}>(base?: I | undefined): SpeakerInfo;
|
1869
|
+
fromPartial<I_1 extends {
|
1870
|
+
sid?: string | undefined;
|
1871
|
+
level?: number | undefined;
|
1872
|
+
active?: boolean | undefined;
|
1873
|
+
} & {
|
1874
|
+
sid?: string | undefined;
|
1875
|
+
level?: number | undefined;
|
1876
|
+
active?: boolean | undefined;
|
1877
|
+
} & {
|
1878
|
+
[K_1 in Exclude<keyof I_1, keyof SpeakerInfo>]: never;
|
1879
|
+
}>(object: I_1): SpeakerInfo;
|
1135
1880
|
};
|
1136
1881
|
export declare const UserPacket: {
|
1137
1882
|
encode(message: UserPacket, writer?: _m0.Writer): _m0.Writer;
|
1138
1883
|
decode(input: _m0.Reader | Uint8Array, length?: number): UserPacket;
|
1139
1884
|
fromJSON(object: any): UserPacket;
|
1140
1885
|
toJSON(message: UserPacket): unknown;
|
1141
|
-
|
1886
|
+
create<I extends {
|
1142
1887
|
participantSid?: string | undefined;
|
1143
1888
|
payload?: Uint8Array | undefined;
|
1144
1889
|
destinationSids?: string[] | undefined;
|
1890
|
+
topic?: string | undefined;
|
1145
1891
|
} & {
|
1146
1892
|
participantSid?: string | undefined;
|
1147
1893
|
payload?: Uint8Array | undefined;
|
1148
1894
|
destinationSids?: (string[] & string[] & {
|
1149
1895
|
[K in Exclude<keyof I["destinationSids"], keyof string[]>]: never;
|
1150
1896
|
}) | undefined;
|
1897
|
+
topic?: string | undefined;
|
1151
1898
|
} & {
|
1152
1899
|
[K_1 in Exclude<keyof I, keyof UserPacket>]: never;
|
1153
|
-
}>(
|
1900
|
+
}>(base?: I | undefined): UserPacket;
|
1901
|
+
fromPartial<I_1 extends {
|
1902
|
+
participantSid?: string | undefined;
|
1903
|
+
payload?: Uint8Array | undefined;
|
1904
|
+
destinationSids?: string[] | undefined;
|
1905
|
+
topic?: string | undefined;
|
1906
|
+
} & {
|
1907
|
+
participantSid?: string | undefined;
|
1908
|
+
payload?: Uint8Array | undefined;
|
1909
|
+
destinationSids?: (string[] & string[] & {
|
1910
|
+
[K_2 in Exclude<keyof I_1["destinationSids"], keyof string[]>]: never;
|
1911
|
+
}) | undefined;
|
1912
|
+
topic?: string | undefined;
|
1913
|
+
} & {
|
1914
|
+
[K_3 in Exclude<keyof I_1, keyof UserPacket>]: never;
|
1915
|
+
}>(object: I_1): UserPacket;
|
1154
1916
|
};
|
1155
1917
|
export declare const ParticipantTracks: {
|
1156
1918
|
encode(message: ParticipantTracks, writer?: _m0.Writer): _m0.Writer;
|
1157
1919
|
decode(input: _m0.Reader | Uint8Array, length?: number): ParticipantTracks;
|
1158
1920
|
fromJSON(object: any): ParticipantTracks;
|
1159
1921
|
toJSON(message: ParticipantTracks): unknown;
|
1160
|
-
|
1922
|
+
create<I extends {
|
1161
1923
|
participantSid?: string | undefined;
|
1162
1924
|
trackSids?: string[] | undefined;
|
1163
1925
|
} & {
|
@@ -1167,14 +1929,25 @@ export declare const ParticipantTracks: {
|
|
1167
1929
|
}) | undefined;
|
1168
1930
|
} & {
|
1169
1931
|
[K_1 in Exclude<keyof I, keyof ParticipantTracks>]: never;
|
1170
|
-
}>(
|
1932
|
+
}>(base?: I | undefined): ParticipantTracks;
|
1933
|
+
fromPartial<I_1 extends {
|
1934
|
+
participantSid?: string | undefined;
|
1935
|
+
trackSids?: string[] | undefined;
|
1936
|
+
} & {
|
1937
|
+
participantSid?: string | undefined;
|
1938
|
+
trackSids?: (string[] & string[] & {
|
1939
|
+
[K_2 in Exclude<keyof I_1["trackSids"], keyof string[]>]: never;
|
1940
|
+
}) | undefined;
|
1941
|
+
} & {
|
1942
|
+
[K_3 in Exclude<keyof I_1, keyof ParticipantTracks>]: never;
|
1943
|
+
}>(object: I_1): ParticipantTracks;
|
1171
1944
|
};
|
1172
1945
|
export declare const ServerInfo: {
|
1173
1946
|
encode(message: ServerInfo, writer?: _m0.Writer): _m0.Writer;
|
1174
1947
|
decode(input: _m0.Reader | Uint8Array, length?: number): ServerInfo;
|
1175
1948
|
fromJSON(object: any): ServerInfo;
|
1176
1949
|
toJSON(message: ServerInfo): unknown;
|
1177
|
-
|
1950
|
+
create<I extends {
|
1178
1951
|
edition?: ServerInfo_Edition | undefined;
|
1179
1952
|
version?: string | undefined;
|
1180
1953
|
protocol?: number | undefined;
|
@@ -1190,14 +1963,31 @@ export declare const ServerInfo: {
|
|
1190
1963
|
debugInfo?: string | undefined;
|
1191
1964
|
} & {
|
1192
1965
|
[K in Exclude<keyof I, keyof ServerInfo>]: never;
|
1193
|
-
}>(
|
1966
|
+
}>(base?: I | undefined): ServerInfo;
|
1967
|
+
fromPartial<I_1 extends {
|
1968
|
+
edition?: ServerInfo_Edition | undefined;
|
1969
|
+
version?: string | undefined;
|
1970
|
+
protocol?: number | undefined;
|
1971
|
+
region?: string | undefined;
|
1972
|
+
nodeId?: string | undefined;
|
1973
|
+
debugInfo?: string | undefined;
|
1974
|
+
} & {
|
1975
|
+
edition?: ServerInfo_Edition | undefined;
|
1976
|
+
version?: string | undefined;
|
1977
|
+
protocol?: number | undefined;
|
1978
|
+
region?: string | undefined;
|
1979
|
+
nodeId?: string | undefined;
|
1980
|
+
debugInfo?: string | undefined;
|
1981
|
+
} & {
|
1982
|
+
[K_1 in Exclude<keyof I_1, keyof ServerInfo>]: never;
|
1983
|
+
}>(object: I_1): ServerInfo;
|
1194
1984
|
};
|
1195
1985
|
export declare const ClientInfo: {
|
1196
1986
|
encode(message: ClientInfo, writer?: _m0.Writer): _m0.Writer;
|
1197
1987
|
decode(input: _m0.Reader | Uint8Array, length?: number): ClientInfo;
|
1198
1988
|
fromJSON(object: any): ClientInfo;
|
1199
1989
|
toJSON(message: ClientInfo): unknown;
|
1200
|
-
|
1990
|
+
create<I extends {
|
1201
1991
|
sdk?: ClientInfo_SDK | undefined;
|
1202
1992
|
version?: string | undefined;
|
1203
1993
|
protocol?: number | undefined;
|
@@ -1221,14 +2011,39 @@ export declare const ClientInfo: {
|
|
1221
2011
|
network?: string | undefined;
|
1222
2012
|
} & {
|
1223
2013
|
[K in Exclude<keyof I, keyof ClientInfo>]: never;
|
1224
|
-
}>(
|
2014
|
+
}>(base?: I | undefined): ClientInfo;
|
2015
|
+
fromPartial<I_1 extends {
|
2016
|
+
sdk?: ClientInfo_SDK | undefined;
|
2017
|
+
version?: string | undefined;
|
2018
|
+
protocol?: number | undefined;
|
2019
|
+
os?: string | undefined;
|
2020
|
+
osVersion?: string | undefined;
|
2021
|
+
deviceModel?: string | undefined;
|
2022
|
+
browser?: string | undefined;
|
2023
|
+
browserVersion?: string | undefined;
|
2024
|
+
address?: string | undefined;
|
2025
|
+
network?: string | undefined;
|
2026
|
+
} & {
|
2027
|
+
sdk?: ClientInfo_SDK | undefined;
|
2028
|
+
version?: string | undefined;
|
2029
|
+
protocol?: number | undefined;
|
2030
|
+
os?: string | undefined;
|
2031
|
+
osVersion?: string | undefined;
|
2032
|
+
deviceModel?: string | undefined;
|
2033
|
+
browser?: string | undefined;
|
2034
|
+
browserVersion?: string | undefined;
|
2035
|
+
address?: string | undefined;
|
2036
|
+
network?: string | undefined;
|
2037
|
+
} & {
|
2038
|
+
[K_1 in Exclude<keyof I_1, keyof ClientInfo>]: never;
|
2039
|
+
}>(object: I_1): ClientInfo;
|
1225
2040
|
};
|
1226
2041
|
export declare const ClientConfiguration: {
|
1227
2042
|
encode(message: ClientConfiguration, writer?: _m0.Writer): _m0.Writer;
|
1228
2043
|
decode(input: _m0.Reader | Uint8Array, length?: number): ClientConfiguration;
|
1229
2044
|
fromJSON(object: any): ClientConfiguration;
|
1230
2045
|
toJSON(message: ClientConfiguration): unknown;
|
1231
|
-
|
2046
|
+
create<I extends {
|
1232
2047
|
video?: {
|
1233
2048
|
hardwareEncoder?: ClientConfigSetting | undefined;
|
1234
2049
|
} | undefined;
|
@@ -1288,27 +2103,95 @@ export declare const ClientConfiguration: {
|
|
1288
2103
|
forceRelay?: ClientConfigSetting | undefined;
|
1289
2104
|
} & {
|
1290
2105
|
[K_5 in Exclude<keyof I, keyof ClientConfiguration>]: never;
|
1291
|
-
}>(
|
2106
|
+
}>(base?: I | undefined): ClientConfiguration;
|
2107
|
+
fromPartial<I_1 extends {
|
2108
|
+
video?: {
|
2109
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
2110
|
+
} | undefined;
|
2111
|
+
screen?: {
|
2112
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
2113
|
+
} | undefined;
|
2114
|
+
resumeConnection?: ClientConfigSetting | undefined;
|
2115
|
+
disabledCodecs?: {
|
2116
|
+
codecs?: {
|
2117
|
+
mime?: string | undefined;
|
2118
|
+
fmtpLine?: string | undefined;
|
2119
|
+
}[] | undefined;
|
2120
|
+
} | undefined;
|
2121
|
+
forceRelay?: ClientConfigSetting | undefined;
|
2122
|
+
} & {
|
2123
|
+
video?: ({
|
2124
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
2125
|
+
} & {
|
2126
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
2127
|
+
} & {
|
2128
|
+
[K_6 in Exclude<keyof I_1["video"], "hardwareEncoder">]: never;
|
2129
|
+
}) | undefined;
|
2130
|
+
screen?: ({
|
2131
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
2132
|
+
} & {
|
2133
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
2134
|
+
} & {
|
2135
|
+
[K_7 in Exclude<keyof I_1["screen"], "hardwareEncoder">]: never;
|
2136
|
+
}) | undefined;
|
2137
|
+
resumeConnection?: ClientConfigSetting | undefined;
|
2138
|
+
disabledCodecs?: ({
|
2139
|
+
codecs?: {
|
2140
|
+
mime?: string | undefined;
|
2141
|
+
fmtpLine?: string | undefined;
|
2142
|
+
}[] | undefined;
|
2143
|
+
} & {
|
2144
|
+
codecs?: ({
|
2145
|
+
mime?: string | undefined;
|
2146
|
+
fmtpLine?: string | undefined;
|
2147
|
+
}[] & ({
|
2148
|
+
mime?: string | undefined;
|
2149
|
+
fmtpLine?: string | undefined;
|
2150
|
+
} & {
|
2151
|
+
mime?: string | undefined;
|
2152
|
+
fmtpLine?: string | undefined;
|
2153
|
+
} & {
|
2154
|
+
[K_8 in Exclude<keyof I_1["disabledCodecs"]["codecs"][number], keyof Codec>]: never;
|
2155
|
+
})[] & {
|
2156
|
+
[K_9 in Exclude<keyof I_1["disabledCodecs"]["codecs"], keyof {
|
2157
|
+
mime?: string | undefined;
|
2158
|
+
fmtpLine?: string | undefined;
|
2159
|
+
}[]>]: never;
|
2160
|
+
}) | undefined;
|
2161
|
+
} & {
|
2162
|
+
[K_10 in Exclude<keyof I_1["disabledCodecs"], "codecs">]: never;
|
2163
|
+
}) | undefined;
|
2164
|
+
forceRelay?: ClientConfigSetting | undefined;
|
2165
|
+
} & {
|
2166
|
+
[K_11 in Exclude<keyof I_1, keyof ClientConfiguration>]: never;
|
2167
|
+
}>(object: I_1): ClientConfiguration;
|
1292
2168
|
};
|
1293
2169
|
export declare const VideoConfiguration: {
|
1294
2170
|
encode(message: VideoConfiguration, writer?: _m0.Writer): _m0.Writer;
|
1295
2171
|
decode(input: _m0.Reader | Uint8Array, length?: number): VideoConfiguration;
|
1296
2172
|
fromJSON(object: any): VideoConfiguration;
|
1297
2173
|
toJSON(message: VideoConfiguration): unknown;
|
1298
|
-
|
2174
|
+
create<I extends {
|
1299
2175
|
hardwareEncoder?: ClientConfigSetting | undefined;
|
1300
2176
|
} & {
|
1301
2177
|
hardwareEncoder?: ClientConfigSetting | undefined;
|
1302
2178
|
} & {
|
1303
2179
|
[K in Exclude<keyof I, "hardwareEncoder">]: never;
|
1304
|
-
}>(
|
2180
|
+
}>(base?: I | undefined): VideoConfiguration;
|
2181
|
+
fromPartial<I_1 extends {
|
2182
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
2183
|
+
} & {
|
2184
|
+
hardwareEncoder?: ClientConfigSetting | undefined;
|
2185
|
+
} & {
|
2186
|
+
[K_1 in Exclude<keyof I_1, "hardwareEncoder">]: never;
|
2187
|
+
}>(object: I_1): VideoConfiguration;
|
1305
2188
|
};
|
1306
2189
|
export declare const DisabledCodecs: {
|
1307
2190
|
encode(message: DisabledCodecs, writer?: _m0.Writer): _m0.Writer;
|
1308
2191
|
decode(input: _m0.Reader | Uint8Array, length?: number): DisabledCodecs;
|
1309
2192
|
fromJSON(object: any): DisabledCodecs;
|
1310
2193
|
toJSON(message: DisabledCodecs): unknown;
|
1311
|
-
|
2194
|
+
create<I extends {
|
1312
2195
|
codecs?: {
|
1313
2196
|
mime?: string | undefined;
|
1314
2197
|
fmtpLine?: string | undefined;
|
@@ -1333,14 +2216,40 @@ export declare const DisabledCodecs: {
|
|
1333
2216
|
}) | undefined;
|
1334
2217
|
} & {
|
1335
2218
|
[K_2 in Exclude<keyof I, "codecs">]: never;
|
1336
|
-
}>(
|
2219
|
+
}>(base?: I | undefined): DisabledCodecs;
|
2220
|
+
fromPartial<I_1 extends {
|
2221
|
+
codecs?: {
|
2222
|
+
mime?: string | undefined;
|
2223
|
+
fmtpLine?: string | undefined;
|
2224
|
+
}[] | undefined;
|
2225
|
+
} & {
|
2226
|
+
codecs?: ({
|
2227
|
+
mime?: string | undefined;
|
2228
|
+
fmtpLine?: string | undefined;
|
2229
|
+
}[] & ({
|
2230
|
+
mime?: string | undefined;
|
2231
|
+
fmtpLine?: string | undefined;
|
2232
|
+
} & {
|
2233
|
+
mime?: string | undefined;
|
2234
|
+
fmtpLine?: string | undefined;
|
2235
|
+
} & {
|
2236
|
+
[K_3 in Exclude<keyof I_1["codecs"][number], keyof Codec>]: never;
|
2237
|
+
})[] & {
|
2238
|
+
[K_4 in Exclude<keyof I_1["codecs"], keyof {
|
2239
|
+
mime?: string | undefined;
|
2240
|
+
fmtpLine?: string | undefined;
|
2241
|
+
}[]>]: never;
|
2242
|
+
}) | undefined;
|
2243
|
+
} & {
|
2244
|
+
[K_5 in Exclude<keyof I_1, "codecs">]: never;
|
2245
|
+
}>(object: I_1): DisabledCodecs;
|
1337
2246
|
};
|
1338
2247
|
export declare const RTPStats: {
|
1339
2248
|
encode(message: RTPStats, writer?: _m0.Writer): _m0.Writer;
|
1340
2249
|
decode(input: _m0.Reader | Uint8Array, length?: number): RTPStats;
|
1341
2250
|
fromJSON(object: any): RTPStats;
|
1342
2251
|
toJSON(message: RTPStats): unknown;
|
1343
|
-
|
2252
|
+
create<I extends {
|
1344
2253
|
startTime?: Date | undefined;
|
1345
2254
|
endTime?: Date | undefined;
|
1346
2255
|
duration?: number | undefined;
|
@@ -1434,14 +2343,109 @@ export declare const RTPStats: {
|
|
1434
2343
|
lastLayerLockPli?: Date | undefined;
|
1435
2344
|
} & {
|
1436
2345
|
[K_1 in Exclude<keyof I, keyof RTPStats>]: never;
|
1437
|
-
}>(
|
2346
|
+
}>(base?: I | undefined): RTPStats;
|
2347
|
+
fromPartial<I_1 extends {
|
2348
|
+
startTime?: Date | undefined;
|
2349
|
+
endTime?: Date | undefined;
|
2350
|
+
duration?: number | undefined;
|
2351
|
+
packets?: number | undefined;
|
2352
|
+
packetRate?: number | undefined;
|
2353
|
+
bytes?: number | undefined;
|
2354
|
+
headerBytes?: number | undefined;
|
2355
|
+
bitrate?: number | undefined;
|
2356
|
+
packetsLost?: number | undefined;
|
2357
|
+
packetLossRate?: number | undefined;
|
2358
|
+
packetLossPercentage?: number | undefined;
|
2359
|
+
packetsDuplicate?: number | undefined;
|
2360
|
+
packetDuplicateRate?: number | undefined;
|
2361
|
+
bytesDuplicate?: number | undefined;
|
2362
|
+
headerBytesDuplicate?: number | undefined;
|
2363
|
+
bitrateDuplicate?: number | undefined;
|
2364
|
+
packetsPadding?: number | undefined;
|
2365
|
+
packetPaddingRate?: number | undefined;
|
2366
|
+
bytesPadding?: number | undefined;
|
2367
|
+
headerBytesPadding?: number | undefined;
|
2368
|
+
bitratePadding?: number | undefined;
|
2369
|
+
packetsOutOfOrder?: number | undefined;
|
2370
|
+
frames?: number | undefined;
|
2371
|
+
frameRate?: number | undefined;
|
2372
|
+
jitterCurrent?: number | undefined;
|
2373
|
+
jitterMax?: number | undefined;
|
2374
|
+
gapHistogram?: {
|
2375
|
+
[x: number]: number | undefined;
|
2376
|
+
} | undefined;
|
2377
|
+
nacks?: number | undefined;
|
2378
|
+
nackAcks?: number | undefined;
|
2379
|
+
nackMisses?: number | undefined;
|
2380
|
+
nackRepeated?: number | undefined;
|
2381
|
+
plis?: number | undefined;
|
2382
|
+
lastPli?: Date | undefined;
|
2383
|
+
firs?: number | undefined;
|
2384
|
+
lastFir?: Date | undefined;
|
2385
|
+
rttCurrent?: number | undefined;
|
2386
|
+
rttMax?: number | undefined;
|
2387
|
+
keyFrames?: number | undefined;
|
2388
|
+
lastKeyFrame?: Date | undefined;
|
2389
|
+
layerLockPlis?: number | undefined;
|
2390
|
+
lastLayerLockPli?: Date | undefined;
|
2391
|
+
} & {
|
2392
|
+
startTime?: Date | undefined;
|
2393
|
+
endTime?: Date | undefined;
|
2394
|
+
duration?: number | undefined;
|
2395
|
+
packets?: number | undefined;
|
2396
|
+
packetRate?: number | undefined;
|
2397
|
+
bytes?: number | undefined;
|
2398
|
+
headerBytes?: number | undefined;
|
2399
|
+
bitrate?: number | undefined;
|
2400
|
+
packetsLost?: number | undefined;
|
2401
|
+
packetLossRate?: number | undefined;
|
2402
|
+
packetLossPercentage?: number | undefined;
|
2403
|
+
packetsDuplicate?: number | undefined;
|
2404
|
+
packetDuplicateRate?: number | undefined;
|
2405
|
+
bytesDuplicate?: number | undefined;
|
2406
|
+
headerBytesDuplicate?: number | undefined;
|
2407
|
+
bitrateDuplicate?: number | undefined;
|
2408
|
+
packetsPadding?: number | undefined;
|
2409
|
+
packetPaddingRate?: number | undefined;
|
2410
|
+
bytesPadding?: number | undefined;
|
2411
|
+
headerBytesPadding?: number | undefined;
|
2412
|
+
bitratePadding?: number | undefined;
|
2413
|
+
packetsOutOfOrder?: number | undefined;
|
2414
|
+
frames?: number | undefined;
|
2415
|
+
frameRate?: number | undefined;
|
2416
|
+
jitterCurrent?: number | undefined;
|
2417
|
+
jitterMax?: number | undefined;
|
2418
|
+
gapHistogram?: ({
|
2419
|
+
[x: number]: number | undefined;
|
2420
|
+
} & {
|
2421
|
+
[x: number]: number | undefined;
|
2422
|
+
} & {
|
2423
|
+
[K_2 in Exclude<keyof I_1["gapHistogram"], number>]: never;
|
2424
|
+
}) | undefined;
|
2425
|
+
nacks?: number | undefined;
|
2426
|
+
nackAcks?: number | undefined;
|
2427
|
+
nackMisses?: number | undefined;
|
2428
|
+
nackRepeated?: number | undefined;
|
2429
|
+
plis?: number | undefined;
|
2430
|
+
lastPli?: Date | undefined;
|
2431
|
+
firs?: number | undefined;
|
2432
|
+
lastFir?: Date | undefined;
|
2433
|
+
rttCurrent?: number | undefined;
|
2434
|
+
rttMax?: number | undefined;
|
2435
|
+
keyFrames?: number | undefined;
|
2436
|
+
lastKeyFrame?: Date | undefined;
|
2437
|
+
layerLockPlis?: number | undefined;
|
2438
|
+
lastLayerLockPli?: Date | undefined;
|
2439
|
+
} & {
|
2440
|
+
[K_3 in Exclude<keyof I_1, keyof RTPStats>]: never;
|
2441
|
+
}>(object: I_1): RTPStats;
|
1438
2442
|
};
|
1439
2443
|
export declare const RTPStats_GapHistogramEntry: {
|
1440
2444
|
encode(message: RTPStats_GapHistogramEntry, writer?: _m0.Writer): _m0.Writer;
|
1441
2445
|
decode(input: _m0.Reader | Uint8Array, length?: number): RTPStats_GapHistogramEntry;
|
1442
2446
|
fromJSON(object: any): RTPStats_GapHistogramEntry;
|
1443
2447
|
toJSON(message: RTPStats_GapHistogramEntry): unknown;
|
1444
|
-
|
2448
|
+
create<I extends {
|
1445
2449
|
key?: number | undefined;
|
1446
2450
|
value?: number | undefined;
|
1447
2451
|
} & {
|
@@ -1449,14 +2453,23 @@ export declare const RTPStats_GapHistogramEntry: {
|
|
1449
2453
|
value?: number | undefined;
|
1450
2454
|
} & {
|
1451
2455
|
[K in Exclude<keyof I, keyof RTPStats_GapHistogramEntry>]: never;
|
1452
|
-
}>(
|
2456
|
+
}>(base?: I | undefined): RTPStats_GapHistogramEntry;
|
2457
|
+
fromPartial<I_1 extends {
|
2458
|
+
key?: number | undefined;
|
2459
|
+
value?: number | undefined;
|
2460
|
+
} & {
|
2461
|
+
key?: number | undefined;
|
2462
|
+
value?: number | undefined;
|
2463
|
+
} & {
|
2464
|
+
[K_1 in Exclude<keyof I_1, keyof RTPStats_GapHistogramEntry>]: never;
|
2465
|
+
}>(object: I_1): RTPStats_GapHistogramEntry;
|
1453
2466
|
};
|
1454
2467
|
export declare const TimedVersion: {
|
1455
2468
|
encode(message: TimedVersion, writer?: _m0.Writer): _m0.Writer;
|
1456
2469
|
decode(input: _m0.Reader | Uint8Array, length?: number): TimedVersion;
|
1457
2470
|
fromJSON(object: any): TimedVersion;
|
1458
2471
|
toJSON(message: TimedVersion): unknown;
|
1459
|
-
|
2472
|
+
create<I extends {
|
1460
2473
|
unixMicro?: number | undefined;
|
1461
2474
|
ticks?: number | undefined;
|
1462
2475
|
} & {
|
@@ -1464,7 +2477,16 @@ export declare const TimedVersion: {
|
|
1464
2477
|
ticks?: number | undefined;
|
1465
2478
|
} & {
|
1466
2479
|
[K in Exclude<keyof I, keyof TimedVersion>]: never;
|
1467
|
-
}>(
|
2480
|
+
}>(base?: I | undefined): TimedVersion;
|
2481
|
+
fromPartial<I_1 extends {
|
2482
|
+
unixMicro?: number | undefined;
|
2483
|
+
ticks?: number | undefined;
|
2484
|
+
} & {
|
2485
|
+
unixMicro?: number | undefined;
|
2486
|
+
ticks?: number | undefined;
|
2487
|
+
} & {
|
2488
|
+
[K_1 in Exclude<keyof I_1, keyof TimedVersion>]: never;
|
2489
|
+
}>(object: I_1): TimedVersion;
|
1468
2490
|
};
|
1469
2491
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
1470
2492
|
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 {
|