livekit-client 1.6.2 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/livekit-client.esm.mjs +312 -101
- 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/api/SignalClient.d.ts +3 -3
- package/dist/src/api/SignalClient.d.ts.map +1 -1
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/proto/livekit_models.d.ts +43 -1
- package/dist/src/proto/livekit_models.d.ts.map +1 -1
- package/dist/src/proto/livekit_rtc.d.ts +473 -4
- package/dist/src/proto/livekit_rtc.d.ts.map +1 -1
- package/dist/src/room/PCTransport.d.ts +1 -0
- package/dist/src/room/PCTransport.d.ts.map +1 -1
- package/dist/src/room/RTCEngine.d.ts +2 -0
- package/dist/src/room/RTCEngine.d.ts.map +1 -1
- package/dist/src/room/Room.d.ts.map +1 -1
- package/dist/src/room/timers.d.ts +13 -0
- package/dist/src/room/timers.d.ts.map +1 -0
- package/dist/src/room/track/RemoteVideoTrack.d.ts.map +1 -1
- package/dist/ts4.2/src/api/SignalClient.d.ts +3 -3
- package/dist/ts4.2/src/index.d.ts +2 -1
- package/dist/ts4.2/src/proto/livekit_models.d.ts +45 -1
- package/dist/ts4.2/src/proto/livekit_rtc.d.ts +514 -3
- package/dist/ts4.2/src/room/PCTransport.d.ts +1 -0
- package/dist/ts4.2/src/room/RTCEngine.d.ts +2 -0
- package/dist/ts4.2/src/room/timers.d.ts +13 -0
- package/package.json +1 -1
- package/src/api/SignalClient.ts +28 -20
- package/src/index.ts +2 -0
- package/src/proto/livekit_models.ts +116 -1
- package/src/proto/livekit_rtc.ts +106 -2
- package/src/room/PCTransport.ts +22 -6
- package/src/room/RTCEngine.ts +56 -43
- package/src/room/Room.ts +4 -3
- package/src/room/timers.ts +16 -0
- package/src/room/track/RemoteVideoTrack.ts +2 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
2
|
-
import { ClientConfiguration, ConnectionQuality, DisconnectReason, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models";
|
2
|
+
import { ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models";
|
3
3
|
export declare const protobufPackage = "livekit";
|
4
4
|
export declare enum SignalTarget {
|
5
5
|
PUBLISHER = 0,
|
@@ -117,6 +117,9 @@ export interface SignalResponse {
|
|
117
117
|
} | {
|
118
118
|
$case: "pong";
|
119
119
|
pong: number;
|
120
|
+
} | {
|
121
|
+
$case: "reconnect";
|
122
|
+
reconnect: ReconnectResponse;
|
120
123
|
};
|
121
124
|
}
|
122
125
|
export interface SimulcastCodec {
|
@@ -144,6 +147,7 @@ export interface AddTrackRequest {
|
|
144
147
|
stereo: boolean;
|
145
148
|
/** true if RED (Redundant Encoding) is disabled for audio */
|
146
149
|
disableRed: boolean;
|
150
|
+
encryption: Encryption_Type;
|
147
151
|
}
|
148
152
|
export interface TrickleRequest {
|
149
153
|
candidateInit: string;
|
@@ -174,6 +178,10 @@ export interface JoinResponse {
|
|
174
178
|
pingInterval: number;
|
175
179
|
serverInfo?: ServerInfo;
|
176
180
|
}
|
181
|
+
export interface ReconnectResponse {
|
182
|
+
iceServers: ICEServer[];
|
183
|
+
clientConfiguration?: ClientConfiguration;
|
184
|
+
}
|
177
185
|
export interface TrackPublishedResponse {
|
178
186
|
cid: string;
|
179
187
|
track?: TrackInfo;
|
@@ -204,7 +212,6 @@ export interface UpdateTrackSettings {
|
|
204
212
|
width: number;
|
205
213
|
/** for video, height to receive */
|
206
214
|
height: number;
|
207
|
-
/** for video, frame rate to receive */
|
208
215
|
fps: number;
|
209
216
|
}
|
210
217
|
export interface LeaveRequest {
|
@@ -360,6 +367,7 @@ export declare const SignalRequest: {
|
|
360
367
|
sid?: string | undefined;
|
361
368
|
stereo?: boolean | undefined;
|
362
369
|
disableRed?: boolean | undefined;
|
370
|
+
encryption?: Encryption_Type | undefined;
|
363
371
|
} | undefined;
|
364
372
|
} & {
|
365
373
|
$case: "addTrack";
|
@@ -471,6 +479,9 @@ export declare const SignalRequest: {
|
|
471
479
|
ssrc?: number | undefined;
|
472
480
|
}[] | undefined;
|
473
481
|
}[] | undefined;
|
482
|
+
stereo?: boolean | undefined;
|
483
|
+
disableRed?: boolean | undefined;
|
484
|
+
encryption?: Encryption_Type | undefined;
|
474
485
|
} | undefined;
|
475
486
|
}[] | undefined;
|
476
487
|
dataChannels?: {
|
@@ -602,6 +613,7 @@ export declare const SignalRequest: {
|
|
602
613
|
sid?: string | undefined;
|
603
614
|
stereo?: boolean | undefined;
|
604
615
|
disableRed?: boolean | undefined;
|
616
|
+
encryption?: Encryption_Type | undefined;
|
605
617
|
} | undefined;
|
606
618
|
} & {
|
607
619
|
$case: "addTrack";
|
@@ -630,6 +642,7 @@ export declare const SignalRequest: {
|
|
630
642
|
sid?: string | undefined;
|
631
643
|
stereo?: boolean | undefined;
|
632
644
|
disableRed?: boolean | undefined;
|
645
|
+
encryption?: Encryption_Type | undefined;
|
633
646
|
} & {
|
634
647
|
cid?: string | undefined;
|
635
648
|
name?: string | undefined;
|
@@ -692,6 +705,7 @@ export declare const SignalRequest: {
|
|
692
705
|
sid?: string | undefined;
|
693
706
|
stereo?: boolean | undefined;
|
694
707
|
disableRed?: boolean | undefined;
|
708
|
+
encryption?: Encryption_Type | undefined;
|
695
709
|
} & {
|
696
710
|
[K_10 in Exclude<keyof I["message"]["addTrack"], keyof AddTrackRequest>]: never;
|
697
711
|
}) | undefined;
|
@@ -984,6 +998,9 @@ export declare const SignalRequest: {
|
|
984
998
|
ssrc?: number | undefined;
|
985
999
|
}[] | undefined;
|
986
1000
|
}[] | undefined;
|
1001
|
+
stereo?: boolean | undefined;
|
1002
|
+
disableRed?: boolean | undefined;
|
1003
|
+
encryption?: Encryption_Type | undefined;
|
987
1004
|
} | undefined;
|
988
1005
|
}[] | undefined;
|
989
1006
|
dataChannels?: {
|
@@ -1045,6 +1062,9 @@ export declare const SignalRequest: {
|
|
1045
1062
|
ssrc?: number | undefined;
|
1046
1063
|
}[] | undefined;
|
1047
1064
|
}[] | undefined;
|
1065
|
+
stereo?: boolean | undefined;
|
1066
|
+
disableRed?: boolean | undefined;
|
1067
|
+
encryption?: Encryption_Type | undefined;
|
1048
1068
|
} | undefined;
|
1049
1069
|
}[] | undefined;
|
1050
1070
|
dataChannels?: {
|
@@ -1133,6 +1153,9 @@ export declare const SignalRequest: {
|
|
1133
1153
|
ssrc?: number | undefined;
|
1134
1154
|
}[] | undefined;
|
1135
1155
|
}[] | undefined;
|
1156
|
+
stereo?: boolean | undefined;
|
1157
|
+
disableRed?: boolean | undefined;
|
1158
|
+
encryption?: Encryption_Type | undefined;
|
1136
1159
|
} | undefined;
|
1137
1160
|
}[] & ({
|
1138
1161
|
cid?: string | undefined;
|
@@ -1167,6 +1190,9 @@ export declare const SignalRequest: {
|
|
1167
1190
|
ssrc?: number | undefined;
|
1168
1191
|
}[] | undefined;
|
1169
1192
|
}[] | undefined;
|
1193
|
+
stereo?: boolean | undefined;
|
1194
|
+
disableRed?: boolean | undefined;
|
1195
|
+
encryption?: Encryption_Type | undefined;
|
1170
1196
|
} | undefined;
|
1171
1197
|
} & {
|
1172
1198
|
cid?: string | undefined;
|
@@ -1201,6 +1227,9 @@ export declare const SignalRequest: {
|
|
1201
1227
|
ssrc?: number | undefined;
|
1202
1228
|
}[] | undefined;
|
1203
1229
|
}[] | undefined;
|
1230
|
+
stereo?: boolean | undefined;
|
1231
|
+
disableRed?: boolean | undefined;
|
1232
|
+
encryption?: Encryption_Type | undefined;
|
1204
1233
|
} & {
|
1205
1234
|
sid?: string | undefined;
|
1206
1235
|
type?: TrackType | undefined;
|
@@ -1313,6 +1342,9 @@ export declare const SignalRequest: {
|
|
1313
1342
|
}[] | undefined;
|
1314
1343
|
}[]>]: never;
|
1315
1344
|
}) | undefined;
|
1345
|
+
stereo?: boolean | undefined;
|
1346
|
+
disableRed?: boolean | undefined;
|
1347
|
+
encryption?: Encryption_Type | undefined;
|
1316
1348
|
} & {
|
1317
1349
|
[K_46 in Exclude<keyof I["message"]["syncState"]["publishTracks"][number]["track"], keyof TrackInfo>]: never;
|
1318
1350
|
}) | undefined;
|
@@ -1352,6 +1384,9 @@ export declare const SignalRequest: {
|
|
1352
1384
|
ssrc?: number | undefined;
|
1353
1385
|
}[] | undefined;
|
1354
1386
|
}[] | undefined;
|
1387
|
+
stereo?: boolean | undefined;
|
1388
|
+
disableRed?: boolean | undefined;
|
1389
|
+
encryption?: Encryption_Type | undefined;
|
1355
1390
|
} | undefined;
|
1356
1391
|
}[]>]: never;
|
1357
1392
|
}) | undefined;
|
@@ -1565,6 +1600,9 @@ export declare const SignalResponse: {
|
|
1565
1600
|
ssrc?: number | undefined;
|
1566
1601
|
}[] | undefined;
|
1567
1602
|
}[] | undefined;
|
1603
|
+
stereo?: boolean | undefined;
|
1604
|
+
disableRed?: boolean | undefined;
|
1605
|
+
encryption?: Encryption_Type | undefined;
|
1568
1606
|
}[] | undefined;
|
1569
1607
|
metadata?: string | undefined;
|
1570
1608
|
joinedAt?: number | undefined;
|
@@ -1615,6 +1653,9 @@ export declare const SignalResponse: {
|
|
1615
1653
|
ssrc?: number | undefined;
|
1616
1654
|
}[] | undefined;
|
1617
1655
|
}[] | undefined;
|
1656
|
+
stereo?: boolean | undefined;
|
1657
|
+
disableRed?: boolean | undefined;
|
1658
|
+
encryption?: Encryption_Type | undefined;
|
1618
1659
|
}[] | undefined;
|
1619
1660
|
metadata?: string | undefined;
|
1620
1661
|
joinedAt?: number | undefined;
|
@@ -1726,6 +1767,9 @@ export declare const SignalResponse: {
|
|
1726
1767
|
ssrc?: number | undefined;
|
1727
1768
|
}[] | undefined;
|
1728
1769
|
}[] | undefined;
|
1770
|
+
stereo?: boolean | undefined;
|
1771
|
+
disableRed?: boolean | undefined;
|
1772
|
+
encryption?: Encryption_Type | undefined;
|
1729
1773
|
}[] | undefined;
|
1730
1774
|
metadata?: string | undefined;
|
1731
1775
|
joinedAt?: number | undefined;
|
@@ -1778,6 +1822,9 @@ export declare const SignalResponse: {
|
|
1778
1822
|
ssrc?: number | undefined;
|
1779
1823
|
}[] | undefined;
|
1780
1824
|
}[] | undefined;
|
1825
|
+
stereo?: boolean | undefined;
|
1826
|
+
disableRed?: boolean | undefined;
|
1827
|
+
encryption?: Encryption_Type | undefined;
|
1781
1828
|
} | undefined;
|
1782
1829
|
} | undefined;
|
1783
1830
|
} & {
|
@@ -1885,6 +1932,32 @@ export declare const SignalResponse: {
|
|
1885
1932
|
pong?: number | undefined;
|
1886
1933
|
} & {
|
1887
1934
|
$case: "pong";
|
1935
|
+
}) | ({
|
1936
|
+
reconnect?: {
|
1937
|
+
iceServers?: {
|
1938
|
+
urls?: string[] | undefined;
|
1939
|
+
username?: string | undefined;
|
1940
|
+
credential?: string | undefined;
|
1941
|
+
}[] | undefined;
|
1942
|
+
clientConfiguration?: {
|
1943
|
+
video?: {
|
1944
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
1945
|
+
} | undefined;
|
1946
|
+
screen?: {
|
1947
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
1948
|
+
} | undefined;
|
1949
|
+
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
1950
|
+
disabledCodecs?: {
|
1951
|
+
codecs?: {
|
1952
|
+
mime?: string | undefined;
|
1953
|
+
fmtpLine?: string | undefined;
|
1954
|
+
}[] | undefined;
|
1955
|
+
} | undefined;
|
1956
|
+
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
1957
|
+
} | undefined;
|
1958
|
+
} | undefined;
|
1959
|
+
} & {
|
1960
|
+
$case: "reconnect";
|
1888
1961
|
}) | undefined;
|
1889
1962
|
} & {
|
1890
1963
|
message?: ({
|
@@ -1939,6 +2012,9 @@ export declare const SignalResponse: {
|
|
1939
2012
|
ssrc?: number | undefined;
|
1940
2013
|
}[] | undefined;
|
1941
2014
|
}[] | undefined;
|
2015
|
+
stereo?: boolean | undefined;
|
2016
|
+
disableRed?: boolean | undefined;
|
2017
|
+
encryption?: Encryption_Type | undefined;
|
1942
2018
|
}[] | undefined;
|
1943
2019
|
metadata?: string | undefined;
|
1944
2020
|
joinedAt?: number | undefined;
|
@@ -1989,6 +2065,9 @@ export declare const SignalResponse: {
|
|
1989
2065
|
ssrc?: number | undefined;
|
1990
2066
|
}[] | undefined;
|
1991
2067
|
}[] | undefined;
|
2068
|
+
stereo?: boolean | undefined;
|
2069
|
+
disableRed?: boolean | undefined;
|
2070
|
+
encryption?: Encryption_Type | undefined;
|
1992
2071
|
}[] | undefined;
|
1993
2072
|
metadata?: string | undefined;
|
1994
2073
|
joinedAt?: number | undefined;
|
@@ -2094,6 +2173,9 @@ export declare const SignalResponse: {
|
|
2094
2173
|
ssrc?: number | undefined;
|
2095
2174
|
}[] | undefined;
|
2096
2175
|
}[] | undefined;
|
2176
|
+
stereo?: boolean | undefined;
|
2177
|
+
disableRed?: boolean | undefined;
|
2178
|
+
encryption?: Encryption_Type | undefined;
|
2097
2179
|
}[] | undefined;
|
2098
2180
|
metadata?: string | undefined;
|
2099
2181
|
joinedAt?: number | undefined;
|
@@ -2144,6 +2226,9 @@ export declare const SignalResponse: {
|
|
2144
2226
|
ssrc?: number | undefined;
|
2145
2227
|
}[] | undefined;
|
2146
2228
|
}[] | undefined;
|
2229
|
+
stereo?: boolean | undefined;
|
2230
|
+
disableRed?: boolean | undefined;
|
2231
|
+
encryption?: Encryption_Type | undefined;
|
2147
2232
|
}[] | undefined;
|
2148
2233
|
metadata?: string | undefined;
|
2149
2234
|
joinedAt?: number | undefined;
|
@@ -2274,6 +2359,9 @@ export declare const SignalResponse: {
|
|
2274
2359
|
ssrc?: number | undefined;
|
2275
2360
|
}[] | undefined;
|
2276
2361
|
}[] | undefined;
|
2362
|
+
stereo?: boolean | undefined;
|
2363
|
+
disableRed?: boolean | undefined;
|
2364
|
+
encryption?: Encryption_Type | undefined;
|
2277
2365
|
}[] | undefined;
|
2278
2366
|
metadata?: string | undefined;
|
2279
2367
|
joinedAt?: number | undefined;
|
@@ -2323,6 +2411,9 @@ export declare const SignalResponse: {
|
|
2323
2411
|
ssrc?: number | undefined;
|
2324
2412
|
}[] | undefined;
|
2325
2413
|
}[] | undefined;
|
2414
|
+
stereo?: boolean | undefined;
|
2415
|
+
disableRed?: boolean | undefined;
|
2416
|
+
encryption?: Encryption_Type | undefined;
|
2326
2417
|
}[] & ({
|
2327
2418
|
sid?: string | undefined;
|
2328
2419
|
type?: TrackType | undefined;
|
@@ -2354,6 +2445,9 @@ export declare const SignalResponse: {
|
|
2354
2445
|
ssrc?: number | undefined;
|
2355
2446
|
}[] | undefined;
|
2356
2447
|
}[] | undefined;
|
2448
|
+
stereo?: boolean | undefined;
|
2449
|
+
disableRed?: boolean | undefined;
|
2450
|
+
encryption?: Encryption_Type | undefined;
|
2357
2451
|
} & {
|
2358
2452
|
sid?: string | undefined;
|
2359
2453
|
type?: TrackType | undefined;
|
@@ -2466,6 +2560,9 @@ export declare const SignalResponse: {
|
|
2466
2560
|
}[] | undefined;
|
2467
2561
|
}[]>]: never;
|
2468
2562
|
}) | undefined;
|
2563
|
+
stereo?: boolean | undefined;
|
2564
|
+
disableRed?: boolean | undefined;
|
2565
|
+
encryption?: Encryption_Type | undefined;
|
2469
2566
|
} & {
|
2470
2567
|
[K_9 in Exclude<keyof I["message"]["join"]["participant"]["tracks"][number], keyof TrackInfo>]: never;
|
2471
2568
|
})[] & {
|
@@ -2500,6 +2597,9 @@ export declare const SignalResponse: {
|
|
2500
2597
|
ssrc?: number | undefined;
|
2501
2598
|
}[] | undefined;
|
2502
2599
|
}[] | undefined;
|
2600
|
+
stereo?: boolean | undefined;
|
2601
|
+
disableRed?: boolean | undefined;
|
2602
|
+
encryption?: Encryption_Type | undefined;
|
2503
2603
|
}[]>]: never;
|
2504
2604
|
}) | undefined;
|
2505
2605
|
metadata?: string | undefined;
|
@@ -2561,6 +2661,9 @@ export declare const SignalResponse: {
|
|
2561
2661
|
ssrc?: number | undefined;
|
2562
2662
|
}[] | undefined;
|
2563
2663
|
}[] | undefined;
|
2664
|
+
stereo?: boolean | undefined;
|
2665
|
+
disableRed?: boolean | undefined;
|
2666
|
+
encryption?: Encryption_Type | undefined;
|
2564
2667
|
}[] | undefined;
|
2565
2668
|
metadata?: string | undefined;
|
2566
2669
|
joinedAt?: number | undefined;
|
@@ -2610,6 +2713,9 @@ export declare const SignalResponse: {
|
|
2610
2713
|
ssrc?: number | undefined;
|
2611
2714
|
}[] | undefined;
|
2612
2715
|
}[] | undefined;
|
2716
|
+
stereo?: boolean | undefined;
|
2717
|
+
disableRed?: boolean | undefined;
|
2718
|
+
encryption?: Encryption_Type | undefined;
|
2613
2719
|
}[] | undefined;
|
2614
2720
|
metadata?: string | undefined;
|
2615
2721
|
joinedAt?: number | undefined;
|
@@ -2659,6 +2765,9 @@ export declare const SignalResponse: {
|
|
2659
2765
|
ssrc?: number | undefined;
|
2660
2766
|
}[] | undefined;
|
2661
2767
|
}[] | undefined;
|
2768
|
+
stereo?: boolean | undefined;
|
2769
|
+
disableRed?: boolean | undefined;
|
2770
|
+
encryption?: Encryption_Type | undefined;
|
2662
2771
|
}[] & ({
|
2663
2772
|
sid?: string | undefined;
|
2664
2773
|
type?: TrackType | undefined;
|
@@ -2690,6 +2799,9 @@ export declare const SignalResponse: {
|
|
2690
2799
|
ssrc?: number | undefined;
|
2691
2800
|
}[] | undefined;
|
2692
2801
|
}[] | undefined;
|
2802
|
+
stereo?: boolean | undefined;
|
2803
|
+
disableRed?: boolean | undefined;
|
2804
|
+
encryption?: Encryption_Type | undefined;
|
2693
2805
|
} & {
|
2694
2806
|
sid?: string | undefined;
|
2695
2807
|
type?: TrackType | undefined;
|
@@ -2802,6 +2914,9 @@ export declare const SignalResponse: {
|
|
2802
2914
|
}[] | undefined;
|
2803
2915
|
}[]>]: never;
|
2804
2916
|
}) | undefined;
|
2917
|
+
stereo?: boolean | undefined;
|
2918
|
+
disableRed?: boolean | undefined;
|
2919
|
+
encryption?: Encryption_Type | undefined;
|
2805
2920
|
} & {
|
2806
2921
|
[K_19 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
|
2807
2922
|
})[] & {
|
@@ -2836,6 +2951,9 @@ export declare const SignalResponse: {
|
|
2836
2951
|
ssrc?: number | undefined;
|
2837
2952
|
}[] | undefined;
|
2838
2953
|
}[] | undefined;
|
2954
|
+
stereo?: boolean | undefined;
|
2955
|
+
disableRed?: boolean | undefined;
|
2956
|
+
encryption?: Encryption_Type | undefined;
|
2839
2957
|
}[]>]: never;
|
2840
2958
|
}) | undefined;
|
2841
2959
|
metadata?: string | undefined;
|
@@ -2897,6 +3015,9 @@ export declare const SignalResponse: {
|
|
2897
3015
|
ssrc?: number | undefined;
|
2898
3016
|
}[] | undefined;
|
2899
3017
|
}[] | undefined;
|
3018
|
+
stereo?: boolean | undefined;
|
3019
|
+
disableRed?: boolean | undefined;
|
3020
|
+
encryption?: Encryption_Type | undefined;
|
2900
3021
|
}[] | undefined;
|
2901
3022
|
metadata?: string | undefined;
|
2902
3023
|
joinedAt?: number | undefined;
|
@@ -3123,6 +3244,9 @@ export declare const SignalResponse: {
|
|
3123
3244
|
ssrc?: number | undefined;
|
3124
3245
|
}[] | undefined;
|
3125
3246
|
}[] | undefined;
|
3247
|
+
stereo?: boolean | undefined;
|
3248
|
+
disableRed?: boolean | undefined;
|
3249
|
+
encryption?: Encryption_Type | undefined;
|
3126
3250
|
}[] | undefined;
|
3127
3251
|
metadata?: string | undefined;
|
3128
3252
|
joinedAt?: number | undefined;
|
@@ -3178,6 +3302,9 @@ export declare const SignalResponse: {
|
|
3178
3302
|
ssrc?: number | undefined;
|
3179
3303
|
}[] | undefined;
|
3180
3304
|
}[] | undefined;
|
3305
|
+
stereo?: boolean | undefined;
|
3306
|
+
disableRed?: boolean | undefined;
|
3307
|
+
encryption?: Encryption_Type | undefined;
|
3181
3308
|
}[] | undefined;
|
3182
3309
|
metadata?: string | undefined;
|
3183
3310
|
joinedAt?: number | undefined;
|
@@ -3229,6 +3356,9 @@ export declare const SignalResponse: {
|
|
3229
3356
|
ssrc?: number | undefined;
|
3230
3357
|
}[] | undefined;
|
3231
3358
|
}[] | undefined;
|
3359
|
+
stereo?: boolean | undefined;
|
3360
|
+
disableRed?: boolean | undefined;
|
3361
|
+
encryption?: Encryption_Type | undefined;
|
3232
3362
|
}[] | undefined;
|
3233
3363
|
metadata?: string | undefined;
|
3234
3364
|
joinedAt?: number | undefined;
|
@@ -3278,6 +3408,9 @@ export declare const SignalResponse: {
|
|
3278
3408
|
ssrc?: number | undefined;
|
3279
3409
|
}[] | undefined;
|
3280
3410
|
}[] | undefined;
|
3411
|
+
stereo?: boolean | undefined;
|
3412
|
+
disableRed?: boolean | undefined;
|
3413
|
+
encryption?: Encryption_Type | undefined;
|
3281
3414
|
}[] | undefined;
|
3282
3415
|
metadata?: string | undefined;
|
3283
3416
|
joinedAt?: number | undefined;
|
@@ -3327,6 +3460,9 @@ export declare const SignalResponse: {
|
|
3327
3460
|
ssrc?: number | undefined;
|
3328
3461
|
}[] | undefined;
|
3329
3462
|
}[] | undefined;
|
3463
|
+
stereo?: boolean | undefined;
|
3464
|
+
disableRed?: boolean | undefined;
|
3465
|
+
encryption?: Encryption_Type | undefined;
|
3330
3466
|
}[] & ({
|
3331
3467
|
sid?: string | undefined;
|
3332
3468
|
type?: TrackType | undefined;
|
@@ -3358,6 +3494,9 @@ export declare const SignalResponse: {
|
|
3358
3494
|
ssrc?: number | undefined;
|
3359
3495
|
}[] | undefined;
|
3360
3496
|
}[] | undefined;
|
3497
|
+
stereo?: boolean | undefined;
|
3498
|
+
disableRed?: boolean | undefined;
|
3499
|
+
encryption?: Encryption_Type | undefined;
|
3361
3500
|
} & {
|
3362
3501
|
sid?: string | undefined;
|
3363
3502
|
type?: TrackType | undefined;
|
@@ -3470,6 +3609,9 @@ export declare const SignalResponse: {
|
|
3470
3609
|
}[] | undefined;
|
3471
3610
|
}[]>]: never;
|
3472
3611
|
}) | undefined;
|
3612
|
+
stereo?: boolean | undefined;
|
3613
|
+
disableRed?: boolean | undefined;
|
3614
|
+
encryption?: Encryption_Type | undefined;
|
3473
3615
|
} & {
|
3474
3616
|
[K_48 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number], keyof TrackInfo>]: never;
|
3475
3617
|
})[] & {
|
@@ -3504,6 +3646,9 @@ export declare const SignalResponse: {
|
|
3504
3646
|
ssrc?: number | undefined;
|
3505
3647
|
}[] | undefined;
|
3506
3648
|
}[] | undefined;
|
3649
|
+
stereo?: boolean | undefined;
|
3650
|
+
disableRed?: boolean | undefined;
|
3651
|
+
encryption?: Encryption_Type | undefined;
|
3507
3652
|
}[]>]: never;
|
3508
3653
|
}) | undefined;
|
3509
3654
|
metadata?: string | undefined;
|
@@ -3565,6 +3710,9 @@ export declare const SignalResponse: {
|
|
3565
3710
|
ssrc?: number | undefined;
|
3566
3711
|
}[] | undefined;
|
3567
3712
|
}[] | undefined;
|
3713
|
+
stereo?: boolean | undefined;
|
3714
|
+
disableRed?: boolean | undefined;
|
3715
|
+
encryption?: Encryption_Type | undefined;
|
3568
3716
|
}[] | undefined;
|
3569
3717
|
metadata?: string | undefined;
|
3570
3718
|
joinedAt?: number | undefined;
|
@@ -3621,6 +3769,9 @@ export declare const SignalResponse: {
|
|
3621
3769
|
ssrc?: number | undefined;
|
3622
3770
|
}[] | undefined;
|
3623
3771
|
}[] | undefined;
|
3772
|
+
stereo?: boolean | undefined;
|
3773
|
+
disableRed?: boolean | undefined;
|
3774
|
+
encryption?: Encryption_Type | undefined;
|
3624
3775
|
} | undefined;
|
3625
3776
|
} | undefined;
|
3626
3777
|
} & {
|
@@ -3659,6 +3810,9 @@ export declare const SignalResponse: {
|
|
3659
3810
|
ssrc?: number | undefined;
|
3660
3811
|
}[] | undefined;
|
3661
3812
|
}[] | undefined;
|
3813
|
+
stereo?: boolean | undefined;
|
3814
|
+
disableRed?: boolean | undefined;
|
3815
|
+
encryption?: Encryption_Type | undefined;
|
3662
3816
|
} | undefined;
|
3663
3817
|
} & {
|
3664
3818
|
cid?: string | undefined;
|
@@ -3693,6 +3847,9 @@ export declare const SignalResponse: {
|
|
3693
3847
|
ssrc?: number | undefined;
|
3694
3848
|
}[] | undefined;
|
3695
3849
|
}[] | undefined;
|
3850
|
+
stereo?: boolean | undefined;
|
3851
|
+
disableRed?: boolean | undefined;
|
3852
|
+
encryption?: Encryption_Type | undefined;
|
3696
3853
|
} & {
|
3697
3854
|
sid?: string | undefined;
|
3698
3855
|
type?: TrackType | undefined;
|
@@ -3805,6 +3962,9 @@ export declare const SignalResponse: {
|
|
3805
3962
|
}[] | undefined;
|
3806
3963
|
}[]>]: never;
|
3807
3964
|
}) | undefined;
|
3965
|
+
stereo?: boolean | undefined;
|
3966
|
+
disableRed?: boolean | undefined;
|
3967
|
+
encryption?: Encryption_Type | undefined;
|
3808
3968
|
} & {
|
3809
3969
|
[K_61 in Exclude<keyof I["message"]["trackPublished"]["track"], keyof TrackInfo>]: never;
|
3810
3970
|
}) | undefined;
|
@@ -4233,9 +4393,149 @@ export declare const SignalResponse: {
|
|
4233
4393
|
$case: "pong";
|
4234
4394
|
} & {
|
4235
4395
|
[K_98 in Exclude<keyof I["message"], "pong" | "$case">]: never;
|
4396
|
+
}) | ({
|
4397
|
+
reconnect?: {
|
4398
|
+
iceServers?: {
|
4399
|
+
urls?: string[] | undefined;
|
4400
|
+
username?: string | undefined;
|
4401
|
+
credential?: string | undefined;
|
4402
|
+
}[] | undefined;
|
4403
|
+
clientConfiguration?: {
|
4404
|
+
video?: {
|
4405
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4406
|
+
} | undefined;
|
4407
|
+
screen?: {
|
4408
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4409
|
+
} | undefined;
|
4410
|
+
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
4411
|
+
disabledCodecs?: {
|
4412
|
+
codecs?: {
|
4413
|
+
mime?: string | undefined;
|
4414
|
+
fmtpLine?: string | undefined;
|
4415
|
+
}[] | undefined;
|
4416
|
+
} | undefined;
|
4417
|
+
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
4418
|
+
} | undefined;
|
4419
|
+
} | undefined;
|
4420
|
+
} & {
|
4421
|
+
$case: "reconnect";
|
4422
|
+
} & {
|
4423
|
+
reconnect?: ({
|
4424
|
+
iceServers?: {
|
4425
|
+
urls?: string[] | undefined;
|
4426
|
+
username?: string | undefined;
|
4427
|
+
credential?: string | undefined;
|
4428
|
+
}[] | undefined;
|
4429
|
+
clientConfiguration?: {
|
4430
|
+
video?: {
|
4431
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4432
|
+
} | undefined;
|
4433
|
+
screen?: {
|
4434
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4435
|
+
} | undefined;
|
4436
|
+
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
4437
|
+
disabledCodecs?: {
|
4438
|
+
codecs?: {
|
4439
|
+
mime?: string | undefined;
|
4440
|
+
fmtpLine?: string | undefined;
|
4441
|
+
}[] | undefined;
|
4442
|
+
} | undefined;
|
4443
|
+
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
4444
|
+
} | undefined;
|
4445
|
+
} & {
|
4446
|
+
iceServers?: ({
|
4447
|
+
urls?: string[] | undefined;
|
4448
|
+
username?: string | undefined;
|
4449
|
+
credential?: string | undefined;
|
4450
|
+
}[] & ({
|
4451
|
+
urls?: string[] | undefined;
|
4452
|
+
username?: string | undefined;
|
4453
|
+
credential?: string | undefined;
|
4454
|
+
} & {
|
4455
|
+
urls?: (string[] & string[] & {
|
4456
|
+
[K_99 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number]["urls"], keyof string[]>]: never;
|
4457
|
+
}) | undefined;
|
4458
|
+
username?: string | undefined;
|
4459
|
+
credential?: string | undefined;
|
4460
|
+
} & {
|
4461
|
+
[K_100 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number], keyof ICEServer>]: never;
|
4462
|
+
})[] & {
|
4463
|
+
[K_101 in Exclude<keyof I["message"]["reconnect"]["iceServers"], keyof {
|
4464
|
+
urls?: string[] | undefined;
|
4465
|
+
username?: string | undefined;
|
4466
|
+
credential?: string | undefined;
|
4467
|
+
}[]>]: never;
|
4468
|
+
}) | undefined;
|
4469
|
+
clientConfiguration?: ({
|
4470
|
+
video?: {
|
4471
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4472
|
+
} | undefined;
|
4473
|
+
screen?: {
|
4474
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4475
|
+
} | undefined;
|
4476
|
+
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
4477
|
+
disabledCodecs?: {
|
4478
|
+
codecs?: {
|
4479
|
+
mime?: string | undefined;
|
4480
|
+
fmtpLine?: string | undefined;
|
4481
|
+
}[] | undefined;
|
4482
|
+
} | undefined;
|
4483
|
+
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
4484
|
+
} & {
|
4485
|
+
video?: ({
|
4486
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4487
|
+
} & {
|
4488
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4489
|
+
} & {
|
4490
|
+
[K_102 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["video"], "hardwareEncoder">]: never;
|
4491
|
+
}) | undefined;
|
4492
|
+
screen?: ({
|
4493
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4494
|
+
} & {
|
4495
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4496
|
+
} & {
|
4497
|
+
[K_103 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
|
4498
|
+
}) | undefined;
|
4499
|
+
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
4500
|
+
disabledCodecs?: ({
|
4501
|
+
codecs?: {
|
4502
|
+
mime?: string | undefined;
|
4503
|
+
fmtpLine?: string | undefined;
|
4504
|
+
}[] | undefined;
|
4505
|
+
} & {
|
4506
|
+
codecs?: ({
|
4507
|
+
mime?: string | undefined;
|
4508
|
+
fmtpLine?: string | undefined;
|
4509
|
+
}[] & ({
|
4510
|
+
mime?: string | undefined;
|
4511
|
+
fmtpLine?: string | undefined;
|
4512
|
+
} & {
|
4513
|
+
mime?: string | undefined;
|
4514
|
+
fmtpLine?: string | undefined;
|
4515
|
+
} & {
|
4516
|
+
[K_104 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
|
4517
|
+
})[] & {
|
4518
|
+
[K_105 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
|
4519
|
+
mime?: string | undefined;
|
4520
|
+
fmtpLine?: string | undefined;
|
4521
|
+
}[]>]: never;
|
4522
|
+
}) | undefined;
|
4523
|
+
} & {
|
4524
|
+
[K_106 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
|
4525
|
+
}) | undefined;
|
4526
|
+
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
4527
|
+
} & {
|
4528
|
+
[K_107 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"], keyof ClientConfiguration>]: never;
|
4529
|
+
}) | undefined;
|
4530
|
+
} & {
|
4531
|
+
[K_108 in Exclude<keyof I["message"]["reconnect"], keyof ReconnectResponse>]: never;
|
4532
|
+
}) | undefined;
|
4533
|
+
$case: "reconnect";
|
4534
|
+
} & {
|
4535
|
+
[K_109 in Exclude<keyof I["message"], "reconnect" | "$case">]: never;
|
4236
4536
|
}) | undefined;
|
4237
4537
|
} & {
|
4238
|
-
[
|
4538
|
+
[K_110 in Exclude<keyof I, "message">]: never;
|
4239
4539
|
}>(object: I): SignalResponse;
|
4240
4540
|
};
|
4241
4541
|
export declare const SimulcastCodec: {
|
@@ -4284,6 +4584,7 @@ export declare const AddTrackRequest: {
|
|
4284
4584
|
sid?: string | undefined;
|
4285
4585
|
stereo?: boolean | undefined;
|
4286
4586
|
disableRed?: boolean | undefined;
|
4587
|
+
encryption?: Encryption_Type | undefined;
|
4287
4588
|
} & {
|
4288
4589
|
cid?: string | undefined;
|
4289
4590
|
name?: string | undefined;
|
@@ -4346,6 +4647,7 @@ export declare const AddTrackRequest: {
|
|
4346
4647
|
sid?: string | undefined;
|
4347
4648
|
stereo?: boolean | undefined;
|
4348
4649
|
disableRed?: boolean | undefined;
|
4650
|
+
encryption?: Encryption_Type | undefined;
|
4349
4651
|
} & {
|
4350
4652
|
[K_4 in Exclude<keyof I, keyof AddTrackRequest>]: never;
|
4351
4653
|
}>(object: I): AddTrackRequest;
|
@@ -4436,6 +4738,9 @@ export declare const JoinResponse: {
|
|
4436
4738
|
ssrc?: number | undefined;
|
4437
4739
|
}[] | undefined;
|
4438
4740
|
}[] | undefined;
|
4741
|
+
stereo?: boolean | undefined;
|
4742
|
+
disableRed?: boolean | undefined;
|
4743
|
+
encryption?: Encryption_Type | undefined;
|
4439
4744
|
}[] | undefined;
|
4440
4745
|
metadata?: string | undefined;
|
4441
4746
|
joinedAt?: number | undefined;
|
@@ -4486,6 +4791,9 @@ export declare const JoinResponse: {
|
|
4486
4791
|
ssrc?: number | undefined;
|
4487
4792
|
}[] | undefined;
|
4488
4793
|
}[] | undefined;
|
4794
|
+
stereo?: boolean | undefined;
|
4795
|
+
disableRed?: boolean | undefined;
|
4796
|
+
encryption?: Encryption_Type | undefined;
|
4489
4797
|
}[] | undefined;
|
4490
4798
|
metadata?: string | undefined;
|
4491
4799
|
joinedAt?: number | undefined;
|
@@ -4616,6 +4924,9 @@ export declare const JoinResponse: {
|
|
4616
4924
|
ssrc?: number | undefined;
|
4617
4925
|
}[] | undefined;
|
4618
4926
|
}[] | undefined;
|
4927
|
+
stereo?: boolean | undefined;
|
4928
|
+
disableRed?: boolean | undefined;
|
4929
|
+
encryption?: Encryption_Type | undefined;
|
4619
4930
|
}[] | undefined;
|
4620
4931
|
metadata?: string | undefined;
|
4621
4932
|
joinedAt?: number | undefined;
|
@@ -4665,6 +4976,9 @@ export declare const JoinResponse: {
|
|
4665
4976
|
ssrc?: number | undefined;
|
4666
4977
|
}[] | undefined;
|
4667
4978
|
}[] | undefined;
|
4979
|
+
stereo?: boolean | undefined;
|
4980
|
+
disableRed?: boolean | undefined;
|
4981
|
+
encryption?: Encryption_Type | undefined;
|
4668
4982
|
}[] & ({
|
4669
4983
|
sid?: string | undefined;
|
4670
4984
|
type?: TrackType | undefined;
|
@@ -4696,6 +5010,9 @@ export declare const JoinResponse: {
|
|
4696
5010
|
ssrc?: number | undefined;
|
4697
5011
|
}[] | undefined;
|
4698
5012
|
}[] | undefined;
|
5013
|
+
stereo?: boolean | undefined;
|
5014
|
+
disableRed?: boolean | undefined;
|
5015
|
+
encryption?: Encryption_Type | undefined;
|
4699
5016
|
} & {
|
4700
5017
|
sid?: string | undefined;
|
4701
5018
|
type?: TrackType | undefined;
|
@@ -4808,6 +5125,9 @@ export declare const JoinResponse: {
|
|
4808
5125
|
}[] | undefined;
|
4809
5126
|
}[]>]: never;
|
4810
5127
|
}) | undefined;
|
5128
|
+
stereo?: boolean | undefined;
|
5129
|
+
disableRed?: boolean | undefined;
|
5130
|
+
encryption?: Encryption_Type | undefined;
|
4811
5131
|
} & {
|
4812
5132
|
[K_9 in Exclude<keyof I["participant"]["tracks"][number], keyof TrackInfo>]: never;
|
4813
5133
|
})[] & {
|
@@ -4842,6 +5162,9 @@ export declare const JoinResponse: {
|
|
4842
5162
|
ssrc?: number | undefined;
|
4843
5163
|
}[] | undefined;
|
4844
5164
|
}[] | undefined;
|
5165
|
+
stereo?: boolean | undefined;
|
5166
|
+
disableRed?: boolean | undefined;
|
5167
|
+
encryption?: Encryption_Type | undefined;
|
4845
5168
|
}[]>]: never;
|
4846
5169
|
}) | undefined;
|
4847
5170
|
metadata?: string | undefined;
|
@@ -4903,6 +5226,9 @@ export declare const JoinResponse: {
|
|
4903
5226
|
ssrc?: number | undefined;
|
4904
5227
|
}[] | undefined;
|
4905
5228
|
}[] | undefined;
|
5229
|
+
stereo?: boolean | undefined;
|
5230
|
+
disableRed?: boolean | undefined;
|
5231
|
+
encryption?: Encryption_Type | undefined;
|
4906
5232
|
}[] | undefined;
|
4907
5233
|
metadata?: string | undefined;
|
4908
5234
|
joinedAt?: number | undefined;
|
@@ -4952,6 +5278,9 @@ export declare const JoinResponse: {
|
|
4952
5278
|
ssrc?: number | undefined;
|
4953
5279
|
}[] | undefined;
|
4954
5280
|
}[] | undefined;
|
5281
|
+
stereo?: boolean | undefined;
|
5282
|
+
disableRed?: boolean | undefined;
|
5283
|
+
encryption?: Encryption_Type | undefined;
|
4955
5284
|
}[] | undefined;
|
4956
5285
|
metadata?: string | undefined;
|
4957
5286
|
joinedAt?: number | undefined;
|
@@ -5001,6 +5330,9 @@ export declare const JoinResponse: {
|
|
5001
5330
|
ssrc?: number | undefined;
|
5002
5331
|
}[] | undefined;
|
5003
5332
|
}[] | undefined;
|
5333
|
+
stereo?: boolean | undefined;
|
5334
|
+
disableRed?: boolean | undefined;
|
5335
|
+
encryption?: Encryption_Type | undefined;
|
5004
5336
|
}[] & ({
|
5005
5337
|
sid?: string | undefined;
|
5006
5338
|
type?: TrackType | undefined;
|
@@ -5032,6 +5364,9 @@ export declare const JoinResponse: {
|
|
5032
5364
|
ssrc?: number | undefined;
|
5033
5365
|
}[] | undefined;
|
5034
5366
|
}[] | undefined;
|
5367
|
+
stereo?: boolean | undefined;
|
5368
|
+
disableRed?: boolean | undefined;
|
5369
|
+
encryption?: Encryption_Type | undefined;
|
5035
5370
|
} & {
|
5036
5371
|
sid?: string | undefined;
|
5037
5372
|
type?: TrackType | undefined;
|
@@ -5144,6 +5479,9 @@ export declare const JoinResponse: {
|
|
5144
5479
|
}[] | undefined;
|
5145
5480
|
}[]>]: never;
|
5146
5481
|
}) | undefined;
|
5482
|
+
stereo?: boolean | undefined;
|
5483
|
+
disableRed?: boolean | undefined;
|
5484
|
+
encryption?: Encryption_Type | undefined;
|
5147
5485
|
} & {
|
5148
5486
|
[K_19 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
|
5149
5487
|
})[] & {
|
@@ -5178,6 +5516,9 @@ export declare const JoinResponse: {
|
|
5178
5516
|
ssrc?: number | undefined;
|
5179
5517
|
}[] | undefined;
|
5180
5518
|
}[] | undefined;
|
5519
|
+
stereo?: boolean | undefined;
|
5520
|
+
disableRed?: boolean | undefined;
|
5521
|
+
encryption?: Encryption_Type | undefined;
|
5181
5522
|
}[]>]: never;
|
5182
5523
|
}) | undefined;
|
5183
5524
|
metadata?: string | undefined;
|
@@ -5239,6 +5580,9 @@ export declare const JoinResponse: {
|
|
5239
5580
|
ssrc?: number | undefined;
|
5240
5581
|
}[] | undefined;
|
5241
5582
|
}[] | undefined;
|
5583
|
+
stereo?: boolean | undefined;
|
5584
|
+
disableRed?: boolean | undefined;
|
5585
|
+
encryption?: Encryption_Type | undefined;
|
5242
5586
|
}[] | undefined;
|
5243
5587
|
metadata?: string | undefined;
|
5244
5588
|
joinedAt?: number | undefined;
|
@@ -5366,6 +5710,122 @@ export declare const JoinResponse: {
|
|
5366
5710
|
[K_34 in Exclude<keyof I, keyof JoinResponse>]: never;
|
5367
5711
|
}>(object: I): JoinResponse;
|
5368
5712
|
};
|
5713
|
+
export declare const ReconnectResponse: {
|
5714
|
+
encode(message: ReconnectResponse, writer?: _m0.Writer): _m0.Writer;
|
5715
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ReconnectResponse;
|
5716
|
+
fromJSON(object: any): ReconnectResponse;
|
5717
|
+
toJSON(message: ReconnectResponse): unknown;
|
5718
|
+
fromPartial<I extends {
|
5719
|
+
iceServers?: {
|
5720
|
+
urls?: string[] | undefined;
|
5721
|
+
username?: string | undefined;
|
5722
|
+
credential?: string | undefined;
|
5723
|
+
}[] | undefined;
|
5724
|
+
clientConfiguration?: {
|
5725
|
+
video?: {
|
5726
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5727
|
+
} | undefined;
|
5728
|
+
screen?: {
|
5729
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5730
|
+
} | undefined;
|
5731
|
+
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
5732
|
+
disabledCodecs?: {
|
5733
|
+
codecs?: {
|
5734
|
+
mime?: string | undefined;
|
5735
|
+
fmtpLine?: string | undefined;
|
5736
|
+
}[] | undefined;
|
5737
|
+
} | undefined;
|
5738
|
+
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
5739
|
+
} | undefined;
|
5740
|
+
} & {
|
5741
|
+
iceServers?: ({
|
5742
|
+
urls?: string[] | undefined;
|
5743
|
+
username?: string | undefined;
|
5744
|
+
credential?: string | undefined;
|
5745
|
+
}[] & ({
|
5746
|
+
urls?: string[] | undefined;
|
5747
|
+
username?: string | undefined;
|
5748
|
+
credential?: string | undefined;
|
5749
|
+
} & {
|
5750
|
+
urls?: (string[] & string[] & {
|
5751
|
+
[K in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never;
|
5752
|
+
}) | undefined;
|
5753
|
+
username?: string | undefined;
|
5754
|
+
credential?: string | undefined;
|
5755
|
+
} & {
|
5756
|
+
[K_1 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never;
|
5757
|
+
})[] & {
|
5758
|
+
[K_2 in Exclude<keyof I["iceServers"], keyof {
|
5759
|
+
urls?: string[] | undefined;
|
5760
|
+
username?: string | undefined;
|
5761
|
+
credential?: string | undefined;
|
5762
|
+
}[]>]: never;
|
5763
|
+
}) | undefined;
|
5764
|
+
clientConfiguration?: ({
|
5765
|
+
video?: {
|
5766
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5767
|
+
} | undefined;
|
5768
|
+
screen?: {
|
5769
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5770
|
+
} | undefined;
|
5771
|
+
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
5772
|
+
disabledCodecs?: {
|
5773
|
+
codecs?: {
|
5774
|
+
mime?: string | undefined;
|
5775
|
+
fmtpLine?: string | undefined;
|
5776
|
+
}[] | undefined;
|
5777
|
+
} | undefined;
|
5778
|
+
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
5779
|
+
} & {
|
5780
|
+
video?: ({
|
5781
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5782
|
+
} & {
|
5783
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5784
|
+
} & {
|
5785
|
+
[K_3 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never;
|
5786
|
+
}) | undefined;
|
5787
|
+
screen?: ({
|
5788
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5789
|
+
} & {
|
5790
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5791
|
+
} & {
|
5792
|
+
[K_4 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
|
5793
|
+
}) | undefined;
|
5794
|
+
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
5795
|
+
disabledCodecs?: ({
|
5796
|
+
codecs?: {
|
5797
|
+
mime?: string | undefined;
|
5798
|
+
fmtpLine?: string | undefined;
|
5799
|
+
}[] | undefined;
|
5800
|
+
} & {
|
5801
|
+
codecs?: ({
|
5802
|
+
mime?: string | undefined;
|
5803
|
+
fmtpLine?: string | undefined;
|
5804
|
+
}[] & ({
|
5805
|
+
mime?: string | undefined;
|
5806
|
+
fmtpLine?: string | undefined;
|
5807
|
+
} & {
|
5808
|
+
mime?: string | undefined;
|
5809
|
+
fmtpLine?: string | undefined;
|
5810
|
+
} & {
|
5811
|
+
[K_5 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
|
5812
|
+
})[] & {
|
5813
|
+
[K_6 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
|
5814
|
+
mime?: string | undefined;
|
5815
|
+
fmtpLine?: string | undefined;
|
5816
|
+
}[]>]: never;
|
5817
|
+
}) | undefined;
|
5818
|
+
} & {
|
5819
|
+
[K_7 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
|
5820
|
+
}) | undefined;
|
5821
|
+
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
5822
|
+
} & {
|
5823
|
+
[K_8 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never;
|
5824
|
+
}) | undefined;
|
5825
|
+
} & {
|
5826
|
+
[K_9 in Exclude<keyof I, keyof ReconnectResponse>]: never;
|
5827
|
+
}>(object: I): ReconnectResponse;
|
5828
|
+
};
|
5369
5829
|
export declare const TrackPublishedResponse: {
|
5370
5830
|
encode(message: TrackPublishedResponse, writer?: _m0.Writer): _m0.Writer;
|
5371
5831
|
decode(input: _m0.Reader | Uint8Array, length?: number): TrackPublishedResponse;
|
@@ -5404,6 +5864,9 @@ export declare const TrackPublishedResponse: {
|
|
5404
5864
|
ssrc?: number | undefined;
|
5405
5865
|
}[] | undefined;
|
5406
5866
|
}[] | undefined;
|
5867
|
+
stereo?: boolean | undefined;
|
5868
|
+
disableRed?: boolean | undefined;
|
5869
|
+
encryption?: Encryption_Type | undefined;
|
5407
5870
|
} | undefined;
|
5408
5871
|
} & {
|
5409
5872
|
cid?: string | undefined;
|
@@ -5438,6 +5901,9 @@ export declare const TrackPublishedResponse: {
|
|
5438
5901
|
ssrc?: number | undefined;
|
5439
5902
|
}[] | undefined;
|
5440
5903
|
}[] | undefined;
|
5904
|
+
stereo?: boolean | undefined;
|
5905
|
+
disableRed?: boolean | undefined;
|
5906
|
+
encryption?: Encryption_Type | undefined;
|
5441
5907
|
} & {
|
5442
5908
|
sid?: string | undefined;
|
5443
5909
|
type?: TrackType | undefined;
|
@@ -5550,6 +6016,9 @@ export declare const TrackPublishedResponse: {
|
|
5550
6016
|
}[] | undefined;
|
5551
6017
|
}[]>]: never;
|
5552
6018
|
}) | undefined;
|
6019
|
+
stereo?: boolean | undefined;
|
6020
|
+
disableRed?: boolean | undefined;
|
6021
|
+
encryption?: Encryption_Type | undefined;
|
5553
6022
|
} & {
|
5554
6023
|
[K_6 in Exclude<keyof I["track"], keyof TrackInfo>]: never;
|
5555
6024
|
}) | undefined;
|
@@ -5626,6 +6095,9 @@ export declare const ParticipantUpdate: {
|
|
5626
6095
|
ssrc?: number | undefined;
|
5627
6096
|
}[] | undefined;
|
5628
6097
|
}[] | undefined;
|
6098
|
+
stereo?: boolean | undefined;
|
6099
|
+
disableRed?: boolean | undefined;
|
6100
|
+
encryption?: Encryption_Type | undefined;
|
5629
6101
|
}[] | undefined;
|
5630
6102
|
metadata?: string | undefined;
|
5631
6103
|
joinedAt?: number | undefined;
|
@@ -5677,6 +6149,9 @@ export declare const ParticipantUpdate: {
|
|
5677
6149
|
ssrc?: number | undefined;
|
5678
6150
|
}[] | undefined;
|
5679
6151
|
}[] | undefined;
|
6152
|
+
stereo?: boolean | undefined;
|
6153
|
+
disableRed?: boolean | undefined;
|
6154
|
+
encryption?: Encryption_Type | undefined;
|
5680
6155
|
}[] | undefined;
|
5681
6156
|
metadata?: string | undefined;
|
5682
6157
|
joinedAt?: number | undefined;
|
@@ -5726,6 +6201,9 @@ export declare const ParticipantUpdate: {
|
|
5726
6201
|
ssrc?: number | undefined;
|
5727
6202
|
}[] | undefined;
|
5728
6203
|
}[] | undefined;
|
6204
|
+
stereo?: boolean | undefined;
|
6205
|
+
disableRed?: boolean | undefined;
|
6206
|
+
encryption?: Encryption_Type | undefined;
|
5729
6207
|
}[] | undefined;
|
5730
6208
|
metadata?: string | undefined;
|
5731
6209
|
joinedAt?: number | undefined;
|
@@ -5775,6 +6253,9 @@ export declare const ParticipantUpdate: {
|
|
5775
6253
|
ssrc?: number | undefined;
|
5776
6254
|
}[] | undefined;
|
5777
6255
|
}[] | undefined;
|
6256
|
+
stereo?: boolean | undefined;
|
6257
|
+
disableRed?: boolean | undefined;
|
6258
|
+
encryption?: Encryption_Type | undefined;
|
5778
6259
|
}[] & ({
|
5779
6260
|
sid?: string | undefined;
|
5780
6261
|
type?: TrackType | undefined;
|
@@ -5806,6 +6287,9 @@ export declare const ParticipantUpdate: {
|
|
5806
6287
|
ssrc?: number | undefined;
|
5807
6288
|
}[] | undefined;
|
5808
6289
|
}[] | undefined;
|
6290
|
+
stereo?: boolean | undefined;
|
6291
|
+
disableRed?: boolean | undefined;
|
6292
|
+
encryption?: Encryption_Type | undefined;
|
5809
6293
|
} & {
|
5810
6294
|
sid?: string | undefined;
|
5811
6295
|
type?: TrackType | undefined;
|
@@ -5918,6 +6402,9 @@ export declare const ParticipantUpdate: {
|
|
5918
6402
|
}[] | undefined;
|
5919
6403
|
}[]>]: never;
|
5920
6404
|
}) | undefined;
|
6405
|
+
stereo?: boolean | undefined;
|
6406
|
+
disableRed?: boolean | undefined;
|
6407
|
+
encryption?: Encryption_Type | undefined;
|
5921
6408
|
} & {
|
5922
6409
|
[K_6 in Exclude<keyof I["participants"][number]["tracks"][number], keyof TrackInfo>]: never;
|
5923
6410
|
})[] & {
|
@@ -5952,6 +6439,9 @@ export declare const ParticipantUpdate: {
|
|
5952
6439
|
ssrc?: number | undefined;
|
5953
6440
|
}[] | undefined;
|
5954
6441
|
}[] | undefined;
|
6442
|
+
stereo?: boolean | undefined;
|
6443
|
+
disableRed?: boolean | undefined;
|
6444
|
+
encryption?: Encryption_Type | undefined;
|
5955
6445
|
}[]>]: never;
|
5956
6446
|
}) | undefined;
|
5957
6447
|
metadata?: string | undefined;
|
@@ -6013,6 +6503,9 @@ export declare const ParticipantUpdate: {
|
|
6013
6503
|
ssrc?: number | undefined;
|
6014
6504
|
}[] | undefined;
|
6015
6505
|
}[] | undefined;
|
6506
|
+
stereo?: boolean | undefined;
|
6507
|
+
disableRed?: boolean | undefined;
|
6508
|
+
encryption?: Encryption_Type | undefined;
|
6016
6509
|
}[] | undefined;
|
6017
6510
|
metadata?: string | undefined;
|
6018
6511
|
joinedAt?: number | undefined;
|
@@ -6663,6 +7156,9 @@ export declare const SyncState: {
|
|
6663
7156
|
ssrc?: number | undefined;
|
6664
7157
|
}[] | undefined;
|
6665
7158
|
}[] | undefined;
|
7159
|
+
stereo?: boolean | undefined;
|
7160
|
+
disableRed?: boolean | undefined;
|
7161
|
+
encryption?: Encryption_Type | undefined;
|
6666
7162
|
} | undefined;
|
6667
7163
|
}[] | undefined;
|
6668
7164
|
dataChannels?: {
|
@@ -6751,6 +7247,9 @@ export declare const SyncState: {
|
|
6751
7247
|
ssrc?: number | undefined;
|
6752
7248
|
}[] | undefined;
|
6753
7249
|
}[] | undefined;
|
7250
|
+
stereo?: boolean | undefined;
|
7251
|
+
disableRed?: boolean | undefined;
|
7252
|
+
encryption?: Encryption_Type | undefined;
|
6754
7253
|
} | undefined;
|
6755
7254
|
}[] & ({
|
6756
7255
|
cid?: string | undefined;
|
@@ -6785,6 +7284,9 @@ export declare const SyncState: {
|
|
6785
7284
|
ssrc?: number | undefined;
|
6786
7285
|
}[] | undefined;
|
6787
7286
|
}[] | undefined;
|
7287
|
+
stereo?: boolean | undefined;
|
7288
|
+
disableRed?: boolean | undefined;
|
7289
|
+
encryption?: Encryption_Type | undefined;
|
6788
7290
|
} | undefined;
|
6789
7291
|
} & {
|
6790
7292
|
cid?: string | undefined;
|
@@ -6819,6 +7321,9 @@ export declare const SyncState: {
|
|
6819
7321
|
ssrc?: number | undefined;
|
6820
7322
|
}[] | undefined;
|
6821
7323
|
}[] | undefined;
|
7324
|
+
stereo?: boolean | undefined;
|
7325
|
+
disableRed?: boolean | undefined;
|
7326
|
+
encryption?: Encryption_Type | undefined;
|
6822
7327
|
} & {
|
6823
7328
|
sid?: string | undefined;
|
6824
7329
|
type?: TrackType | undefined;
|
@@ -6931,6 +7436,9 @@ export declare const SyncState: {
|
|
6931
7436
|
}[] | undefined;
|
6932
7437
|
}[]>]: never;
|
6933
7438
|
}) | undefined;
|
7439
|
+
stereo?: boolean | undefined;
|
7440
|
+
disableRed?: boolean | undefined;
|
7441
|
+
encryption?: Encryption_Type | undefined;
|
6934
7442
|
} & {
|
6935
7443
|
[K_12 in Exclude<keyof I["publishTracks"][number]["track"], keyof TrackInfo>]: never;
|
6936
7444
|
}) | undefined;
|
@@ -6970,6 +7478,9 @@ export declare const SyncState: {
|
|
6970
7478
|
ssrc?: number | undefined;
|
6971
7479
|
}[] | undefined;
|
6972
7480
|
}[] | undefined;
|
7481
|
+
stereo?: boolean | undefined;
|
7482
|
+
disableRed?: boolean | undefined;
|
7483
|
+
encryption?: Encryption_Type | undefined;
|
6973
7484
|
} | undefined;
|
6974
7485
|
}[]>]: never;
|
6975
7486
|
}) | undefined;
|