livekit-client 1.6.4 → 1.6.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/livekit-client.esm.mjs +264 -33
- 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 +13 -2
- package/dist/src/api/SignalClient.d.ts.map +1 -1
- package/dist/src/proto/livekit_models.d.ts +10 -0
- package/dist/src/proto/livekit_models.d.ts.map +1 -1
- package/dist/src/proto/livekit_rtc.d.ts +2395 -384
- package/dist/src/proto/livekit_rtc.d.ts.map +1 -1
- package/dist/src/room/RTCEngine.d.ts.map +1 -1
- package/dist/src/room/Room.d.ts.map +1 -1
- package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
- package/dist/src/room/track/LocalAudioTrack.d.ts.map +1 -1
- package/dist/ts4.2/src/api/SignalClient.d.ts +13 -2
- package/dist/ts4.2/src/proto/livekit_models.d.ts +10 -0
- package/dist/ts4.2/src/proto/livekit_rtc.d.ts +2567 -440
- package/package.json +1 -1
- package/src/api/SignalClient.ts +41 -2
- package/src/proto/livekit_models.ts +51 -0
- package/src/proto/livekit_rtc.ts +210 -3
- package/src/room/RTCEngine.ts +35 -14
- package/src/room/Room.ts +8 -4
- package/src/room/participant/LocalParticipant.ts +7 -3
- package/src/room/track/LocalAudioTrack.ts +5 -1
@@ -66,6 +66,9 @@ export interface SignalRequest {
|
|
66
66
|
} | {
|
67
67
|
$case: "updateMetadata";
|
68
68
|
updateMetadata: UpdateParticipantMetadata;
|
69
|
+
} | {
|
70
|
+
$case: "pingReq";
|
71
|
+
pingReq: Ping;
|
69
72
|
};
|
70
73
|
}
|
71
74
|
export interface SignalResponse {
|
@@ -123,6 +126,9 @@ export interface SignalResponse {
|
|
123
126
|
} | {
|
124
127
|
$case: "reconnect";
|
125
128
|
reconnect: ReconnectResponse;
|
129
|
+
} | {
|
130
|
+
$case: "pongResp";
|
131
|
+
pongResp: Pong;
|
126
132
|
};
|
127
133
|
}
|
128
134
|
export interface SimulcastCodec {
|
@@ -184,6 +190,9 @@ export interface JoinResponse {
|
|
184
190
|
export interface ReconnectResponse {
|
185
191
|
iceServers: ICEServer[];
|
186
192
|
clientConfiguration?: ClientConfiguration;
|
193
|
+
room?: Room;
|
194
|
+
participant?: ParticipantInfo;
|
195
|
+
otherParticipants: ParticipantInfo[];
|
187
196
|
}
|
188
197
|
export interface TrackPublishedResponse {
|
189
198
|
cid: string;
|
@@ -331,6 +340,16 @@ export interface SimulateScenario {
|
|
331
340
|
switchCandidateProtocol: CandidateProtocol;
|
332
341
|
};
|
333
342
|
}
|
343
|
+
export interface Ping {
|
344
|
+
timestamp: number;
|
345
|
+
/** rtt in milliseconds calculated by client */
|
346
|
+
rtt: number;
|
347
|
+
}
|
348
|
+
export interface Pong {
|
349
|
+
/** timestamp field of last received ping request */
|
350
|
+
lastPingTimestamp: number;
|
351
|
+
timestamp: number;
|
352
|
+
}
|
334
353
|
export declare const SignalRequest: {
|
335
354
|
encode(message: SignalRequest, writer?: _m0.Writer): _m0.Writer;
|
336
355
|
decode(input: _m0.Reader | Uint8Array, length?: number): SignalRequest;
|
@@ -549,6 +568,13 @@ export declare const SignalRequest: {
|
|
549
568
|
} | undefined;
|
550
569
|
} & {
|
551
570
|
$case: "updateMetadata";
|
571
|
+
}) | ({
|
572
|
+
pingReq?: {
|
573
|
+
timestamp?: number | undefined;
|
574
|
+
rtt?: number | undefined;
|
575
|
+
} | undefined;
|
576
|
+
} & {
|
577
|
+
$case: "pingReq";
|
552
578
|
}) | undefined;
|
553
579
|
} & {
|
554
580
|
message?: ({
|
@@ -1452,8 +1478,24 @@ export declare const SignalRequest: {
|
|
1452
1478
|
metadata?: string | undefined;
|
1453
1479
|
} & { [K_62 in Exclude<keyof I["message"]["updateMetadata"], "metadata">]: never; }) | undefined;
|
1454
1480
|
$case: "updateMetadata";
|
1455
|
-
} & { [K_63 in Exclude<keyof I["message"], "updateMetadata" | "$case">]: never; }) |
|
1456
|
-
|
1481
|
+
} & { [K_63 in Exclude<keyof I["message"], "updateMetadata" | "$case">]: never; }) | ({
|
1482
|
+
pingReq?: {
|
1483
|
+
timestamp?: number | undefined;
|
1484
|
+
rtt?: number | undefined;
|
1485
|
+
} | undefined;
|
1486
|
+
} & {
|
1487
|
+
$case: "pingReq";
|
1488
|
+
} & {
|
1489
|
+
pingReq?: ({
|
1490
|
+
timestamp?: number | undefined;
|
1491
|
+
rtt?: number | undefined;
|
1492
|
+
} & {
|
1493
|
+
timestamp?: number | undefined;
|
1494
|
+
rtt?: number | undefined;
|
1495
|
+
} & { [K_64 in Exclude<keyof I["message"]["pingReq"], keyof Ping>]: never; }) | undefined;
|
1496
|
+
$case: "pingReq";
|
1497
|
+
} & { [K_65 in Exclude<keyof I["message"], "pingReq" | "$case">]: never; }) | undefined;
|
1498
|
+
} & { [K_66 in Exclude<keyof I, "message">]: never; }>(object: I): SignalRequest;
|
1457
1499
|
};
|
1458
1500
|
export declare const SignalResponse: {
|
1459
1501
|
encode(message: SignalResponse, writer?: _m0.Writer): _m0.Writer;
|
@@ -1871,9 +1913,139 @@ export declare const SignalResponse: {
|
|
1871
1913
|
} | undefined;
|
1872
1914
|
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
1873
1915
|
} | undefined;
|
1916
|
+
room?: {
|
1917
|
+
sid?: string | undefined;
|
1918
|
+
name?: string | undefined;
|
1919
|
+
emptyTimeout?: number | undefined;
|
1920
|
+
maxParticipants?: number | undefined;
|
1921
|
+
creationTime?: number | undefined;
|
1922
|
+
turnPassword?: string | undefined;
|
1923
|
+
enabledCodecs?: {
|
1924
|
+
mime?: string | undefined;
|
1925
|
+
fmtpLine?: string | undefined;
|
1926
|
+
}[] | undefined;
|
1927
|
+
metadata?: string | undefined;
|
1928
|
+
numParticipants?: number | undefined;
|
1929
|
+
activeRecording?: boolean | undefined;
|
1930
|
+
} | undefined;
|
1931
|
+
participant?: {
|
1932
|
+
sid?: string | undefined;
|
1933
|
+
identity?: string | undefined;
|
1934
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
1935
|
+
tracks?: {
|
1936
|
+
sid?: string | undefined;
|
1937
|
+
type?: TrackType | undefined;
|
1938
|
+
name?: string | undefined;
|
1939
|
+
muted?: boolean | undefined;
|
1940
|
+
width?: number | undefined;
|
1941
|
+
height?: number | undefined;
|
1942
|
+
simulcast?: boolean | undefined;
|
1943
|
+
disableDtx?: boolean | undefined;
|
1944
|
+
source?: TrackSource | undefined;
|
1945
|
+
layers?: {
|
1946
|
+
quality?: VideoQuality | undefined;
|
1947
|
+
width?: number | undefined;
|
1948
|
+
height?: number | undefined;
|
1949
|
+
bitrate?: number | undefined;
|
1950
|
+
ssrc?: number | undefined;
|
1951
|
+
}[] | undefined;
|
1952
|
+
mimeType?: string | undefined;
|
1953
|
+
mid?: string | undefined;
|
1954
|
+
codecs?: {
|
1955
|
+
mimeType?: string | undefined;
|
1956
|
+
mid?: string | undefined;
|
1957
|
+
cid?: string | undefined;
|
1958
|
+
layers?: {
|
1959
|
+
quality?: VideoQuality | undefined;
|
1960
|
+
width?: number | undefined;
|
1961
|
+
height?: number | undefined;
|
1962
|
+
bitrate?: number | undefined;
|
1963
|
+
ssrc?: number | undefined;
|
1964
|
+
}[] | undefined;
|
1965
|
+
}[] | undefined;
|
1966
|
+
stereo?: boolean | undefined;
|
1967
|
+
disableRed?: boolean | undefined;
|
1968
|
+
encryption?: Encryption_Type | undefined;
|
1969
|
+
}[] | undefined;
|
1970
|
+
metadata?: string | undefined;
|
1971
|
+
joinedAt?: number | undefined;
|
1972
|
+
name?: string | undefined;
|
1973
|
+
version?: number | undefined;
|
1974
|
+
permission?: {
|
1975
|
+
canSubscribe?: boolean | undefined;
|
1976
|
+
canPublish?: boolean | undefined;
|
1977
|
+
canPublishData?: boolean | undefined;
|
1978
|
+
canPublishSources?: TrackSource[] | undefined;
|
1979
|
+
hidden?: boolean | undefined;
|
1980
|
+
recorder?: boolean | undefined;
|
1981
|
+
} | undefined;
|
1982
|
+
region?: string | undefined;
|
1983
|
+
isPublisher?: boolean | undefined;
|
1984
|
+
} | undefined;
|
1985
|
+
otherParticipants?: {
|
1986
|
+
sid?: string | undefined;
|
1987
|
+
identity?: string | undefined;
|
1988
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
1989
|
+
tracks?: {
|
1990
|
+
sid?: string | undefined;
|
1991
|
+
type?: TrackType | undefined;
|
1992
|
+
name?: string | undefined;
|
1993
|
+
muted?: boolean | undefined;
|
1994
|
+
width?: number | undefined;
|
1995
|
+
height?: number | undefined;
|
1996
|
+
simulcast?: boolean | undefined;
|
1997
|
+
disableDtx?: boolean | undefined;
|
1998
|
+
source?: TrackSource | undefined;
|
1999
|
+
layers?: {
|
2000
|
+
quality?: VideoQuality | undefined;
|
2001
|
+
width?: number | undefined;
|
2002
|
+
height?: number | undefined;
|
2003
|
+
bitrate?: number | undefined;
|
2004
|
+
ssrc?: number | undefined;
|
2005
|
+
}[] | undefined;
|
2006
|
+
mimeType?: string | undefined;
|
2007
|
+
mid?: string | undefined;
|
2008
|
+
codecs?: {
|
2009
|
+
mimeType?: string | undefined;
|
2010
|
+
mid?: string | undefined;
|
2011
|
+
cid?: string | undefined;
|
2012
|
+
layers?: {
|
2013
|
+
quality?: VideoQuality | undefined;
|
2014
|
+
width?: number | undefined;
|
2015
|
+
height?: number | undefined;
|
2016
|
+
bitrate?: number | undefined;
|
2017
|
+
ssrc?: number | undefined;
|
2018
|
+
}[] | undefined;
|
2019
|
+
}[] | undefined;
|
2020
|
+
stereo?: boolean | undefined;
|
2021
|
+
disableRed?: boolean | undefined;
|
2022
|
+
encryption?: Encryption_Type | undefined;
|
2023
|
+
}[] | undefined;
|
2024
|
+
metadata?: string | undefined;
|
2025
|
+
joinedAt?: number | undefined;
|
2026
|
+
name?: string | undefined;
|
2027
|
+
version?: number | undefined;
|
2028
|
+
permission?: {
|
2029
|
+
canSubscribe?: boolean | undefined;
|
2030
|
+
canPublish?: boolean | undefined;
|
2031
|
+
canPublishData?: boolean | undefined;
|
2032
|
+
canPublishSources?: TrackSource[] | undefined;
|
2033
|
+
hidden?: boolean | undefined;
|
2034
|
+
recorder?: boolean | undefined;
|
2035
|
+
} | undefined;
|
2036
|
+
region?: string | undefined;
|
2037
|
+
isPublisher?: boolean | undefined;
|
2038
|
+
}[] | undefined;
|
1874
2039
|
} | undefined;
|
1875
2040
|
} & {
|
1876
2041
|
$case: "reconnect";
|
2042
|
+
}) | ({
|
2043
|
+
pongResp?: {
|
2044
|
+
lastPingTimestamp?: number | undefined;
|
2045
|
+
timestamp?: number | undefined;
|
2046
|
+
} | undefined;
|
2047
|
+
} & {
|
2048
|
+
$case: "pongResp";
|
1877
2049
|
}) | undefined;
|
1878
2050
|
} & {
|
1879
2051
|
message?: ({
|
@@ -4153,62 +4325,308 @@ export declare const SignalResponse: {
|
|
4153
4325
|
} | undefined;
|
4154
4326
|
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
4155
4327
|
} | undefined;
|
4156
|
-
|
4157
|
-
|
4158
|
-
|
4159
|
-
|
4160
|
-
|
4161
|
-
|
4162
|
-
|
4163
|
-
|
4164
|
-
|
4165
|
-
|
4166
|
-
|
4167
|
-
|
4168
|
-
|
4169
|
-
|
4170
|
-
screen?: {
|
4171
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4172
|
-
} | undefined;
|
4173
|
-
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
4174
|
-
disabledCodecs?: {
|
4175
|
-
codecs?: {
|
4176
|
-
mime?: string | undefined;
|
4177
|
-
fmtpLine?: string | undefined;
|
4178
|
-
}[] | undefined;
|
4179
|
-
} | undefined;
|
4180
|
-
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
4328
|
+
room?: {
|
4329
|
+
sid?: string | undefined;
|
4330
|
+
name?: string | undefined;
|
4331
|
+
emptyTimeout?: number | undefined;
|
4332
|
+
maxParticipants?: number | undefined;
|
4333
|
+
creationTime?: number | undefined;
|
4334
|
+
turnPassword?: string | undefined;
|
4335
|
+
enabledCodecs?: {
|
4336
|
+
mime?: string | undefined;
|
4337
|
+
fmtpLine?: string | undefined;
|
4338
|
+
}[] | undefined;
|
4339
|
+
metadata?: string | undefined;
|
4340
|
+
numParticipants?: number | undefined;
|
4341
|
+
activeRecording?: boolean | undefined;
|
4181
4342
|
} | undefined;
|
4182
|
-
|
4183
|
-
|
4184
|
-
|
4185
|
-
|
4186
|
-
|
4187
|
-
|
4188
|
-
|
4189
|
-
|
4190
|
-
|
4191
|
-
|
4192
|
-
|
4193
|
-
|
4194
|
-
|
4195
|
-
|
4196
|
-
|
4197
|
-
|
4198
|
-
|
4199
|
-
|
4200
|
-
|
4201
|
-
|
4202
|
-
|
4203
|
-
|
4204
|
-
|
4205
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4206
|
-
} | undefined;
|
4207
|
-
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
4208
|
-
disabledCodecs?: {
|
4343
|
+
participant?: {
|
4344
|
+
sid?: string | undefined;
|
4345
|
+
identity?: string | undefined;
|
4346
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
4347
|
+
tracks?: {
|
4348
|
+
sid?: string | undefined;
|
4349
|
+
type?: TrackType | undefined;
|
4350
|
+
name?: string | undefined;
|
4351
|
+
muted?: boolean | undefined;
|
4352
|
+
width?: number | undefined;
|
4353
|
+
height?: number | undefined;
|
4354
|
+
simulcast?: boolean | undefined;
|
4355
|
+
disableDtx?: boolean | undefined;
|
4356
|
+
source?: TrackSource | undefined;
|
4357
|
+
layers?: {
|
4358
|
+
quality?: VideoQuality | undefined;
|
4359
|
+
width?: number | undefined;
|
4360
|
+
height?: number | undefined;
|
4361
|
+
bitrate?: number | undefined;
|
4362
|
+
ssrc?: number | undefined;
|
4363
|
+
}[] | undefined;
|
4364
|
+
mimeType?: string | undefined;
|
4365
|
+
mid?: string | undefined;
|
4209
4366
|
codecs?: {
|
4210
|
-
|
4211
|
-
|
4367
|
+
mimeType?: string | undefined;
|
4368
|
+
mid?: string | undefined;
|
4369
|
+
cid?: string | undefined;
|
4370
|
+
layers?: {
|
4371
|
+
quality?: VideoQuality | undefined;
|
4372
|
+
width?: number | undefined;
|
4373
|
+
height?: number | undefined;
|
4374
|
+
bitrate?: number | undefined;
|
4375
|
+
ssrc?: number | undefined;
|
4376
|
+
}[] | undefined;
|
4377
|
+
}[] | undefined;
|
4378
|
+
stereo?: boolean | undefined;
|
4379
|
+
disableRed?: boolean | undefined;
|
4380
|
+
encryption?: Encryption_Type | undefined;
|
4381
|
+
}[] | undefined;
|
4382
|
+
metadata?: string | undefined;
|
4383
|
+
joinedAt?: number | undefined;
|
4384
|
+
name?: string | undefined;
|
4385
|
+
version?: number | undefined;
|
4386
|
+
permission?: {
|
4387
|
+
canSubscribe?: boolean | undefined;
|
4388
|
+
canPublish?: boolean | undefined;
|
4389
|
+
canPublishData?: boolean | undefined;
|
4390
|
+
canPublishSources?: TrackSource[] | undefined;
|
4391
|
+
hidden?: boolean | undefined;
|
4392
|
+
recorder?: boolean | undefined;
|
4393
|
+
} | undefined;
|
4394
|
+
region?: string | undefined;
|
4395
|
+
isPublisher?: boolean | undefined;
|
4396
|
+
} | undefined;
|
4397
|
+
otherParticipants?: {
|
4398
|
+
sid?: string | undefined;
|
4399
|
+
identity?: string | undefined;
|
4400
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
4401
|
+
tracks?: {
|
4402
|
+
sid?: string | undefined;
|
4403
|
+
type?: TrackType | undefined;
|
4404
|
+
name?: string | undefined;
|
4405
|
+
muted?: boolean | undefined;
|
4406
|
+
width?: number | undefined;
|
4407
|
+
height?: number | undefined;
|
4408
|
+
simulcast?: boolean | undefined;
|
4409
|
+
disableDtx?: boolean | undefined;
|
4410
|
+
source?: TrackSource | undefined;
|
4411
|
+
layers?: {
|
4412
|
+
quality?: VideoQuality | undefined;
|
4413
|
+
width?: number | undefined;
|
4414
|
+
height?: number | undefined;
|
4415
|
+
bitrate?: number | undefined;
|
4416
|
+
ssrc?: number | undefined;
|
4417
|
+
}[] | undefined;
|
4418
|
+
mimeType?: string | undefined;
|
4419
|
+
mid?: string | undefined;
|
4420
|
+
codecs?: {
|
4421
|
+
mimeType?: string | undefined;
|
4422
|
+
mid?: string | undefined;
|
4423
|
+
cid?: string | undefined;
|
4424
|
+
layers?: {
|
4425
|
+
quality?: VideoQuality | undefined;
|
4426
|
+
width?: number | undefined;
|
4427
|
+
height?: number | undefined;
|
4428
|
+
bitrate?: number | undefined;
|
4429
|
+
ssrc?: number | undefined;
|
4430
|
+
}[] | undefined;
|
4431
|
+
}[] | undefined;
|
4432
|
+
stereo?: boolean | undefined;
|
4433
|
+
disableRed?: boolean | undefined;
|
4434
|
+
encryption?: Encryption_Type | undefined;
|
4435
|
+
}[] | undefined;
|
4436
|
+
metadata?: string | undefined;
|
4437
|
+
joinedAt?: number | undefined;
|
4438
|
+
name?: string | undefined;
|
4439
|
+
version?: number | undefined;
|
4440
|
+
permission?: {
|
4441
|
+
canSubscribe?: boolean | undefined;
|
4442
|
+
canPublish?: boolean | undefined;
|
4443
|
+
canPublishData?: boolean | undefined;
|
4444
|
+
canPublishSources?: TrackSource[] | undefined;
|
4445
|
+
hidden?: boolean | undefined;
|
4446
|
+
recorder?: boolean | undefined;
|
4447
|
+
} | undefined;
|
4448
|
+
region?: string | undefined;
|
4449
|
+
isPublisher?: boolean | undefined;
|
4450
|
+
}[] | undefined;
|
4451
|
+
} | undefined;
|
4452
|
+
} & {
|
4453
|
+
$case: "reconnect";
|
4454
|
+
} & {
|
4455
|
+
reconnect?: ({
|
4456
|
+
iceServers?: {
|
4457
|
+
urls?: string[] | undefined;
|
4458
|
+
username?: string | undefined;
|
4459
|
+
credential?: string | undefined;
|
4460
|
+
}[] | undefined;
|
4461
|
+
clientConfiguration?: {
|
4462
|
+
video?: {
|
4463
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4464
|
+
} | undefined;
|
4465
|
+
screen?: {
|
4466
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4467
|
+
} | undefined;
|
4468
|
+
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
4469
|
+
disabledCodecs?: {
|
4470
|
+
codecs?: {
|
4471
|
+
mime?: string | undefined;
|
4472
|
+
fmtpLine?: string | undefined;
|
4473
|
+
}[] | undefined;
|
4474
|
+
} | undefined;
|
4475
|
+
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
4476
|
+
} | undefined;
|
4477
|
+
room?: {
|
4478
|
+
sid?: string | undefined;
|
4479
|
+
name?: string | undefined;
|
4480
|
+
emptyTimeout?: number | undefined;
|
4481
|
+
maxParticipants?: number | undefined;
|
4482
|
+
creationTime?: number | undefined;
|
4483
|
+
turnPassword?: string | undefined;
|
4484
|
+
enabledCodecs?: {
|
4485
|
+
mime?: string | undefined;
|
4486
|
+
fmtpLine?: string | undefined;
|
4487
|
+
}[] | undefined;
|
4488
|
+
metadata?: string | undefined;
|
4489
|
+
numParticipants?: number | undefined;
|
4490
|
+
activeRecording?: boolean | undefined;
|
4491
|
+
} | undefined;
|
4492
|
+
participant?: {
|
4493
|
+
sid?: string | undefined;
|
4494
|
+
identity?: string | undefined;
|
4495
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
4496
|
+
tracks?: {
|
4497
|
+
sid?: string | undefined;
|
4498
|
+
type?: TrackType | undefined;
|
4499
|
+
name?: string | undefined;
|
4500
|
+
muted?: boolean | undefined;
|
4501
|
+
width?: number | undefined;
|
4502
|
+
height?: number | undefined;
|
4503
|
+
simulcast?: boolean | undefined;
|
4504
|
+
disableDtx?: boolean | undefined;
|
4505
|
+
source?: TrackSource | undefined;
|
4506
|
+
layers?: {
|
4507
|
+
quality?: VideoQuality | undefined;
|
4508
|
+
width?: number | undefined;
|
4509
|
+
height?: number | undefined;
|
4510
|
+
bitrate?: number | undefined;
|
4511
|
+
ssrc?: number | undefined;
|
4512
|
+
}[] | undefined;
|
4513
|
+
mimeType?: string | undefined;
|
4514
|
+
mid?: string | undefined;
|
4515
|
+
codecs?: {
|
4516
|
+
mimeType?: string | undefined;
|
4517
|
+
mid?: string | undefined;
|
4518
|
+
cid?: string | undefined;
|
4519
|
+
layers?: {
|
4520
|
+
quality?: VideoQuality | undefined;
|
4521
|
+
width?: number | undefined;
|
4522
|
+
height?: number | undefined;
|
4523
|
+
bitrate?: number | undefined;
|
4524
|
+
ssrc?: number | undefined;
|
4525
|
+
}[] | undefined;
|
4526
|
+
}[] | undefined;
|
4527
|
+
stereo?: boolean | undefined;
|
4528
|
+
disableRed?: boolean | undefined;
|
4529
|
+
encryption?: Encryption_Type | undefined;
|
4530
|
+
}[] | undefined;
|
4531
|
+
metadata?: string | undefined;
|
4532
|
+
joinedAt?: number | undefined;
|
4533
|
+
name?: string | undefined;
|
4534
|
+
version?: number | undefined;
|
4535
|
+
permission?: {
|
4536
|
+
canSubscribe?: boolean | undefined;
|
4537
|
+
canPublish?: boolean | undefined;
|
4538
|
+
canPublishData?: boolean | undefined;
|
4539
|
+
canPublishSources?: TrackSource[] | undefined;
|
4540
|
+
hidden?: boolean | undefined;
|
4541
|
+
recorder?: boolean | undefined;
|
4542
|
+
} | undefined;
|
4543
|
+
region?: string | undefined;
|
4544
|
+
isPublisher?: boolean | undefined;
|
4545
|
+
} | undefined;
|
4546
|
+
otherParticipants?: {
|
4547
|
+
sid?: string | undefined;
|
4548
|
+
identity?: string | undefined;
|
4549
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
4550
|
+
tracks?: {
|
4551
|
+
sid?: string | undefined;
|
4552
|
+
type?: TrackType | undefined;
|
4553
|
+
name?: string | undefined;
|
4554
|
+
muted?: boolean | undefined;
|
4555
|
+
width?: number | undefined;
|
4556
|
+
height?: number | undefined;
|
4557
|
+
simulcast?: boolean | undefined;
|
4558
|
+
disableDtx?: boolean | undefined;
|
4559
|
+
source?: TrackSource | undefined;
|
4560
|
+
layers?: {
|
4561
|
+
quality?: VideoQuality | undefined;
|
4562
|
+
width?: number | undefined;
|
4563
|
+
height?: number | undefined;
|
4564
|
+
bitrate?: number | undefined;
|
4565
|
+
ssrc?: number | undefined;
|
4566
|
+
}[] | undefined;
|
4567
|
+
mimeType?: string | undefined;
|
4568
|
+
mid?: string | undefined;
|
4569
|
+
codecs?: {
|
4570
|
+
mimeType?: string | undefined;
|
4571
|
+
mid?: string | undefined;
|
4572
|
+
cid?: string | undefined;
|
4573
|
+
layers?: {
|
4574
|
+
quality?: VideoQuality | undefined;
|
4575
|
+
width?: number | undefined;
|
4576
|
+
height?: number | undefined;
|
4577
|
+
bitrate?: number | undefined;
|
4578
|
+
ssrc?: number | undefined;
|
4579
|
+
}[] | undefined;
|
4580
|
+
}[] | undefined;
|
4581
|
+
stereo?: boolean | undefined;
|
4582
|
+
disableRed?: boolean | undefined;
|
4583
|
+
encryption?: Encryption_Type | undefined;
|
4584
|
+
}[] | undefined;
|
4585
|
+
metadata?: string | undefined;
|
4586
|
+
joinedAt?: number | undefined;
|
4587
|
+
name?: string | undefined;
|
4588
|
+
version?: number | undefined;
|
4589
|
+
permission?: {
|
4590
|
+
canSubscribe?: boolean | undefined;
|
4591
|
+
canPublish?: boolean | undefined;
|
4592
|
+
canPublishData?: boolean | undefined;
|
4593
|
+
canPublishSources?: TrackSource[] | undefined;
|
4594
|
+
hidden?: boolean | undefined;
|
4595
|
+
recorder?: boolean | undefined;
|
4596
|
+
} | undefined;
|
4597
|
+
region?: string | undefined;
|
4598
|
+
isPublisher?: boolean | undefined;
|
4599
|
+
}[] | undefined;
|
4600
|
+
} & {
|
4601
|
+
iceServers?: ({
|
4602
|
+
urls?: string[] | undefined;
|
4603
|
+
username?: string | undefined;
|
4604
|
+
credential?: string | undefined;
|
4605
|
+
}[] & ({
|
4606
|
+
urls?: string[] | undefined;
|
4607
|
+
username?: string | undefined;
|
4608
|
+
credential?: string | undefined;
|
4609
|
+
} & {
|
4610
|
+
urls?: (string[] & string[] & { [K_102 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
|
4611
|
+
username?: string | undefined;
|
4612
|
+
credential?: string | undefined;
|
4613
|
+
} & { [K_103 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_104 in Exclude<keyof I["message"]["reconnect"]["iceServers"], keyof {
|
4614
|
+
urls?: string[] | undefined;
|
4615
|
+
username?: string | undefined;
|
4616
|
+
credential?: string | undefined;
|
4617
|
+
}[]>]: never; }) | undefined;
|
4618
|
+
clientConfiguration?: ({
|
4619
|
+
video?: {
|
4620
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4621
|
+
} | undefined;
|
4622
|
+
screen?: {
|
4623
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4624
|
+
} | undefined;
|
4625
|
+
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
4626
|
+
disabledCodecs?: {
|
4627
|
+
codecs?: {
|
4628
|
+
mime?: string | undefined;
|
4629
|
+
fmtpLine?: string | undefined;
|
4212
4630
|
}[] | undefined;
|
4213
4631
|
} | undefined;
|
4214
4632
|
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
@@ -4246,27 +4664,757 @@ export declare const SignalResponse: {
|
|
4246
4664
|
} & { [K_109 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
|
4247
4665
|
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
4248
4666
|
} & { [K_110 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
|
4249
|
-
|
4250
|
-
|
4251
|
-
|
4252
|
-
|
4253
|
-
|
4254
|
-
|
4255
|
-
|
4256
|
-
|
4257
|
-
|
4258
|
-
|
4259
|
-
|
4260
|
-
|
4261
|
-
|
4262
|
-
|
4263
|
-
|
4264
|
-
|
4265
|
-
|
4266
|
-
|
4267
|
-
|
4268
|
-
|
4269
|
-
|
4667
|
+
room?: ({
|
4668
|
+
sid?: string | undefined;
|
4669
|
+
name?: string | undefined;
|
4670
|
+
emptyTimeout?: number | undefined;
|
4671
|
+
maxParticipants?: number | undefined;
|
4672
|
+
creationTime?: number | undefined;
|
4673
|
+
turnPassword?: string | undefined;
|
4674
|
+
enabledCodecs?: {
|
4675
|
+
mime?: string | undefined;
|
4676
|
+
fmtpLine?: string | undefined;
|
4677
|
+
}[] | undefined;
|
4678
|
+
metadata?: string | undefined;
|
4679
|
+
numParticipants?: number | undefined;
|
4680
|
+
activeRecording?: boolean | undefined;
|
4681
|
+
} & {
|
4682
|
+
sid?: string | undefined;
|
4683
|
+
name?: string | undefined;
|
4684
|
+
emptyTimeout?: number | undefined;
|
4685
|
+
maxParticipants?: number | undefined;
|
4686
|
+
creationTime?: number | undefined;
|
4687
|
+
turnPassword?: string | undefined;
|
4688
|
+
enabledCodecs?: ({
|
4689
|
+
mime?: string | undefined;
|
4690
|
+
fmtpLine?: string | undefined;
|
4691
|
+
}[] & ({
|
4692
|
+
mime?: string | undefined;
|
4693
|
+
fmtpLine?: string | undefined;
|
4694
|
+
} & {
|
4695
|
+
mime?: string | undefined;
|
4696
|
+
fmtpLine?: string | undefined;
|
4697
|
+
} & { [K_111 in Exclude<keyof I["message"]["reconnect"]["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_112 in Exclude<keyof I["message"]["reconnect"]["room"]["enabledCodecs"], keyof {
|
4698
|
+
mime?: string | undefined;
|
4699
|
+
fmtpLine?: string | undefined;
|
4700
|
+
}[]>]: never; }) | undefined;
|
4701
|
+
metadata?: string | undefined;
|
4702
|
+
numParticipants?: number | undefined;
|
4703
|
+
activeRecording?: boolean | undefined;
|
4704
|
+
} & { [K_113 in Exclude<keyof I["message"]["reconnect"]["room"], keyof Room>]: never; }) | undefined;
|
4705
|
+
participant?: ({
|
4706
|
+
sid?: string | undefined;
|
4707
|
+
identity?: string | undefined;
|
4708
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
4709
|
+
tracks?: {
|
4710
|
+
sid?: string | undefined;
|
4711
|
+
type?: TrackType | undefined;
|
4712
|
+
name?: string | undefined;
|
4713
|
+
muted?: boolean | undefined;
|
4714
|
+
width?: number | undefined;
|
4715
|
+
height?: number | undefined;
|
4716
|
+
simulcast?: boolean | undefined;
|
4717
|
+
disableDtx?: boolean | undefined;
|
4718
|
+
source?: TrackSource | undefined;
|
4719
|
+
layers?: {
|
4720
|
+
quality?: VideoQuality | undefined;
|
4721
|
+
width?: number | undefined;
|
4722
|
+
height?: number | undefined;
|
4723
|
+
bitrate?: number | undefined;
|
4724
|
+
ssrc?: number | undefined;
|
4725
|
+
}[] | undefined;
|
4726
|
+
mimeType?: string | undefined;
|
4727
|
+
mid?: string | undefined;
|
4728
|
+
codecs?: {
|
4729
|
+
mimeType?: string | undefined;
|
4730
|
+
mid?: string | undefined;
|
4731
|
+
cid?: string | undefined;
|
4732
|
+
layers?: {
|
4733
|
+
quality?: VideoQuality | undefined;
|
4734
|
+
width?: number | undefined;
|
4735
|
+
height?: number | undefined;
|
4736
|
+
bitrate?: number | undefined;
|
4737
|
+
ssrc?: number | undefined;
|
4738
|
+
}[] | undefined;
|
4739
|
+
}[] | undefined;
|
4740
|
+
stereo?: boolean | undefined;
|
4741
|
+
disableRed?: boolean | undefined;
|
4742
|
+
encryption?: Encryption_Type | undefined;
|
4743
|
+
}[] | undefined;
|
4744
|
+
metadata?: string | undefined;
|
4745
|
+
joinedAt?: number | undefined;
|
4746
|
+
name?: string | undefined;
|
4747
|
+
version?: number | undefined;
|
4748
|
+
permission?: {
|
4749
|
+
canSubscribe?: boolean | undefined;
|
4750
|
+
canPublish?: boolean | undefined;
|
4751
|
+
canPublishData?: boolean | undefined;
|
4752
|
+
canPublishSources?: TrackSource[] | undefined;
|
4753
|
+
hidden?: boolean | undefined;
|
4754
|
+
recorder?: boolean | undefined;
|
4755
|
+
} | undefined;
|
4756
|
+
region?: string | undefined;
|
4757
|
+
isPublisher?: boolean | undefined;
|
4758
|
+
} & {
|
4759
|
+
sid?: string | undefined;
|
4760
|
+
identity?: string | undefined;
|
4761
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
4762
|
+
tracks?: ({
|
4763
|
+
sid?: string | undefined;
|
4764
|
+
type?: TrackType | undefined;
|
4765
|
+
name?: string | undefined;
|
4766
|
+
muted?: boolean | undefined;
|
4767
|
+
width?: number | undefined;
|
4768
|
+
height?: number | undefined;
|
4769
|
+
simulcast?: boolean | undefined;
|
4770
|
+
disableDtx?: boolean | undefined;
|
4771
|
+
source?: TrackSource | undefined;
|
4772
|
+
layers?: {
|
4773
|
+
quality?: VideoQuality | undefined;
|
4774
|
+
width?: number | undefined;
|
4775
|
+
height?: number | undefined;
|
4776
|
+
bitrate?: number | undefined;
|
4777
|
+
ssrc?: number | undefined;
|
4778
|
+
}[] | undefined;
|
4779
|
+
mimeType?: string | undefined;
|
4780
|
+
mid?: string | undefined;
|
4781
|
+
codecs?: {
|
4782
|
+
mimeType?: string | undefined;
|
4783
|
+
mid?: string | undefined;
|
4784
|
+
cid?: string | undefined;
|
4785
|
+
layers?: {
|
4786
|
+
quality?: VideoQuality | undefined;
|
4787
|
+
width?: number | undefined;
|
4788
|
+
height?: number | undefined;
|
4789
|
+
bitrate?: number | undefined;
|
4790
|
+
ssrc?: number | undefined;
|
4791
|
+
}[] | undefined;
|
4792
|
+
}[] | undefined;
|
4793
|
+
stereo?: boolean | undefined;
|
4794
|
+
disableRed?: boolean | undefined;
|
4795
|
+
encryption?: Encryption_Type | undefined;
|
4796
|
+
}[] & ({
|
4797
|
+
sid?: string | undefined;
|
4798
|
+
type?: TrackType | undefined;
|
4799
|
+
name?: string | undefined;
|
4800
|
+
muted?: boolean | undefined;
|
4801
|
+
width?: number | undefined;
|
4802
|
+
height?: number | undefined;
|
4803
|
+
simulcast?: boolean | undefined;
|
4804
|
+
disableDtx?: boolean | undefined;
|
4805
|
+
source?: TrackSource | undefined;
|
4806
|
+
layers?: {
|
4807
|
+
quality?: VideoQuality | undefined;
|
4808
|
+
width?: number | undefined;
|
4809
|
+
height?: number | undefined;
|
4810
|
+
bitrate?: number | undefined;
|
4811
|
+
ssrc?: number | undefined;
|
4812
|
+
}[] | undefined;
|
4813
|
+
mimeType?: string | undefined;
|
4814
|
+
mid?: string | undefined;
|
4815
|
+
codecs?: {
|
4816
|
+
mimeType?: string | undefined;
|
4817
|
+
mid?: string | undefined;
|
4818
|
+
cid?: string | undefined;
|
4819
|
+
layers?: {
|
4820
|
+
quality?: VideoQuality | undefined;
|
4821
|
+
width?: number | undefined;
|
4822
|
+
height?: number | undefined;
|
4823
|
+
bitrate?: number | undefined;
|
4824
|
+
ssrc?: number | undefined;
|
4825
|
+
}[] | undefined;
|
4826
|
+
}[] | undefined;
|
4827
|
+
stereo?: boolean | undefined;
|
4828
|
+
disableRed?: boolean | undefined;
|
4829
|
+
encryption?: Encryption_Type | undefined;
|
4830
|
+
} & {
|
4831
|
+
sid?: string | undefined;
|
4832
|
+
type?: TrackType | undefined;
|
4833
|
+
name?: string | undefined;
|
4834
|
+
muted?: boolean | undefined;
|
4835
|
+
width?: number | undefined;
|
4836
|
+
height?: number | undefined;
|
4837
|
+
simulcast?: boolean | undefined;
|
4838
|
+
disableDtx?: boolean | undefined;
|
4839
|
+
source?: TrackSource | undefined;
|
4840
|
+
layers?: ({
|
4841
|
+
quality?: VideoQuality | undefined;
|
4842
|
+
width?: number | undefined;
|
4843
|
+
height?: number | undefined;
|
4844
|
+
bitrate?: number | undefined;
|
4845
|
+
ssrc?: number | undefined;
|
4846
|
+
}[] & ({
|
4847
|
+
quality?: VideoQuality | undefined;
|
4848
|
+
width?: number | undefined;
|
4849
|
+
height?: number | undefined;
|
4850
|
+
bitrate?: number | undefined;
|
4851
|
+
ssrc?: number | undefined;
|
4852
|
+
} & {
|
4853
|
+
quality?: VideoQuality | undefined;
|
4854
|
+
width?: number | undefined;
|
4855
|
+
height?: number | undefined;
|
4856
|
+
bitrate?: number | undefined;
|
4857
|
+
ssrc?: number | undefined;
|
4858
|
+
} & { [K_114 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_115 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["layers"], keyof {
|
4859
|
+
quality?: VideoQuality | undefined;
|
4860
|
+
width?: number | undefined;
|
4861
|
+
height?: number | undefined;
|
4862
|
+
bitrate?: number | undefined;
|
4863
|
+
ssrc?: number | undefined;
|
4864
|
+
}[]>]: never; }) | undefined;
|
4865
|
+
mimeType?: string | undefined;
|
4866
|
+
mid?: string | undefined;
|
4867
|
+
codecs?: ({
|
4868
|
+
mimeType?: string | undefined;
|
4869
|
+
mid?: string | undefined;
|
4870
|
+
cid?: string | undefined;
|
4871
|
+
layers?: {
|
4872
|
+
quality?: VideoQuality | undefined;
|
4873
|
+
width?: number | undefined;
|
4874
|
+
height?: number | undefined;
|
4875
|
+
bitrate?: number | undefined;
|
4876
|
+
ssrc?: number | undefined;
|
4877
|
+
}[] | undefined;
|
4878
|
+
}[] & ({
|
4879
|
+
mimeType?: string | undefined;
|
4880
|
+
mid?: string | undefined;
|
4881
|
+
cid?: string | undefined;
|
4882
|
+
layers?: {
|
4883
|
+
quality?: VideoQuality | undefined;
|
4884
|
+
width?: number | undefined;
|
4885
|
+
height?: number | undefined;
|
4886
|
+
bitrate?: number | undefined;
|
4887
|
+
ssrc?: number | undefined;
|
4888
|
+
}[] | undefined;
|
4889
|
+
} & {
|
4890
|
+
mimeType?: string | undefined;
|
4891
|
+
mid?: string | undefined;
|
4892
|
+
cid?: string | undefined;
|
4893
|
+
layers?: ({
|
4894
|
+
quality?: VideoQuality | undefined;
|
4895
|
+
width?: number | undefined;
|
4896
|
+
height?: number | undefined;
|
4897
|
+
bitrate?: number | undefined;
|
4898
|
+
ssrc?: number | undefined;
|
4899
|
+
}[] & ({
|
4900
|
+
quality?: VideoQuality | undefined;
|
4901
|
+
width?: number | undefined;
|
4902
|
+
height?: number | undefined;
|
4903
|
+
bitrate?: number | undefined;
|
4904
|
+
ssrc?: number | undefined;
|
4905
|
+
} & {
|
4906
|
+
quality?: VideoQuality | undefined;
|
4907
|
+
width?: number | undefined;
|
4908
|
+
height?: number | undefined;
|
4909
|
+
bitrate?: number | undefined;
|
4910
|
+
ssrc?: number | undefined;
|
4911
|
+
} & { [K_116 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_117 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["codecs"][number]["layers"], keyof {
|
4912
|
+
quality?: VideoQuality | undefined;
|
4913
|
+
width?: number | undefined;
|
4914
|
+
height?: number | undefined;
|
4915
|
+
bitrate?: number | undefined;
|
4916
|
+
ssrc?: number | undefined;
|
4917
|
+
}[]>]: never; }) | undefined;
|
4918
|
+
} & { [K_118 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_119 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["codecs"], keyof {
|
4919
|
+
mimeType?: string | undefined;
|
4920
|
+
mid?: string | undefined;
|
4921
|
+
cid?: string | undefined;
|
4922
|
+
layers?: {
|
4923
|
+
quality?: VideoQuality | undefined;
|
4924
|
+
width?: number | undefined;
|
4925
|
+
height?: number | undefined;
|
4926
|
+
bitrate?: number | undefined;
|
4927
|
+
ssrc?: number | undefined;
|
4928
|
+
}[] | undefined;
|
4929
|
+
}[]>]: never; }) | undefined;
|
4930
|
+
stereo?: boolean | undefined;
|
4931
|
+
disableRed?: boolean | undefined;
|
4932
|
+
encryption?: Encryption_Type | undefined;
|
4933
|
+
} & { [K_120 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_121 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"], keyof {
|
4934
|
+
sid?: string | undefined;
|
4935
|
+
type?: TrackType | undefined;
|
4936
|
+
name?: string | undefined;
|
4937
|
+
muted?: boolean | undefined;
|
4938
|
+
width?: number | undefined;
|
4939
|
+
height?: number | undefined;
|
4940
|
+
simulcast?: boolean | undefined;
|
4941
|
+
disableDtx?: boolean | undefined;
|
4942
|
+
source?: TrackSource | undefined;
|
4943
|
+
layers?: {
|
4944
|
+
quality?: VideoQuality | undefined;
|
4945
|
+
width?: number | undefined;
|
4946
|
+
height?: number | undefined;
|
4947
|
+
bitrate?: number | undefined;
|
4948
|
+
ssrc?: number | undefined;
|
4949
|
+
}[] | undefined;
|
4950
|
+
mimeType?: string | undefined;
|
4951
|
+
mid?: string | undefined;
|
4952
|
+
codecs?: {
|
4953
|
+
mimeType?: string | undefined;
|
4954
|
+
mid?: string | undefined;
|
4955
|
+
cid?: string | undefined;
|
4956
|
+
layers?: {
|
4957
|
+
quality?: VideoQuality | undefined;
|
4958
|
+
width?: number | undefined;
|
4959
|
+
height?: number | undefined;
|
4960
|
+
bitrate?: number | undefined;
|
4961
|
+
ssrc?: number | undefined;
|
4962
|
+
}[] | undefined;
|
4963
|
+
}[] | undefined;
|
4964
|
+
stereo?: boolean | undefined;
|
4965
|
+
disableRed?: boolean | undefined;
|
4966
|
+
encryption?: Encryption_Type | undefined;
|
4967
|
+
}[]>]: never; }) | undefined;
|
4968
|
+
metadata?: string | undefined;
|
4969
|
+
joinedAt?: number | undefined;
|
4970
|
+
name?: string | undefined;
|
4971
|
+
version?: number | undefined;
|
4972
|
+
permission?: ({
|
4973
|
+
canSubscribe?: boolean | undefined;
|
4974
|
+
canPublish?: boolean | undefined;
|
4975
|
+
canPublishData?: boolean | undefined;
|
4976
|
+
canPublishSources?: TrackSource[] | undefined;
|
4977
|
+
hidden?: boolean | undefined;
|
4978
|
+
recorder?: boolean | undefined;
|
4979
|
+
} & {
|
4980
|
+
canSubscribe?: boolean | undefined;
|
4981
|
+
canPublish?: boolean | undefined;
|
4982
|
+
canPublishData?: boolean | undefined;
|
4983
|
+
canPublishSources?: (TrackSource[] & TrackSource[] & { [K_122 in Exclude<keyof I["message"]["reconnect"]["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
4984
|
+
hidden?: boolean | undefined;
|
4985
|
+
recorder?: boolean | undefined;
|
4986
|
+
} & { [K_123 in Exclude<keyof I["message"]["reconnect"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
|
4987
|
+
region?: string | undefined;
|
4988
|
+
isPublisher?: boolean | undefined;
|
4989
|
+
} & { [K_124 in Exclude<keyof I["message"]["reconnect"]["participant"], keyof ParticipantInfo>]: never; }) | undefined;
|
4990
|
+
otherParticipants?: ({
|
4991
|
+
sid?: string | undefined;
|
4992
|
+
identity?: string | undefined;
|
4993
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
4994
|
+
tracks?: {
|
4995
|
+
sid?: string | undefined;
|
4996
|
+
type?: TrackType | undefined;
|
4997
|
+
name?: string | undefined;
|
4998
|
+
muted?: boolean | undefined;
|
4999
|
+
width?: number | undefined;
|
5000
|
+
height?: number | undefined;
|
5001
|
+
simulcast?: boolean | undefined;
|
5002
|
+
disableDtx?: boolean | undefined;
|
5003
|
+
source?: TrackSource | undefined;
|
5004
|
+
layers?: {
|
5005
|
+
quality?: VideoQuality | undefined;
|
5006
|
+
width?: number | undefined;
|
5007
|
+
height?: number | undefined;
|
5008
|
+
bitrate?: number | undefined;
|
5009
|
+
ssrc?: number | undefined;
|
5010
|
+
}[] | undefined;
|
5011
|
+
mimeType?: string | undefined;
|
5012
|
+
mid?: string | undefined;
|
5013
|
+
codecs?: {
|
5014
|
+
mimeType?: string | undefined;
|
5015
|
+
mid?: string | undefined;
|
5016
|
+
cid?: string | undefined;
|
5017
|
+
layers?: {
|
5018
|
+
quality?: VideoQuality | undefined;
|
5019
|
+
width?: number | undefined;
|
5020
|
+
height?: number | undefined;
|
5021
|
+
bitrate?: number | undefined;
|
5022
|
+
ssrc?: number | undefined;
|
5023
|
+
}[] | undefined;
|
5024
|
+
}[] | undefined;
|
5025
|
+
stereo?: boolean | undefined;
|
5026
|
+
disableRed?: boolean | undefined;
|
5027
|
+
encryption?: Encryption_Type | undefined;
|
5028
|
+
}[] | undefined;
|
5029
|
+
metadata?: string | undefined;
|
5030
|
+
joinedAt?: number | undefined;
|
5031
|
+
name?: string | undefined;
|
5032
|
+
version?: number | undefined;
|
5033
|
+
permission?: {
|
5034
|
+
canSubscribe?: boolean | undefined;
|
5035
|
+
canPublish?: boolean | undefined;
|
5036
|
+
canPublishData?: boolean | undefined;
|
5037
|
+
canPublishSources?: TrackSource[] | undefined;
|
5038
|
+
hidden?: boolean | undefined;
|
5039
|
+
recorder?: boolean | undefined;
|
5040
|
+
} | undefined;
|
5041
|
+
region?: string | undefined;
|
5042
|
+
isPublisher?: boolean | undefined;
|
5043
|
+
}[] & ({
|
5044
|
+
sid?: string | undefined;
|
5045
|
+
identity?: string | undefined;
|
5046
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
5047
|
+
tracks?: {
|
5048
|
+
sid?: string | undefined;
|
5049
|
+
type?: TrackType | undefined;
|
5050
|
+
name?: string | undefined;
|
5051
|
+
muted?: boolean | undefined;
|
5052
|
+
width?: number | undefined;
|
5053
|
+
height?: number | undefined;
|
5054
|
+
simulcast?: boolean | undefined;
|
5055
|
+
disableDtx?: boolean | undefined;
|
5056
|
+
source?: TrackSource | undefined;
|
5057
|
+
layers?: {
|
5058
|
+
quality?: VideoQuality | undefined;
|
5059
|
+
width?: number | undefined;
|
5060
|
+
height?: number | undefined;
|
5061
|
+
bitrate?: number | undefined;
|
5062
|
+
ssrc?: number | undefined;
|
5063
|
+
}[] | undefined;
|
5064
|
+
mimeType?: string | undefined;
|
5065
|
+
mid?: string | undefined;
|
5066
|
+
codecs?: {
|
5067
|
+
mimeType?: string | undefined;
|
5068
|
+
mid?: string | undefined;
|
5069
|
+
cid?: string | undefined;
|
5070
|
+
layers?: {
|
5071
|
+
quality?: VideoQuality | undefined;
|
5072
|
+
width?: number | undefined;
|
5073
|
+
height?: number | undefined;
|
5074
|
+
bitrate?: number | undefined;
|
5075
|
+
ssrc?: number | undefined;
|
5076
|
+
}[] | undefined;
|
5077
|
+
}[] | undefined;
|
5078
|
+
stereo?: boolean | undefined;
|
5079
|
+
disableRed?: boolean | undefined;
|
5080
|
+
encryption?: Encryption_Type | undefined;
|
5081
|
+
}[] | undefined;
|
5082
|
+
metadata?: string | undefined;
|
5083
|
+
joinedAt?: number | undefined;
|
5084
|
+
name?: string | undefined;
|
5085
|
+
version?: number | undefined;
|
5086
|
+
permission?: {
|
5087
|
+
canSubscribe?: boolean | undefined;
|
5088
|
+
canPublish?: boolean | undefined;
|
5089
|
+
canPublishData?: boolean | undefined;
|
5090
|
+
canPublishSources?: TrackSource[] | undefined;
|
5091
|
+
hidden?: boolean | undefined;
|
5092
|
+
recorder?: boolean | undefined;
|
5093
|
+
} | undefined;
|
5094
|
+
region?: string | undefined;
|
5095
|
+
isPublisher?: boolean | undefined;
|
5096
|
+
} & {
|
5097
|
+
sid?: string | undefined;
|
5098
|
+
identity?: string | undefined;
|
5099
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
5100
|
+
tracks?: ({
|
5101
|
+
sid?: string | undefined;
|
5102
|
+
type?: TrackType | undefined;
|
5103
|
+
name?: string | undefined;
|
5104
|
+
muted?: boolean | undefined;
|
5105
|
+
width?: number | undefined;
|
5106
|
+
height?: number | undefined;
|
5107
|
+
simulcast?: boolean | undefined;
|
5108
|
+
disableDtx?: boolean | undefined;
|
5109
|
+
source?: TrackSource | undefined;
|
5110
|
+
layers?: {
|
5111
|
+
quality?: VideoQuality | undefined;
|
5112
|
+
width?: number | undefined;
|
5113
|
+
height?: number | undefined;
|
5114
|
+
bitrate?: number | undefined;
|
5115
|
+
ssrc?: number | undefined;
|
5116
|
+
}[] | undefined;
|
5117
|
+
mimeType?: string | undefined;
|
5118
|
+
mid?: string | undefined;
|
5119
|
+
codecs?: {
|
5120
|
+
mimeType?: string | undefined;
|
5121
|
+
mid?: string | undefined;
|
5122
|
+
cid?: string | undefined;
|
5123
|
+
layers?: {
|
5124
|
+
quality?: VideoQuality | undefined;
|
5125
|
+
width?: number | undefined;
|
5126
|
+
height?: number | undefined;
|
5127
|
+
bitrate?: number | undefined;
|
5128
|
+
ssrc?: number | undefined;
|
5129
|
+
}[] | undefined;
|
5130
|
+
}[] | undefined;
|
5131
|
+
stereo?: boolean | undefined;
|
5132
|
+
disableRed?: boolean | undefined;
|
5133
|
+
encryption?: Encryption_Type | undefined;
|
5134
|
+
}[] & ({
|
5135
|
+
sid?: string | undefined;
|
5136
|
+
type?: TrackType | undefined;
|
5137
|
+
name?: string | undefined;
|
5138
|
+
muted?: boolean | undefined;
|
5139
|
+
width?: number | undefined;
|
5140
|
+
height?: number | undefined;
|
5141
|
+
simulcast?: boolean | undefined;
|
5142
|
+
disableDtx?: boolean | undefined;
|
5143
|
+
source?: TrackSource | undefined;
|
5144
|
+
layers?: {
|
5145
|
+
quality?: VideoQuality | undefined;
|
5146
|
+
width?: number | undefined;
|
5147
|
+
height?: number | undefined;
|
5148
|
+
bitrate?: number | undefined;
|
5149
|
+
ssrc?: number | undefined;
|
5150
|
+
}[] | undefined;
|
5151
|
+
mimeType?: string | undefined;
|
5152
|
+
mid?: string | undefined;
|
5153
|
+
codecs?: {
|
5154
|
+
mimeType?: string | undefined;
|
5155
|
+
mid?: string | undefined;
|
5156
|
+
cid?: string | undefined;
|
5157
|
+
layers?: {
|
5158
|
+
quality?: VideoQuality | undefined;
|
5159
|
+
width?: number | undefined;
|
5160
|
+
height?: number | undefined;
|
5161
|
+
bitrate?: number | undefined;
|
5162
|
+
ssrc?: number | undefined;
|
5163
|
+
}[] | undefined;
|
5164
|
+
}[] | undefined;
|
5165
|
+
stereo?: boolean | undefined;
|
5166
|
+
disableRed?: boolean | undefined;
|
5167
|
+
encryption?: Encryption_Type | undefined;
|
5168
|
+
} & {
|
5169
|
+
sid?: string | undefined;
|
5170
|
+
type?: TrackType | undefined;
|
5171
|
+
name?: string | undefined;
|
5172
|
+
muted?: boolean | undefined;
|
5173
|
+
width?: number | undefined;
|
5174
|
+
height?: number | undefined;
|
5175
|
+
simulcast?: boolean | undefined;
|
5176
|
+
disableDtx?: boolean | undefined;
|
5177
|
+
source?: TrackSource | undefined;
|
5178
|
+
layers?: ({
|
5179
|
+
quality?: VideoQuality | undefined;
|
5180
|
+
width?: number | undefined;
|
5181
|
+
height?: number | undefined;
|
5182
|
+
bitrate?: number | undefined;
|
5183
|
+
ssrc?: number | undefined;
|
5184
|
+
}[] & ({
|
5185
|
+
quality?: VideoQuality | undefined;
|
5186
|
+
width?: number | undefined;
|
5187
|
+
height?: number | undefined;
|
5188
|
+
bitrate?: number | undefined;
|
5189
|
+
ssrc?: number | undefined;
|
5190
|
+
} & {
|
5191
|
+
quality?: VideoQuality | undefined;
|
5192
|
+
width?: number | undefined;
|
5193
|
+
height?: number | undefined;
|
5194
|
+
bitrate?: number | undefined;
|
5195
|
+
ssrc?: number | undefined;
|
5196
|
+
} & { [K_125 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_126 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["layers"], keyof {
|
5197
|
+
quality?: VideoQuality | undefined;
|
5198
|
+
width?: number | undefined;
|
5199
|
+
height?: number | undefined;
|
5200
|
+
bitrate?: number | undefined;
|
5201
|
+
ssrc?: number | undefined;
|
5202
|
+
}[]>]: never; }) | undefined;
|
5203
|
+
mimeType?: string | undefined;
|
5204
|
+
mid?: string | undefined;
|
5205
|
+
codecs?: ({
|
5206
|
+
mimeType?: string | undefined;
|
5207
|
+
mid?: string | undefined;
|
5208
|
+
cid?: string | undefined;
|
5209
|
+
layers?: {
|
5210
|
+
quality?: VideoQuality | undefined;
|
5211
|
+
width?: number | undefined;
|
5212
|
+
height?: number | undefined;
|
5213
|
+
bitrate?: number | undefined;
|
5214
|
+
ssrc?: number | undefined;
|
5215
|
+
}[] | undefined;
|
5216
|
+
}[] & ({
|
5217
|
+
mimeType?: string | undefined;
|
5218
|
+
mid?: string | undefined;
|
5219
|
+
cid?: string | undefined;
|
5220
|
+
layers?: {
|
5221
|
+
quality?: VideoQuality | undefined;
|
5222
|
+
width?: number | undefined;
|
5223
|
+
height?: number | undefined;
|
5224
|
+
bitrate?: number | undefined;
|
5225
|
+
ssrc?: number | undefined;
|
5226
|
+
}[] | undefined;
|
5227
|
+
} & {
|
5228
|
+
mimeType?: string | undefined;
|
5229
|
+
mid?: string | undefined;
|
5230
|
+
cid?: string | undefined;
|
5231
|
+
layers?: ({
|
5232
|
+
quality?: VideoQuality | undefined;
|
5233
|
+
width?: number | undefined;
|
5234
|
+
height?: number | undefined;
|
5235
|
+
bitrate?: number | undefined;
|
5236
|
+
ssrc?: number | undefined;
|
5237
|
+
}[] & ({
|
5238
|
+
quality?: VideoQuality | undefined;
|
5239
|
+
width?: number | undefined;
|
5240
|
+
height?: number | undefined;
|
5241
|
+
bitrate?: number | undefined;
|
5242
|
+
ssrc?: number | undefined;
|
5243
|
+
} & {
|
5244
|
+
quality?: VideoQuality | undefined;
|
5245
|
+
width?: number | undefined;
|
5246
|
+
height?: number | undefined;
|
5247
|
+
bitrate?: number | undefined;
|
5248
|
+
ssrc?: number | undefined;
|
5249
|
+
} & { [K_127 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_128 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
|
5250
|
+
quality?: VideoQuality | undefined;
|
5251
|
+
width?: number | undefined;
|
5252
|
+
height?: number | undefined;
|
5253
|
+
bitrate?: number | undefined;
|
5254
|
+
ssrc?: number | undefined;
|
5255
|
+
}[]>]: never; }) | undefined;
|
5256
|
+
} & { [K_129 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_130 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
|
5257
|
+
mimeType?: string | undefined;
|
5258
|
+
mid?: string | undefined;
|
5259
|
+
cid?: string | undefined;
|
5260
|
+
layers?: {
|
5261
|
+
quality?: VideoQuality | undefined;
|
5262
|
+
width?: number | undefined;
|
5263
|
+
height?: number | undefined;
|
5264
|
+
bitrate?: number | undefined;
|
5265
|
+
ssrc?: number | undefined;
|
5266
|
+
}[] | undefined;
|
5267
|
+
}[]>]: never; }) | undefined;
|
5268
|
+
stereo?: boolean | undefined;
|
5269
|
+
disableRed?: boolean | undefined;
|
5270
|
+
encryption?: Encryption_Type | undefined;
|
5271
|
+
} & { [K_131 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_132 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"], keyof {
|
5272
|
+
sid?: string | undefined;
|
5273
|
+
type?: TrackType | undefined;
|
5274
|
+
name?: string | undefined;
|
5275
|
+
muted?: boolean | undefined;
|
5276
|
+
width?: number | undefined;
|
5277
|
+
height?: number | undefined;
|
5278
|
+
simulcast?: boolean | undefined;
|
5279
|
+
disableDtx?: boolean | undefined;
|
5280
|
+
source?: TrackSource | undefined;
|
5281
|
+
layers?: {
|
5282
|
+
quality?: VideoQuality | undefined;
|
5283
|
+
width?: number | undefined;
|
5284
|
+
height?: number | undefined;
|
5285
|
+
bitrate?: number | undefined;
|
5286
|
+
ssrc?: number | undefined;
|
5287
|
+
}[] | undefined;
|
5288
|
+
mimeType?: string | undefined;
|
5289
|
+
mid?: string | undefined;
|
5290
|
+
codecs?: {
|
5291
|
+
mimeType?: string | undefined;
|
5292
|
+
mid?: string | undefined;
|
5293
|
+
cid?: string | undefined;
|
5294
|
+
layers?: {
|
5295
|
+
quality?: VideoQuality | undefined;
|
5296
|
+
width?: number | undefined;
|
5297
|
+
height?: number | undefined;
|
5298
|
+
bitrate?: number | undefined;
|
5299
|
+
ssrc?: number | undefined;
|
5300
|
+
}[] | undefined;
|
5301
|
+
}[] | undefined;
|
5302
|
+
stereo?: boolean | undefined;
|
5303
|
+
disableRed?: boolean | undefined;
|
5304
|
+
encryption?: Encryption_Type | undefined;
|
5305
|
+
}[]>]: never; }) | undefined;
|
5306
|
+
metadata?: string | undefined;
|
5307
|
+
joinedAt?: number | undefined;
|
5308
|
+
name?: string | undefined;
|
5309
|
+
version?: number | undefined;
|
5310
|
+
permission?: ({
|
5311
|
+
canSubscribe?: boolean | undefined;
|
5312
|
+
canPublish?: boolean | undefined;
|
5313
|
+
canPublishData?: boolean | undefined;
|
5314
|
+
canPublishSources?: TrackSource[] | undefined;
|
5315
|
+
hidden?: boolean | undefined;
|
5316
|
+
recorder?: boolean | undefined;
|
5317
|
+
} & {
|
5318
|
+
canSubscribe?: boolean | undefined;
|
5319
|
+
canPublish?: boolean | undefined;
|
5320
|
+
canPublishData?: boolean | undefined;
|
5321
|
+
canPublishSources?: (TrackSource[] & TrackSource[] & { [K_133 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
5322
|
+
hidden?: boolean | undefined;
|
5323
|
+
recorder?: boolean | undefined;
|
5324
|
+
} & { [K_134 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
|
5325
|
+
region?: string | undefined;
|
5326
|
+
isPublisher?: boolean | undefined;
|
5327
|
+
} & { [K_135 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number], keyof ParticipantInfo>]: never; })[] & { [K_136 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"], keyof {
|
5328
|
+
sid?: string | undefined;
|
5329
|
+
identity?: string | undefined;
|
5330
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
5331
|
+
tracks?: {
|
5332
|
+
sid?: string | undefined;
|
5333
|
+
type?: TrackType | undefined;
|
5334
|
+
name?: string | undefined;
|
5335
|
+
muted?: boolean | undefined;
|
5336
|
+
width?: number | undefined;
|
5337
|
+
height?: number | undefined;
|
5338
|
+
simulcast?: boolean | undefined;
|
5339
|
+
disableDtx?: boolean | undefined;
|
5340
|
+
source?: TrackSource | undefined;
|
5341
|
+
layers?: {
|
5342
|
+
quality?: VideoQuality | undefined;
|
5343
|
+
width?: number | undefined;
|
5344
|
+
height?: number | undefined;
|
5345
|
+
bitrate?: number | undefined;
|
5346
|
+
ssrc?: number | undefined;
|
5347
|
+
}[] | undefined;
|
5348
|
+
mimeType?: string | undefined;
|
5349
|
+
mid?: string | undefined;
|
5350
|
+
codecs?: {
|
5351
|
+
mimeType?: string | undefined;
|
5352
|
+
mid?: string | undefined;
|
5353
|
+
cid?: string | undefined;
|
5354
|
+
layers?: {
|
5355
|
+
quality?: VideoQuality | undefined;
|
5356
|
+
width?: number | undefined;
|
5357
|
+
height?: number | undefined;
|
5358
|
+
bitrate?: number | undefined;
|
5359
|
+
ssrc?: number | undefined;
|
5360
|
+
}[] | undefined;
|
5361
|
+
}[] | undefined;
|
5362
|
+
stereo?: boolean | undefined;
|
5363
|
+
disableRed?: boolean | undefined;
|
5364
|
+
encryption?: Encryption_Type | undefined;
|
5365
|
+
}[] | undefined;
|
5366
|
+
metadata?: string | undefined;
|
5367
|
+
joinedAt?: number | undefined;
|
5368
|
+
name?: string | undefined;
|
5369
|
+
version?: number | undefined;
|
5370
|
+
permission?: {
|
5371
|
+
canSubscribe?: boolean | undefined;
|
5372
|
+
canPublish?: boolean | undefined;
|
5373
|
+
canPublishData?: boolean | undefined;
|
5374
|
+
canPublishSources?: TrackSource[] | undefined;
|
5375
|
+
hidden?: boolean | undefined;
|
5376
|
+
recorder?: boolean | undefined;
|
5377
|
+
} | undefined;
|
5378
|
+
region?: string | undefined;
|
5379
|
+
isPublisher?: boolean | undefined;
|
5380
|
+
}[]>]: never; }) | undefined;
|
5381
|
+
} & { [K_137 in Exclude<keyof I["message"]["reconnect"], keyof ReconnectResponse>]: never; }) | undefined;
|
5382
|
+
$case: "reconnect";
|
5383
|
+
} & { [K_138 in Exclude<keyof I["message"], "reconnect" | "$case">]: never; }) | ({
|
5384
|
+
pongResp?: {
|
5385
|
+
lastPingTimestamp?: number | undefined;
|
5386
|
+
timestamp?: number | undefined;
|
5387
|
+
} | undefined;
|
5388
|
+
} & {
|
5389
|
+
$case: "pongResp";
|
5390
|
+
} & {
|
5391
|
+
pongResp?: ({
|
5392
|
+
lastPingTimestamp?: number | undefined;
|
5393
|
+
timestamp?: number | undefined;
|
5394
|
+
} & {
|
5395
|
+
lastPingTimestamp?: number | undefined;
|
5396
|
+
timestamp?: number | undefined;
|
5397
|
+
} & { [K_139 in Exclude<keyof I["message"]["pongResp"], keyof Pong>]: never; }) | undefined;
|
5398
|
+
$case: "pongResp";
|
5399
|
+
} & { [K_140 in Exclude<keyof I["message"], "pongResp" | "$case">]: never; }) | undefined;
|
5400
|
+
} & { [K_141 in Exclude<keyof I, "message">]: never; }>(object: I): SignalResponse;
|
5401
|
+
};
|
5402
|
+
export declare const SimulcastCodec: {
|
5403
|
+
encode(message: SimulcastCodec, writer?: _m0.Writer): _m0.Writer;
|
5404
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SimulcastCodec;
|
5405
|
+
fromJSON(object: any): SimulcastCodec;
|
5406
|
+
toJSON(message: SimulcastCodec): unknown;
|
5407
|
+
fromPartial<I extends {
|
5408
|
+
codec?: string | undefined;
|
5409
|
+
cid?: string | undefined;
|
5410
|
+
enableSimulcastLayers?: boolean | undefined;
|
5411
|
+
} & {
|
5412
|
+
codec?: string | undefined;
|
5413
|
+
cid?: string | undefined;
|
5414
|
+
enableSimulcastLayers?: boolean | undefined;
|
5415
|
+
} & { [K in Exclude<keyof I, keyof SimulcastCodec>]: never; }>(object: I): SimulcastCodec;
|
5416
|
+
};
|
5417
|
+
export declare const AddTrackRequest: {
|
4270
5418
|
encode(message: AddTrackRequest, writer?: _m0.Writer): _m0.Writer;
|
4271
5419
|
decode(input: _m0.Reader | Uint8Array, length?: number): AddTrackRequest;
|
4272
5420
|
fromJSON(object: any): AddTrackRequest;
|
@@ -4287,104 +5435,1093 @@ export declare const AddTrackRequest: {
|
|
4287
5435
|
bitrate?: number | undefined;
|
4288
5436
|
ssrc?: number | undefined;
|
4289
5437
|
}[] | undefined;
|
4290
|
-
simulcastCodecs?: {
|
4291
|
-
codec?: string | undefined;
|
4292
|
-
cid?: string | undefined;
|
4293
|
-
enableSimulcastLayers?: boolean | undefined;
|
5438
|
+
simulcastCodecs?: {
|
5439
|
+
codec?: string | undefined;
|
5440
|
+
cid?: string | undefined;
|
5441
|
+
enableSimulcastLayers?: boolean | undefined;
|
5442
|
+
}[] | undefined;
|
5443
|
+
sid?: string | undefined;
|
5444
|
+
stereo?: boolean | undefined;
|
5445
|
+
disableRed?: boolean | undefined;
|
5446
|
+
encryption?: Encryption_Type | undefined;
|
5447
|
+
} & {
|
5448
|
+
cid?: string | undefined;
|
5449
|
+
name?: string | undefined;
|
5450
|
+
type?: TrackType | undefined;
|
5451
|
+
width?: number | undefined;
|
5452
|
+
height?: number | undefined;
|
5453
|
+
muted?: boolean | undefined;
|
5454
|
+
disableDtx?: boolean | undefined;
|
5455
|
+
source?: TrackSource | undefined;
|
5456
|
+
layers?: ({
|
5457
|
+
quality?: VideoQuality | undefined;
|
5458
|
+
width?: number | undefined;
|
5459
|
+
height?: number | undefined;
|
5460
|
+
bitrate?: number | undefined;
|
5461
|
+
ssrc?: number | undefined;
|
5462
|
+
}[] & ({
|
5463
|
+
quality?: VideoQuality | undefined;
|
5464
|
+
width?: number | undefined;
|
5465
|
+
height?: number | undefined;
|
5466
|
+
bitrate?: number | undefined;
|
5467
|
+
ssrc?: number | undefined;
|
5468
|
+
} & {
|
5469
|
+
quality?: VideoQuality | undefined;
|
5470
|
+
width?: number | undefined;
|
5471
|
+
height?: number | undefined;
|
5472
|
+
bitrate?: number | undefined;
|
5473
|
+
ssrc?: number | undefined;
|
5474
|
+
} & { [K in Exclude<keyof I["layers"][number], keyof VideoLayer>]: never; })[] & { [K_1 in Exclude<keyof I["layers"], keyof {
|
5475
|
+
quality?: VideoQuality | undefined;
|
5476
|
+
width?: number | undefined;
|
5477
|
+
height?: number | undefined;
|
5478
|
+
bitrate?: number | undefined;
|
5479
|
+
ssrc?: number | undefined;
|
5480
|
+
}[]>]: never; }) | undefined;
|
5481
|
+
simulcastCodecs?: ({
|
5482
|
+
codec?: string | undefined;
|
5483
|
+
cid?: string | undefined;
|
5484
|
+
enableSimulcastLayers?: boolean | undefined;
|
5485
|
+
}[] & ({
|
5486
|
+
codec?: string | undefined;
|
5487
|
+
cid?: string | undefined;
|
5488
|
+
enableSimulcastLayers?: boolean | undefined;
|
5489
|
+
} & {
|
5490
|
+
codec?: string | undefined;
|
5491
|
+
cid?: string | undefined;
|
5492
|
+
enableSimulcastLayers?: boolean | undefined;
|
5493
|
+
} & { [K_2 in Exclude<keyof I["simulcastCodecs"][number], keyof SimulcastCodec>]: never; })[] & { [K_3 in Exclude<keyof I["simulcastCodecs"], keyof {
|
5494
|
+
codec?: string | undefined;
|
5495
|
+
cid?: string | undefined;
|
5496
|
+
enableSimulcastLayers?: boolean | undefined;
|
5497
|
+
}[]>]: never; }) | undefined;
|
5498
|
+
sid?: string | undefined;
|
5499
|
+
stereo?: boolean | undefined;
|
5500
|
+
disableRed?: boolean | undefined;
|
5501
|
+
encryption?: Encryption_Type | undefined;
|
5502
|
+
} & { [K_4 in Exclude<keyof I, keyof AddTrackRequest>]: never; }>(object: I): AddTrackRequest;
|
5503
|
+
};
|
5504
|
+
export declare const TrickleRequest: {
|
5505
|
+
encode(message: TrickleRequest, writer?: _m0.Writer): _m0.Writer;
|
5506
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TrickleRequest;
|
5507
|
+
fromJSON(object: any): TrickleRequest;
|
5508
|
+
toJSON(message: TrickleRequest): unknown;
|
5509
|
+
fromPartial<I extends {
|
5510
|
+
candidateInit?: string | undefined;
|
5511
|
+
target?: SignalTarget | undefined;
|
5512
|
+
} & {
|
5513
|
+
candidateInit?: string | undefined;
|
5514
|
+
target?: SignalTarget | undefined;
|
5515
|
+
} & { [K in Exclude<keyof I, keyof TrickleRequest>]: never; }>(object: I): TrickleRequest;
|
5516
|
+
};
|
5517
|
+
export declare const MuteTrackRequest: {
|
5518
|
+
encode(message: MuteTrackRequest, writer?: _m0.Writer): _m0.Writer;
|
5519
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MuteTrackRequest;
|
5520
|
+
fromJSON(object: any): MuteTrackRequest;
|
5521
|
+
toJSON(message: MuteTrackRequest): unknown;
|
5522
|
+
fromPartial<I extends {
|
5523
|
+
sid?: string | undefined;
|
5524
|
+
muted?: boolean | undefined;
|
5525
|
+
} & {
|
5526
|
+
sid?: string | undefined;
|
5527
|
+
muted?: boolean | undefined;
|
5528
|
+
} & { [K in Exclude<keyof I, keyof MuteTrackRequest>]: never; }>(object: I): MuteTrackRequest;
|
5529
|
+
};
|
5530
|
+
export declare const JoinResponse: {
|
5531
|
+
encode(message: JoinResponse, writer?: _m0.Writer): _m0.Writer;
|
5532
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): JoinResponse;
|
5533
|
+
fromJSON(object: any): JoinResponse;
|
5534
|
+
toJSON(message: JoinResponse): unknown;
|
5535
|
+
fromPartial<I extends {
|
5536
|
+
room?: {
|
5537
|
+
sid?: string | undefined;
|
5538
|
+
name?: string | undefined;
|
5539
|
+
emptyTimeout?: number | undefined;
|
5540
|
+
maxParticipants?: number | undefined;
|
5541
|
+
creationTime?: number | undefined;
|
5542
|
+
turnPassword?: string | undefined;
|
5543
|
+
enabledCodecs?: {
|
5544
|
+
mime?: string | undefined;
|
5545
|
+
fmtpLine?: string | undefined;
|
5546
|
+
}[] | undefined;
|
5547
|
+
metadata?: string | undefined;
|
5548
|
+
numParticipants?: number | undefined;
|
5549
|
+
activeRecording?: boolean | undefined;
|
5550
|
+
} | undefined;
|
5551
|
+
participant?: {
|
5552
|
+
sid?: string | undefined;
|
5553
|
+
identity?: string | undefined;
|
5554
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
5555
|
+
tracks?: {
|
5556
|
+
sid?: string | undefined;
|
5557
|
+
type?: TrackType | undefined;
|
5558
|
+
name?: string | undefined;
|
5559
|
+
muted?: boolean | undefined;
|
5560
|
+
width?: number | undefined;
|
5561
|
+
height?: number | undefined;
|
5562
|
+
simulcast?: boolean | undefined;
|
5563
|
+
disableDtx?: boolean | undefined;
|
5564
|
+
source?: TrackSource | undefined;
|
5565
|
+
layers?: {
|
5566
|
+
quality?: VideoQuality | undefined;
|
5567
|
+
width?: number | undefined;
|
5568
|
+
height?: number | undefined;
|
5569
|
+
bitrate?: number | undefined;
|
5570
|
+
ssrc?: number | undefined;
|
5571
|
+
}[] | undefined;
|
5572
|
+
mimeType?: string | undefined;
|
5573
|
+
mid?: string | undefined;
|
5574
|
+
codecs?: {
|
5575
|
+
mimeType?: string | undefined;
|
5576
|
+
mid?: string | undefined;
|
5577
|
+
cid?: string | undefined;
|
5578
|
+
layers?: {
|
5579
|
+
quality?: VideoQuality | undefined;
|
5580
|
+
width?: number | undefined;
|
5581
|
+
height?: number | undefined;
|
5582
|
+
bitrate?: number | undefined;
|
5583
|
+
ssrc?: number | undefined;
|
5584
|
+
}[] | undefined;
|
5585
|
+
}[] | undefined;
|
5586
|
+
stereo?: boolean | undefined;
|
5587
|
+
disableRed?: boolean | undefined;
|
5588
|
+
encryption?: Encryption_Type | undefined;
|
5589
|
+
}[] | undefined;
|
5590
|
+
metadata?: string | undefined;
|
5591
|
+
joinedAt?: number | undefined;
|
5592
|
+
name?: string | undefined;
|
5593
|
+
version?: number | undefined;
|
5594
|
+
permission?: {
|
5595
|
+
canSubscribe?: boolean | undefined;
|
5596
|
+
canPublish?: boolean | undefined;
|
5597
|
+
canPublishData?: boolean | undefined;
|
5598
|
+
canPublishSources?: TrackSource[] | undefined;
|
5599
|
+
hidden?: boolean | undefined;
|
5600
|
+
recorder?: boolean | undefined;
|
5601
|
+
} | undefined;
|
5602
|
+
region?: string | undefined;
|
5603
|
+
isPublisher?: boolean | undefined;
|
5604
|
+
} | undefined;
|
5605
|
+
otherParticipants?: {
|
5606
|
+
sid?: string | undefined;
|
5607
|
+
identity?: string | undefined;
|
5608
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
5609
|
+
tracks?: {
|
5610
|
+
sid?: string | undefined;
|
5611
|
+
type?: TrackType | undefined;
|
5612
|
+
name?: string | undefined;
|
5613
|
+
muted?: boolean | undefined;
|
5614
|
+
width?: number | undefined;
|
5615
|
+
height?: number | undefined;
|
5616
|
+
simulcast?: boolean | undefined;
|
5617
|
+
disableDtx?: boolean | undefined;
|
5618
|
+
source?: TrackSource | undefined;
|
5619
|
+
layers?: {
|
5620
|
+
quality?: VideoQuality | undefined;
|
5621
|
+
width?: number | undefined;
|
5622
|
+
height?: number | undefined;
|
5623
|
+
bitrate?: number | undefined;
|
5624
|
+
ssrc?: number | undefined;
|
5625
|
+
}[] | undefined;
|
5626
|
+
mimeType?: string | undefined;
|
5627
|
+
mid?: string | undefined;
|
5628
|
+
codecs?: {
|
5629
|
+
mimeType?: string | undefined;
|
5630
|
+
mid?: string | undefined;
|
5631
|
+
cid?: string | undefined;
|
5632
|
+
layers?: {
|
5633
|
+
quality?: VideoQuality | undefined;
|
5634
|
+
width?: number | undefined;
|
5635
|
+
height?: number | undefined;
|
5636
|
+
bitrate?: number | undefined;
|
5637
|
+
ssrc?: number | undefined;
|
5638
|
+
}[] | undefined;
|
5639
|
+
}[] | undefined;
|
5640
|
+
stereo?: boolean | undefined;
|
5641
|
+
disableRed?: boolean | undefined;
|
5642
|
+
encryption?: Encryption_Type | undefined;
|
5643
|
+
}[] | undefined;
|
5644
|
+
metadata?: string | undefined;
|
5645
|
+
joinedAt?: number | undefined;
|
5646
|
+
name?: string | undefined;
|
5647
|
+
version?: number | undefined;
|
5648
|
+
permission?: {
|
5649
|
+
canSubscribe?: boolean | undefined;
|
5650
|
+
canPublish?: boolean | undefined;
|
5651
|
+
canPublishData?: boolean | undefined;
|
5652
|
+
canPublishSources?: TrackSource[] | undefined;
|
5653
|
+
hidden?: boolean | undefined;
|
5654
|
+
recorder?: boolean | undefined;
|
5655
|
+
} | undefined;
|
5656
|
+
region?: string | undefined;
|
5657
|
+
isPublisher?: boolean | undefined;
|
5658
|
+
}[] | undefined;
|
5659
|
+
serverVersion?: string | undefined;
|
5660
|
+
iceServers?: {
|
5661
|
+
urls?: string[] | undefined;
|
5662
|
+
username?: string | undefined;
|
5663
|
+
credential?: string | undefined;
|
4294
5664
|
}[] | undefined;
|
4295
|
-
|
4296
|
-
|
4297
|
-
|
4298
|
-
|
5665
|
+
subscriberPrimary?: boolean | undefined;
|
5666
|
+
alternativeUrl?: string | undefined;
|
5667
|
+
clientConfiguration?: {
|
5668
|
+
video?: {
|
5669
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5670
|
+
} | undefined;
|
5671
|
+
screen?: {
|
5672
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5673
|
+
} | undefined;
|
5674
|
+
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
5675
|
+
disabledCodecs?: {
|
5676
|
+
codecs?: {
|
5677
|
+
mime?: string | undefined;
|
5678
|
+
fmtpLine?: string | undefined;
|
5679
|
+
}[] | undefined;
|
5680
|
+
} | undefined;
|
5681
|
+
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
5682
|
+
} | undefined;
|
5683
|
+
serverRegion?: string | undefined;
|
5684
|
+
pingTimeout?: number | undefined;
|
5685
|
+
pingInterval?: number | undefined;
|
5686
|
+
serverInfo?: {
|
5687
|
+
edition?: import("./livekit_models").ServerInfo_Edition | undefined;
|
5688
|
+
version?: string | undefined;
|
5689
|
+
protocol?: number | undefined;
|
5690
|
+
region?: string | undefined;
|
5691
|
+
nodeId?: string | undefined;
|
5692
|
+
debugInfo?: string | undefined;
|
5693
|
+
} | undefined;
|
4299
5694
|
} & {
|
4300
|
-
|
4301
|
-
|
4302
|
-
|
4303
|
-
|
4304
|
-
|
4305
|
-
|
4306
|
-
|
4307
|
-
|
4308
|
-
|
4309
|
-
|
4310
|
-
|
4311
|
-
|
4312
|
-
|
4313
|
-
|
5695
|
+
room?: ({
|
5696
|
+
sid?: string | undefined;
|
5697
|
+
name?: string | undefined;
|
5698
|
+
emptyTimeout?: number | undefined;
|
5699
|
+
maxParticipants?: number | undefined;
|
5700
|
+
creationTime?: number | undefined;
|
5701
|
+
turnPassword?: string | undefined;
|
5702
|
+
enabledCodecs?: {
|
5703
|
+
mime?: string | undefined;
|
5704
|
+
fmtpLine?: string | undefined;
|
5705
|
+
}[] | undefined;
|
5706
|
+
metadata?: string | undefined;
|
5707
|
+
numParticipants?: number | undefined;
|
5708
|
+
activeRecording?: boolean | undefined;
|
5709
|
+
} & {
|
5710
|
+
sid?: string | undefined;
|
5711
|
+
name?: string | undefined;
|
5712
|
+
emptyTimeout?: number | undefined;
|
5713
|
+
maxParticipants?: number | undefined;
|
5714
|
+
creationTime?: number | undefined;
|
5715
|
+
turnPassword?: string | undefined;
|
5716
|
+
enabledCodecs?: ({
|
5717
|
+
mime?: string | undefined;
|
5718
|
+
fmtpLine?: string | undefined;
|
5719
|
+
}[] & ({
|
5720
|
+
mime?: string | undefined;
|
5721
|
+
fmtpLine?: string | undefined;
|
5722
|
+
} & {
|
5723
|
+
mime?: string | undefined;
|
5724
|
+
fmtpLine?: string | undefined;
|
5725
|
+
} & { [K in Exclude<keyof I["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_1 in Exclude<keyof I["room"]["enabledCodecs"], keyof {
|
5726
|
+
mime?: string | undefined;
|
5727
|
+
fmtpLine?: string | undefined;
|
5728
|
+
}[]>]: never; }) | undefined;
|
5729
|
+
metadata?: string | undefined;
|
5730
|
+
numParticipants?: number | undefined;
|
5731
|
+
activeRecording?: boolean | undefined;
|
5732
|
+
} & { [K_2 in Exclude<keyof I["room"], keyof Room>]: never; }) | undefined;
|
5733
|
+
participant?: ({
|
5734
|
+
sid?: string | undefined;
|
5735
|
+
identity?: string | undefined;
|
5736
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
5737
|
+
tracks?: {
|
5738
|
+
sid?: string | undefined;
|
5739
|
+
type?: TrackType | undefined;
|
5740
|
+
name?: string | undefined;
|
5741
|
+
muted?: boolean | undefined;
|
5742
|
+
width?: number | undefined;
|
5743
|
+
height?: number | undefined;
|
5744
|
+
simulcast?: boolean | undefined;
|
5745
|
+
disableDtx?: boolean | undefined;
|
5746
|
+
source?: TrackSource | undefined;
|
5747
|
+
layers?: {
|
5748
|
+
quality?: VideoQuality | undefined;
|
5749
|
+
width?: number | undefined;
|
5750
|
+
height?: number | undefined;
|
5751
|
+
bitrate?: number | undefined;
|
5752
|
+
ssrc?: number | undefined;
|
5753
|
+
}[] | undefined;
|
5754
|
+
mimeType?: string | undefined;
|
5755
|
+
mid?: string | undefined;
|
5756
|
+
codecs?: {
|
5757
|
+
mimeType?: string | undefined;
|
5758
|
+
mid?: string | undefined;
|
5759
|
+
cid?: string | undefined;
|
5760
|
+
layers?: {
|
5761
|
+
quality?: VideoQuality | undefined;
|
5762
|
+
width?: number | undefined;
|
5763
|
+
height?: number | undefined;
|
5764
|
+
bitrate?: number | undefined;
|
5765
|
+
ssrc?: number | undefined;
|
5766
|
+
}[] | undefined;
|
5767
|
+
}[] | undefined;
|
5768
|
+
stereo?: boolean | undefined;
|
5769
|
+
disableRed?: boolean | undefined;
|
5770
|
+
encryption?: Encryption_Type | undefined;
|
5771
|
+
}[] | undefined;
|
5772
|
+
metadata?: string | undefined;
|
5773
|
+
joinedAt?: number | undefined;
|
5774
|
+
name?: string | undefined;
|
5775
|
+
version?: number | undefined;
|
5776
|
+
permission?: {
|
5777
|
+
canSubscribe?: boolean | undefined;
|
5778
|
+
canPublish?: boolean | undefined;
|
5779
|
+
canPublishData?: boolean | undefined;
|
5780
|
+
canPublishSources?: TrackSource[] | undefined;
|
5781
|
+
hidden?: boolean | undefined;
|
5782
|
+
recorder?: boolean | undefined;
|
5783
|
+
} | undefined;
|
5784
|
+
region?: string | undefined;
|
5785
|
+
isPublisher?: boolean | undefined;
|
5786
|
+
} & {
|
5787
|
+
sid?: string | undefined;
|
5788
|
+
identity?: string | undefined;
|
5789
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
5790
|
+
tracks?: ({
|
5791
|
+
sid?: string | undefined;
|
5792
|
+
type?: TrackType | undefined;
|
5793
|
+
name?: string | undefined;
|
5794
|
+
muted?: boolean | undefined;
|
5795
|
+
width?: number | undefined;
|
5796
|
+
height?: number | undefined;
|
5797
|
+
simulcast?: boolean | undefined;
|
5798
|
+
disableDtx?: boolean | undefined;
|
5799
|
+
source?: TrackSource | undefined;
|
5800
|
+
layers?: {
|
5801
|
+
quality?: VideoQuality | undefined;
|
5802
|
+
width?: number | undefined;
|
5803
|
+
height?: number | undefined;
|
5804
|
+
bitrate?: number | undefined;
|
5805
|
+
ssrc?: number | undefined;
|
5806
|
+
}[] | undefined;
|
5807
|
+
mimeType?: string | undefined;
|
5808
|
+
mid?: string | undefined;
|
5809
|
+
codecs?: {
|
5810
|
+
mimeType?: string | undefined;
|
5811
|
+
mid?: string | undefined;
|
5812
|
+
cid?: string | undefined;
|
5813
|
+
layers?: {
|
5814
|
+
quality?: VideoQuality | undefined;
|
5815
|
+
width?: number | undefined;
|
5816
|
+
height?: number | undefined;
|
5817
|
+
bitrate?: number | undefined;
|
5818
|
+
ssrc?: number | undefined;
|
5819
|
+
}[] | undefined;
|
5820
|
+
}[] | undefined;
|
5821
|
+
stereo?: boolean | undefined;
|
5822
|
+
disableRed?: boolean | undefined;
|
5823
|
+
encryption?: Encryption_Type | undefined;
|
5824
|
+
}[] & ({
|
5825
|
+
sid?: string | undefined;
|
5826
|
+
type?: TrackType | undefined;
|
5827
|
+
name?: string | undefined;
|
5828
|
+
muted?: boolean | undefined;
|
5829
|
+
width?: number | undefined;
|
5830
|
+
height?: number | undefined;
|
5831
|
+
simulcast?: boolean | undefined;
|
5832
|
+
disableDtx?: boolean | undefined;
|
5833
|
+
source?: TrackSource | undefined;
|
5834
|
+
layers?: {
|
5835
|
+
quality?: VideoQuality | undefined;
|
5836
|
+
width?: number | undefined;
|
5837
|
+
height?: number | undefined;
|
5838
|
+
bitrate?: number | undefined;
|
5839
|
+
ssrc?: number | undefined;
|
5840
|
+
}[] | undefined;
|
5841
|
+
mimeType?: string | undefined;
|
5842
|
+
mid?: string | undefined;
|
5843
|
+
codecs?: {
|
5844
|
+
mimeType?: string | undefined;
|
5845
|
+
mid?: string | undefined;
|
5846
|
+
cid?: string | undefined;
|
5847
|
+
layers?: {
|
5848
|
+
quality?: VideoQuality | undefined;
|
5849
|
+
width?: number | undefined;
|
5850
|
+
height?: number | undefined;
|
5851
|
+
bitrate?: number | undefined;
|
5852
|
+
ssrc?: number | undefined;
|
5853
|
+
}[] | undefined;
|
5854
|
+
}[] | undefined;
|
5855
|
+
stereo?: boolean | undefined;
|
5856
|
+
disableRed?: boolean | undefined;
|
5857
|
+
encryption?: Encryption_Type | undefined;
|
5858
|
+
} & {
|
5859
|
+
sid?: string | undefined;
|
5860
|
+
type?: TrackType | undefined;
|
5861
|
+
name?: string | undefined;
|
5862
|
+
muted?: boolean | undefined;
|
5863
|
+
width?: number | undefined;
|
5864
|
+
height?: number | undefined;
|
5865
|
+
simulcast?: boolean | undefined;
|
5866
|
+
disableDtx?: boolean | undefined;
|
5867
|
+
source?: TrackSource | undefined;
|
5868
|
+
layers?: ({
|
5869
|
+
quality?: VideoQuality | undefined;
|
5870
|
+
width?: number | undefined;
|
5871
|
+
height?: number | undefined;
|
5872
|
+
bitrate?: number | undefined;
|
5873
|
+
ssrc?: number | undefined;
|
5874
|
+
}[] & ({
|
5875
|
+
quality?: VideoQuality | undefined;
|
5876
|
+
width?: number | undefined;
|
5877
|
+
height?: number | undefined;
|
5878
|
+
bitrate?: number | undefined;
|
5879
|
+
ssrc?: number | undefined;
|
5880
|
+
} & {
|
5881
|
+
quality?: VideoQuality | undefined;
|
5882
|
+
width?: number | undefined;
|
5883
|
+
height?: number | undefined;
|
5884
|
+
bitrate?: number | undefined;
|
5885
|
+
ssrc?: number | undefined;
|
5886
|
+
} & { [K_3 in Exclude<keyof I["participant"]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_4 in Exclude<keyof I["participant"]["tracks"][number]["layers"], keyof {
|
5887
|
+
quality?: VideoQuality | undefined;
|
5888
|
+
width?: number | undefined;
|
5889
|
+
height?: number | undefined;
|
5890
|
+
bitrate?: number | undefined;
|
5891
|
+
ssrc?: number | undefined;
|
5892
|
+
}[]>]: never; }) | undefined;
|
5893
|
+
mimeType?: string | undefined;
|
5894
|
+
mid?: string | undefined;
|
5895
|
+
codecs?: ({
|
5896
|
+
mimeType?: string | undefined;
|
5897
|
+
mid?: string | undefined;
|
5898
|
+
cid?: string | undefined;
|
5899
|
+
layers?: {
|
5900
|
+
quality?: VideoQuality | undefined;
|
5901
|
+
width?: number | undefined;
|
5902
|
+
height?: number | undefined;
|
5903
|
+
bitrate?: number | undefined;
|
5904
|
+
ssrc?: number | undefined;
|
5905
|
+
}[] | undefined;
|
5906
|
+
}[] & ({
|
5907
|
+
mimeType?: string | undefined;
|
5908
|
+
mid?: string | undefined;
|
5909
|
+
cid?: string | undefined;
|
5910
|
+
layers?: {
|
5911
|
+
quality?: VideoQuality | undefined;
|
5912
|
+
width?: number | undefined;
|
5913
|
+
height?: number | undefined;
|
5914
|
+
bitrate?: number | undefined;
|
5915
|
+
ssrc?: number | undefined;
|
5916
|
+
}[] | undefined;
|
5917
|
+
} & {
|
5918
|
+
mimeType?: string | undefined;
|
5919
|
+
mid?: string | undefined;
|
5920
|
+
cid?: string | undefined;
|
5921
|
+
layers?: ({
|
5922
|
+
quality?: VideoQuality | undefined;
|
5923
|
+
width?: number | undefined;
|
5924
|
+
height?: number | undefined;
|
5925
|
+
bitrate?: number | undefined;
|
5926
|
+
ssrc?: number | undefined;
|
5927
|
+
}[] & ({
|
5928
|
+
quality?: VideoQuality | undefined;
|
5929
|
+
width?: number | undefined;
|
5930
|
+
height?: number | undefined;
|
5931
|
+
bitrate?: number | undefined;
|
5932
|
+
ssrc?: number | undefined;
|
5933
|
+
} & {
|
5934
|
+
quality?: VideoQuality | undefined;
|
5935
|
+
width?: number | undefined;
|
5936
|
+
height?: number | undefined;
|
5937
|
+
bitrate?: number | undefined;
|
5938
|
+
ssrc?: number | undefined;
|
5939
|
+
} & { [K_5 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_6 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"], keyof {
|
5940
|
+
quality?: VideoQuality | undefined;
|
5941
|
+
width?: number | undefined;
|
5942
|
+
height?: number | undefined;
|
5943
|
+
bitrate?: number | undefined;
|
5944
|
+
ssrc?: number | undefined;
|
5945
|
+
}[]>]: never; }) | undefined;
|
5946
|
+
} & { [K_7 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_8 in Exclude<keyof I["participant"]["tracks"][number]["codecs"], keyof {
|
5947
|
+
mimeType?: string | undefined;
|
5948
|
+
mid?: string | undefined;
|
5949
|
+
cid?: string | undefined;
|
5950
|
+
layers?: {
|
5951
|
+
quality?: VideoQuality | undefined;
|
5952
|
+
width?: number | undefined;
|
5953
|
+
height?: number | undefined;
|
5954
|
+
bitrate?: number | undefined;
|
5955
|
+
ssrc?: number | undefined;
|
5956
|
+
}[] | undefined;
|
5957
|
+
}[]>]: never; }) | undefined;
|
5958
|
+
stereo?: boolean | undefined;
|
5959
|
+
disableRed?: boolean | undefined;
|
5960
|
+
encryption?: Encryption_Type | undefined;
|
5961
|
+
} & { [K_9 in Exclude<keyof I["participant"]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_10 in Exclude<keyof I["participant"]["tracks"], keyof {
|
5962
|
+
sid?: string | undefined;
|
5963
|
+
type?: TrackType | undefined;
|
5964
|
+
name?: string | undefined;
|
5965
|
+
muted?: boolean | undefined;
|
5966
|
+
width?: number | undefined;
|
5967
|
+
height?: number | undefined;
|
5968
|
+
simulcast?: boolean | undefined;
|
5969
|
+
disableDtx?: boolean | undefined;
|
5970
|
+
source?: TrackSource | undefined;
|
5971
|
+
layers?: {
|
5972
|
+
quality?: VideoQuality | undefined;
|
5973
|
+
width?: number | undefined;
|
5974
|
+
height?: number | undefined;
|
5975
|
+
bitrate?: number | undefined;
|
5976
|
+
ssrc?: number | undefined;
|
5977
|
+
}[] | undefined;
|
5978
|
+
mimeType?: string | undefined;
|
5979
|
+
mid?: string | undefined;
|
5980
|
+
codecs?: {
|
5981
|
+
mimeType?: string | undefined;
|
5982
|
+
mid?: string | undefined;
|
5983
|
+
cid?: string | undefined;
|
5984
|
+
layers?: {
|
5985
|
+
quality?: VideoQuality | undefined;
|
5986
|
+
width?: number | undefined;
|
5987
|
+
height?: number | undefined;
|
5988
|
+
bitrate?: number | undefined;
|
5989
|
+
ssrc?: number | undefined;
|
5990
|
+
}[] | undefined;
|
5991
|
+
}[] | undefined;
|
5992
|
+
stereo?: boolean | undefined;
|
5993
|
+
disableRed?: boolean | undefined;
|
5994
|
+
encryption?: Encryption_Type | undefined;
|
5995
|
+
}[]>]: never; }) | undefined;
|
5996
|
+
metadata?: string | undefined;
|
5997
|
+
joinedAt?: number | undefined;
|
5998
|
+
name?: string | undefined;
|
5999
|
+
version?: number | undefined;
|
6000
|
+
permission?: ({
|
6001
|
+
canSubscribe?: boolean | undefined;
|
6002
|
+
canPublish?: boolean | undefined;
|
6003
|
+
canPublishData?: boolean | undefined;
|
6004
|
+
canPublishSources?: TrackSource[] | undefined;
|
6005
|
+
hidden?: boolean | undefined;
|
6006
|
+
recorder?: boolean | undefined;
|
6007
|
+
} & {
|
6008
|
+
canSubscribe?: boolean | undefined;
|
6009
|
+
canPublish?: boolean | undefined;
|
6010
|
+
canPublishData?: boolean | undefined;
|
6011
|
+
canPublishSources?: (TrackSource[] & TrackSource[] & { [K_11 in Exclude<keyof I["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
6012
|
+
hidden?: boolean | undefined;
|
6013
|
+
recorder?: boolean | undefined;
|
6014
|
+
} & { [K_12 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
|
6015
|
+
region?: string | undefined;
|
6016
|
+
isPublisher?: boolean | undefined;
|
6017
|
+
} & { [K_13 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never; }) | undefined;
|
6018
|
+
otherParticipants?: ({
|
6019
|
+
sid?: string | undefined;
|
6020
|
+
identity?: string | undefined;
|
6021
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
6022
|
+
tracks?: {
|
6023
|
+
sid?: string | undefined;
|
6024
|
+
type?: TrackType | undefined;
|
6025
|
+
name?: string | undefined;
|
6026
|
+
muted?: boolean | undefined;
|
6027
|
+
width?: number | undefined;
|
6028
|
+
height?: number | undefined;
|
6029
|
+
simulcast?: boolean | undefined;
|
6030
|
+
disableDtx?: boolean | undefined;
|
6031
|
+
source?: TrackSource | undefined;
|
6032
|
+
layers?: {
|
6033
|
+
quality?: VideoQuality | undefined;
|
6034
|
+
width?: number | undefined;
|
6035
|
+
height?: number | undefined;
|
6036
|
+
bitrate?: number | undefined;
|
6037
|
+
ssrc?: number | undefined;
|
6038
|
+
}[] | undefined;
|
6039
|
+
mimeType?: string | undefined;
|
6040
|
+
mid?: string | undefined;
|
6041
|
+
codecs?: {
|
6042
|
+
mimeType?: string | undefined;
|
6043
|
+
mid?: string | undefined;
|
6044
|
+
cid?: string | undefined;
|
6045
|
+
layers?: {
|
6046
|
+
quality?: VideoQuality | undefined;
|
6047
|
+
width?: number | undefined;
|
6048
|
+
height?: number | undefined;
|
6049
|
+
bitrate?: number | undefined;
|
6050
|
+
ssrc?: number | undefined;
|
6051
|
+
}[] | undefined;
|
6052
|
+
}[] | undefined;
|
6053
|
+
stereo?: boolean | undefined;
|
6054
|
+
disableRed?: boolean | undefined;
|
6055
|
+
encryption?: Encryption_Type | undefined;
|
6056
|
+
}[] | undefined;
|
6057
|
+
metadata?: string | undefined;
|
6058
|
+
joinedAt?: number | undefined;
|
6059
|
+
name?: string | undefined;
|
6060
|
+
version?: number | undefined;
|
6061
|
+
permission?: {
|
6062
|
+
canSubscribe?: boolean | undefined;
|
6063
|
+
canPublish?: boolean | undefined;
|
6064
|
+
canPublishData?: boolean | undefined;
|
6065
|
+
canPublishSources?: TrackSource[] | undefined;
|
6066
|
+
hidden?: boolean | undefined;
|
6067
|
+
recorder?: boolean | undefined;
|
6068
|
+
} | undefined;
|
6069
|
+
region?: string | undefined;
|
6070
|
+
isPublisher?: boolean | undefined;
|
4314
6071
|
}[] & ({
|
4315
|
-
|
4316
|
-
|
4317
|
-
|
4318
|
-
|
4319
|
-
|
6072
|
+
sid?: string | undefined;
|
6073
|
+
identity?: string | undefined;
|
6074
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
6075
|
+
tracks?: {
|
6076
|
+
sid?: string | undefined;
|
6077
|
+
type?: TrackType | undefined;
|
6078
|
+
name?: string | undefined;
|
6079
|
+
muted?: boolean | undefined;
|
6080
|
+
width?: number | undefined;
|
6081
|
+
height?: number | undefined;
|
6082
|
+
simulcast?: boolean | undefined;
|
6083
|
+
disableDtx?: boolean | undefined;
|
6084
|
+
source?: TrackSource | undefined;
|
6085
|
+
layers?: {
|
6086
|
+
quality?: VideoQuality | undefined;
|
6087
|
+
width?: number | undefined;
|
6088
|
+
height?: number | undefined;
|
6089
|
+
bitrate?: number | undefined;
|
6090
|
+
ssrc?: number | undefined;
|
6091
|
+
}[] | undefined;
|
6092
|
+
mimeType?: string | undefined;
|
6093
|
+
mid?: string | undefined;
|
6094
|
+
codecs?: {
|
6095
|
+
mimeType?: string | undefined;
|
6096
|
+
mid?: string | undefined;
|
6097
|
+
cid?: string | undefined;
|
6098
|
+
layers?: {
|
6099
|
+
quality?: VideoQuality | undefined;
|
6100
|
+
width?: number | undefined;
|
6101
|
+
height?: number | undefined;
|
6102
|
+
bitrate?: number | undefined;
|
6103
|
+
ssrc?: number | undefined;
|
6104
|
+
}[] | undefined;
|
6105
|
+
}[] | undefined;
|
6106
|
+
stereo?: boolean | undefined;
|
6107
|
+
disableRed?: boolean | undefined;
|
6108
|
+
encryption?: Encryption_Type | undefined;
|
6109
|
+
}[] | undefined;
|
6110
|
+
metadata?: string | undefined;
|
6111
|
+
joinedAt?: number | undefined;
|
6112
|
+
name?: string | undefined;
|
6113
|
+
version?: number | undefined;
|
6114
|
+
permission?: {
|
6115
|
+
canSubscribe?: boolean | undefined;
|
6116
|
+
canPublish?: boolean | undefined;
|
6117
|
+
canPublishData?: boolean | undefined;
|
6118
|
+
canPublishSources?: TrackSource[] | undefined;
|
6119
|
+
hidden?: boolean | undefined;
|
6120
|
+
recorder?: boolean | undefined;
|
6121
|
+
} | undefined;
|
6122
|
+
region?: string | undefined;
|
6123
|
+
isPublisher?: boolean | undefined;
|
4320
6124
|
} & {
|
4321
|
-
|
4322
|
-
|
4323
|
-
|
4324
|
-
|
4325
|
-
|
4326
|
-
|
4327
|
-
|
4328
|
-
|
4329
|
-
|
4330
|
-
|
4331
|
-
|
6125
|
+
sid?: string | undefined;
|
6126
|
+
identity?: string | undefined;
|
6127
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
6128
|
+
tracks?: ({
|
6129
|
+
sid?: string | undefined;
|
6130
|
+
type?: TrackType | undefined;
|
6131
|
+
name?: string | undefined;
|
6132
|
+
muted?: boolean | undefined;
|
6133
|
+
width?: number | undefined;
|
6134
|
+
height?: number | undefined;
|
6135
|
+
simulcast?: boolean | undefined;
|
6136
|
+
disableDtx?: boolean | undefined;
|
6137
|
+
source?: TrackSource | undefined;
|
6138
|
+
layers?: {
|
6139
|
+
quality?: VideoQuality | undefined;
|
6140
|
+
width?: number | undefined;
|
6141
|
+
height?: number | undefined;
|
6142
|
+
bitrate?: number | undefined;
|
6143
|
+
ssrc?: number | undefined;
|
6144
|
+
}[] | undefined;
|
6145
|
+
mimeType?: string | undefined;
|
6146
|
+
mid?: string | undefined;
|
6147
|
+
codecs?: {
|
6148
|
+
mimeType?: string | undefined;
|
6149
|
+
mid?: string | undefined;
|
6150
|
+
cid?: string | undefined;
|
6151
|
+
layers?: {
|
6152
|
+
quality?: VideoQuality | undefined;
|
6153
|
+
width?: number | undefined;
|
6154
|
+
height?: number | undefined;
|
6155
|
+
bitrate?: number | undefined;
|
6156
|
+
ssrc?: number | undefined;
|
6157
|
+
}[] | undefined;
|
6158
|
+
}[] | undefined;
|
6159
|
+
stereo?: boolean | undefined;
|
6160
|
+
disableRed?: boolean | undefined;
|
6161
|
+
encryption?: Encryption_Type | undefined;
|
6162
|
+
}[] & ({
|
6163
|
+
sid?: string | undefined;
|
6164
|
+
type?: TrackType | undefined;
|
6165
|
+
name?: string | undefined;
|
6166
|
+
muted?: boolean | undefined;
|
6167
|
+
width?: number | undefined;
|
6168
|
+
height?: number | undefined;
|
6169
|
+
simulcast?: boolean | undefined;
|
6170
|
+
disableDtx?: boolean | undefined;
|
6171
|
+
source?: TrackSource | undefined;
|
6172
|
+
layers?: {
|
6173
|
+
quality?: VideoQuality | undefined;
|
6174
|
+
width?: number | undefined;
|
6175
|
+
height?: number | undefined;
|
6176
|
+
bitrate?: number | undefined;
|
6177
|
+
ssrc?: number | undefined;
|
6178
|
+
}[] | undefined;
|
6179
|
+
mimeType?: string | undefined;
|
6180
|
+
mid?: string | undefined;
|
6181
|
+
codecs?: {
|
6182
|
+
mimeType?: string | undefined;
|
6183
|
+
mid?: string | undefined;
|
6184
|
+
cid?: string | undefined;
|
6185
|
+
layers?: {
|
6186
|
+
quality?: VideoQuality | undefined;
|
6187
|
+
width?: number | undefined;
|
6188
|
+
height?: number | undefined;
|
6189
|
+
bitrate?: number | undefined;
|
6190
|
+
ssrc?: number | undefined;
|
6191
|
+
}[] | undefined;
|
6192
|
+
}[] | undefined;
|
6193
|
+
stereo?: boolean | undefined;
|
6194
|
+
disableRed?: boolean | undefined;
|
6195
|
+
encryption?: Encryption_Type | undefined;
|
6196
|
+
} & {
|
6197
|
+
sid?: string | undefined;
|
6198
|
+
type?: TrackType | undefined;
|
6199
|
+
name?: string | undefined;
|
6200
|
+
muted?: boolean | undefined;
|
6201
|
+
width?: number | undefined;
|
6202
|
+
height?: number | undefined;
|
6203
|
+
simulcast?: boolean | undefined;
|
6204
|
+
disableDtx?: boolean | undefined;
|
6205
|
+
source?: TrackSource | undefined;
|
6206
|
+
layers?: ({
|
6207
|
+
quality?: VideoQuality | undefined;
|
6208
|
+
width?: number | undefined;
|
6209
|
+
height?: number | undefined;
|
6210
|
+
bitrate?: number | undefined;
|
6211
|
+
ssrc?: number | undefined;
|
6212
|
+
}[] & ({
|
6213
|
+
quality?: VideoQuality | undefined;
|
6214
|
+
width?: number | undefined;
|
6215
|
+
height?: number | undefined;
|
6216
|
+
bitrate?: number | undefined;
|
6217
|
+
ssrc?: number | undefined;
|
6218
|
+
} & {
|
6219
|
+
quality?: VideoQuality | undefined;
|
6220
|
+
width?: number | undefined;
|
6221
|
+
height?: number | undefined;
|
6222
|
+
bitrate?: number | undefined;
|
6223
|
+
ssrc?: number | undefined;
|
6224
|
+
} & { [K_14 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_15 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
|
6225
|
+
quality?: VideoQuality | undefined;
|
6226
|
+
width?: number | undefined;
|
6227
|
+
height?: number | undefined;
|
6228
|
+
bitrate?: number | undefined;
|
6229
|
+
ssrc?: number | undefined;
|
6230
|
+
}[]>]: never; }) | undefined;
|
6231
|
+
mimeType?: string | undefined;
|
6232
|
+
mid?: string | undefined;
|
6233
|
+
codecs?: ({
|
6234
|
+
mimeType?: string | undefined;
|
6235
|
+
mid?: string | undefined;
|
6236
|
+
cid?: string | undefined;
|
6237
|
+
layers?: {
|
6238
|
+
quality?: VideoQuality | undefined;
|
6239
|
+
width?: number | undefined;
|
6240
|
+
height?: number | undefined;
|
6241
|
+
bitrate?: number | undefined;
|
6242
|
+
ssrc?: number | undefined;
|
6243
|
+
}[] | undefined;
|
6244
|
+
}[] & ({
|
6245
|
+
mimeType?: string | undefined;
|
6246
|
+
mid?: string | undefined;
|
6247
|
+
cid?: string | undefined;
|
6248
|
+
layers?: {
|
6249
|
+
quality?: VideoQuality | undefined;
|
6250
|
+
width?: number | undefined;
|
6251
|
+
height?: number | undefined;
|
6252
|
+
bitrate?: number | undefined;
|
6253
|
+
ssrc?: number | undefined;
|
6254
|
+
}[] | undefined;
|
6255
|
+
} & {
|
6256
|
+
mimeType?: string | undefined;
|
6257
|
+
mid?: string | undefined;
|
6258
|
+
cid?: string | undefined;
|
6259
|
+
layers?: ({
|
6260
|
+
quality?: VideoQuality | undefined;
|
6261
|
+
width?: number | undefined;
|
6262
|
+
height?: number | undefined;
|
6263
|
+
bitrate?: number | undefined;
|
6264
|
+
ssrc?: number | undefined;
|
6265
|
+
}[] & ({
|
6266
|
+
quality?: VideoQuality | undefined;
|
6267
|
+
width?: number | undefined;
|
6268
|
+
height?: number | undefined;
|
6269
|
+
bitrate?: number | undefined;
|
6270
|
+
ssrc?: number | undefined;
|
6271
|
+
} & {
|
6272
|
+
quality?: VideoQuality | undefined;
|
6273
|
+
width?: number | undefined;
|
6274
|
+
height?: number | undefined;
|
6275
|
+
bitrate?: number | undefined;
|
6276
|
+
ssrc?: number | undefined;
|
6277
|
+
} & { [K_16 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_17 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
|
6278
|
+
quality?: VideoQuality | undefined;
|
6279
|
+
width?: number | undefined;
|
6280
|
+
height?: number | undefined;
|
6281
|
+
bitrate?: number | undefined;
|
6282
|
+
ssrc?: number | undefined;
|
6283
|
+
}[]>]: never; }) | undefined;
|
6284
|
+
} & { [K_18 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_19 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
|
6285
|
+
mimeType?: string | undefined;
|
6286
|
+
mid?: string | undefined;
|
6287
|
+
cid?: string | undefined;
|
6288
|
+
layers?: {
|
6289
|
+
quality?: VideoQuality | undefined;
|
6290
|
+
width?: number | undefined;
|
6291
|
+
height?: number | undefined;
|
6292
|
+
bitrate?: number | undefined;
|
6293
|
+
ssrc?: number | undefined;
|
6294
|
+
}[] | undefined;
|
6295
|
+
}[]>]: never; }) | undefined;
|
6296
|
+
stereo?: boolean | undefined;
|
6297
|
+
disableRed?: boolean | undefined;
|
6298
|
+
encryption?: Encryption_Type | undefined;
|
6299
|
+
} & { [K_20 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_21 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
|
6300
|
+
sid?: string | undefined;
|
6301
|
+
type?: TrackType | undefined;
|
6302
|
+
name?: string | undefined;
|
6303
|
+
muted?: boolean | undefined;
|
6304
|
+
width?: number | undefined;
|
6305
|
+
height?: number | undefined;
|
6306
|
+
simulcast?: boolean | undefined;
|
6307
|
+
disableDtx?: boolean | undefined;
|
6308
|
+
source?: TrackSource | undefined;
|
6309
|
+
layers?: {
|
6310
|
+
quality?: VideoQuality | undefined;
|
6311
|
+
width?: number | undefined;
|
6312
|
+
height?: number | undefined;
|
6313
|
+
bitrate?: number | undefined;
|
6314
|
+
ssrc?: number | undefined;
|
6315
|
+
}[] | undefined;
|
6316
|
+
mimeType?: string | undefined;
|
6317
|
+
mid?: string | undefined;
|
6318
|
+
codecs?: {
|
6319
|
+
mimeType?: string | undefined;
|
6320
|
+
mid?: string | undefined;
|
6321
|
+
cid?: string | undefined;
|
6322
|
+
layers?: {
|
6323
|
+
quality?: VideoQuality | undefined;
|
6324
|
+
width?: number | undefined;
|
6325
|
+
height?: number | undefined;
|
6326
|
+
bitrate?: number | undefined;
|
6327
|
+
ssrc?: number | undefined;
|
6328
|
+
}[] | undefined;
|
6329
|
+
}[] | undefined;
|
6330
|
+
stereo?: boolean | undefined;
|
6331
|
+
disableRed?: boolean | undefined;
|
6332
|
+
encryption?: Encryption_Type | undefined;
|
6333
|
+
}[]>]: never; }) | undefined;
|
6334
|
+
metadata?: string | undefined;
|
6335
|
+
joinedAt?: number | undefined;
|
6336
|
+
name?: string | undefined;
|
6337
|
+
version?: number | undefined;
|
6338
|
+
permission?: ({
|
6339
|
+
canSubscribe?: boolean | undefined;
|
6340
|
+
canPublish?: boolean | undefined;
|
6341
|
+
canPublishData?: boolean | undefined;
|
6342
|
+
canPublishSources?: TrackSource[] | undefined;
|
6343
|
+
hidden?: boolean | undefined;
|
6344
|
+
recorder?: boolean | undefined;
|
6345
|
+
} & {
|
6346
|
+
canSubscribe?: boolean | undefined;
|
6347
|
+
canPublish?: boolean | undefined;
|
6348
|
+
canPublishData?: boolean | undefined;
|
6349
|
+
canPublishSources?: (TrackSource[] & TrackSource[] & { [K_22 in Exclude<keyof I["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
6350
|
+
hidden?: boolean | undefined;
|
6351
|
+
recorder?: boolean | undefined;
|
6352
|
+
} & { [K_23 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
|
6353
|
+
region?: string | undefined;
|
6354
|
+
isPublisher?: boolean | undefined;
|
6355
|
+
} & { [K_24 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never; })[] & { [K_25 in Exclude<keyof I["otherParticipants"], keyof {
|
6356
|
+
sid?: string | undefined;
|
6357
|
+
identity?: string | undefined;
|
6358
|
+
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
6359
|
+
tracks?: {
|
6360
|
+
sid?: string | undefined;
|
6361
|
+
type?: TrackType | undefined;
|
6362
|
+
name?: string | undefined;
|
6363
|
+
muted?: boolean | undefined;
|
6364
|
+
width?: number | undefined;
|
6365
|
+
height?: number | undefined;
|
6366
|
+
simulcast?: boolean | undefined;
|
6367
|
+
disableDtx?: boolean | undefined;
|
6368
|
+
source?: TrackSource | undefined;
|
6369
|
+
layers?: {
|
6370
|
+
quality?: VideoQuality | undefined;
|
6371
|
+
width?: number | undefined;
|
6372
|
+
height?: number | undefined;
|
6373
|
+
bitrate?: number | undefined;
|
6374
|
+
ssrc?: number | undefined;
|
6375
|
+
}[] | undefined;
|
6376
|
+
mimeType?: string | undefined;
|
6377
|
+
mid?: string | undefined;
|
6378
|
+
codecs?: {
|
6379
|
+
mimeType?: string | undefined;
|
6380
|
+
mid?: string | undefined;
|
6381
|
+
cid?: string | undefined;
|
6382
|
+
layers?: {
|
6383
|
+
quality?: VideoQuality | undefined;
|
6384
|
+
width?: number | undefined;
|
6385
|
+
height?: number | undefined;
|
6386
|
+
bitrate?: number | undefined;
|
6387
|
+
ssrc?: number | undefined;
|
6388
|
+
}[] | undefined;
|
6389
|
+
}[] | undefined;
|
6390
|
+
stereo?: boolean | undefined;
|
6391
|
+
disableRed?: boolean | undefined;
|
6392
|
+
encryption?: Encryption_Type | undefined;
|
6393
|
+
}[] | undefined;
|
6394
|
+
metadata?: string | undefined;
|
6395
|
+
joinedAt?: number | undefined;
|
6396
|
+
name?: string | undefined;
|
6397
|
+
version?: number | undefined;
|
6398
|
+
permission?: {
|
6399
|
+
canSubscribe?: boolean | undefined;
|
6400
|
+
canPublish?: boolean | undefined;
|
6401
|
+
canPublishData?: boolean | undefined;
|
6402
|
+
canPublishSources?: TrackSource[] | undefined;
|
6403
|
+
hidden?: boolean | undefined;
|
6404
|
+
recorder?: boolean | undefined;
|
6405
|
+
} | undefined;
|
6406
|
+
region?: string | undefined;
|
6407
|
+
isPublisher?: boolean | undefined;
|
4332
6408
|
}[]>]: never; }) | undefined;
|
4333
|
-
|
4334
|
-
|
4335
|
-
|
4336
|
-
|
6409
|
+
serverVersion?: string | undefined;
|
6410
|
+
iceServers?: ({
|
6411
|
+
urls?: string[] | undefined;
|
6412
|
+
username?: string | undefined;
|
6413
|
+
credential?: string | undefined;
|
4337
6414
|
}[] & ({
|
4338
|
-
|
4339
|
-
|
4340
|
-
|
6415
|
+
urls?: string[] | undefined;
|
6416
|
+
username?: string | undefined;
|
6417
|
+
credential?: string | undefined;
|
4341
6418
|
} & {
|
4342
|
-
|
4343
|
-
|
4344
|
-
|
4345
|
-
} & { [
|
4346
|
-
|
4347
|
-
|
4348
|
-
|
6419
|
+
urls?: (string[] & string[] & { [K_26 in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
|
6420
|
+
username?: string | undefined;
|
6421
|
+
credential?: string | undefined;
|
6422
|
+
} & { [K_27 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_28 in Exclude<keyof I["iceServers"], keyof {
|
6423
|
+
urls?: string[] | undefined;
|
6424
|
+
username?: string | undefined;
|
6425
|
+
credential?: string | undefined;
|
4349
6426
|
}[]>]: never; }) | undefined;
|
4350
|
-
|
4351
|
-
|
4352
|
-
|
4353
|
-
|
4354
|
-
|
4355
|
-
};
|
4356
|
-
|
4357
|
-
|
4358
|
-
|
4359
|
-
|
4360
|
-
|
4361
|
-
|
4362
|
-
|
4363
|
-
|
4364
|
-
|
4365
|
-
|
4366
|
-
|
4367
|
-
|
4368
|
-
|
4369
|
-
|
4370
|
-
|
4371
|
-
|
4372
|
-
|
4373
|
-
|
4374
|
-
|
4375
|
-
|
4376
|
-
|
4377
|
-
|
4378
|
-
|
4379
|
-
|
4380
|
-
|
6427
|
+
subscriberPrimary?: boolean | undefined;
|
6428
|
+
alternativeUrl?: string | undefined;
|
6429
|
+
clientConfiguration?: ({
|
6430
|
+
video?: {
|
6431
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
6432
|
+
} | undefined;
|
6433
|
+
screen?: {
|
6434
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
6435
|
+
} | undefined;
|
6436
|
+
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
6437
|
+
disabledCodecs?: {
|
6438
|
+
codecs?: {
|
6439
|
+
mime?: string | undefined;
|
6440
|
+
fmtpLine?: string | undefined;
|
6441
|
+
}[] | undefined;
|
6442
|
+
} | undefined;
|
6443
|
+
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
6444
|
+
} & {
|
6445
|
+
video?: ({
|
6446
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
6447
|
+
} & {
|
6448
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
6449
|
+
} & { [K_29 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
|
6450
|
+
screen?: ({
|
6451
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
6452
|
+
} & {
|
6453
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
6454
|
+
} & { [K_30 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
|
6455
|
+
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
6456
|
+
disabledCodecs?: ({
|
6457
|
+
codecs?: {
|
6458
|
+
mime?: string | undefined;
|
6459
|
+
fmtpLine?: string | undefined;
|
6460
|
+
}[] | undefined;
|
6461
|
+
} & {
|
6462
|
+
codecs?: ({
|
6463
|
+
mime?: string | undefined;
|
6464
|
+
fmtpLine?: string | undefined;
|
6465
|
+
}[] & ({
|
6466
|
+
mime?: string | undefined;
|
6467
|
+
fmtpLine?: string | undefined;
|
6468
|
+
} & {
|
6469
|
+
mime?: string | undefined;
|
6470
|
+
fmtpLine?: string | undefined;
|
6471
|
+
} & { [K_31 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_32 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
|
6472
|
+
mime?: string | undefined;
|
6473
|
+
fmtpLine?: string | undefined;
|
6474
|
+
}[]>]: never; }) | undefined;
|
6475
|
+
} & { [K_33 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
|
6476
|
+
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
6477
|
+
} & { [K_34 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
|
6478
|
+
serverRegion?: string | undefined;
|
6479
|
+
pingTimeout?: number | undefined;
|
6480
|
+
pingInterval?: number | undefined;
|
6481
|
+
serverInfo?: ({
|
6482
|
+
edition?: import("./livekit_models").ServerInfo_Edition | undefined;
|
6483
|
+
version?: string | undefined;
|
6484
|
+
protocol?: number | undefined;
|
6485
|
+
region?: string | undefined;
|
6486
|
+
nodeId?: string | undefined;
|
6487
|
+
debugInfo?: string | undefined;
|
6488
|
+
} & {
|
6489
|
+
edition?: import("./livekit_models").ServerInfo_Edition | undefined;
|
6490
|
+
version?: string | undefined;
|
6491
|
+
protocol?: number | undefined;
|
6492
|
+
region?: string | undefined;
|
6493
|
+
nodeId?: string | undefined;
|
6494
|
+
debugInfo?: string | undefined;
|
6495
|
+
} & { [K_35 in Exclude<keyof I["serverInfo"], keyof ServerInfo>]: never; }) | undefined;
|
6496
|
+
} & { [K_36 in Exclude<keyof I, keyof JoinResponse>]: never; }>(object: I): JoinResponse;
|
4381
6497
|
};
|
4382
|
-
export declare const
|
4383
|
-
encode(message:
|
4384
|
-
decode(input: _m0.Reader | Uint8Array, length?: number):
|
4385
|
-
fromJSON(object: any):
|
4386
|
-
toJSON(message:
|
6498
|
+
export declare const ReconnectResponse: {
|
6499
|
+
encode(message: ReconnectResponse, writer?: _m0.Writer): _m0.Writer;
|
6500
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ReconnectResponse;
|
6501
|
+
fromJSON(object: any): ReconnectResponse;
|
6502
|
+
toJSON(message: ReconnectResponse): unknown;
|
4387
6503
|
fromPartial<I extends {
|
6504
|
+
iceServers?: {
|
6505
|
+
urls?: string[] | undefined;
|
6506
|
+
username?: string | undefined;
|
6507
|
+
credential?: string | undefined;
|
6508
|
+
}[] | undefined;
|
6509
|
+
clientConfiguration?: {
|
6510
|
+
video?: {
|
6511
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
6512
|
+
} | undefined;
|
6513
|
+
screen?: {
|
6514
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
6515
|
+
} | undefined;
|
6516
|
+
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
6517
|
+
disabledCodecs?: {
|
6518
|
+
codecs?: {
|
6519
|
+
mime?: string | undefined;
|
6520
|
+
fmtpLine?: string | undefined;
|
6521
|
+
}[] | undefined;
|
6522
|
+
} | undefined;
|
6523
|
+
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
6524
|
+
} | undefined;
|
4388
6525
|
room?: {
|
4389
6526
|
sid?: string | undefined;
|
4390
6527
|
name?: string | undefined;
|
@@ -4508,15 +6645,25 @@ export declare const JoinResponse: {
|
|
4508
6645
|
region?: string | undefined;
|
4509
6646
|
isPublisher?: boolean | undefined;
|
4510
6647
|
}[] | undefined;
|
4511
|
-
|
4512
|
-
iceServers?: {
|
6648
|
+
} & {
|
6649
|
+
iceServers?: ({
|
4513
6650
|
urls?: string[] | undefined;
|
4514
6651
|
username?: string | undefined;
|
4515
6652
|
credential?: string | undefined;
|
4516
|
-
}[]
|
4517
|
-
|
4518
|
-
|
4519
|
-
|
6653
|
+
}[] & ({
|
6654
|
+
urls?: string[] | undefined;
|
6655
|
+
username?: string | undefined;
|
6656
|
+
credential?: string | undefined;
|
6657
|
+
} & {
|
6658
|
+
urls?: (string[] & string[] & { [K in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
|
6659
|
+
username?: string | undefined;
|
6660
|
+
credential?: string | undefined;
|
6661
|
+
} & { [K_1 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_2 in Exclude<keyof I["iceServers"], keyof {
|
6662
|
+
urls?: string[] | undefined;
|
6663
|
+
username?: string | undefined;
|
6664
|
+
credential?: string | undefined;
|
6665
|
+
}[]>]: never; }) | undefined;
|
6666
|
+
clientConfiguration?: ({
|
4520
6667
|
video?: {
|
4521
6668
|
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
4522
6669
|
} | undefined;
|
@@ -4531,19 +6678,40 @@ export declare const JoinResponse: {
|
|
4531
6678
|
}[] | undefined;
|
4532
6679
|
} | undefined;
|
4533
6680
|
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
4534
|
-
}
|
4535
|
-
|
4536
|
-
|
4537
|
-
|
4538
|
-
|
4539
|
-
|
4540
|
-
|
4541
|
-
|
4542
|
-
|
4543
|
-
|
4544
|
-
|
4545
|
-
|
4546
|
-
|
6681
|
+
} & {
|
6682
|
+
video?: ({
|
6683
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
6684
|
+
} & {
|
6685
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
6686
|
+
} & { [K_3 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
|
6687
|
+
screen?: ({
|
6688
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
6689
|
+
} & {
|
6690
|
+
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
6691
|
+
} & { [K_4 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
|
6692
|
+
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
6693
|
+
disabledCodecs?: ({
|
6694
|
+
codecs?: {
|
6695
|
+
mime?: string | undefined;
|
6696
|
+
fmtpLine?: string | undefined;
|
6697
|
+
}[] | undefined;
|
6698
|
+
} & {
|
6699
|
+
codecs?: ({
|
6700
|
+
mime?: string | undefined;
|
6701
|
+
fmtpLine?: string | undefined;
|
6702
|
+
}[] & ({
|
6703
|
+
mime?: string | undefined;
|
6704
|
+
fmtpLine?: string | undefined;
|
6705
|
+
} & {
|
6706
|
+
mime?: string | undefined;
|
6707
|
+
fmtpLine?: string | undefined;
|
6708
|
+
} & { [K_5 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_6 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
|
6709
|
+
mime?: string | undefined;
|
6710
|
+
fmtpLine?: string | undefined;
|
6711
|
+
}[]>]: never; }) | undefined;
|
6712
|
+
} & { [K_7 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
|
6713
|
+
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
6714
|
+
} & { [K_8 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
|
4547
6715
|
room?: ({
|
4548
6716
|
sid?: string | undefined;
|
4549
6717
|
name?: string | undefined;
|
@@ -4574,14 +6742,14 @@ export declare const JoinResponse: {
|
|
4574
6742
|
} & {
|
4575
6743
|
mime?: string | undefined;
|
4576
6744
|
fmtpLine?: string | undefined;
|
4577
|
-
} & { [
|
6745
|
+
} & { [K_9 in Exclude<keyof I["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_10 in Exclude<keyof I["room"]["enabledCodecs"], keyof {
|
4578
6746
|
mime?: string | undefined;
|
4579
6747
|
fmtpLine?: string | undefined;
|
4580
6748
|
}[]>]: never; }) | undefined;
|
4581
6749
|
metadata?: string | undefined;
|
4582
6750
|
numParticipants?: number | undefined;
|
4583
6751
|
activeRecording?: boolean | undefined;
|
4584
|
-
} & { [
|
6752
|
+
} & { [K_11 in Exclude<keyof I["room"], keyof Room>]: never; }) | undefined;
|
4585
6753
|
participant?: ({
|
4586
6754
|
sid?: string | undefined;
|
4587
6755
|
identity?: string | undefined;
|
@@ -4735,7 +6903,7 @@ export declare const JoinResponse: {
|
|
4735
6903
|
height?: number | undefined;
|
4736
6904
|
bitrate?: number | undefined;
|
4737
6905
|
ssrc?: number | undefined;
|
4738
|
-
} & { [
|
6906
|
+
} & { [K_12 in Exclude<keyof I["participant"]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_13 in Exclude<keyof I["participant"]["tracks"][number]["layers"], keyof {
|
4739
6907
|
quality?: VideoQuality | undefined;
|
4740
6908
|
width?: number | undefined;
|
4741
6909
|
height?: number | undefined;
|
@@ -4788,14 +6956,14 @@ export declare const JoinResponse: {
|
|
4788
6956
|
height?: number | undefined;
|
4789
6957
|
bitrate?: number | undefined;
|
4790
6958
|
ssrc?: number | undefined;
|
4791
|
-
} & { [
|
6959
|
+
} & { [K_14 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_15 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"], keyof {
|
4792
6960
|
quality?: VideoQuality | undefined;
|
4793
6961
|
width?: number | undefined;
|
4794
6962
|
height?: number | undefined;
|
4795
6963
|
bitrate?: number | undefined;
|
4796
6964
|
ssrc?: number | undefined;
|
4797
6965
|
}[]>]: never; }) | undefined;
|
4798
|
-
} & { [
|
6966
|
+
} & { [K_16 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_17 in Exclude<keyof I["participant"]["tracks"][number]["codecs"], keyof {
|
4799
6967
|
mimeType?: string | undefined;
|
4800
6968
|
mid?: string | undefined;
|
4801
6969
|
cid?: string | undefined;
|
@@ -4810,7 +6978,7 @@ export declare const JoinResponse: {
|
|
4810
6978
|
stereo?: boolean | undefined;
|
4811
6979
|
disableRed?: boolean | undefined;
|
4812
6980
|
encryption?: Encryption_Type | undefined;
|
4813
|
-
} & { [
|
6981
|
+
} & { [K_18 in Exclude<keyof I["participant"]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_19 in Exclude<keyof I["participant"]["tracks"], keyof {
|
4814
6982
|
sid?: string | undefined;
|
4815
6983
|
type?: TrackType | undefined;
|
4816
6984
|
name?: string | undefined;
|
@@ -4860,13 +7028,13 @@ export declare const JoinResponse: {
|
|
4860
7028
|
canSubscribe?: boolean | undefined;
|
4861
7029
|
canPublish?: boolean | undefined;
|
4862
7030
|
canPublishData?: boolean | undefined;
|
4863
|
-
canPublishSources?: (TrackSource[] & TrackSource[] & { [
|
7031
|
+
canPublishSources?: (TrackSource[] & TrackSource[] & { [K_20 in Exclude<keyof I["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
4864
7032
|
hidden?: boolean | undefined;
|
4865
7033
|
recorder?: boolean | undefined;
|
4866
|
-
} & { [
|
7034
|
+
} & { [K_21 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
|
4867
7035
|
region?: string | undefined;
|
4868
7036
|
isPublisher?: boolean | undefined;
|
4869
|
-
} & { [
|
7037
|
+
} & { [K_22 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never; }) | undefined;
|
4870
7038
|
otherParticipants?: ({
|
4871
7039
|
sid?: string | undefined;
|
4872
7040
|
identity?: string | undefined;
|
@@ -5073,7 +7241,7 @@ export declare const JoinResponse: {
|
|
5073
7241
|
height?: number | undefined;
|
5074
7242
|
bitrate?: number | undefined;
|
5075
7243
|
ssrc?: number | undefined;
|
5076
|
-
} & { [
|
7244
|
+
} & { [K_23 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_24 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
|
5077
7245
|
quality?: VideoQuality | undefined;
|
5078
7246
|
width?: number | undefined;
|
5079
7247
|
height?: number | undefined;
|
@@ -5126,14 +7294,14 @@ export declare const JoinResponse: {
|
|
5126
7294
|
height?: number | undefined;
|
5127
7295
|
bitrate?: number | undefined;
|
5128
7296
|
ssrc?: number | undefined;
|
5129
|
-
} & { [
|
7297
|
+
} & { [K_25 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_26 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
|
5130
7298
|
quality?: VideoQuality | undefined;
|
5131
7299
|
width?: number | undefined;
|
5132
7300
|
height?: number | undefined;
|
5133
7301
|
bitrate?: number | undefined;
|
5134
7302
|
ssrc?: number | undefined;
|
5135
7303
|
}[]>]: never; }) | undefined;
|
5136
|
-
} & { [
|
7304
|
+
} & { [K_27 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_28 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
|
5137
7305
|
mimeType?: string | undefined;
|
5138
7306
|
mid?: string | undefined;
|
5139
7307
|
cid?: string | undefined;
|
@@ -5148,7 +7316,7 @@ export declare const JoinResponse: {
|
|
5148
7316
|
stereo?: boolean | undefined;
|
5149
7317
|
disableRed?: boolean | undefined;
|
5150
7318
|
encryption?: Encryption_Type | undefined;
|
5151
|
-
} & { [
|
7319
|
+
} & { [K_29 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_30 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
|
5152
7320
|
sid?: string | undefined;
|
5153
7321
|
type?: TrackType | undefined;
|
5154
7322
|
name?: string | undefined;
|
@@ -5198,13 +7366,13 @@ export declare const JoinResponse: {
|
|
5198
7366
|
canSubscribe?: boolean | undefined;
|
5199
7367
|
canPublish?: boolean | undefined;
|
5200
7368
|
canPublishData?: boolean | undefined;
|
5201
|
-
canPublishSources?: (TrackSource[] & TrackSource[] & { [
|
7369
|
+
canPublishSources?: (TrackSource[] & TrackSource[] & { [K_31 in Exclude<keyof I["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
|
5202
7370
|
hidden?: boolean | undefined;
|
5203
7371
|
recorder?: boolean | undefined;
|
5204
|
-
} & { [
|
7372
|
+
} & { [K_32 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
|
5205
7373
|
region?: string | undefined;
|
5206
7374
|
isPublisher?: boolean | undefined;
|
5207
|
-
} & { [
|
7375
|
+
} & { [K_33 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never; })[] & { [K_34 in Exclude<keyof I["otherParticipants"], keyof {
|
5208
7376
|
sid?: string | undefined;
|
5209
7377
|
identity?: string | undefined;
|
5210
7378
|
state?: import("./livekit_models").ParticipantInfo_State | undefined;
|
@@ -5258,190 +7426,7 @@ export declare const JoinResponse: {
|
|
5258
7426
|
region?: string | undefined;
|
5259
7427
|
isPublisher?: boolean | undefined;
|
5260
7428
|
}[]>]: never; }) | undefined;
|
5261
|
-
|
5262
|
-
iceServers?: ({
|
5263
|
-
urls?: string[] | undefined;
|
5264
|
-
username?: string | undefined;
|
5265
|
-
credential?: string | undefined;
|
5266
|
-
}[] & ({
|
5267
|
-
urls?: string[] | undefined;
|
5268
|
-
username?: string | undefined;
|
5269
|
-
credential?: string | undefined;
|
5270
|
-
} & {
|
5271
|
-
urls?: (string[] & string[] & { [K_26 in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
|
5272
|
-
username?: string | undefined;
|
5273
|
-
credential?: string | undefined;
|
5274
|
-
} & { [K_27 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_28 in Exclude<keyof I["iceServers"], keyof {
|
5275
|
-
urls?: string[] | undefined;
|
5276
|
-
username?: string | undefined;
|
5277
|
-
credential?: string | undefined;
|
5278
|
-
}[]>]: never; }) | undefined;
|
5279
|
-
subscriberPrimary?: boolean | undefined;
|
5280
|
-
alternativeUrl?: string | undefined;
|
5281
|
-
clientConfiguration?: ({
|
5282
|
-
video?: {
|
5283
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5284
|
-
} | undefined;
|
5285
|
-
screen?: {
|
5286
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5287
|
-
} | undefined;
|
5288
|
-
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
5289
|
-
disabledCodecs?: {
|
5290
|
-
codecs?: {
|
5291
|
-
mime?: string | undefined;
|
5292
|
-
fmtpLine?: string | undefined;
|
5293
|
-
}[] | undefined;
|
5294
|
-
} | undefined;
|
5295
|
-
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
5296
|
-
} & {
|
5297
|
-
video?: ({
|
5298
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5299
|
-
} & {
|
5300
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5301
|
-
} & { [K_29 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
|
5302
|
-
screen?: ({
|
5303
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5304
|
-
} & {
|
5305
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5306
|
-
} & { [K_30 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
|
5307
|
-
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
5308
|
-
disabledCodecs?: ({
|
5309
|
-
codecs?: {
|
5310
|
-
mime?: string | undefined;
|
5311
|
-
fmtpLine?: string | undefined;
|
5312
|
-
}[] | undefined;
|
5313
|
-
} & {
|
5314
|
-
codecs?: ({
|
5315
|
-
mime?: string | undefined;
|
5316
|
-
fmtpLine?: string | undefined;
|
5317
|
-
}[] & ({
|
5318
|
-
mime?: string | undefined;
|
5319
|
-
fmtpLine?: string | undefined;
|
5320
|
-
} & {
|
5321
|
-
mime?: string | undefined;
|
5322
|
-
fmtpLine?: string | undefined;
|
5323
|
-
} & { [K_31 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_32 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
|
5324
|
-
mime?: string | undefined;
|
5325
|
-
fmtpLine?: string | undefined;
|
5326
|
-
}[]>]: never; }) | undefined;
|
5327
|
-
} & { [K_33 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
|
5328
|
-
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
5329
|
-
} & { [K_34 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
|
5330
|
-
serverRegion?: string | undefined;
|
5331
|
-
pingTimeout?: number | undefined;
|
5332
|
-
pingInterval?: number | undefined;
|
5333
|
-
serverInfo?: ({
|
5334
|
-
edition?: import("./livekit_models").ServerInfo_Edition | undefined;
|
5335
|
-
version?: string | undefined;
|
5336
|
-
protocol?: number | undefined;
|
5337
|
-
region?: string | undefined;
|
5338
|
-
nodeId?: string | undefined;
|
5339
|
-
debugInfo?: string | undefined;
|
5340
|
-
} & {
|
5341
|
-
edition?: import("./livekit_models").ServerInfo_Edition | undefined;
|
5342
|
-
version?: string | undefined;
|
5343
|
-
protocol?: number | undefined;
|
5344
|
-
region?: string | undefined;
|
5345
|
-
nodeId?: string | undefined;
|
5346
|
-
debugInfo?: string | undefined;
|
5347
|
-
} & { [K_35 in Exclude<keyof I["serverInfo"], keyof ServerInfo>]: never; }) | undefined;
|
5348
|
-
} & { [K_36 in Exclude<keyof I, keyof JoinResponse>]: never; }>(object: I): JoinResponse;
|
5349
|
-
};
|
5350
|
-
export declare const ReconnectResponse: {
|
5351
|
-
encode(message: ReconnectResponse, writer?: _m0.Writer): _m0.Writer;
|
5352
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ReconnectResponse;
|
5353
|
-
fromJSON(object: any): ReconnectResponse;
|
5354
|
-
toJSON(message: ReconnectResponse): unknown;
|
5355
|
-
fromPartial<I extends {
|
5356
|
-
iceServers?: {
|
5357
|
-
urls?: string[] | undefined;
|
5358
|
-
username?: string | undefined;
|
5359
|
-
credential?: string | undefined;
|
5360
|
-
}[] | undefined;
|
5361
|
-
clientConfiguration?: {
|
5362
|
-
video?: {
|
5363
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5364
|
-
} | undefined;
|
5365
|
-
screen?: {
|
5366
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5367
|
-
} | undefined;
|
5368
|
-
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
5369
|
-
disabledCodecs?: {
|
5370
|
-
codecs?: {
|
5371
|
-
mime?: string | undefined;
|
5372
|
-
fmtpLine?: string | undefined;
|
5373
|
-
}[] | undefined;
|
5374
|
-
} | undefined;
|
5375
|
-
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
5376
|
-
} | undefined;
|
5377
|
-
} & {
|
5378
|
-
iceServers?: ({
|
5379
|
-
urls?: string[] | undefined;
|
5380
|
-
username?: string | undefined;
|
5381
|
-
credential?: string | undefined;
|
5382
|
-
}[] & ({
|
5383
|
-
urls?: string[] | undefined;
|
5384
|
-
username?: string | undefined;
|
5385
|
-
credential?: string | undefined;
|
5386
|
-
} & {
|
5387
|
-
urls?: (string[] & string[] & { [K in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
|
5388
|
-
username?: string | undefined;
|
5389
|
-
credential?: string | undefined;
|
5390
|
-
} & { [K_1 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_2 in Exclude<keyof I["iceServers"], keyof {
|
5391
|
-
urls?: string[] | undefined;
|
5392
|
-
username?: string | undefined;
|
5393
|
-
credential?: string | undefined;
|
5394
|
-
}[]>]: never; }) | undefined;
|
5395
|
-
clientConfiguration?: ({
|
5396
|
-
video?: {
|
5397
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5398
|
-
} | undefined;
|
5399
|
-
screen?: {
|
5400
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5401
|
-
} | undefined;
|
5402
|
-
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
5403
|
-
disabledCodecs?: {
|
5404
|
-
codecs?: {
|
5405
|
-
mime?: string | undefined;
|
5406
|
-
fmtpLine?: string | undefined;
|
5407
|
-
}[] | undefined;
|
5408
|
-
} | undefined;
|
5409
|
-
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
5410
|
-
} & {
|
5411
|
-
video?: ({
|
5412
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5413
|
-
} & {
|
5414
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5415
|
-
} & { [K_3 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
|
5416
|
-
screen?: ({
|
5417
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5418
|
-
} & {
|
5419
|
-
hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
|
5420
|
-
} & { [K_4 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
|
5421
|
-
resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
|
5422
|
-
disabledCodecs?: ({
|
5423
|
-
codecs?: {
|
5424
|
-
mime?: string | undefined;
|
5425
|
-
fmtpLine?: string | undefined;
|
5426
|
-
}[] | undefined;
|
5427
|
-
} & {
|
5428
|
-
codecs?: ({
|
5429
|
-
mime?: string | undefined;
|
5430
|
-
fmtpLine?: string | undefined;
|
5431
|
-
}[] & ({
|
5432
|
-
mime?: string | undefined;
|
5433
|
-
fmtpLine?: string | undefined;
|
5434
|
-
} & {
|
5435
|
-
mime?: string | undefined;
|
5436
|
-
fmtpLine?: string | undefined;
|
5437
|
-
} & { [K_5 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_6 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
|
5438
|
-
mime?: string | undefined;
|
5439
|
-
fmtpLine?: string | undefined;
|
5440
|
-
}[]>]: never; }) | undefined;
|
5441
|
-
} & { [K_7 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
|
5442
|
-
forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
|
5443
|
-
} & { [K_8 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
|
5444
|
-
} & { [K_9 in Exclude<keyof I, keyof ReconnectResponse>]: never; }>(object: I): ReconnectResponse;
|
7429
|
+
} & { [K_35 in Exclude<keyof I, keyof ReconnectResponse>]: never; }>(object: I): ReconnectResponse;
|
5445
7430
|
};
|
5446
7431
|
export declare const TrackPublishedResponse: {
|
5447
7432
|
encode(message: TrackPublishedResponse, writer?: _m0.Writer): _m0.Writer;
|
@@ -7061,6 +9046,32 @@ export declare const SimulateScenario: {
|
|
7061
9046
|
} & { [K_4 in Exclude<keyof I["scenario"], "switchCandidateProtocol" | "$case">]: never; }) | undefined;
|
7062
9047
|
} & { [K_5 in Exclude<keyof I, "scenario">]: never; }>(object: I): SimulateScenario;
|
7063
9048
|
};
|
9049
|
+
export declare const Ping: {
|
9050
|
+
encode(message: Ping, writer?: _m0.Writer): _m0.Writer;
|
9051
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Ping;
|
9052
|
+
fromJSON(object: any): Ping;
|
9053
|
+
toJSON(message: Ping): unknown;
|
9054
|
+
fromPartial<I extends {
|
9055
|
+
timestamp?: number | undefined;
|
9056
|
+
rtt?: number | undefined;
|
9057
|
+
} & {
|
9058
|
+
timestamp?: number | undefined;
|
9059
|
+
rtt?: number | undefined;
|
9060
|
+
} & { [K in Exclude<keyof I, keyof Ping>]: never; }>(object: I): Ping;
|
9061
|
+
};
|
9062
|
+
export declare const Pong: {
|
9063
|
+
encode(message: Pong, writer?: _m0.Writer): _m0.Writer;
|
9064
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Pong;
|
9065
|
+
fromJSON(object: any): Pong;
|
9066
|
+
toJSON(message: Pong): unknown;
|
9067
|
+
fromPartial<I extends {
|
9068
|
+
lastPingTimestamp?: number | undefined;
|
9069
|
+
timestamp?: number | undefined;
|
9070
|
+
} & {
|
9071
|
+
lastPingTimestamp?: number | undefined;
|
9072
|
+
timestamp?: number | undefined;
|
9073
|
+
} & { [K in Exclude<keyof I, keyof Pong>]: never; }>(object: I): Pong;
|
9074
|
+
};
|
7064
9075
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
7065
9076
|
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 {
|
7066
9077
|
$case: string;
|