livekit-client 1.6.3 → 1.6.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. package/dist/livekit-client.esm.mjs +418 -70
  2. package/dist/livekit-client.esm.mjs.map +1 -1
  3. package/dist/livekit-client.umd.js +1 -1
  4. package/dist/livekit-client.umd.js.map +1 -1
  5. package/dist/src/api/SignalClient.d.ts +13 -2
  6. package/dist/src/api/SignalClient.d.ts.map +1 -1
  7. package/dist/src/connectionHelper/ConnectionCheck.d.ts +2 -2
  8. package/dist/src/connectionHelper/ConnectionCheck.d.ts.map +1 -1
  9. package/dist/src/proto/livekit_models.d.ts +20 -3
  10. package/dist/src/proto/livekit_models.d.ts.map +1 -1
  11. package/dist/src/proto/livekit_rtc.d.ts +2565 -464
  12. package/dist/src/proto/livekit_rtc.d.ts.map +1 -1
  13. package/dist/src/room/RTCEngine.d.ts.map +1 -1
  14. package/dist/src/room/Room.d.ts +1 -1
  15. package/dist/src/room/Room.d.ts.map +1 -1
  16. package/dist/src/room/errors.d.ts +3 -0
  17. package/dist/src/room/errors.d.ts.map +1 -1
  18. package/dist/src/room/participant/LocalParticipant.d.ts +1 -3
  19. package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
  20. package/dist/src/room/participant/Participant.d.ts +1 -1
  21. package/dist/src/room/participant/Participant.d.ts.map +1 -1
  22. package/dist/src/room/track/LocalAudioTrack.d.ts.map +1 -1
  23. package/dist/src/room/track/create.d.ts.map +1 -1
  24. package/dist/src/room/track/options.d.ts +2 -2
  25. package/dist/src/room/track/options.d.ts.map +1 -1
  26. package/dist/src/test/mocks.d.ts +1 -1
  27. package/dist/ts4.2/src/api/SignalClient.d.ts +13 -2
  28. package/dist/ts4.2/src/connectionHelper/ConnectionCheck.d.ts +2 -2
  29. package/dist/ts4.2/src/proto/livekit_models.d.ts +24 -3
  30. package/dist/ts4.2/src/proto/livekit_rtc.d.ts +2775 -540
  31. package/dist/ts4.2/src/room/Room.d.ts +1 -1
  32. package/dist/ts4.2/src/room/errors.d.ts +3 -0
  33. package/dist/ts4.2/src/room/participant/LocalParticipant.d.ts +1 -3
  34. package/dist/ts4.2/src/room/participant/Participant.d.ts +1 -1
  35. package/dist/ts4.2/src/room/track/options.d.ts +2 -2
  36. package/dist/ts4.2/src/test/mocks.d.ts +1 -1
  37. package/package.json +17 -17
  38. package/src/api/SignalClient.ts +46 -3
  39. package/src/connectionHelper/ConnectionCheck.ts +1 -1
  40. package/src/proto/google/protobuf/timestamp.ts +2 -2
  41. package/src/proto/livekit_models.ts +93 -9
  42. package/src/proto/livekit_rtc.ts +308 -6
  43. package/src/room/RTCEngine.ts +37 -16
  44. package/src/room/Room.ts +12 -11
  45. package/src/room/errors.ts +6 -0
  46. package/src/room/participant/LocalParticipant.ts +19 -20
  47. package/src/room/participant/Participant.ts +10 -2
  48. package/src/room/track/LocalAudioTrack.ts +5 -1
  49. package/src/room/track/create.ts +6 -1
  50. package/src/room/track/options.ts +2 -2
@@ -63,6 +63,12 @@ export interface SignalRequest {
63
63
  } | {
64
64
  $case: "ping";
65
65
  ping: number;
66
+ } | {
67
+ $case: "updateMetadata";
68
+ updateMetadata: UpdateParticipantMetadata;
69
+ } | {
70
+ $case: "pingReq";
71
+ pingReq: Ping;
66
72
  };
67
73
  }
68
74
  export interface SignalResponse {
@@ -120,6 +126,9 @@ export interface SignalResponse {
120
126
  } | {
121
127
  $case: "reconnect";
122
128
  reconnect: ReconnectResponse;
129
+ } | {
130
+ $case: "pongResp";
131
+ pongResp: Pong;
123
132
  };
124
133
  }
125
134
  export interface SimulcastCodec {
@@ -181,6 +190,9 @@ export interface JoinResponse {
181
190
  export interface ReconnectResponse {
182
191
  iceServers: ICEServer[];
183
192
  clientConfiguration?: ClientConfiguration;
193
+ room?: Room;
194
+ participant?: ParticipantInfo;
195
+ otherParticipants: ParticipantInfo[];
184
196
  }
185
197
  export interface TrackPublishedResponse {
186
198
  cid: string;
@@ -213,6 +225,16 @@ export interface UpdateTrackSettings {
213
225
  /** for video, height to receive */
214
226
  height: number;
215
227
  fps: number;
228
+ /**
229
+ * subscription priority. 1 being the highest (0 is unset)
230
+ * when unset, server sill assign priority based on the order of subscription
231
+ * server will use priority in the following ways:
232
+ * 1. when subscribed tracks exceed per-participant subscription limit, server will
233
+ * pause the lowest priority tracks
234
+ * 2. when the network is congested, server will assign available bandwidth to
235
+ * higher priority tracks first. lowest priority tracks can be paused
236
+ */
237
+ priority: number;
216
238
  }
217
239
  export interface LeaveRequest {
218
240
  /**
@@ -227,6 +249,9 @@ export interface UpdateVideoLayers {
227
249
  trackSid: string;
228
250
  layers: VideoLayer[];
229
251
  }
252
+ export interface UpdateParticipantMetadata {
253
+ metadata: string;
254
+ }
230
255
  export interface ICEServer {
231
256
  urls: string[];
232
257
  username: string;
@@ -315,6 +340,16 @@ export interface SimulateScenario {
315
340
  switchCandidateProtocol: CandidateProtocol;
316
341
  };
317
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
+ }
318
353
  export declare const SignalRequest: {
319
354
  encode(message: SignalRequest, writer?: _m0.Writer): _m0.Writer;
320
355
  decode(input: _m0.Reader | Uint8Array, length?: number): SignalRequest;
@@ -397,6 +432,7 @@ export declare const SignalRequest: {
397
432
  width?: number | undefined;
398
433
  height?: number | undefined;
399
434
  fps?: number | undefined;
435
+ priority?: number | undefined;
400
436
  } | undefined;
401
437
  } & {
402
438
  $case: "trackSetting";
@@ -526,6 +562,19 @@ export declare const SignalRequest: {
526
562
  ping?: number | undefined;
527
563
  } & {
528
564
  $case: "ping";
565
+ }) | ({
566
+ updateMetadata?: {
567
+ metadata?: string | undefined;
568
+ } | undefined;
569
+ } & {
570
+ $case: "updateMetadata";
571
+ }) | ({
572
+ pingReq?: {
573
+ timestamp?: number | undefined;
574
+ rtt?: number | undefined;
575
+ } | undefined;
576
+ } & {
577
+ $case: "pingReq";
529
578
  }) | undefined;
530
579
  } & {
531
580
  message?: ({
@@ -749,6 +798,7 @@ export declare const SignalRequest: {
749
798
  width?: number | undefined;
750
799
  height?: number | undefined;
751
800
  fps?: number | undefined;
801
+ priority?: number | undefined;
752
802
  } | undefined;
753
803
  } & {
754
804
  $case: "trackSetting";
@@ -760,6 +810,7 @@ export declare const SignalRequest: {
760
810
  width?: number | undefined;
761
811
  height?: number | undefined;
762
812
  fps?: number | undefined;
813
+ priority?: number | undefined;
763
814
  } & {
764
815
  trackSids?: (string[] & string[] & { [K_20 in Exclude<keyof I["message"]["trackSetting"]["trackSids"], keyof string[]>]: never; }) | undefined;
765
816
  disabled?: boolean | undefined;
@@ -767,6 +818,7 @@ export declare const SignalRequest: {
767
818
  width?: number | undefined;
768
819
  height?: number | undefined;
769
820
  fps?: number | undefined;
821
+ priority?: number | undefined;
770
822
  } & { [K_21 in Exclude<keyof I["message"]["trackSetting"], keyof UpdateTrackSettings>]: never; }) | undefined;
771
823
  $case: "trackSetting";
772
824
  } & { [K_22 in Exclude<keyof I["message"], "trackSetting" | "$case">]: never; }) | ({
@@ -1413,8 +1465,37 @@ export declare const SignalRequest: {
1413
1465
  } & {
1414
1466
  ping?: number | undefined;
1415
1467
  $case: "ping";
1416
- } & { [K_61 in Exclude<keyof I["message"], "ping" | "$case">]: never; }) | undefined;
1417
- } & { [K_62 in Exclude<keyof I, "message">]: never; }>(object: I): SignalRequest;
1468
+ } & { [K_61 in Exclude<keyof I["message"], "ping" | "$case">]: never; }) | ({
1469
+ updateMetadata?: {
1470
+ metadata?: string | undefined;
1471
+ } | undefined;
1472
+ } & {
1473
+ $case: "updateMetadata";
1474
+ } & {
1475
+ updateMetadata?: ({
1476
+ metadata?: string | undefined;
1477
+ } & {
1478
+ metadata?: string | undefined;
1479
+ } & { [K_62 in Exclude<keyof I["message"]["updateMetadata"], "metadata">]: never; }) | undefined;
1480
+ $case: "updateMetadata";
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;
1418
1499
  };
1419
1500
  export declare const SignalResponse: {
1420
1501
  encode(message: SignalResponse, writer?: _m0.Writer): _m0.Writer;
@@ -1486,6 +1567,7 @@ export declare const SignalResponse: {
1486
1567
  canSubscribe?: boolean | undefined;
1487
1568
  canPublish?: boolean | undefined;
1488
1569
  canPublishData?: boolean | undefined;
1570
+ canPublishSources?: TrackSource[] | undefined;
1489
1571
  hidden?: boolean | undefined;
1490
1572
  recorder?: boolean | undefined;
1491
1573
  } | undefined;
@@ -1539,6 +1621,7 @@ export declare const SignalResponse: {
1539
1621
  canSubscribe?: boolean | undefined;
1540
1622
  canPublish?: boolean | undefined;
1541
1623
  canPublishData?: boolean | undefined;
1624
+ canPublishSources?: TrackSource[] | undefined;
1542
1625
  hidden?: boolean | undefined;
1543
1626
  recorder?: boolean | undefined;
1544
1627
  } | undefined;
@@ -1653,6 +1736,7 @@ export declare const SignalResponse: {
1653
1736
  canSubscribe?: boolean | undefined;
1654
1737
  canPublish?: boolean | undefined;
1655
1738
  canPublishData?: boolean | undefined;
1739
+ canPublishSources?: TrackSource[] | undefined;
1656
1740
  hidden?: boolean | undefined;
1657
1741
  recorder?: boolean | undefined;
1658
1742
  } | undefined;
@@ -1829,9 +1913,139 @@ export declare const SignalResponse: {
1829
1913
  } | undefined;
1830
1914
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
1831
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;
1832
2039
  } | undefined;
1833
2040
  } & {
1834
2041
  $case: "reconnect";
2042
+ }) | ({
2043
+ pongResp?: {
2044
+ lastPingTimestamp?: number | undefined;
2045
+ timestamp?: number | undefined;
2046
+ } | undefined;
2047
+ } & {
2048
+ $case: "pongResp";
1835
2049
  }) | undefined;
1836
2050
  } & {
1837
2051
  message?: ({
@@ -1898,6 +2112,7 @@ export declare const SignalResponse: {
1898
2112
  canSubscribe?: boolean | undefined;
1899
2113
  canPublish?: boolean | undefined;
1900
2114
  canPublishData?: boolean | undefined;
2115
+ canPublishSources?: TrackSource[] | undefined;
1901
2116
  hidden?: boolean | undefined;
1902
2117
  recorder?: boolean | undefined;
1903
2118
  } | undefined;
@@ -1951,6 +2166,7 @@ export declare const SignalResponse: {
1951
2166
  canSubscribe?: boolean | undefined;
1952
2167
  canPublish?: boolean | undefined;
1953
2168
  canPublishData?: boolean | undefined;
2169
+ canPublishSources?: TrackSource[] | undefined;
1954
2170
  hidden?: boolean | undefined;
1955
2171
  recorder?: boolean | undefined;
1956
2172
  } | undefined;
@@ -2059,6 +2275,7 @@ export declare const SignalResponse: {
2059
2275
  canSubscribe?: boolean | undefined;
2060
2276
  canPublish?: boolean | undefined;
2061
2277
  canPublishData?: boolean | undefined;
2278
+ canPublishSources?: TrackSource[] | undefined;
2062
2279
  hidden?: boolean | undefined;
2063
2280
  recorder?: boolean | undefined;
2064
2281
  } | undefined;
@@ -2112,6 +2329,7 @@ export declare const SignalResponse: {
2112
2329
  canSubscribe?: boolean | undefined;
2113
2330
  canPublish?: boolean | undefined;
2114
2331
  canPublishData?: boolean | undefined;
2332
+ canPublishSources?: TrackSource[] | undefined;
2115
2333
  hidden?: boolean | undefined;
2116
2334
  recorder?: boolean | undefined;
2117
2335
  } | undefined;
@@ -2239,6 +2457,7 @@ export declare const SignalResponse: {
2239
2457
  canSubscribe?: boolean | undefined;
2240
2458
  canPublish?: boolean | undefined;
2241
2459
  canPublishData?: boolean | undefined;
2460
+ canPublishSources?: TrackSource[] | undefined;
2242
2461
  hidden?: boolean | undefined;
2243
2462
  recorder?: boolean | undefined;
2244
2463
  } | undefined;
@@ -2462,18 +2681,20 @@ export declare const SignalResponse: {
2462
2681
  canSubscribe?: boolean | undefined;
2463
2682
  canPublish?: boolean | undefined;
2464
2683
  canPublishData?: boolean | undefined;
2684
+ canPublishSources?: TrackSource[] | undefined;
2465
2685
  hidden?: boolean | undefined;
2466
2686
  recorder?: boolean | undefined;
2467
2687
  } & {
2468
2688
  canSubscribe?: boolean | undefined;
2469
2689
  canPublish?: boolean | undefined;
2470
2690
  canPublishData?: boolean | undefined;
2691
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_11 in Exclude<keyof I["message"]["join"]["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
2471
2692
  hidden?: boolean | undefined;
2472
2693
  recorder?: boolean | undefined;
2473
- } & { [K_11 in Exclude<keyof I["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
2694
+ } & { [K_12 in Exclude<keyof I["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
2474
2695
  region?: string | undefined;
2475
2696
  isPublisher?: boolean | undefined;
2476
- } & { [K_12 in Exclude<keyof I["message"]["join"]["participant"], keyof ParticipantInfo>]: never; }) | undefined;
2697
+ } & { [K_13 in Exclude<keyof I["message"]["join"]["participant"], keyof ParticipantInfo>]: never; }) | undefined;
2477
2698
  otherParticipants?: ({
2478
2699
  sid?: string | undefined;
2479
2700
  identity?: string | undefined;
@@ -2521,6 +2742,7 @@ export declare const SignalResponse: {
2521
2742
  canSubscribe?: boolean | undefined;
2522
2743
  canPublish?: boolean | undefined;
2523
2744
  canPublishData?: boolean | undefined;
2745
+ canPublishSources?: TrackSource[] | undefined;
2524
2746
  hidden?: boolean | undefined;
2525
2747
  recorder?: boolean | undefined;
2526
2748
  } | undefined;
@@ -2573,6 +2795,7 @@ export declare const SignalResponse: {
2573
2795
  canSubscribe?: boolean | undefined;
2574
2796
  canPublish?: boolean | undefined;
2575
2797
  canPublishData?: boolean | undefined;
2798
+ canPublishSources?: TrackSource[] | undefined;
2576
2799
  hidden?: boolean | undefined;
2577
2800
  recorder?: boolean | undefined;
2578
2801
  } | undefined;
@@ -2678,7 +2901,7 @@ export declare const SignalResponse: {
2678
2901
  height?: number | undefined;
2679
2902
  bitrate?: number | undefined;
2680
2903
  ssrc?: number | undefined;
2681
- } & { [K_13 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_14 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"], keyof {
2904
+ } & { [K_14 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_15 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"], keyof {
2682
2905
  quality?: VideoQuality | undefined;
2683
2906
  width?: number | undefined;
2684
2907
  height?: number | undefined;
@@ -2731,14 +2954,14 @@ export declare const SignalResponse: {
2731
2954
  height?: number | undefined;
2732
2955
  bitrate?: number | undefined;
2733
2956
  ssrc?: number | undefined;
2734
- } & { [K_15 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_16 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
2957
+ } & { [K_16 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_17 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
2735
2958
  quality?: VideoQuality | undefined;
2736
2959
  width?: number | undefined;
2737
2960
  height?: number | undefined;
2738
2961
  bitrate?: number | undefined;
2739
2962
  ssrc?: number | undefined;
2740
2963
  }[]>]: never; }) | undefined;
2741
- } & { [K_17 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_18 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
2964
+ } & { [K_18 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_19 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
2742
2965
  mimeType?: string | undefined;
2743
2966
  mid?: string | undefined;
2744
2967
  cid?: string | undefined;
@@ -2753,7 +2976,7 @@ export declare const SignalResponse: {
2753
2976
  stereo?: boolean | undefined;
2754
2977
  disableRed?: boolean | undefined;
2755
2978
  encryption?: Encryption_Type | undefined;
2756
- } & { [K_19 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_20 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"], keyof {
2979
+ } & { [K_20 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_21 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"], keyof {
2757
2980
  sid?: string | undefined;
2758
2981
  type?: TrackType | undefined;
2759
2982
  name?: string | undefined;
@@ -2796,18 +3019,20 @@ export declare const SignalResponse: {
2796
3019
  canSubscribe?: boolean | undefined;
2797
3020
  canPublish?: boolean | undefined;
2798
3021
  canPublishData?: boolean | undefined;
3022
+ canPublishSources?: TrackSource[] | undefined;
2799
3023
  hidden?: boolean | undefined;
2800
3024
  recorder?: boolean | undefined;
2801
3025
  } & {
2802
3026
  canSubscribe?: boolean | undefined;
2803
3027
  canPublish?: boolean | undefined;
2804
3028
  canPublishData?: boolean | undefined;
3029
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_22 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
2805
3030
  hidden?: boolean | undefined;
2806
3031
  recorder?: boolean | undefined;
2807
- } & { [K_21 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
3032
+ } & { [K_23 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
2808
3033
  region?: string | undefined;
2809
3034
  isPublisher?: boolean | undefined;
2810
- } & { [K_22 in Exclude<keyof I["message"]["join"]["otherParticipants"][number], keyof ParticipantInfo>]: never; })[] & { [K_23 in Exclude<keyof I["message"]["join"]["otherParticipants"], keyof {
3035
+ } & { [K_24 in Exclude<keyof I["message"]["join"]["otherParticipants"][number], keyof ParticipantInfo>]: never; })[] & { [K_25 in Exclude<keyof I["message"]["join"]["otherParticipants"], keyof {
2811
3036
  sid?: string | undefined;
2812
3037
  identity?: string | undefined;
2813
3038
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -2854,6 +3079,7 @@ export declare const SignalResponse: {
2854
3079
  canSubscribe?: boolean | undefined;
2855
3080
  canPublish?: boolean | undefined;
2856
3081
  canPublishData?: boolean | undefined;
3082
+ canPublishSources?: TrackSource[] | undefined;
2857
3083
  hidden?: boolean | undefined;
2858
3084
  recorder?: boolean | undefined;
2859
3085
  } | undefined;
@@ -2870,10 +3096,10 @@ export declare const SignalResponse: {
2870
3096
  username?: string | undefined;
2871
3097
  credential?: string | undefined;
2872
3098
  } & {
2873
- urls?: (string[] & string[] & { [K_24 in Exclude<keyof I["message"]["join"]["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
3099
+ urls?: (string[] & string[] & { [K_26 in Exclude<keyof I["message"]["join"]["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
2874
3100
  username?: string | undefined;
2875
3101
  credential?: string | undefined;
2876
- } & { [K_25 in Exclude<keyof I["message"]["join"]["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_26 in Exclude<keyof I["message"]["join"]["iceServers"], keyof {
3102
+ } & { [K_27 in Exclude<keyof I["message"]["join"]["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_28 in Exclude<keyof I["message"]["join"]["iceServers"], keyof {
2877
3103
  urls?: string[] | undefined;
2878
3104
  username?: string | undefined;
2879
3105
  credential?: string | undefined;
@@ -2900,12 +3126,12 @@ export declare const SignalResponse: {
2900
3126
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
2901
3127
  } & {
2902
3128
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
2903
- } & { [K_27 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
3129
+ } & { [K_29 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
2904
3130
  screen?: ({
2905
3131
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
2906
3132
  } & {
2907
3133
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
2908
- } & { [K_28 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
3134
+ } & { [K_30 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
2909
3135
  resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
2910
3136
  disabledCodecs?: ({
2911
3137
  codecs?: {
@@ -2922,13 +3148,13 @@ export declare const SignalResponse: {
2922
3148
  } & {
2923
3149
  mime?: string | undefined;
2924
3150
  fmtpLine?: string | undefined;
2925
- } & { [K_29 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_30 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
3151
+ } & { [K_31 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_32 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
2926
3152
  mime?: string | undefined;
2927
3153
  fmtpLine?: string | undefined;
2928
3154
  }[]>]: never; }) | undefined;
2929
- } & { [K_31 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
3155
+ } & { [K_33 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
2930
3156
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
2931
- } & { [K_32 in Exclude<keyof I["message"]["join"]["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
3157
+ } & { [K_34 in Exclude<keyof I["message"]["join"]["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
2932
3158
  serverRegion?: string | undefined;
2933
3159
  pingTimeout?: number | undefined;
2934
3160
  pingInterval?: number | undefined;
@@ -2946,10 +3172,10 @@ export declare const SignalResponse: {
2946
3172
  region?: string | undefined;
2947
3173
  nodeId?: string | undefined;
2948
3174
  debugInfo?: string | undefined;
2949
- } & { [K_33 in Exclude<keyof I["message"]["join"]["serverInfo"], keyof ServerInfo>]: never; }) | undefined;
2950
- } & { [K_34 in Exclude<keyof I["message"]["join"], keyof JoinResponse>]: never; }) | undefined;
3175
+ } & { [K_35 in Exclude<keyof I["message"]["join"]["serverInfo"], keyof ServerInfo>]: never; }) | undefined;
3176
+ } & { [K_36 in Exclude<keyof I["message"]["join"], keyof JoinResponse>]: never; }) | undefined;
2951
3177
  $case: "join";
2952
- } & { [K_35 in Exclude<keyof I["message"], "join" | "$case">]: never; }) | ({
3178
+ } & { [K_37 in Exclude<keyof I["message"], "join" | "$case">]: never; }) | ({
2953
3179
  answer?: {
2954
3180
  type?: string | undefined;
2955
3181
  sdp?: string | undefined;
@@ -2963,9 +3189,9 @@ export declare const SignalResponse: {
2963
3189
  } & {
2964
3190
  type?: string | undefined;
2965
3191
  sdp?: string | undefined;
2966
- } & { [K_36 in Exclude<keyof I["message"]["answer"], keyof SessionDescription>]: never; }) | undefined;
3192
+ } & { [K_38 in Exclude<keyof I["message"]["answer"], keyof SessionDescription>]: never; }) | undefined;
2967
3193
  $case: "answer";
2968
- } & { [K_37 in Exclude<keyof I["message"], "answer" | "$case">]: never; }) | ({
3194
+ } & { [K_39 in Exclude<keyof I["message"], "answer" | "$case">]: never; }) | ({
2969
3195
  offer?: {
2970
3196
  type?: string | undefined;
2971
3197
  sdp?: string | undefined;
@@ -2979,9 +3205,9 @@ export declare const SignalResponse: {
2979
3205
  } & {
2980
3206
  type?: string | undefined;
2981
3207
  sdp?: string | undefined;
2982
- } & { [K_38 in Exclude<keyof I["message"]["offer"], keyof SessionDescription>]: never; }) | undefined;
3208
+ } & { [K_40 in Exclude<keyof I["message"]["offer"], keyof SessionDescription>]: never; }) | undefined;
2983
3209
  $case: "offer";
2984
- } & { [K_39 in Exclude<keyof I["message"], "offer" | "$case">]: never; }) | ({
3210
+ } & { [K_41 in Exclude<keyof I["message"], "offer" | "$case">]: never; }) | ({
2985
3211
  trickle?: {
2986
3212
  candidateInit?: string | undefined;
2987
3213
  target?: SignalTarget | undefined;
@@ -2995,9 +3221,9 @@ export declare const SignalResponse: {
2995
3221
  } & {
2996
3222
  candidateInit?: string | undefined;
2997
3223
  target?: SignalTarget | undefined;
2998
- } & { [K_40 in Exclude<keyof I["message"]["trickle"], keyof TrickleRequest>]: never; }) | undefined;
3224
+ } & { [K_42 in Exclude<keyof I["message"]["trickle"], keyof TrickleRequest>]: never; }) | undefined;
2999
3225
  $case: "trickle";
3000
- } & { [K_41 in Exclude<keyof I["message"], "trickle" | "$case">]: never; }) | ({
3226
+ } & { [K_43 in Exclude<keyof I["message"], "trickle" | "$case">]: never; }) | ({
3001
3227
  update?: {
3002
3228
  participants?: {
3003
3229
  sid?: string | undefined;
@@ -3046,6 +3272,7 @@ export declare const SignalResponse: {
3046
3272
  canSubscribe?: boolean | undefined;
3047
3273
  canPublish?: boolean | undefined;
3048
3274
  canPublishData?: boolean | undefined;
3275
+ canPublishSources?: TrackSource[] | undefined;
3049
3276
  hidden?: boolean | undefined;
3050
3277
  recorder?: boolean | undefined;
3051
3278
  } | undefined;
@@ -3104,6 +3331,7 @@ export declare const SignalResponse: {
3104
3331
  canSubscribe?: boolean | undefined;
3105
3332
  canPublish?: boolean | undefined;
3106
3333
  canPublishData?: boolean | undefined;
3334
+ canPublishSources?: TrackSource[] | undefined;
3107
3335
  hidden?: boolean | undefined;
3108
3336
  recorder?: boolean | undefined;
3109
3337
  } | undefined;
@@ -3158,6 +3386,7 @@ export declare const SignalResponse: {
3158
3386
  canSubscribe?: boolean | undefined;
3159
3387
  canPublish?: boolean | undefined;
3160
3388
  canPublishData?: boolean | undefined;
3389
+ canPublishSources?: TrackSource[] | undefined;
3161
3390
  hidden?: boolean | undefined;
3162
3391
  recorder?: boolean | undefined;
3163
3392
  } | undefined;
@@ -3210,6 +3439,7 @@ export declare const SignalResponse: {
3210
3439
  canSubscribe?: boolean | undefined;
3211
3440
  canPublish?: boolean | undefined;
3212
3441
  canPublishData?: boolean | undefined;
3442
+ canPublishSources?: TrackSource[] | undefined;
3213
3443
  hidden?: boolean | undefined;
3214
3444
  recorder?: boolean | undefined;
3215
3445
  } | undefined;
@@ -3315,7 +3545,7 @@ export declare const SignalResponse: {
3315
3545
  height?: number | undefined;
3316
3546
  bitrate?: number | undefined;
3317
3547
  ssrc?: number | undefined;
3318
- } & { [K_42 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_43 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"], keyof {
3548
+ } & { [K_44 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_45 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"], keyof {
3319
3549
  quality?: VideoQuality | undefined;
3320
3550
  width?: number | undefined;
3321
3551
  height?: number | undefined;
@@ -3368,14 +3598,14 @@ export declare const SignalResponse: {
3368
3598
  height?: number | undefined;
3369
3599
  bitrate?: number | undefined;
3370
3600
  ssrc?: number | undefined;
3371
- } & { [K_44 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_45 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
3601
+ } & { [K_46 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_47 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
3372
3602
  quality?: VideoQuality | undefined;
3373
3603
  width?: number | undefined;
3374
3604
  height?: number | undefined;
3375
3605
  bitrate?: number | undefined;
3376
3606
  ssrc?: number | undefined;
3377
3607
  }[]>]: never; }) | undefined;
3378
- } & { [K_46 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_47 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"], keyof {
3608
+ } & { [K_48 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_49 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"], keyof {
3379
3609
  mimeType?: string | undefined;
3380
3610
  mid?: string | undefined;
3381
3611
  cid?: string | undefined;
@@ -3390,7 +3620,7 @@ export declare const SignalResponse: {
3390
3620
  stereo?: boolean | undefined;
3391
3621
  disableRed?: boolean | undefined;
3392
3622
  encryption?: Encryption_Type | undefined;
3393
- } & { [K_48 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_49 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"], keyof {
3623
+ } & { [K_50 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_51 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"], keyof {
3394
3624
  sid?: string | undefined;
3395
3625
  type?: TrackType | undefined;
3396
3626
  name?: string | undefined;
@@ -3433,18 +3663,20 @@ export declare const SignalResponse: {
3433
3663
  canSubscribe?: boolean | undefined;
3434
3664
  canPublish?: boolean | undefined;
3435
3665
  canPublishData?: boolean | undefined;
3666
+ canPublishSources?: TrackSource[] | undefined;
3436
3667
  hidden?: boolean | undefined;
3437
3668
  recorder?: boolean | undefined;
3438
3669
  } & {
3439
3670
  canSubscribe?: boolean | undefined;
3440
3671
  canPublish?: boolean | undefined;
3441
3672
  canPublishData?: boolean | undefined;
3673
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_52 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
3442
3674
  hidden?: boolean | undefined;
3443
3675
  recorder?: boolean | undefined;
3444
- } & { [K_50 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
3676
+ } & { [K_53 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
3445
3677
  region?: string | undefined;
3446
3678
  isPublisher?: boolean | undefined;
3447
- } & { [K_51 in Exclude<keyof I["message"]["update"]["participants"][number], keyof ParticipantInfo>]: never; })[] & { [K_52 in Exclude<keyof I["message"]["update"]["participants"], keyof {
3679
+ } & { [K_54 in Exclude<keyof I["message"]["update"]["participants"][number], keyof ParticipantInfo>]: never; })[] & { [K_55 in Exclude<keyof I["message"]["update"]["participants"], keyof {
3448
3680
  sid?: string | undefined;
3449
3681
  identity?: string | undefined;
3450
3682
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -3491,15 +3723,16 @@ export declare const SignalResponse: {
3491
3723
  canSubscribe?: boolean | undefined;
3492
3724
  canPublish?: boolean | undefined;
3493
3725
  canPublishData?: boolean | undefined;
3726
+ canPublishSources?: TrackSource[] | undefined;
3494
3727
  hidden?: boolean | undefined;
3495
3728
  recorder?: boolean | undefined;
3496
3729
  } | undefined;
3497
3730
  region?: string | undefined;
3498
3731
  isPublisher?: boolean | undefined;
3499
3732
  }[]>]: never; }) | undefined;
3500
- } & { [K_53 in Exclude<keyof I["message"]["update"], "participants">]: never; }) | undefined;
3733
+ } & { [K_56 in Exclude<keyof I["message"]["update"], "participants">]: never; }) | undefined;
3501
3734
  $case: "update";
3502
- } & { [K_54 in Exclude<keyof I["message"], "update" | "$case">]: never; }) | ({
3735
+ } & { [K_57 in Exclude<keyof I["message"], "update" | "$case">]: never; }) | ({
3503
3736
  trackPublished?: {
3504
3737
  cid?: string | undefined;
3505
3738
  track?: {
@@ -3642,7 +3875,7 @@ export declare const SignalResponse: {
3642
3875
  height?: number | undefined;
3643
3876
  bitrate?: number | undefined;
3644
3877
  ssrc?: number | undefined;
3645
- } & { [K_55 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_56 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"], keyof {
3878
+ } & { [K_58 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_59 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"], keyof {
3646
3879
  quality?: VideoQuality | undefined;
3647
3880
  width?: number | undefined;
3648
3881
  height?: number | undefined;
@@ -3695,14 +3928,14 @@ export declare const SignalResponse: {
3695
3928
  height?: number | undefined;
3696
3929
  bitrate?: number | undefined;
3697
3930
  ssrc?: number | undefined;
3698
- } & { [K_57 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_58 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"], keyof {
3931
+ } & { [K_60 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_61 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"], keyof {
3699
3932
  quality?: VideoQuality | undefined;
3700
3933
  width?: number | undefined;
3701
3934
  height?: number | undefined;
3702
3935
  bitrate?: number | undefined;
3703
3936
  ssrc?: number | undefined;
3704
3937
  }[]>]: never; }) | undefined;
3705
- } & { [K_59 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_60 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"], keyof {
3938
+ } & { [K_62 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_63 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"], keyof {
3706
3939
  mimeType?: string | undefined;
3707
3940
  mid?: string | undefined;
3708
3941
  cid?: string | undefined;
@@ -3717,10 +3950,10 @@ export declare const SignalResponse: {
3717
3950
  stereo?: boolean | undefined;
3718
3951
  disableRed?: boolean | undefined;
3719
3952
  encryption?: Encryption_Type | undefined;
3720
- } & { [K_61 in Exclude<keyof I["message"]["trackPublished"]["track"], keyof TrackInfo>]: never; }) | undefined;
3721
- } & { [K_62 in Exclude<keyof I["message"]["trackPublished"], keyof TrackPublishedResponse>]: never; }) | undefined;
3953
+ } & { [K_64 in Exclude<keyof I["message"]["trackPublished"]["track"], keyof TrackInfo>]: never; }) | undefined;
3954
+ } & { [K_65 in Exclude<keyof I["message"]["trackPublished"], keyof TrackPublishedResponse>]: never; }) | undefined;
3722
3955
  $case: "trackPublished";
3723
- } & { [K_63 in Exclude<keyof I["message"], "trackPublished" | "$case">]: never; }) | ({
3956
+ } & { [K_66 in Exclude<keyof I["message"], "trackPublished" | "$case">]: never; }) | ({
3724
3957
  leave?: {
3725
3958
  canReconnect?: boolean | undefined;
3726
3959
  reason?: DisconnectReason | undefined;
@@ -3734,9 +3967,9 @@ export declare const SignalResponse: {
3734
3967
  } & {
3735
3968
  canReconnect?: boolean | undefined;
3736
3969
  reason?: DisconnectReason | undefined;
3737
- } & { [K_64 in Exclude<keyof I["message"]["leave"], keyof LeaveRequest>]: never; }) | undefined;
3970
+ } & { [K_67 in Exclude<keyof I["message"]["leave"], keyof LeaveRequest>]: never; }) | undefined;
3738
3971
  $case: "leave";
3739
- } & { [K_65 in Exclude<keyof I["message"], "leave" | "$case">]: never; }) | ({
3972
+ } & { [K_68 in Exclude<keyof I["message"], "leave" | "$case">]: never; }) | ({
3740
3973
  mute?: {
3741
3974
  sid?: string | undefined;
3742
3975
  muted?: boolean | undefined;
@@ -3750,9 +3983,9 @@ export declare const SignalResponse: {
3750
3983
  } & {
3751
3984
  sid?: string | undefined;
3752
3985
  muted?: boolean | undefined;
3753
- } & { [K_66 in Exclude<keyof I["message"]["mute"], keyof MuteTrackRequest>]: never; }) | undefined;
3986
+ } & { [K_69 in Exclude<keyof I["message"]["mute"], keyof MuteTrackRequest>]: never; }) | undefined;
3754
3987
  $case: "mute";
3755
- } & { [K_67 in Exclude<keyof I["message"], "mute" | "$case">]: never; }) | ({
3988
+ } & { [K_70 in Exclude<keyof I["message"], "mute" | "$case">]: never; }) | ({
3756
3989
  speakersChanged?: {
3757
3990
  speakers?: {
3758
3991
  sid?: string | undefined;
@@ -3782,14 +4015,14 @@ export declare const SignalResponse: {
3782
4015
  sid?: string | undefined;
3783
4016
  level?: number | undefined;
3784
4017
  active?: boolean | undefined;
3785
- } & { [K_68 in Exclude<keyof I["message"]["speakersChanged"]["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_69 in Exclude<keyof I["message"]["speakersChanged"]["speakers"], keyof {
4018
+ } & { [K_71 in Exclude<keyof I["message"]["speakersChanged"]["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_72 in Exclude<keyof I["message"]["speakersChanged"]["speakers"], keyof {
3786
4019
  sid?: string | undefined;
3787
4020
  level?: number | undefined;
3788
4021
  active?: boolean | undefined;
3789
4022
  }[]>]: never; }) | undefined;
3790
- } & { [K_70 in Exclude<keyof I["message"]["speakersChanged"], "speakers">]: never; }) | undefined;
4023
+ } & { [K_73 in Exclude<keyof I["message"]["speakersChanged"], "speakers">]: never; }) | undefined;
3791
4024
  $case: "speakersChanged";
3792
- } & { [K_71 in Exclude<keyof I["message"], "speakersChanged" | "$case">]: never; }) | ({
4025
+ } & { [K_74 in Exclude<keyof I["message"], "speakersChanged" | "$case">]: never; }) | ({
3793
4026
  roomUpdate?: {
3794
4027
  room?: {
3795
4028
  sid?: string | undefined;
@@ -3857,17 +4090,17 @@ export declare const SignalResponse: {
3857
4090
  } & {
3858
4091
  mime?: string | undefined;
3859
4092
  fmtpLine?: string | undefined;
3860
- } & { [K_72 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_73 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"], keyof {
4093
+ } & { [K_75 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_76 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"], keyof {
3861
4094
  mime?: string | undefined;
3862
4095
  fmtpLine?: string | undefined;
3863
4096
  }[]>]: never; }) | undefined;
3864
4097
  metadata?: string | undefined;
3865
4098
  numParticipants?: number | undefined;
3866
4099
  activeRecording?: boolean | undefined;
3867
- } & { [K_74 in Exclude<keyof I["message"]["roomUpdate"]["room"], keyof Room>]: never; }) | undefined;
3868
- } & { [K_75 in Exclude<keyof I["message"]["roomUpdate"], "room">]: never; }) | undefined;
4100
+ } & { [K_77 in Exclude<keyof I["message"]["roomUpdate"]["room"], keyof Room>]: never; }) | undefined;
4101
+ } & { [K_78 in Exclude<keyof I["message"]["roomUpdate"], "room">]: never; }) | undefined;
3869
4102
  $case: "roomUpdate";
3870
- } & { [K_76 in Exclude<keyof I["message"], "roomUpdate" | "$case">]: never; }) | ({
4103
+ } & { [K_79 in Exclude<keyof I["message"], "roomUpdate" | "$case">]: never; }) | ({
3871
4104
  connectionQuality?: {
3872
4105
  updates?: {
3873
4106
  participantSid?: string | undefined;
@@ -3897,14 +4130,14 @@ export declare const SignalResponse: {
3897
4130
  participantSid?: string | undefined;
3898
4131
  quality?: ConnectionQuality | undefined;
3899
4132
  score?: number | undefined;
3900
- } & { [K_77 in Exclude<keyof I["message"]["connectionQuality"]["updates"][number], keyof ConnectionQualityInfo>]: never; })[] & { [K_78 in Exclude<keyof I["message"]["connectionQuality"]["updates"], keyof {
4133
+ } & { [K_80 in Exclude<keyof I["message"]["connectionQuality"]["updates"][number], keyof ConnectionQualityInfo>]: never; })[] & { [K_81 in Exclude<keyof I["message"]["connectionQuality"]["updates"], keyof {
3901
4134
  participantSid?: string | undefined;
3902
4135
  quality?: ConnectionQuality | undefined;
3903
4136
  score?: number | undefined;
3904
4137
  }[]>]: never; }) | undefined;
3905
- } & { [K_79 in Exclude<keyof I["message"]["connectionQuality"], "updates">]: never; }) | undefined;
4138
+ } & { [K_82 in Exclude<keyof I["message"]["connectionQuality"], "updates">]: never; }) | undefined;
3906
4139
  $case: "connectionQuality";
3907
- } & { [K_80 in Exclude<keyof I["message"], "connectionQuality" | "$case">]: never; }) | ({
4140
+ } & { [K_83 in Exclude<keyof I["message"], "connectionQuality" | "$case">]: never; }) | ({
3908
4141
  streamStateUpdate?: {
3909
4142
  streamStates?: {
3910
4143
  participantSid?: string | undefined;
@@ -3934,14 +4167,14 @@ export declare const SignalResponse: {
3934
4167
  participantSid?: string | undefined;
3935
4168
  trackSid?: string | undefined;
3936
4169
  state?: StreamState | undefined;
3937
- } & { [K_81 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"][number], keyof StreamStateInfo>]: never; })[] & { [K_82 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"], keyof {
4170
+ } & { [K_84 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"][number], keyof StreamStateInfo>]: never; })[] & { [K_85 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"], keyof {
3938
4171
  participantSid?: string | undefined;
3939
4172
  trackSid?: string | undefined;
3940
4173
  state?: StreamState | undefined;
3941
4174
  }[]>]: never; }) | undefined;
3942
- } & { [K_83 in Exclude<keyof I["message"]["streamStateUpdate"], "streamStates">]: never; }) | undefined;
4175
+ } & { [K_86 in Exclude<keyof I["message"]["streamStateUpdate"], "streamStates">]: never; }) | undefined;
3943
4176
  $case: "streamStateUpdate";
3944
- } & { [K_84 in Exclude<keyof I["message"], "streamStateUpdate" | "$case">]: never; }) | ({
4177
+ } & { [K_87 in Exclude<keyof I["message"], "streamStateUpdate" | "$case">]: never; }) | ({
3945
4178
  subscribedQualityUpdate?: {
3946
4179
  trackSid?: string | undefined;
3947
4180
  subscribedQualities?: {
@@ -3983,7 +4216,7 @@ export declare const SignalResponse: {
3983
4216
  } & {
3984
4217
  quality?: VideoQuality | undefined;
3985
4218
  enabled?: boolean | undefined;
3986
- } & { [K_85 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"][number], keyof SubscribedQuality>]: never; })[] & { [K_86 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"], keyof {
4219
+ } & { [K_88 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"][number], keyof SubscribedQuality>]: never; })[] & { [K_89 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"], keyof {
3987
4220
  quality?: VideoQuality | undefined;
3988
4221
  enabled?: boolean | undefined;
3989
4222
  }[]>]: never; }) | undefined;
@@ -4010,20 +4243,20 @@ export declare const SignalResponse: {
4010
4243
  } & {
4011
4244
  quality?: VideoQuality | undefined;
4012
4245
  enabled?: boolean | undefined;
4013
- } & { [K_87 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"][number], keyof SubscribedQuality>]: never; })[] & { [K_88 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"], keyof {
4246
+ } & { [K_90 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"][number], keyof SubscribedQuality>]: never; })[] & { [K_91 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"], keyof {
4014
4247
  quality?: VideoQuality | undefined;
4015
4248
  enabled?: boolean | undefined;
4016
4249
  }[]>]: never; }) | undefined;
4017
- } & { [K_89 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number], keyof SubscribedCodec>]: never; })[] & { [K_90 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"], keyof {
4250
+ } & { [K_92 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number], keyof SubscribedCodec>]: never; })[] & { [K_93 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"], keyof {
4018
4251
  codec?: string | undefined;
4019
4252
  qualities?: {
4020
4253
  quality?: VideoQuality | undefined;
4021
4254
  enabled?: boolean | undefined;
4022
4255
  }[] | undefined;
4023
4256
  }[]>]: never; }) | undefined;
4024
- } & { [K_91 in Exclude<keyof I["message"]["subscribedQualityUpdate"], keyof SubscribedQualityUpdate>]: never; }) | undefined;
4257
+ } & { [K_94 in Exclude<keyof I["message"]["subscribedQualityUpdate"], keyof SubscribedQualityUpdate>]: never; }) | undefined;
4025
4258
  $case: "subscribedQualityUpdate";
4026
- } & { [K_92 in Exclude<keyof I["message"], "subscribedQualityUpdate" | "$case">]: never; }) | ({
4259
+ } & { [K_95 in Exclude<keyof I["message"], "subscribedQualityUpdate" | "$case">]: never; }) | ({
4027
4260
  subscriptionPermissionUpdate?: {
4028
4261
  participantSid?: string | undefined;
4029
4262
  trackSid?: string | undefined;
@@ -4040,16 +4273,16 @@ export declare const SignalResponse: {
4040
4273
  participantSid?: string | undefined;
4041
4274
  trackSid?: string | undefined;
4042
4275
  allowed?: boolean | undefined;
4043
- } & { [K_93 in Exclude<keyof I["message"]["subscriptionPermissionUpdate"], keyof SubscriptionPermissionUpdate>]: never; }) | undefined;
4276
+ } & { [K_96 in Exclude<keyof I["message"]["subscriptionPermissionUpdate"], keyof SubscriptionPermissionUpdate>]: never; }) | undefined;
4044
4277
  $case: "subscriptionPermissionUpdate";
4045
- } & { [K_94 in Exclude<keyof I["message"], "subscriptionPermissionUpdate" | "$case">]: never; }) | ({
4278
+ } & { [K_97 in Exclude<keyof I["message"], "subscriptionPermissionUpdate" | "$case">]: never; }) | ({
4046
4279
  refreshToken?: string | undefined;
4047
4280
  } & {
4048
4281
  $case: "refreshToken";
4049
4282
  } & {
4050
4283
  refreshToken?: string | undefined;
4051
4284
  $case: "refreshToken";
4052
- } & { [K_95 in Exclude<keyof I["message"], "refreshToken" | "$case">]: never; }) | ({
4285
+ } & { [K_98 in Exclude<keyof I["message"], "refreshToken" | "$case">]: never; }) | ({
4053
4286
  trackUnpublished?: {
4054
4287
  trackSid?: string | undefined;
4055
4288
  } | undefined;
@@ -4060,16 +4293,16 @@ export declare const SignalResponse: {
4060
4293
  trackSid?: string | undefined;
4061
4294
  } & {
4062
4295
  trackSid?: string | undefined;
4063
- } & { [K_96 in Exclude<keyof I["message"]["trackUnpublished"], "trackSid">]: never; }) | undefined;
4296
+ } & { [K_99 in Exclude<keyof I["message"]["trackUnpublished"], "trackSid">]: never; }) | undefined;
4064
4297
  $case: "trackUnpublished";
4065
- } & { [K_97 in Exclude<keyof I["message"], "trackUnpublished" | "$case">]: never; }) | ({
4298
+ } & { [K_100 in Exclude<keyof I["message"], "trackUnpublished" | "$case">]: never; }) | ({
4066
4299
  pong?: number | undefined;
4067
4300
  } & {
4068
4301
  $case: "pong";
4069
4302
  } & {
4070
4303
  pong?: number | undefined;
4071
4304
  $case: "pong";
4072
- } & { [K_98 in Exclude<keyof I["message"], "pong" | "$case">]: never; }) | ({
4305
+ } & { [K_101 in Exclude<keyof I["message"], "pong" | "$case">]: never; }) | ({
4073
4306
  reconnect?: {
4074
4307
  iceServers?: {
4075
4308
  urls?: string[] | undefined;
@@ -4092,55 +4325,301 @@ export declare const SignalResponse: {
4092
4325
  } | undefined;
4093
4326
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4094
4327
  } | undefined;
4095
- } | undefined;
4096
- } & {
4097
- $case: "reconnect";
4098
- } & {
4099
- reconnect?: ({
4100
- iceServers?: {
4101
- urls?: string[] | undefined;
4102
- username?: string | undefined;
4103
- credential?: string | undefined;
4104
- }[] | undefined;
4105
- clientConfiguration?: {
4106
- video?: {
4107
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4108
- } | undefined;
4109
- screen?: {
4110
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4111
- } | undefined;
4112
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4113
- disabledCodecs?: {
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;
4342
+ } | undefined;
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;
4114
4366
  codecs?: {
4115
- mime?: string | undefined;
4116
- fmtpLine?: string | undefined;
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;
4117
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;
4118
4393
  } | undefined;
4119
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4394
+ region?: string | undefined;
4395
+ isPublisher?: boolean | undefined;
4120
4396
  } | undefined;
4121
- } & {
4122
- iceServers?: ({
4123
- urls?: string[] | undefined;
4124
- username?: string | undefined;
4125
- credential?: string | undefined;
4126
- }[] & ({
4127
- urls?: string[] | undefined;
4128
- username?: string | undefined;
4129
- credential?: string | undefined;
4130
- } & {
4131
- urls?: (string[] & string[] & { [K_99 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
4132
- username?: string | undefined;
4133
- credential?: string | undefined;
4134
- } & { [K_100 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_101 in Exclude<keyof I["message"]["reconnect"]["iceServers"], keyof {
4135
- urls?: string[] | undefined;
4136
- username?: string | undefined;
4137
- credential?: string | undefined;
4138
- }[]>]: never; }) | undefined;
4139
- clientConfiguration?: ({
4140
- video?: {
4141
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4142
- } | undefined;
4143
- screen?: {
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?: {
4144
4623
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4145
4624
  } | undefined;
4146
4625
  resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
@@ -4156,12 +4635,12 @@ export declare const SignalResponse: {
4156
4635
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4157
4636
  } & {
4158
4637
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4159
- } & { [K_102 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
4638
+ } & { [K_105 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
4160
4639
  screen?: ({
4161
4640
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4162
4641
  } & {
4163
4642
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4164
- } & { [K_103 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
4643
+ } & { [K_106 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
4165
4644
  resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4166
4645
  disabledCodecs?: ({
4167
4646
  codecs?: {
@@ -4178,152 +4657,1871 @@ export declare const SignalResponse: {
4178
4657
  } & {
4179
4658
  mime?: string | undefined;
4180
4659
  fmtpLine?: string | undefined;
4181
- } & { [K_104 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_105 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
4660
+ } & { [K_107 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_108 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
4182
4661
  mime?: string | undefined;
4183
4662
  fmtpLine?: string | undefined;
4184
4663
  }[]>]: never; }) | undefined;
4185
- } & { [K_106 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
4664
+ } & { [K_109 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
4186
4665
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4187
- } & { [K_107 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
4188
- } & { [K_108 in Exclude<keyof I["message"]["reconnect"], keyof ReconnectResponse>]: never; }) | undefined;
4189
- $case: "reconnect";
4190
- } & { [K_109 in Exclude<keyof I["message"], "reconnect" | "$case">]: never; }) | undefined;
4191
- } & { [K_110 in Exclude<keyof I, "message">]: never; }>(object: I): SignalResponse;
4192
- };
4193
- export declare const SimulcastCodec: {
4194
- encode(message: SimulcastCodec, writer?: _m0.Writer): _m0.Writer;
4195
- decode(input: _m0.Reader | Uint8Array, length?: number): SimulcastCodec;
4196
- fromJSON(object: any): SimulcastCodec;
4197
- toJSON(message: SimulcastCodec): unknown;
4198
- fromPartial<I extends {
4199
- codec?: string | undefined;
4200
- cid?: string | undefined;
4201
- enableSimulcastLayers?: boolean | undefined;
4202
- } & {
4203
- codec?: string | undefined;
4204
- cid?: string | undefined;
4205
- enableSimulcastLayers?: boolean | undefined;
4206
- } & { [K in Exclude<keyof I, keyof SimulcastCodec>]: never; }>(object: I): SimulcastCodec;
4207
- };
4208
- export declare const AddTrackRequest: {
4209
- encode(message: AddTrackRequest, writer?: _m0.Writer): _m0.Writer;
4210
- decode(input: _m0.Reader | Uint8Array, length?: number): AddTrackRequest;
4211
- fromJSON(object: any): AddTrackRequest;
4212
- toJSON(message: AddTrackRequest): unknown;
4213
- fromPartial<I extends {
4214
- cid?: string | undefined;
4215
- name?: string | undefined;
4216
- type?: TrackType | undefined;
4217
- width?: number | undefined;
4218
- height?: number | undefined;
4219
- muted?: boolean | undefined;
4220
- disableDtx?: boolean | undefined;
4221
- source?: TrackSource | undefined;
4222
- layers?: {
4223
- quality?: VideoQuality | undefined;
4224
- width?: number | undefined;
4225
- height?: number | undefined;
4666
+ } & { [K_110 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
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: {
5418
+ encode(message: AddTrackRequest, writer?: _m0.Writer): _m0.Writer;
5419
+ decode(input: _m0.Reader | Uint8Array, length?: number): AddTrackRequest;
5420
+ fromJSON(object: any): AddTrackRequest;
5421
+ toJSON(message: AddTrackRequest): unknown;
5422
+ fromPartial<I extends {
5423
+ cid?: string | undefined;
5424
+ name?: string | undefined;
5425
+ type?: TrackType | undefined;
5426
+ width?: number | undefined;
5427
+ height?: number | undefined;
5428
+ muted?: boolean | undefined;
5429
+ disableDtx?: boolean | undefined;
5430
+ source?: TrackSource | undefined;
5431
+ layers?: {
5432
+ quality?: VideoQuality | undefined;
5433
+ width?: number | undefined;
5434
+ height?: number | undefined;
5435
+ bitrate?: number | undefined;
5436
+ ssrc?: number | undefined;
5437
+ }[] | 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;
4226
5478
  bitrate?: number | undefined;
4227
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;
4228
5658
  }[] | undefined;
4229
- simulcastCodecs?: {
4230
- codec?: string | undefined;
4231
- cid?: string | undefined;
4232
- enableSimulcastLayers?: boolean | undefined;
5659
+ serverVersion?: string | undefined;
5660
+ iceServers?: {
5661
+ urls?: string[] | undefined;
5662
+ username?: string | undefined;
5663
+ credential?: string | undefined;
4233
5664
  }[] | undefined;
4234
- sid?: string | undefined;
4235
- stereo?: boolean | undefined;
4236
- disableRed?: boolean | undefined;
4237
- encryption?: Encryption_Type | undefined;
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;
4238
5694
  } & {
4239
- cid?: string | undefined;
4240
- name?: string | undefined;
4241
- type?: TrackType | undefined;
4242
- width?: number | undefined;
4243
- height?: number | undefined;
4244
- muted?: boolean | undefined;
4245
- disableDtx?: boolean | undefined;
4246
- source?: TrackSource | undefined;
4247
- layers?: ({
4248
- quality?: VideoQuality | undefined;
4249
- width?: number | undefined;
4250
- height?: number | undefined;
4251
- bitrate?: number | undefined;
4252
- ssrc?: number | undefined;
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;
4253
6071
  }[] & ({
4254
- quality?: VideoQuality | undefined;
4255
- width?: number | undefined;
4256
- height?: number | undefined;
4257
- bitrate?: number | undefined;
4258
- ssrc?: number | undefined;
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;
4259
6124
  } & {
4260
- quality?: VideoQuality | undefined;
4261
- width?: number | undefined;
4262
- height?: number | undefined;
4263
- bitrate?: number | undefined;
4264
- ssrc?: number | undefined;
4265
- } & { [K in Exclude<keyof I["layers"][number], keyof VideoLayer>]: never; })[] & { [K_1 in Exclude<keyof I["layers"], keyof {
4266
- quality?: VideoQuality | undefined;
4267
- width?: number | undefined;
4268
- height?: number | undefined;
4269
- bitrate?: number | undefined;
4270
- ssrc?: number | undefined;
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;
4271
6408
  }[]>]: never; }) | undefined;
4272
- simulcastCodecs?: ({
4273
- codec?: string | undefined;
4274
- cid?: string | undefined;
4275
- enableSimulcastLayers?: boolean | undefined;
6409
+ serverVersion?: string | undefined;
6410
+ iceServers?: ({
6411
+ urls?: string[] | undefined;
6412
+ username?: string | undefined;
6413
+ credential?: string | undefined;
4276
6414
  }[] & ({
4277
- codec?: string | undefined;
4278
- cid?: string | undefined;
4279
- enableSimulcastLayers?: boolean | undefined;
6415
+ urls?: string[] | undefined;
6416
+ username?: string | undefined;
6417
+ credential?: string | undefined;
4280
6418
  } & {
4281
- codec?: string | undefined;
4282
- cid?: string | undefined;
4283
- enableSimulcastLayers?: boolean | undefined;
4284
- } & { [K_2 in Exclude<keyof I["simulcastCodecs"][number], keyof SimulcastCodec>]: never; })[] & { [K_3 in Exclude<keyof I["simulcastCodecs"], keyof {
4285
- codec?: string | undefined;
4286
- cid?: string | undefined;
4287
- enableSimulcastLayers?: boolean | undefined;
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;
4288
6426
  }[]>]: never; }) | undefined;
4289
- sid?: string | undefined;
4290
- stereo?: boolean | undefined;
4291
- disableRed?: boolean | undefined;
4292
- encryption?: Encryption_Type | undefined;
4293
- } & { [K_4 in Exclude<keyof I, keyof AddTrackRequest>]: never; }>(object: I): AddTrackRequest;
4294
- };
4295
- export declare const TrickleRequest: {
4296
- encode(message: TrickleRequest, writer?: _m0.Writer): _m0.Writer;
4297
- decode(input: _m0.Reader | Uint8Array, length?: number): TrickleRequest;
4298
- fromJSON(object: any): TrickleRequest;
4299
- toJSON(message: TrickleRequest): unknown;
4300
- fromPartial<I extends {
4301
- candidateInit?: string | undefined;
4302
- target?: SignalTarget | undefined;
4303
- } & {
4304
- candidateInit?: string | undefined;
4305
- target?: SignalTarget | undefined;
4306
- } & { [K in Exclude<keyof I, keyof TrickleRequest>]: never; }>(object: I): TrickleRequest;
4307
- };
4308
- export declare const MuteTrackRequest: {
4309
- encode(message: MuteTrackRequest, writer?: _m0.Writer): _m0.Writer;
4310
- decode(input: _m0.Reader | Uint8Array, length?: number): MuteTrackRequest;
4311
- fromJSON(object: any): MuteTrackRequest;
4312
- toJSON(message: MuteTrackRequest): unknown;
4313
- fromPartial<I extends {
4314
- sid?: string | undefined;
4315
- muted?: boolean | undefined;
4316
- } & {
4317
- sid?: string | undefined;
4318
- muted?: boolean | undefined;
4319
- } & { [K in Exclude<keyof I, keyof MuteTrackRequest>]: never; }>(object: I): MuteTrackRequest;
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;
4320
6497
  };
4321
- export declare const JoinResponse: {
4322
- encode(message: JoinResponse, writer?: _m0.Writer): _m0.Writer;
4323
- decode(input: _m0.Reader | Uint8Array, length?: number): JoinResponse;
4324
- fromJSON(object: any): JoinResponse;
4325
- toJSON(message: JoinResponse): unknown;
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;
4326
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;
4327
6525
  room?: {
4328
6526
  sid?: string | undefined;
4329
6527
  name?: string | undefined;
@@ -4386,6 +6584,7 @@ export declare const JoinResponse: {
4386
6584
  canSubscribe?: boolean | undefined;
4387
6585
  canPublish?: boolean | undefined;
4388
6586
  canPublishData?: boolean | undefined;
6587
+ canPublishSources?: TrackSource[] | undefined;
4389
6588
  hidden?: boolean | undefined;
4390
6589
  recorder?: boolean | undefined;
4391
6590
  } | undefined;
@@ -4439,21 +6638,32 @@ export declare const JoinResponse: {
4439
6638
  canSubscribe?: boolean | undefined;
4440
6639
  canPublish?: boolean | undefined;
4441
6640
  canPublishData?: boolean | undefined;
6641
+ canPublishSources?: TrackSource[] | undefined;
4442
6642
  hidden?: boolean | undefined;
4443
6643
  recorder?: boolean | undefined;
4444
6644
  } | undefined;
4445
6645
  region?: string | undefined;
4446
6646
  isPublisher?: boolean | undefined;
4447
6647
  }[] | undefined;
4448
- serverVersion?: string | undefined;
4449
- iceServers?: {
6648
+ } & {
6649
+ iceServers?: ({
4450
6650
  urls?: string[] | undefined;
4451
6651
  username?: string | undefined;
4452
6652
  credential?: string | undefined;
4453
- }[] | undefined;
4454
- subscriberPrimary?: boolean | undefined;
4455
- alternativeUrl?: string | undefined;
4456
- clientConfiguration?: {
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?: ({
4457
6667
  video?: {
4458
6668
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4459
6669
  } | undefined;
@@ -4468,19 +6678,40 @@ export declare const JoinResponse: {
4468
6678
  }[] | undefined;
4469
6679
  } | undefined;
4470
6680
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4471
- } | undefined;
4472
- serverRegion?: string | undefined;
4473
- pingTimeout?: number | undefined;
4474
- pingInterval?: number | undefined;
4475
- serverInfo?: {
4476
- edition?: import("./livekit_models").ServerInfo_Edition | undefined;
4477
- version?: string | undefined;
4478
- protocol?: number | undefined;
4479
- region?: string | undefined;
4480
- nodeId?: string | undefined;
4481
- debugInfo?: string | undefined;
4482
- } | undefined;
4483
- } & {
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;
4484
6715
  room?: ({
4485
6716
  sid?: string | undefined;
4486
6717
  name?: string | undefined;
@@ -4511,14 +6742,14 @@ export declare const JoinResponse: {
4511
6742
  } & {
4512
6743
  mime?: string | undefined;
4513
6744
  fmtpLine?: string | undefined;
4514
- } & { [K in Exclude<keyof I["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_1 in Exclude<keyof I["room"]["enabledCodecs"], keyof {
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 {
4515
6746
  mime?: string | undefined;
4516
6747
  fmtpLine?: string | undefined;
4517
6748
  }[]>]: never; }) | undefined;
4518
6749
  metadata?: string | undefined;
4519
6750
  numParticipants?: number | undefined;
4520
6751
  activeRecording?: boolean | undefined;
4521
- } & { [K_2 in Exclude<keyof I["room"], keyof Room>]: never; }) | undefined;
6752
+ } & { [K_11 in Exclude<keyof I["room"], keyof Room>]: never; }) | undefined;
4522
6753
  participant?: ({
4523
6754
  sid?: string | undefined;
4524
6755
  identity?: string | undefined;
@@ -4566,6 +6797,7 @@ export declare const JoinResponse: {
4566
6797
  canSubscribe?: boolean | undefined;
4567
6798
  canPublish?: boolean | undefined;
4568
6799
  canPublishData?: boolean | undefined;
6800
+ canPublishSources?: TrackSource[] | undefined;
4569
6801
  hidden?: boolean | undefined;
4570
6802
  recorder?: boolean | undefined;
4571
6803
  } | undefined;
@@ -4671,7 +6903,7 @@ export declare const JoinResponse: {
4671
6903
  height?: number | undefined;
4672
6904
  bitrate?: number | undefined;
4673
6905
  ssrc?: number | undefined;
4674
- } & { [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 {
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 {
4675
6907
  quality?: VideoQuality | undefined;
4676
6908
  width?: number | undefined;
4677
6909
  height?: number | undefined;
@@ -4724,14 +6956,14 @@ export declare const JoinResponse: {
4724
6956
  height?: number | undefined;
4725
6957
  bitrate?: number | undefined;
4726
6958
  ssrc?: number | undefined;
4727
- } & { [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 {
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 {
4728
6960
  quality?: VideoQuality | undefined;
4729
6961
  width?: number | undefined;
4730
6962
  height?: number | undefined;
4731
6963
  bitrate?: number | undefined;
4732
6964
  ssrc?: number | undefined;
4733
6965
  }[]>]: never; }) | undefined;
4734
- } & { [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 {
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 {
4735
6967
  mimeType?: string | undefined;
4736
6968
  mid?: string | undefined;
4737
6969
  cid?: string | undefined;
@@ -4746,7 +6978,7 @@ export declare const JoinResponse: {
4746
6978
  stereo?: boolean | undefined;
4747
6979
  disableRed?: boolean | undefined;
4748
6980
  encryption?: Encryption_Type | undefined;
4749
- } & { [K_9 in Exclude<keyof I["participant"]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_10 in Exclude<keyof I["participant"]["tracks"], keyof {
6981
+ } & { [K_18 in Exclude<keyof I["participant"]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_19 in Exclude<keyof I["participant"]["tracks"], keyof {
4750
6982
  sid?: string | undefined;
4751
6983
  type?: TrackType | undefined;
4752
6984
  name?: string | undefined;
@@ -4789,18 +7021,20 @@ export declare const JoinResponse: {
4789
7021
  canSubscribe?: boolean | undefined;
4790
7022
  canPublish?: boolean | undefined;
4791
7023
  canPublishData?: boolean | undefined;
7024
+ canPublishSources?: TrackSource[] | undefined;
4792
7025
  hidden?: boolean | undefined;
4793
7026
  recorder?: boolean | undefined;
4794
7027
  } & {
4795
7028
  canSubscribe?: boolean | undefined;
4796
7029
  canPublish?: boolean | undefined;
4797
7030
  canPublishData?: boolean | undefined;
7031
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_20 in Exclude<keyof I["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
4798
7032
  hidden?: boolean | undefined;
4799
7033
  recorder?: boolean | undefined;
4800
- } & { [K_11 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
7034
+ } & { [K_21 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
4801
7035
  region?: string | undefined;
4802
7036
  isPublisher?: boolean | undefined;
4803
- } & { [K_12 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never; }) | undefined;
7037
+ } & { [K_22 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never; }) | undefined;
4804
7038
  otherParticipants?: ({
4805
7039
  sid?: string | undefined;
4806
7040
  identity?: string | undefined;
@@ -4848,6 +7082,7 @@ export declare const JoinResponse: {
4848
7082
  canSubscribe?: boolean | undefined;
4849
7083
  canPublish?: boolean | undefined;
4850
7084
  canPublishData?: boolean | undefined;
7085
+ canPublishSources?: TrackSource[] | undefined;
4851
7086
  hidden?: boolean | undefined;
4852
7087
  recorder?: boolean | undefined;
4853
7088
  } | undefined;
@@ -4900,6 +7135,7 @@ export declare const JoinResponse: {
4900
7135
  canSubscribe?: boolean | undefined;
4901
7136
  canPublish?: boolean | undefined;
4902
7137
  canPublishData?: boolean | undefined;
7138
+ canPublishSources?: TrackSource[] | undefined;
4903
7139
  hidden?: boolean | undefined;
4904
7140
  recorder?: boolean | undefined;
4905
7141
  } | undefined;
@@ -5005,7 +7241,7 @@ export declare const JoinResponse: {
5005
7241
  height?: number | undefined;
5006
7242
  bitrate?: number | undefined;
5007
7243
  ssrc?: number | undefined;
5008
- } & { [K_13 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_14 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
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 {
5009
7245
  quality?: VideoQuality | undefined;
5010
7246
  width?: number | undefined;
5011
7247
  height?: number | undefined;
@@ -5058,14 +7294,14 @@ export declare const JoinResponse: {
5058
7294
  height?: number | undefined;
5059
7295
  bitrate?: number | undefined;
5060
7296
  ssrc?: number | undefined;
5061
- } & { [K_15 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_16 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
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 {
5062
7298
  quality?: VideoQuality | undefined;
5063
7299
  width?: number | undefined;
5064
7300
  height?: number | undefined;
5065
7301
  bitrate?: number | undefined;
5066
7302
  ssrc?: number | undefined;
5067
7303
  }[]>]: never; }) | undefined;
5068
- } & { [K_17 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_18 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
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 {
5069
7305
  mimeType?: string | undefined;
5070
7306
  mid?: string | undefined;
5071
7307
  cid?: string | undefined;
@@ -5080,7 +7316,7 @@ export declare const JoinResponse: {
5080
7316
  stereo?: boolean | undefined;
5081
7317
  disableRed?: boolean | undefined;
5082
7318
  encryption?: Encryption_Type | undefined;
5083
- } & { [K_19 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_20 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
7319
+ } & { [K_29 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_30 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
5084
7320
  sid?: string | undefined;
5085
7321
  type?: TrackType | undefined;
5086
7322
  name?: string | undefined;
@@ -5123,18 +7359,20 @@ export declare const JoinResponse: {
5123
7359
  canSubscribe?: boolean | undefined;
5124
7360
  canPublish?: boolean | undefined;
5125
7361
  canPublishData?: boolean | undefined;
7362
+ canPublishSources?: TrackSource[] | undefined;
5126
7363
  hidden?: boolean | undefined;
5127
7364
  recorder?: boolean | undefined;
5128
7365
  } & {
5129
7366
  canSubscribe?: boolean | undefined;
5130
7367
  canPublish?: boolean | undefined;
5131
7368
  canPublishData?: boolean | undefined;
7369
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_31 in Exclude<keyof I["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
5132
7370
  hidden?: boolean | undefined;
5133
7371
  recorder?: boolean | undefined;
5134
- } & { [K_21 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
7372
+ } & { [K_32 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
5135
7373
  region?: string | undefined;
5136
7374
  isPublisher?: boolean | undefined;
5137
- } & { [K_22 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never; })[] & { [K_23 in Exclude<keyof I["otherParticipants"], keyof {
7375
+ } & { [K_33 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never; })[] & { [K_34 in Exclude<keyof I["otherParticipants"], keyof {
5138
7376
  sid?: string | undefined;
5139
7377
  identity?: string | undefined;
5140
7378
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -5181,196 +7419,14 @@ export declare const JoinResponse: {
5181
7419
  canSubscribe?: boolean | undefined;
5182
7420
  canPublish?: boolean | undefined;
5183
7421
  canPublishData?: boolean | undefined;
7422
+ canPublishSources?: TrackSource[] | undefined;
5184
7423
  hidden?: boolean | undefined;
5185
7424
  recorder?: boolean | undefined;
5186
7425
  } | undefined;
5187
7426
  region?: string | undefined;
5188
7427
  isPublisher?: boolean | undefined;
5189
7428
  }[]>]: never; }) | undefined;
5190
- serverVersion?: string | undefined;
5191
- iceServers?: ({
5192
- urls?: string[] | undefined;
5193
- username?: string | undefined;
5194
- credential?: string | undefined;
5195
- }[] & ({
5196
- urls?: string[] | undefined;
5197
- username?: string | undefined;
5198
- credential?: string | undefined;
5199
- } & {
5200
- urls?: (string[] & string[] & { [K_24 in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
5201
- username?: string | undefined;
5202
- credential?: string | undefined;
5203
- } & { [K_25 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_26 in Exclude<keyof I["iceServers"], keyof {
5204
- urls?: string[] | undefined;
5205
- username?: string | undefined;
5206
- credential?: string | undefined;
5207
- }[]>]: never; }) | undefined;
5208
- subscriberPrimary?: boolean | undefined;
5209
- alternativeUrl?: string | undefined;
5210
- clientConfiguration?: ({
5211
- video?: {
5212
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5213
- } | undefined;
5214
- screen?: {
5215
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5216
- } | undefined;
5217
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5218
- disabledCodecs?: {
5219
- codecs?: {
5220
- mime?: string | undefined;
5221
- fmtpLine?: string | undefined;
5222
- }[] | undefined;
5223
- } | undefined;
5224
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5225
- } & {
5226
- video?: ({
5227
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5228
- } & {
5229
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5230
- } & { [K_27 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
5231
- screen?: ({
5232
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5233
- } & {
5234
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5235
- } & { [K_28 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
5236
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5237
- disabledCodecs?: ({
5238
- codecs?: {
5239
- mime?: string | undefined;
5240
- fmtpLine?: string | undefined;
5241
- }[] | undefined;
5242
- } & {
5243
- codecs?: ({
5244
- mime?: string | undefined;
5245
- fmtpLine?: string | undefined;
5246
- }[] & ({
5247
- mime?: string | undefined;
5248
- fmtpLine?: string | undefined;
5249
- } & {
5250
- mime?: string | undefined;
5251
- fmtpLine?: string | undefined;
5252
- } & { [K_29 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_30 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
5253
- mime?: string | undefined;
5254
- fmtpLine?: string | undefined;
5255
- }[]>]: never; }) | undefined;
5256
- } & { [K_31 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
5257
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5258
- } & { [K_32 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
5259
- serverRegion?: string | undefined;
5260
- pingTimeout?: number | undefined;
5261
- pingInterval?: number | undefined;
5262
- serverInfo?: ({
5263
- edition?: import("./livekit_models").ServerInfo_Edition | undefined;
5264
- version?: string | undefined;
5265
- protocol?: number | undefined;
5266
- region?: string | undefined;
5267
- nodeId?: string | undefined;
5268
- debugInfo?: string | undefined;
5269
- } & {
5270
- edition?: import("./livekit_models").ServerInfo_Edition | undefined;
5271
- version?: string | undefined;
5272
- protocol?: number | undefined;
5273
- region?: string | undefined;
5274
- nodeId?: string | undefined;
5275
- debugInfo?: string | undefined;
5276
- } & { [K_33 in Exclude<keyof I["serverInfo"], keyof ServerInfo>]: never; }) | undefined;
5277
- } & { [K_34 in Exclude<keyof I, keyof JoinResponse>]: never; }>(object: I): JoinResponse;
5278
- };
5279
- export declare const ReconnectResponse: {
5280
- encode(message: ReconnectResponse, writer?: _m0.Writer): _m0.Writer;
5281
- decode(input: _m0.Reader | Uint8Array, length?: number): ReconnectResponse;
5282
- fromJSON(object: any): ReconnectResponse;
5283
- toJSON(message: ReconnectResponse): unknown;
5284
- fromPartial<I extends {
5285
- iceServers?: {
5286
- urls?: string[] | undefined;
5287
- username?: string | undefined;
5288
- credential?: string | undefined;
5289
- }[] | undefined;
5290
- clientConfiguration?: {
5291
- video?: {
5292
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5293
- } | undefined;
5294
- screen?: {
5295
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5296
- } | undefined;
5297
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5298
- disabledCodecs?: {
5299
- codecs?: {
5300
- mime?: string | undefined;
5301
- fmtpLine?: string | undefined;
5302
- }[] | undefined;
5303
- } | undefined;
5304
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5305
- } | undefined;
5306
- } & {
5307
- iceServers?: ({
5308
- urls?: string[] | undefined;
5309
- username?: string | undefined;
5310
- credential?: string | undefined;
5311
- }[] & ({
5312
- urls?: string[] | undefined;
5313
- username?: string | undefined;
5314
- credential?: string | undefined;
5315
- } & {
5316
- urls?: (string[] & string[] & { [K in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
5317
- username?: string | undefined;
5318
- credential?: string | undefined;
5319
- } & { [K_1 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_2 in Exclude<keyof I["iceServers"], keyof {
5320
- urls?: string[] | undefined;
5321
- username?: string | undefined;
5322
- credential?: string | undefined;
5323
- }[]>]: never; }) | undefined;
5324
- clientConfiguration?: ({
5325
- video?: {
5326
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5327
- } | undefined;
5328
- screen?: {
5329
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5330
- } | undefined;
5331
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5332
- disabledCodecs?: {
5333
- codecs?: {
5334
- mime?: string | undefined;
5335
- fmtpLine?: string | undefined;
5336
- }[] | undefined;
5337
- } | undefined;
5338
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5339
- } & {
5340
- video?: ({
5341
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5342
- } & {
5343
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5344
- } & { [K_3 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
5345
- screen?: ({
5346
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5347
- } & {
5348
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5349
- } & { [K_4 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
5350
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5351
- disabledCodecs?: ({
5352
- codecs?: {
5353
- mime?: string | undefined;
5354
- fmtpLine?: string | undefined;
5355
- }[] | undefined;
5356
- } & {
5357
- codecs?: ({
5358
- mime?: string | undefined;
5359
- fmtpLine?: string | undefined;
5360
- }[] & ({
5361
- mime?: string | undefined;
5362
- fmtpLine?: string | undefined;
5363
- } & {
5364
- mime?: string | undefined;
5365
- fmtpLine?: string | undefined;
5366
- } & { [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 {
5367
- mime?: string | undefined;
5368
- fmtpLine?: string | undefined;
5369
- }[]>]: never; }) | undefined;
5370
- } & { [K_7 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
5371
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5372
- } & { [K_8 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
5373
- } & { [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;
5374
7430
  };
5375
7431
  export declare const TrackPublishedResponse: {
5376
7432
  encode(message: TrackPublishedResponse, writer?: _m0.Writer): _m0.Writer;
@@ -5633,6 +7689,7 @@ export declare const ParticipantUpdate: {
5633
7689
  canSubscribe?: boolean | undefined;
5634
7690
  canPublish?: boolean | undefined;
5635
7691
  canPublishData?: boolean | undefined;
7692
+ canPublishSources?: TrackSource[] | undefined;
5636
7693
  hidden?: boolean | undefined;
5637
7694
  recorder?: boolean | undefined;
5638
7695
  } | undefined;
@@ -5687,6 +7744,7 @@ export declare const ParticipantUpdate: {
5687
7744
  canSubscribe?: boolean | undefined;
5688
7745
  canPublish?: boolean | undefined;
5689
7746
  canPublishData?: boolean | undefined;
7747
+ canPublishSources?: TrackSource[] | undefined;
5690
7748
  hidden?: boolean | undefined;
5691
7749
  recorder?: boolean | undefined;
5692
7750
  } | undefined;
@@ -5739,6 +7797,7 @@ export declare const ParticipantUpdate: {
5739
7797
  canSubscribe?: boolean | undefined;
5740
7798
  canPublish?: boolean | undefined;
5741
7799
  canPublishData?: boolean | undefined;
7800
+ canPublishSources?: TrackSource[] | undefined;
5742
7801
  hidden?: boolean | undefined;
5743
7802
  recorder?: boolean | undefined;
5744
7803
  } | undefined;
@@ -5962,18 +8021,20 @@ export declare const ParticipantUpdate: {
5962
8021
  canSubscribe?: boolean | undefined;
5963
8022
  canPublish?: boolean | undefined;
5964
8023
  canPublishData?: boolean | undefined;
8024
+ canPublishSources?: TrackSource[] | undefined;
5965
8025
  hidden?: boolean | undefined;
5966
8026
  recorder?: boolean | undefined;
5967
8027
  } & {
5968
8028
  canSubscribe?: boolean | undefined;
5969
8029
  canPublish?: boolean | undefined;
5970
8030
  canPublishData?: boolean | undefined;
8031
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_8 in Exclude<keyof I["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
5971
8032
  hidden?: boolean | undefined;
5972
8033
  recorder?: boolean | undefined;
5973
- } & { [K_8 in Exclude<keyof I["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
8034
+ } & { [K_9 in Exclude<keyof I["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
5974
8035
  region?: string | undefined;
5975
8036
  isPublisher?: boolean | undefined;
5976
- } & { [K_9 in Exclude<keyof I["participants"][number], keyof ParticipantInfo>]: never; })[] & { [K_10 in Exclude<keyof I["participants"], keyof {
8037
+ } & { [K_10 in Exclude<keyof I["participants"][number], keyof ParticipantInfo>]: never; })[] & { [K_11 in Exclude<keyof I["participants"], keyof {
5977
8038
  sid?: string | undefined;
5978
8039
  identity?: string | undefined;
5979
8040
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -6020,13 +8081,14 @@ export declare const ParticipantUpdate: {
6020
8081
  canSubscribe?: boolean | undefined;
6021
8082
  canPublish?: boolean | undefined;
6022
8083
  canPublishData?: boolean | undefined;
8084
+ canPublishSources?: TrackSource[] | undefined;
6023
8085
  hidden?: boolean | undefined;
6024
8086
  recorder?: boolean | undefined;
6025
8087
  } | undefined;
6026
8088
  region?: string | undefined;
6027
8089
  isPublisher?: boolean | undefined;
6028
8090
  }[]>]: never; }) | undefined;
6029
- } & { [K_11 in Exclude<keyof I, "participants">]: never; }>(object: I): ParticipantUpdate;
8091
+ } & { [K_12 in Exclude<keyof I, "participants">]: never; }>(object: I): ParticipantUpdate;
6030
8092
  };
6031
8093
  export declare const UpdateSubscription: {
6032
8094
  encode(message: UpdateSubscription, writer?: _m0.Writer): _m0.Writer;
@@ -6070,6 +8132,7 @@ export declare const UpdateTrackSettings: {
6070
8132
  width?: number | undefined;
6071
8133
  height?: number | undefined;
6072
8134
  fps?: number | undefined;
8135
+ priority?: number | undefined;
6073
8136
  } & {
6074
8137
  trackSids?: (string[] & string[] & { [K in Exclude<keyof I["trackSids"], keyof string[]>]: never; }) | undefined;
6075
8138
  disabled?: boolean | undefined;
@@ -6077,6 +8140,7 @@ export declare const UpdateTrackSettings: {
6077
8140
  width?: number | undefined;
6078
8141
  height?: number | undefined;
6079
8142
  fps?: number | undefined;
8143
+ priority?: number | undefined;
6080
8144
  } & { [K_1 in Exclude<keyof I, keyof UpdateTrackSettings>]: never; }>(object: I): UpdateTrackSettings;
6081
8145
  };
6082
8146
  export declare const LeaveRequest: {
@@ -6135,6 +8199,17 @@ export declare const UpdateVideoLayers: {
6135
8199
  }[]>]: never; }) | undefined;
6136
8200
  } & { [K_2 in Exclude<keyof I, keyof UpdateVideoLayers>]: never; }>(object: I): UpdateVideoLayers;
6137
8201
  };
8202
+ export declare const UpdateParticipantMetadata: {
8203
+ encode(message: UpdateParticipantMetadata, writer?: _m0.Writer): _m0.Writer;
8204
+ decode(input: _m0.Reader | Uint8Array, length?: number): UpdateParticipantMetadata;
8205
+ fromJSON(object: any): UpdateParticipantMetadata;
8206
+ toJSON(message: UpdateParticipantMetadata): unknown;
8207
+ fromPartial<I extends {
8208
+ metadata?: string | undefined;
8209
+ } & {
8210
+ metadata?: string | undefined;
8211
+ } & { [K in Exclude<keyof I, "metadata">]: never; }>(object: I): UpdateParticipantMetadata;
8212
+ };
6138
8213
  export declare const ICEServer: {
6139
8214
  encode(message: ICEServer, writer?: _m0.Writer): _m0.Writer;
6140
8215
  decode(input: _m0.Reader | Uint8Array, length?: number): ICEServer;
@@ -6971,6 +9046,32 @@ export declare const SimulateScenario: {
6971
9046
  } & { [K_4 in Exclude<keyof I["scenario"], "switchCandidateProtocol" | "$case">]: never; }) | undefined;
6972
9047
  } & { [K_5 in Exclude<keyof I, "scenario">]: never; }>(object: I): SimulateScenario;
6973
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
+ };
6974
9075
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
6975
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 {
6976
9077
  $case: string;