livekit-client 1.6.2 → 1.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. package/dist/livekit-client.esm.mjs +468 -140
  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 +3 -3
  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/index.d.ts +2 -1
  10. package/dist/src/index.d.ts.map +1 -1
  11. package/dist/src/proto/livekit_models.d.ts +53 -4
  12. package/dist/src/proto/livekit_models.d.ts.map +1 -1
  13. package/dist/src/proto/livekit_rtc.d.ts +650 -91
  14. package/dist/src/proto/livekit_rtc.d.ts.map +1 -1
  15. package/dist/src/room/PCTransport.d.ts +1 -0
  16. package/dist/src/room/PCTransport.d.ts.map +1 -1
  17. package/dist/src/room/RTCEngine.d.ts +2 -0
  18. package/dist/src/room/RTCEngine.d.ts.map +1 -1
  19. package/dist/src/room/Room.d.ts +1 -1
  20. package/dist/src/room/Room.d.ts.map +1 -1
  21. package/dist/src/room/errors.d.ts +3 -0
  22. package/dist/src/room/errors.d.ts.map +1 -1
  23. package/dist/src/room/participant/LocalParticipant.d.ts +1 -3
  24. package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
  25. package/dist/src/room/participant/Participant.d.ts +1 -1
  26. package/dist/src/room/participant/Participant.d.ts.map +1 -1
  27. package/dist/src/room/timers.d.ts +13 -0
  28. package/dist/src/room/timers.d.ts.map +1 -0
  29. package/dist/src/room/track/RemoteVideoTrack.d.ts.map +1 -1
  30. package/dist/src/room/track/create.d.ts.map +1 -1
  31. package/dist/src/room/track/options.d.ts +2 -2
  32. package/dist/src/room/track/options.d.ts.map +1 -1
  33. package/dist/src/test/mocks.d.ts +1 -1
  34. package/dist/ts4.2/src/api/SignalClient.d.ts +3 -3
  35. package/dist/ts4.2/src/connectionHelper/ConnectionCheck.d.ts +2 -2
  36. package/dist/ts4.2/src/index.d.ts +2 -1
  37. package/dist/ts4.2/src/proto/livekit_models.d.ts +59 -4
  38. package/dist/ts4.2/src/proto/livekit_rtc.d.ts +739 -120
  39. package/dist/ts4.2/src/room/PCTransport.d.ts +1 -0
  40. package/dist/ts4.2/src/room/RTCEngine.d.ts +2 -0
  41. package/dist/ts4.2/src/room/Room.d.ts +1 -1
  42. package/dist/ts4.2/src/room/errors.d.ts +3 -0
  43. package/dist/ts4.2/src/room/participant/LocalParticipant.d.ts +1 -3
  44. package/dist/ts4.2/src/room/participant/Participant.d.ts +1 -1
  45. package/dist/ts4.2/src/room/timers.d.ts +13 -0
  46. package/dist/ts4.2/src/room/track/options.d.ts +2 -2
  47. package/dist/ts4.2/src/test/mocks.d.ts +1 -1
  48. package/package.json +17 -17
  49. package/src/api/SignalClient.ts +33 -21
  50. package/src/connectionHelper/ConnectionCheck.ts +1 -1
  51. package/src/index.ts +2 -0
  52. package/src/proto/google/protobuf/timestamp.ts +2 -2
  53. package/src/proto/livekit_models.ts +158 -10
  54. package/src/proto/livekit_rtc.ts +205 -6
  55. package/src/room/PCTransport.ts +22 -6
  56. package/src/room/RTCEngine.ts +58 -45
  57. package/src/room/Room.ts +8 -10
  58. package/src/room/errors.ts +6 -0
  59. package/src/room/participant/LocalParticipant.ts +12 -17
  60. package/src/room/participant/Participant.ts +10 -2
  61. package/src/room/timers.ts +16 -0
  62. package/src/room/track/RemoteVideoTrack.ts +2 -1
  63. package/src/room/track/create.ts +6 -1
  64. package/src/room/track/options.ts +2 -2
@@ -1,5 +1,5 @@
1
1
  import _m0 from "protobufjs/minimal";
2
- import { ClientConfiguration, ConnectionQuality, DisconnectReason, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models";
2
+ import { ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models";
3
3
  export declare const protobufPackage = "livekit";
4
4
  export declare enum SignalTarget {
5
5
  PUBLISHER = 0,
@@ -63,6 +63,9 @@ export interface SignalRequest {
63
63
  } | {
64
64
  $case: "ping";
65
65
  ping: number;
66
+ } | {
67
+ $case: "updateMetadata";
68
+ updateMetadata: UpdateParticipantMetadata;
66
69
  };
67
70
  }
68
71
  export interface SignalResponse {
@@ -117,6 +120,9 @@ export interface SignalResponse {
117
120
  } | {
118
121
  $case: "pong";
119
122
  pong: number;
123
+ } | {
124
+ $case: "reconnect";
125
+ reconnect: ReconnectResponse;
120
126
  };
121
127
  }
122
128
  export interface SimulcastCodec {
@@ -144,6 +150,7 @@ export interface AddTrackRequest {
144
150
  stereo: boolean;
145
151
  /** true if RED (Redundant Encoding) is disabled for audio */
146
152
  disableRed: boolean;
153
+ encryption: Encryption_Type;
147
154
  }
148
155
  export interface TrickleRequest {
149
156
  candidateInit: string;
@@ -174,6 +181,10 @@ export interface JoinResponse {
174
181
  pingInterval: number;
175
182
  serverInfo?: ServerInfo;
176
183
  }
184
+ export interface ReconnectResponse {
185
+ iceServers: ICEServer[];
186
+ clientConfiguration?: ClientConfiguration;
187
+ }
177
188
  export interface TrackPublishedResponse {
178
189
  cid: string;
179
190
  track?: TrackInfo;
@@ -204,8 +215,17 @@ export interface UpdateTrackSettings {
204
215
  width: number;
205
216
  /** for video, height to receive */
206
217
  height: number;
207
- /** for video, frame rate to receive */
208
218
  fps: number;
219
+ /**
220
+ * subscription priority. 1 being the highest (0 is unset)
221
+ * when unset, server sill assign priority based on the order of subscription
222
+ * server will use priority in the following ways:
223
+ * 1. when subscribed tracks exceed per-participant subscription limit, server will
224
+ * pause the lowest priority tracks
225
+ * 2. when the network is congested, server will assign available bandwidth to
226
+ * higher priority tracks first. lowest priority tracks can be paused
227
+ */
228
+ priority: number;
209
229
  }
210
230
  export interface LeaveRequest {
211
231
  /**
@@ -220,6 +240,9 @@ export interface UpdateVideoLayers {
220
240
  trackSid: string;
221
241
  layers: VideoLayer[];
222
242
  }
243
+ export interface UpdateParticipantMetadata {
244
+ metadata: string;
245
+ }
223
246
  export interface ICEServer {
224
247
  urls: string[];
225
248
  username: string;
@@ -360,6 +383,7 @@ export declare const SignalRequest: {
360
383
  sid?: string | undefined;
361
384
  stereo?: boolean | undefined;
362
385
  disableRed?: boolean | undefined;
386
+ encryption?: Encryption_Type | undefined;
363
387
  } | undefined;
364
388
  } & {
365
389
  $case: "addTrack";
@@ -389,6 +413,7 @@ export declare const SignalRequest: {
389
413
  width?: number | undefined;
390
414
  height?: number | undefined;
391
415
  fps?: number | undefined;
416
+ priority?: number | undefined;
392
417
  } | undefined;
393
418
  } & {
394
419
  $case: "trackSetting";
@@ -471,6 +496,9 @@ export declare const SignalRequest: {
471
496
  ssrc?: number | undefined;
472
497
  }[] | undefined;
473
498
  }[] | undefined;
499
+ stereo?: boolean | undefined;
500
+ disableRed?: boolean | undefined;
501
+ encryption?: Encryption_Type | undefined;
474
502
  } | undefined;
475
503
  }[] | undefined;
476
504
  dataChannels?: {
@@ -515,6 +543,12 @@ export declare const SignalRequest: {
515
543
  ping?: number | undefined;
516
544
  } & {
517
545
  $case: "ping";
546
+ }) | ({
547
+ updateMetadata?: {
548
+ metadata?: string | undefined;
549
+ } | undefined;
550
+ } & {
551
+ $case: "updateMetadata";
518
552
  }) | undefined;
519
553
  } & {
520
554
  message?: ({
@@ -602,6 +636,7 @@ export declare const SignalRequest: {
602
636
  sid?: string | undefined;
603
637
  stereo?: boolean | undefined;
604
638
  disableRed?: boolean | undefined;
639
+ encryption?: Encryption_Type | undefined;
605
640
  } | undefined;
606
641
  } & {
607
642
  $case: "addTrack";
@@ -630,6 +665,7 @@ export declare const SignalRequest: {
630
665
  sid?: string | undefined;
631
666
  stereo?: boolean | undefined;
632
667
  disableRed?: boolean | undefined;
668
+ encryption?: Encryption_Type | undefined;
633
669
  } & {
634
670
  cid?: string | undefined;
635
671
  name?: string | undefined;
@@ -692,6 +728,7 @@ export declare const SignalRequest: {
692
728
  sid?: string | undefined;
693
729
  stereo?: boolean | undefined;
694
730
  disableRed?: boolean | undefined;
731
+ encryption?: Encryption_Type | undefined;
695
732
  } & {
696
733
  [K_10 in Exclude<keyof I["message"]["addTrack"], keyof AddTrackRequest>]: never;
697
734
  }) | undefined;
@@ -775,6 +812,7 @@ export declare const SignalRequest: {
775
812
  width?: number | undefined;
776
813
  height?: number | undefined;
777
814
  fps?: number | undefined;
815
+ priority?: number | undefined;
778
816
  } | undefined;
779
817
  } & {
780
818
  $case: "trackSetting";
@@ -786,6 +824,7 @@ export declare const SignalRequest: {
786
824
  width?: number | undefined;
787
825
  height?: number | undefined;
788
826
  fps?: number | undefined;
827
+ priority?: number | undefined;
789
828
  } & {
790
829
  trackSids?: (string[] & string[] & {
791
830
  [K_20 in Exclude<keyof I["message"]["trackSetting"]["trackSids"], keyof string[]>]: never;
@@ -795,6 +834,7 @@ export declare const SignalRequest: {
795
834
  width?: number | undefined;
796
835
  height?: number | undefined;
797
836
  fps?: number | undefined;
837
+ priority?: number | undefined;
798
838
  } & {
799
839
  [K_21 in Exclude<keyof I["message"]["trackSetting"], keyof UpdateTrackSettings>]: never;
800
840
  }) | undefined;
@@ -984,6 +1024,9 @@ export declare const SignalRequest: {
984
1024
  ssrc?: number | undefined;
985
1025
  }[] | undefined;
986
1026
  }[] | undefined;
1027
+ stereo?: boolean | undefined;
1028
+ disableRed?: boolean | undefined;
1029
+ encryption?: Encryption_Type | undefined;
987
1030
  } | undefined;
988
1031
  }[] | undefined;
989
1032
  dataChannels?: {
@@ -1045,6 +1088,9 @@ export declare const SignalRequest: {
1045
1088
  ssrc?: number | undefined;
1046
1089
  }[] | undefined;
1047
1090
  }[] | undefined;
1091
+ stereo?: boolean | undefined;
1092
+ disableRed?: boolean | undefined;
1093
+ encryption?: Encryption_Type | undefined;
1048
1094
  } | undefined;
1049
1095
  }[] | undefined;
1050
1096
  dataChannels?: {
@@ -1133,6 +1179,9 @@ export declare const SignalRequest: {
1133
1179
  ssrc?: number | undefined;
1134
1180
  }[] | undefined;
1135
1181
  }[] | undefined;
1182
+ stereo?: boolean | undefined;
1183
+ disableRed?: boolean | undefined;
1184
+ encryption?: Encryption_Type | undefined;
1136
1185
  } | undefined;
1137
1186
  }[] & ({
1138
1187
  cid?: string | undefined;
@@ -1167,6 +1216,9 @@ export declare const SignalRequest: {
1167
1216
  ssrc?: number | undefined;
1168
1217
  }[] | undefined;
1169
1218
  }[] | undefined;
1219
+ stereo?: boolean | undefined;
1220
+ disableRed?: boolean | undefined;
1221
+ encryption?: Encryption_Type | undefined;
1170
1222
  } | undefined;
1171
1223
  } & {
1172
1224
  cid?: string | undefined;
@@ -1201,6 +1253,9 @@ export declare const SignalRequest: {
1201
1253
  ssrc?: number | undefined;
1202
1254
  }[] | undefined;
1203
1255
  }[] | undefined;
1256
+ stereo?: boolean | undefined;
1257
+ disableRed?: boolean | undefined;
1258
+ encryption?: Encryption_Type | undefined;
1204
1259
  } & {
1205
1260
  sid?: string | undefined;
1206
1261
  type?: TrackType | undefined;
@@ -1313,6 +1368,9 @@ export declare const SignalRequest: {
1313
1368
  }[] | undefined;
1314
1369
  }[]>]: never;
1315
1370
  }) | undefined;
1371
+ stereo?: boolean | undefined;
1372
+ disableRed?: boolean | undefined;
1373
+ encryption?: Encryption_Type | undefined;
1316
1374
  } & {
1317
1375
  [K_46 in Exclude<keyof I["message"]["syncState"]["publishTracks"][number]["track"], keyof TrackInfo>]: never;
1318
1376
  }) | undefined;
@@ -1352,6 +1410,9 @@ export declare const SignalRequest: {
1352
1410
  ssrc?: number | undefined;
1353
1411
  }[] | undefined;
1354
1412
  }[] | undefined;
1413
+ stereo?: boolean | undefined;
1414
+ disableRed?: boolean | undefined;
1415
+ encryption?: Encryption_Type | undefined;
1355
1416
  } | undefined;
1356
1417
  }[]>]: never;
1357
1418
  }) | undefined;
@@ -1502,9 +1563,26 @@ export declare const SignalRequest: {
1502
1563
  $case: "ping";
1503
1564
  } & {
1504
1565
  [K_61 in Exclude<keyof I["message"], "ping" | "$case">]: never;
1566
+ }) | ({
1567
+ updateMetadata?: {
1568
+ metadata?: string | undefined;
1569
+ } | undefined;
1570
+ } & {
1571
+ $case: "updateMetadata";
1572
+ } & {
1573
+ updateMetadata?: ({
1574
+ metadata?: string | undefined;
1575
+ } & {
1576
+ metadata?: string | undefined;
1577
+ } & {
1578
+ [K_62 in Exclude<keyof I["message"]["updateMetadata"], "metadata">]: never;
1579
+ }) | undefined;
1580
+ $case: "updateMetadata";
1581
+ } & {
1582
+ [K_63 in Exclude<keyof I["message"], "updateMetadata" | "$case">]: never;
1505
1583
  }) | undefined;
1506
1584
  } & {
1507
- [K_62 in Exclude<keyof I, "message">]: never;
1585
+ [K_64 in Exclude<keyof I, "message">]: never;
1508
1586
  }>(object: I): SignalRequest;
1509
1587
  };
1510
1588
  export declare const SignalResponse: {
@@ -1565,6 +1643,9 @@ export declare const SignalResponse: {
1565
1643
  ssrc?: number | undefined;
1566
1644
  }[] | undefined;
1567
1645
  }[] | undefined;
1646
+ stereo?: boolean | undefined;
1647
+ disableRed?: boolean | undefined;
1648
+ encryption?: Encryption_Type | undefined;
1568
1649
  }[] | undefined;
1569
1650
  metadata?: string | undefined;
1570
1651
  joinedAt?: number | undefined;
@@ -1574,6 +1655,7 @@ export declare const SignalResponse: {
1574
1655
  canSubscribe?: boolean | undefined;
1575
1656
  canPublish?: boolean | undefined;
1576
1657
  canPublishData?: boolean | undefined;
1658
+ canPublishSources?: TrackSource[] | undefined;
1577
1659
  hidden?: boolean | undefined;
1578
1660
  recorder?: boolean | undefined;
1579
1661
  } | undefined;
@@ -1615,6 +1697,9 @@ export declare const SignalResponse: {
1615
1697
  ssrc?: number | undefined;
1616
1698
  }[] | undefined;
1617
1699
  }[] | undefined;
1700
+ stereo?: boolean | undefined;
1701
+ disableRed?: boolean | undefined;
1702
+ encryption?: Encryption_Type | undefined;
1618
1703
  }[] | undefined;
1619
1704
  metadata?: string | undefined;
1620
1705
  joinedAt?: number | undefined;
@@ -1624,6 +1709,7 @@ export declare const SignalResponse: {
1624
1709
  canSubscribe?: boolean | undefined;
1625
1710
  canPublish?: boolean | undefined;
1626
1711
  canPublishData?: boolean | undefined;
1712
+ canPublishSources?: TrackSource[] | undefined;
1627
1713
  hidden?: boolean | undefined;
1628
1714
  recorder?: boolean | undefined;
1629
1715
  } | undefined;
@@ -1726,6 +1812,9 @@ export declare const SignalResponse: {
1726
1812
  ssrc?: number | undefined;
1727
1813
  }[] | undefined;
1728
1814
  }[] | undefined;
1815
+ stereo?: boolean | undefined;
1816
+ disableRed?: boolean | undefined;
1817
+ encryption?: Encryption_Type | undefined;
1729
1818
  }[] | undefined;
1730
1819
  metadata?: string | undefined;
1731
1820
  joinedAt?: number | undefined;
@@ -1735,6 +1824,7 @@ export declare const SignalResponse: {
1735
1824
  canSubscribe?: boolean | undefined;
1736
1825
  canPublish?: boolean | undefined;
1737
1826
  canPublishData?: boolean | undefined;
1827
+ canPublishSources?: TrackSource[] | undefined;
1738
1828
  hidden?: boolean | undefined;
1739
1829
  recorder?: boolean | undefined;
1740
1830
  } | undefined;
@@ -1778,6 +1868,9 @@ export declare const SignalResponse: {
1778
1868
  ssrc?: number | undefined;
1779
1869
  }[] | undefined;
1780
1870
  }[] | undefined;
1871
+ stereo?: boolean | undefined;
1872
+ disableRed?: boolean | undefined;
1873
+ encryption?: Encryption_Type | undefined;
1781
1874
  } | undefined;
1782
1875
  } | undefined;
1783
1876
  } & {
@@ -1885,6 +1978,32 @@ export declare const SignalResponse: {
1885
1978
  pong?: number | undefined;
1886
1979
  } & {
1887
1980
  $case: "pong";
1981
+ }) | ({
1982
+ reconnect?: {
1983
+ iceServers?: {
1984
+ urls?: string[] | undefined;
1985
+ username?: string | undefined;
1986
+ credential?: string | undefined;
1987
+ }[] | undefined;
1988
+ clientConfiguration?: {
1989
+ video?: {
1990
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
1991
+ } | undefined;
1992
+ screen?: {
1993
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
1994
+ } | undefined;
1995
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
1996
+ disabledCodecs?: {
1997
+ codecs?: {
1998
+ mime?: string | undefined;
1999
+ fmtpLine?: string | undefined;
2000
+ }[] | undefined;
2001
+ } | undefined;
2002
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
2003
+ } | undefined;
2004
+ } | undefined;
2005
+ } & {
2006
+ $case: "reconnect";
1888
2007
  }) | undefined;
1889
2008
  } & {
1890
2009
  message?: ({
@@ -1939,6 +2058,9 @@ export declare const SignalResponse: {
1939
2058
  ssrc?: number | undefined;
1940
2059
  }[] | undefined;
1941
2060
  }[] | undefined;
2061
+ stereo?: boolean | undefined;
2062
+ disableRed?: boolean | undefined;
2063
+ encryption?: Encryption_Type | undefined;
1942
2064
  }[] | undefined;
1943
2065
  metadata?: string | undefined;
1944
2066
  joinedAt?: number | undefined;
@@ -1948,6 +2070,7 @@ export declare const SignalResponse: {
1948
2070
  canSubscribe?: boolean | undefined;
1949
2071
  canPublish?: boolean | undefined;
1950
2072
  canPublishData?: boolean | undefined;
2073
+ canPublishSources?: TrackSource[] | undefined;
1951
2074
  hidden?: boolean | undefined;
1952
2075
  recorder?: boolean | undefined;
1953
2076
  } | undefined;
@@ -1989,6 +2112,9 @@ export declare const SignalResponse: {
1989
2112
  ssrc?: number | undefined;
1990
2113
  }[] | undefined;
1991
2114
  }[] | undefined;
2115
+ stereo?: boolean | undefined;
2116
+ disableRed?: boolean | undefined;
2117
+ encryption?: Encryption_Type | undefined;
1992
2118
  }[] | undefined;
1993
2119
  metadata?: string | undefined;
1994
2120
  joinedAt?: number | undefined;
@@ -1998,6 +2124,7 @@ export declare const SignalResponse: {
1998
2124
  canSubscribe?: boolean | undefined;
1999
2125
  canPublish?: boolean | undefined;
2000
2126
  canPublishData?: boolean | undefined;
2127
+ canPublishSources?: TrackSource[] | undefined;
2001
2128
  hidden?: boolean | undefined;
2002
2129
  recorder?: boolean | undefined;
2003
2130
  } | undefined;
@@ -2094,6 +2221,9 @@ export declare const SignalResponse: {
2094
2221
  ssrc?: number | undefined;
2095
2222
  }[] | undefined;
2096
2223
  }[] | undefined;
2224
+ stereo?: boolean | undefined;
2225
+ disableRed?: boolean | undefined;
2226
+ encryption?: Encryption_Type | undefined;
2097
2227
  }[] | undefined;
2098
2228
  metadata?: string | undefined;
2099
2229
  joinedAt?: number | undefined;
@@ -2103,6 +2233,7 @@ export declare const SignalResponse: {
2103
2233
  canSubscribe?: boolean | undefined;
2104
2234
  canPublish?: boolean | undefined;
2105
2235
  canPublishData?: boolean | undefined;
2236
+ canPublishSources?: TrackSource[] | undefined;
2106
2237
  hidden?: boolean | undefined;
2107
2238
  recorder?: boolean | undefined;
2108
2239
  } | undefined;
@@ -2144,6 +2275,9 @@ export declare const SignalResponse: {
2144
2275
  ssrc?: number | undefined;
2145
2276
  }[] | undefined;
2146
2277
  }[] | undefined;
2278
+ stereo?: boolean | undefined;
2279
+ disableRed?: boolean | undefined;
2280
+ encryption?: Encryption_Type | undefined;
2147
2281
  }[] | undefined;
2148
2282
  metadata?: string | undefined;
2149
2283
  joinedAt?: number | undefined;
@@ -2153,6 +2287,7 @@ export declare const SignalResponse: {
2153
2287
  canSubscribe?: boolean | undefined;
2154
2288
  canPublish?: boolean | undefined;
2155
2289
  canPublishData?: boolean | undefined;
2290
+ canPublishSources?: TrackSource[] | undefined;
2156
2291
  hidden?: boolean | undefined;
2157
2292
  recorder?: boolean | undefined;
2158
2293
  } | undefined;
@@ -2274,6 +2409,9 @@ export declare const SignalResponse: {
2274
2409
  ssrc?: number | undefined;
2275
2410
  }[] | undefined;
2276
2411
  }[] | undefined;
2412
+ stereo?: boolean | undefined;
2413
+ disableRed?: boolean | undefined;
2414
+ encryption?: Encryption_Type | undefined;
2277
2415
  }[] | undefined;
2278
2416
  metadata?: string | undefined;
2279
2417
  joinedAt?: number | undefined;
@@ -2283,6 +2421,7 @@ export declare const SignalResponse: {
2283
2421
  canSubscribe?: boolean | undefined;
2284
2422
  canPublish?: boolean | undefined;
2285
2423
  canPublishData?: boolean | undefined;
2424
+ canPublishSources?: TrackSource[] | undefined;
2286
2425
  hidden?: boolean | undefined;
2287
2426
  recorder?: boolean | undefined;
2288
2427
  } | undefined;
@@ -2323,6 +2462,9 @@ export declare const SignalResponse: {
2323
2462
  ssrc?: number | undefined;
2324
2463
  }[] | undefined;
2325
2464
  }[] | undefined;
2465
+ stereo?: boolean | undefined;
2466
+ disableRed?: boolean | undefined;
2467
+ encryption?: Encryption_Type | undefined;
2326
2468
  }[] & ({
2327
2469
  sid?: string | undefined;
2328
2470
  type?: TrackType | undefined;
@@ -2354,6 +2496,9 @@ export declare const SignalResponse: {
2354
2496
  ssrc?: number | undefined;
2355
2497
  }[] | undefined;
2356
2498
  }[] | undefined;
2499
+ stereo?: boolean | undefined;
2500
+ disableRed?: boolean | undefined;
2501
+ encryption?: Encryption_Type | undefined;
2357
2502
  } & {
2358
2503
  sid?: string | undefined;
2359
2504
  type?: TrackType | undefined;
@@ -2466,6 +2611,9 @@ export declare const SignalResponse: {
2466
2611
  }[] | undefined;
2467
2612
  }[]>]: never;
2468
2613
  }) | undefined;
2614
+ stereo?: boolean | undefined;
2615
+ disableRed?: boolean | undefined;
2616
+ encryption?: Encryption_Type | undefined;
2469
2617
  } & {
2470
2618
  [K_9 in Exclude<keyof I["message"]["join"]["participant"]["tracks"][number], keyof TrackInfo>]: never;
2471
2619
  })[] & {
@@ -2500,6 +2648,9 @@ export declare const SignalResponse: {
2500
2648
  ssrc?: number | undefined;
2501
2649
  }[] | undefined;
2502
2650
  }[] | undefined;
2651
+ stereo?: boolean | undefined;
2652
+ disableRed?: boolean | undefined;
2653
+ encryption?: Encryption_Type | undefined;
2503
2654
  }[]>]: never;
2504
2655
  }) | undefined;
2505
2656
  metadata?: string | undefined;
@@ -2510,21 +2661,25 @@ export declare const SignalResponse: {
2510
2661
  canSubscribe?: boolean | undefined;
2511
2662
  canPublish?: boolean | undefined;
2512
2663
  canPublishData?: boolean | undefined;
2664
+ canPublishSources?: TrackSource[] | undefined;
2513
2665
  hidden?: boolean | undefined;
2514
2666
  recorder?: boolean | undefined;
2515
2667
  } & {
2516
2668
  canSubscribe?: boolean | undefined;
2517
2669
  canPublish?: boolean | undefined;
2518
2670
  canPublishData?: boolean | undefined;
2671
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
2672
+ [K_11 in Exclude<keyof I["message"]["join"]["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
2673
+ }) | undefined;
2519
2674
  hidden?: boolean | undefined;
2520
2675
  recorder?: boolean | undefined;
2521
2676
  } & {
2522
- [K_11 in Exclude<keyof I["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
2677
+ [K_12 in Exclude<keyof I["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
2523
2678
  }) | undefined;
2524
2679
  region?: string | undefined;
2525
2680
  isPublisher?: boolean | undefined;
2526
2681
  } & {
2527
- [K_12 in Exclude<keyof I["message"]["join"]["participant"], keyof ParticipantInfo>]: never;
2682
+ [K_13 in Exclude<keyof I["message"]["join"]["participant"], keyof ParticipantInfo>]: never;
2528
2683
  }) | undefined;
2529
2684
  otherParticipants?: ({
2530
2685
  sid?: string | undefined;
@@ -2561,6 +2716,9 @@ export declare const SignalResponse: {
2561
2716
  ssrc?: number | undefined;
2562
2717
  }[] | undefined;
2563
2718
  }[] | undefined;
2719
+ stereo?: boolean | undefined;
2720
+ disableRed?: boolean | undefined;
2721
+ encryption?: Encryption_Type | undefined;
2564
2722
  }[] | undefined;
2565
2723
  metadata?: string | undefined;
2566
2724
  joinedAt?: number | undefined;
@@ -2570,6 +2728,7 @@ export declare const SignalResponse: {
2570
2728
  canSubscribe?: boolean | undefined;
2571
2729
  canPublish?: boolean | undefined;
2572
2730
  canPublishData?: boolean | undefined;
2731
+ canPublishSources?: TrackSource[] | undefined;
2573
2732
  hidden?: boolean | undefined;
2574
2733
  recorder?: boolean | undefined;
2575
2734
  } | undefined;
@@ -2610,6 +2769,9 @@ export declare const SignalResponse: {
2610
2769
  ssrc?: number | undefined;
2611
2770
  }[] | undefined;
2612
2771
  }[] | undefined;
2772
+ stereo?: boolean | undefined;
2773
+ disableRed?: boolean | undefined;
2774
+ encryption?: Encryption_Type | undefined;
2613
2775
  }[] | undefined;
2614
2776
  metadata?: string | undefined;
2615
2777
  joinedAt?: number | undefined;
@@ -2619,6 +2781,7 @@ export declare const SignalResponse: {
2619
2781
  canSubscribe?: boolean | undefined;
2620
2782
  canPublish?: boolean | undefined;
2621
2783
  canPublishData?: boolean | undefined;
2784
+ canPublishSources?: TrackSource[] | undefined;
2622
2785
  hidden?: boolean | undefined;
2623
2786
  recorder?: boolean | undefined;
2624
2787
  } | undefined;
@@ -2659,6 +2822,9 @@ export declare const SignalResponse: {
2659
2822
  ssrc?: number | undefined;
2660
2823
  }[] | undefined;
2661
2824
  }[] | undefined;
2825
+ stereo?: boolean | undefined;
2826
+ disableRed?: boolean | undefined;
2827
+ encryption?: Encryption_Type | undefined;
2662
2828
  }[] & ({
2663
2829
  sid?: string | undefined;
2664
2830
  type?: TrackType | undefined;
@@ -2690,6 +2856,9 @@ export declare const SignalResponse: {
2690
2856
  ssrc?: number | undefined;
2691
2857
  }[] | undefined;
2692
2858
  }[] | undefined;
2859
+ stereo?: boolean | undefined;
2860
+ disableRed?: boolean | undefined;
2861
+ encryption?: Encryption_Type | undefined;
2693
2862
  } & {
2694
2863
  sid?: string | undefined;
2695
2864
  type?: TrackType | undefined;
@@ -2719,9 +2888,9 @@ export declare const SignalResponse: {
2719
2888
  bitrate?: number | undefined;
2720
2889
  ssrc?: number | undefined;
2721
2890
  } & {
2722
- [K_13 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
2891
+ [K_14 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
2723
2892
  })[] & {
2724
- [K_14 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"], keyof {
2893
+ [K_15 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"], keyof {
2725
2894
  quality?: VideoQuality | undefined;
2726
2895
  width?: number | undefined;
2727
2896
  height?: number | undefined;
@@ -2776,9 +2945,9 @@ export declare const SignalResponse: {
2776
2945
  bitrate?: number | undefined;
2777
2946
  ssrc?: number | undefined;
2778
2947
  } & {
2779
- [K_15 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
2948
+ [K_16 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
2780
2949
  })[] & {
2781
- [K_16 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
2950
+ [K_17 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
2782
2951
  quality?: VideoQuality | undefined;
2783
2952
  width?: number | undefined;
2784
2953
  height?: number | undefined;
@@ -2787,9 +2956,9 @@ export declare const SignalResponse: {
2787
2956
  }[]>]: never;
2788
2957
  }) | undefined;
2789
2958
  } & {
2790
- [K_17 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
2959
+ [K_18 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
2791
2960
  })[] & {
2792
- [K_18 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
2961
+ [K_19 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
2793
2962
  mimeType?: string | undefined;
2794
2963
  mid?: string | undefined;
2795
2964
  cid?: string | undefined;
@@ -2802,10 +2971,13 @@ export declare const SignalResponse: {
2802
2971
  }[] | undefined;
2803
2972
  }[]>]: never;
2804
2973
  }) | undefined;
2974
+ stereo?: boolean | undefined;
2975
+ disableRed?: boolean | undefined;
2976
+ encryption?: Encryption_Type | undefined;
2805
2977
  } & {
2806
- [K_19 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
2978
+ [K_20 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
2807
2979
  })[] & {
2808
- [K_20 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"], keyof {
2980
+ [K_21 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"], keyof {
2809
2981
  sid?: string | undefined;
2810
2982
  type?: TrackType | undefined;
2811
2983
  name?: string | undefined;
@@ -2836,6 +3008,9 @@ export declare const SignalResponse: {
2836
3008
  ssrc?: number | undefined;
2837
3009
  }[] | undefined;
2838
3010
  }[] | undefined;
3011
+ stereo?: boolean | undefined;
3012
+ disableRed?: boolean | undefined;
3013
+ encryption?: Encryption_Type | undefined;
2839
3014
  }[]>]: never;
2840
3015
  }) | undefined;
2841
3016
  metadata?: string | undefined;
@@ -2846,23 +3021,27 @@ export declare const SignalResponse: {
2846
3021
  canSubscribe?: boolean | undefined;
2847
3022
  canPublish?: boolean | undefined;
2848
3023
  canPublishData?: boolean | undefined;
3024
+ canPublishSources?: TrackSource[] | undefined;
2849
3025
  hidden?: boolean | undefined;
2850
3026
  recorder?: boolean | undefined;
2851
3027
  } & {
2852
3028
  canSubscribe?: boolean | undefined;
2853
3029
  canPublish?: boolean | undefined;
2854
3030
  canPublishData?: boolean | undefined;
3031
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
3032
+ [K_22 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
3033
+ }) | undefined;
2855
3034
  hidden?: boolean | undefined;
2856
3035
  recorder?: boolean | undefined;
2857
3036
  } & {
2858
- [K_21 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
3037
+ [K_23 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
2859
3038
  }) | undefined;
2860
3039
  region?: string | undefined;
2861
3040
  isPublisher?: boolean | undefined;
2862
3041
  } & {
2863
- [K_22 in Exclude<keyof I["message"]["join"]["otherParticipants"][number], keyof ParticipantInfo>]: never;
3042
+ [K_24 in Exclude<keyof I["message"]["join"]["otherParticipants"][number], keyof ParticipantInfo>]: never;
2864
3043
  })[] & {
2865
- [K_23 in Exclude<keyof I["message"]["join"]["otherParticipants"], keyof {
3044
+ [K_25 in Exclude<keyof I["message"]["join"]["otherParticipants"], keyof {
2866
3045
  sid?: string | undefined;
2867
3046
  identity?: string | undefined;
2868
3047
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -2897,6 +3076,9 @@ export declare const SignalResponse: {
2897
3076
  ssrc?: number | undefined;
2898
3077
  }[] | undefined;
2899
3078
  }[] | undefined;
3079
+ stereo?: boolean | undefined;
3080
+ disableRed?: boolean | undefined;
3081
+ encryption?: Encryption_Type | undefined;
2900
3082
  }[] | undefined;
2901
3083
  metadata?: string | undefined;
2902
3084
  joinedAt?: number | undefined;
@@ -2906,6 +3088,7 @@ export declare const SignalResponse: {
2906
3088
  canSubscribe?: boolean | undefined;
2907
3089
  canPublish?: boolean | undefined;
2908
3090
  canPublishData?: boolean | undefined;
3091
+ canPublishSources?: TrackSource[] | undefined;
2909
3092
  hidden?: boolean | undefined;
2910
3093
  recorder?: boolean | undefined;
2911
3094
  } | undefined;
@@ -2924,14 +3107,14 @@ export declare const SignalResponse: {
2924
3107
  credential?: string | undefined;
2925
3108
  } & {
2926
3109
  urls?: (string[] & string[] & {
2927
- [K_24 in Exclude<keyof I["message"]["join"]["iceServers"][number]["urls"], keyof string[]>]: never;
3110
+ [K_26 in Exclude<keyof I["message"]["join"]["iceServers"][number]["urls"], keyof string[]>]: never;
2928
3111
  }) | undefined;
2929
3112
  username?: string | undefined;
2930
3113
  credential?: string | undefined;
2931
3114
  } & {
2932
- [K_25 in Exclude<keyof I["message"]["join"]["iceServers"][number], keyof ICEServer>]: never;
3115
+ [K_27 in Exclude<keyof I["message"]["join"]["iceServers"][number], keyof ICEServer>]: never;
2933
3116
  })[] & {
2934
- [K_26 in Exclude<keyof I["message"]["join"]["iceServers"], keyof {
3117
+ [K_28 in Exclude<keyof I["message"]["join"]["iceServers"], keyof {
2935
3118
  urls?: string[] | undefined;
2936
3119
  username?: string | undefined;
2937
3120
  credential?: string | undefined;
@@ -2960,14 +3143,14 @@ export declare const SignalResponse: {
2960
3143
  } & {
2961
3144
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
2962
3145
  } & {
2963
- [K_27 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["video"], "hardwareEncoder">]: never;
3146
+ [K_29 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["video"], "hardwareEncoder">]: never;
2964
3147
  }) | undefined;
2965
3148
  screen?: ({
2966
3149
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
2967
3150
  } & {
2968
3151
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
2969
3152
  } & {
2970
- [K_28 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
3153
+ [K_30 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
2971
3154
  }) | undefined;
2972
3155
  resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
2973
3156
  disabledCodecs?: ({
@@ -2986,19 +3169,19 @@ export declare const SignalResponse: {
2986
3169
  mime?: string | undefined;
2987
3170
  fmtpLine?: string | undefined;
2988
3171
  } & {
2989
- [K_29 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
3172
+ [K_31 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
2990
3173
  })[] & {
2991
- [K_30 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
3174
+ [K_32 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
2992
3175
  mime?: string | undefined;
2993
3176
  fmtpLine?: string | undefined;
2994
3177
  }[]>]: never;
2995
3178
  }) | undefined;
2996
3179
  } & {
2997
- [K_31 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
3180
+ [K_33 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
2998
3181
  }) | undefined;
2999
3182
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
3000
3183
  } & {
3001
- [K_32 in Exclude<keyof I["message"]["join"]["clientConfiguration"], keyof ClientConfiguration>]: never;
3184
+ [K_34 in Exclude<keyof I["message"]["join"]["clientConfiguration"], keyof ClientConfiguration>]: never;
3002
3185
  }) | undefined;
3003
3186
  serverRegion?: string | undefined;
3004
3187
  pingTimeout?: number | undefined;
@@ -3018,14 +3201,14 @@ export declare const SignalResponse: {
3018
3201
  nodeId?: string | undefined;
3019
3202
  debugInfo?: string | undefined;
3020
3203
  } & {
3021
- [K_33 in Exclude<keyof I["message"]["join"]["serverInfo"], keyof ServerInfo>]: never;
3204
+ [K_35 in Exclude<keyof I["message"]["join"]["serverInfo"], keyof ServerInfo>]: never;
3022
3205
  }) | undefined;
3023
3206
  } & {
3024
- [K_34 in Exclude<keyof I["message"]["join"], keyof JoinResponse>]: never;
3207
+ [K_36 in Exclude<keyof I["message"]["join"], keyof JoinResponse>]: never;
3025
3208
  }) | undefined;
3026
3209
  $case: "join";
3027
3210
  } & {
3028
- [K_35 in Exclude<keyof I["message"], "join" | "$case">]: never;
3211
+ [K_37 in Exclude<keyof I["message"], "join" | "$case">]: never;
3029
3212
  }) | ({
3030
3213
  answer?: {
3031
3214
  type?: string | undefined;
@@ -3041,11 +3224,11 @@ export declare const SignalResponse: {
3041
3224
  type?: string | undefined;
3042
3225
  sdp?: string | undefined;
3043
3226
  } & {
3044
- [K_36 in Exclude<keyof I["message"]["answer"], keyof SessionDescription>]: never;
3227
+ [K_38 in Exclude<keyof I["message"]["answer"], keyof SessionDescription>]: never;
3045
3228
  }) | undefined;
3046
3229
  $case: "answer";
3047
3230
  } & {
3048
- [K_37 in Exclude<keyof I["message"], "answer" | "$case">]: never;
3231
+ [K_39 in Exclude<keyof I["message"], "answer" | "$case">]: never;
3049
3232
  }) | ({
3050
3233
  offer?: {
3051
3234
  type?: string | undefined;
@@ -3061,11 +3244,11 @@ export declare const SignalResponse: {
3061
3244
  type?: string | undefined;
3062
3245
  sdp?: string | undefined;
3063
3246
  } & {
3064
- [K_38 in Exclude<keyof I["message"]["offer"], keyof SessionDescription>]: never;
3247
+ [K_40 in Exclude<keyof I["message"]["offer"], keyof SessionDescription>]: never;
3065
3248
  }) | undefined;
3066
3249
  $case: "offer";
3067
3250
  } & {
3068
- [K_39 in Exclude<keyof I["message"], "offer" | "$case">]: never;
3251
+ [K_41 in Exclude<keyof I["message"], "offer" | "$case">]: never;
3069
3252
  }) | ({
3070
3253
  trickle?: {
3071
3254
  candidateInit?: string | undefined;
@@ -3081,11 +3264,11 @@ export declare const SignalResponse: {
3081
3264
  candidateInit?: string | undefined;
3082
3265
  target?: SignalTarget | undefined;
3083
3266
  } & {
3084
- [K_40 in Exclude<keyof I["message"]["trickle"], keyof TrickleRequest>]: never;
3267
+ [K_42 in Exclude<keyof I["message"]["trickle"], keyof TrickleRequest>]: never;
3085
3268
  }) | undefined;
3086
3269
  $case: "trickle";
3087
3270
  } & {
3088
- [K_41 in Exclude<keyof I["message"], "trickle" | "$case">]: never;
3271
+ [K_43 in Exclude<keyof I["message"], "trickle" | "$case">]: never;
3089
3272
  }) | ({
3090
3273
  update?: {
3091
3274
  participants?: {
@@ -3123,6 +3306,9 @@ export declare const SignalResponse: {
3123
3306
  ssrc?: number | undefined;
3124
3307
  }[] | undefined;
3125
3308
  }[] | undefined;
3309
+ stereo?: boolean | undefined;
3310
+ disableRed?: boolean | undefined;
3311
+ encryption?: Encryption_Type | undefined;
3126
3312
  }[] | undefined;
3127
3313
  metadata?: string | undefined;
3128
3314
  joinedAt?: number | undefined;
@@ -3132,6 +3318,7 @@ export declare const SignalResponse: {
3132
3318
  canSubscribe?: boolean | undefined;
3133
3319
  canPublish?: boolean | undefined;
3134
3320
  canPublishData?: boolean | undefined;
3321
+ canPublishSources?: TrackSource[] | undefined;
3135
3322
  hidden?: boolean | undefined;
3136
3323
  recorder?: boolean | undefined;
3137
3324
  } | undefined;
@@ -3178,6 +3365,9 @@ export declare const SignalResponse: {
3178
3365
  ssrc?: number | undefined;
3179
3366
  }[] | undefined;
3180
3367
  }[] | undefined;
3368
+ stereo?: boolean | undefined;
3369
+ disableRed?: boolean | undefined;
3370
+ encryption?: Encryption_Type | undefined;
3181
3371
  }[] | undefined;
3182
3372
  metadata?: string | undefined;
3183
3373
  joinedAt?: number | undefined;
@@ -3187,6 +3377,7 @@ export declare const SignalResponse: {
3187
3377
  canSubscribe?: boolean | undefined;
3188
3378
  canPublish?: boolean | undefined;
3189
3379
  canPublishData?: boolean | undefined;
3380
+ canPublishSources?: TrackSource[] | undefined;
3190
3381
  hidden?: boolean | undefined;
3191
3382
  recorder?: boolean | undefined;
3192
3383
  } | undefined;
@@ -3229,6 +3420,9 @@ export declare const SignalResponse: {
3229
3420
  ssrc?: number | undefined;
3230
3421
  }[] | undefined;
3231
3422
  }[] | undefined;
3423
+ stereo?: boolean | undefined;
3424
+ disableRed?: boolean | undefined;
3425
+ encryption?: Encryption_Type | undefined;
3232
3426
  }[] | undefined;
3233
3427
  metadata?: string | undefined;
3234
3428
  joinedAt?: number | undefined;
@@ -3238,6 +3432,7 @@ export declare const SignalResponse: {
3238
3432
  canSubscribe?: boolean | undefined;
3239
3433
  canPublish?: boolean | undefined;
3240
3434
  canPublishData?: boolean | undefined;
3435
+ canPublishSources?: TrackSource[] | undefined;
3241
3436
  hidden?: boolean | undefined;
3242
3437
  recorder?: boolean | undefined;
3243
3438
  } | undefined;
@@ -3278,6 +3473,9 @@ export declare const SignalResponse: {
3278
3473
  ssrc?: number | undefined;
3279
3474
  }[] | undefined;
3280
3475
  }[] | undefined;
3476
+ stereo?: boolean | undefined;
3477
+ disableRed?: boolean | undefined;
3478
+ encryption?: Encryption_Type | undefined;
3281
3479
  }[] | undefined;
3282
3480
  metadata?: string | undefined;
3283
3481
  joinedAt?: number | undefined;
@@ -3287,6 +3485,7 @@ export declare const SignalResponse: {
3287
3485
  canSubscribe?: boolean | undefined;
3288
3486
  canPublish?: boolean | undefined;
3289
3487
  canPublishData?: boolean | undefined;
3488
+ canPublishSources?: TrackSource[] | undefined;
3290
3489
  hidden?: boolean | undefined;
3291
3490
  recorder?: boolean | undefined;
3292
3491
  } | undefined;
@@ -3327,6 +3526,9 @@ export declare const SignalResponse: {
3327
3526
  ssrc?: number | undefined;
3328
3527
  }[] | undefined;
3329
3528
  }[] | undefined;
3529
+ stereo?: boolean | undefined;
3530
+ disableRed?: boolean | undefined;
3531
+ encryption?: Encryption_Type | undefined;
3330
3532
  }[] & ({
3331
3533
  sid?: string | undefined;
3332
3534
  type?: TrackType | undefined;
@@ -3358,6 +3560,9 @@ export declare const SignalResponse: {
3358
3560
  ssrc?: number | undefined;
3359
3561
  }[] | undefined;
3360
3562
  }[] | undefined;
3563
+ stereo?: boolean | undefined;
3564
+ disableRed?: boolean | undefined;
3565
+ encryption?: Encryption_Type | undefined;
3361
3566
  } & {
3362
3567
  sid?: string | undefined;
3363
3568
  type?: TrackType | undefined;
@@ -3387,9 +3592,9 @@ export declare const SignalResponse: {
3387
3592
  bitrate?: number | undefined;
3388
3593
  ssrc?: number | undefined;
3389
3594
  } & {
3390
- [K_42 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
3595
+ [K_44 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
3391
3596
  })[] & {
3392
- [K_43 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"], keyof {
3597
+ [K_45 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"], keyof {
3393
3598
  quality?: VideoQuality | undefined;
3394
3599
  width?: number | undefined;
3395
3600
  height?: number | undefined;
@@ -3444,9 +3649,9 @@ export declare const SignalResponse: {
3444
3649
  bitrate?: number | undefined;
3445
3650
  ssrc?: number | undefined;
3446
3651
  } & {
3447
- [K_44 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
3652
+ [K_46 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
3448
3653
  })[] & {
3449
- [K_45 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
3654
+ [K_47 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
3450
3655
  quality?: VideoQuality | undefined;
3451
3656
  width?: number | undefined;
3452
3657
  height?: number | undefined;
@@ -3455,9 +3660,9 @@ export declare const SignalResponse: {
3455
3660
  }[]>]: never;
3456
3661
  }) | undefined;
3457
3662
  } & {
3458
- [K_46 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
3663
+ [K_48 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
3459
3664
  })[] & {
3460
- [K_47 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"], keyof {
3665
+ [K_49 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"], keyof {
3461
3666
  mimeType?: string | undefined;
3462
3667
  mid?: string | undefined;
3463
3668
  cid?: string | undefined;
@@ -3470,10 +3675,13 @@ export declare const SignalResponse: {
3470
3675
  }[] | undefined;
3471
3676
  }[]>]: never;
3472
3677
  }) | undefined;
3678
+ stereo?: boolean | undefined;
3679
+ disableRed?: boolean | undefined;
3680
+ encryption?: Encryption_Type | undefined;
3473
3681
  } & {
3474
- [K_48 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number], keyof TrackInfo>]: never;
3682
+ [K_50 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number], keyof TrackInfo>]: never;
3475
3683
  })[] & {
3476
- [K_49 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"], keyof {
3684
+ [K_51 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"], keyof {
3477
3685
  sid?: string | undefined;
3478
3686
  type?: TrackType | undefined;
3479
3687
  name?: string | undefined;
@@ -3504,6 +3712,9 @@ export declare const SignalResponse: {
3504
3712
  ssrc?: number | undefined;
3505
3713
  }[] | undefined;
3506
3714
  }[] | undefined;
3715
+ stereo?: boolean | undefined;
3716
+ disableRed?: boolean | undefined;
3717
+ encryption?: Encryption_Type | undefined;
3507
3718
  }[]>]: never;
3508
3719
  }) | undefined;
3509
3720
  metadata?: string | undefined;
@@ -3514,23 +3725,27 @@ export declare const SignalResponse: {
3514
3725
  canSubscribe?: boolean | undefined;
3515
3726
  canPublish?: boolean | undefined;
3516
3727
  canPublishData?: boolean | undefined;
3728
+ canPublishSources?: TrackSource[] | undefined;
3517
3729
  hidden?: boolean | undefined;
3518
3730
  recorder?: boolean | undefined;
3519
3731
  } & {
3520
3732
  canSubscribe?: boolean | undefined;
3521
3733
  canPublish?: boolean | undefined;
3522
3734
  canPublishData?: boolean | undefined;
3735
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
3736
+ [K_52 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
3737
+ }) | undefined;
3523
3738
  hidden?: boolean | undefined;
3524
3739
  recorder?: boolean | undefined;
3525
3740
  } & {
3526
- [K_50 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
3741
+ [K_53 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
3527
3742
  }) | undefined;
3528
3743
  region?: string | undefined;
3529
3744
  isPublisher?: boolean | undefined;
3530
3745
  } & {
3531
- [K_51 in Exclude<keyof I["message"]["update"]["participants"][number], keyof ParticipantInfo>]: never;
3746
+ [K_54 in Exclude<keyof I["message"]["update"]["participants"][number], keyof ParticipantInfo>]: never;
3532
3747
  })[] & {
3533
- [K_52 in Exclude<keyof I["message"]["update"]["participants"], keyof {
3748
+ [K_55 in Exclude<keyof I["message"]["update"]["participants"], keyof {
3534
3749
  sid?: string | undefined;
3535
3750
  identity?: string | undefined;
3536
3751
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -3565,6 +3780,9 @@ export declare const SignalResponse: {
3565
3780
  ssrc?: number | undefined;
3566
3781
  }[] | undefined;
3567
3782
  }[] | undefined;
3783
+ stereo?: boolean | undefined;
3784
+ disableRed?: boolean | undefined;
3785
+ encryption?: Encryption_Type | undefined;
3568
3786
  }[] | undefined;
3569
3787
  metadata?: string | undefined;
3570
3788
  joinedAt?: number | undefined;
@@ -3574,6 +3792,7 @@ export declare const SignalResponse: {
3574
3792
  canSubscribe?: boolean | undefined;
3575
3793
  canPublish?: boolean | undefined;
3576
3794
  canPublishData?: boolean | undefined;
3795
+ canPublishSources?: TrackSource[] | undefined;
3577
3796
  hidden?: boolean | undefined;
3578
3797
  recorder?: boolean | undefined;
3579
3798
  } | undefined;
@@ -3582,11 +3801,11 @@ export declare const SignalResponse: {
3582
3801
  }[]>]: never;
3583
3802
  }) | undefined;
3584
3803
  } & {
3585
- [K_53 in Exclude<keyof I["message"]["update"], "participants">]: never;
3804
+ [K_56 in Exclude<keyof I["message"]["update"], "participants">]: never;
3586
3805
  }) | undefined;
3587
3806
  $case: "update";
3588
3807
  } & {
3589
- [K_54 in Exclude<keyof I["message"], "update" | "$case">]: never;
3808
+ [K_57 in Exclude<keyof I["message"], "update" | "$case">]: never;
3590
3809
  }) | ({
3591
3810
  trackPublished?: {
3592
3811
  cid?: string | undefined;
@@ -3621,6 +3840,9 @@ export declare const SignalResponse: {
3621
3840
  ssrc?: number | undefined;
3622
3841
  }[] | undefined;
3623
3842
  }[] | undefined;
3843
+ stereo?: boolean | undefined;
3844
+ disableRed?: boolean | undefined;
3845
+ encryption?: Encryption_Type | undefined;
3624
3846
  } | undefined;
3625
3847
  } | undefined;
3626
3848
  } & {
@@ -3659,6 +3881,9 @@ export declare const SignalResponse: {
3659
3881
  ssrc?: number | undefined;
3660
3882
  }[] | undefined;
3661
3883
  }[] | undefined;
3884
+ stereo?: boolean | undefined;
3885
+ disableRed?: boolean | undefined;
3886
+ encryption?: Encryption_Type | undefined;
3662
3887
  } | undefined;
3663
3888
  } & {
3664
3889
  cid?: string | undefined;
@@ -3693,6 +3918,9 @@ export declare const SignalResponse: {
3693
3918
  ssrc?: number | undefined;
3694
3919
  }[] | undefined;
3695
3920
  }[] | undefined;
3921
+ stereo?: boolean | undefined;
3922
+ disableRed?: boolean | undefined;
3923
+ encryption?: Encryption_Type | undefined;
3696
3924
  } & {
3697
3925
  sid?: string | undefined;
3698
3926
  type?: TrackType | undefined;
@@ -3722,9 +3950,9 @@ export declare const SignalResponse: {
3722
3950
  bitrate?: number | undefined;
3723
3951
  ssrc?: number | undefined;
3724
3952
  } & {
3725
- [K_55 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"][number], keyof VideoLayer>]: never;
3953
+ [K_58 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"][number], keyof VideoLayer>]: never;
3726
3954
  })[] & {
3727
- [K_56 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"], keyof {
3955
+ [K_59 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"], keyof {
3728
3956
  quality?: VideoQuality | undefined;
3729
3957
  width?: number | undefined;
3730
3958
  height?: number | undefined;
@@ -3779,9 +4007,9 @@ export declare const SignalResponse: {
3779
4007
  bitrate?: number | undefined;
3780
4008
  ssrc?: number | undefined;
3781
4009
  } & {
3782
- [K_57 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
4010
+ [K_60 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
3783
4011
  })[] & {
3784
- [K_58 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"], keyof {
4012
+ [K_61 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"], keyof {
3785
4013
  quality?: VideoQuality | undefined;
3786
4014
  width?: number | undefined;
3787
4015
  height?: number | undefined;
@@ -3790,9 +4018,9 @@ export declare const SignalResponse: {
3790
4018
  }[]>]: never;
3791
4019
  }) | undefined;
3792
4020
  } & {
3793
- [K_59 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
4021
+ [K_62 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
3794
4022
  })[] & {
3795
- [K_60 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"], keyof {
4023
+ [K_63 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"], keyof {
3796
4024
  mimeType?: string | undefined;
3797
4025
  mid?: string | undefined;
3798
4026
  cid?: string | undefined;
@@ -3805,15 +4033,18 @@ export declare const SignalResponse: {
3805
4033
  }[] | undefined;
3806
4034
  }[]>]: never;
3807
4035
  }) | undefined;
4036
+ stereo?: boolean | undefined;
4037
+ disableRed?: boolean | undefined;
4038
+ encryption?: Encryption_Type | undefined;
3808
4039
  } & {
3809
- [K_61 in Exclude<keyof I["message"]["trackPublished"]["track"], keyof TrackInfo>]: never;
4040
+ [K_64 in Exclude<keyof I["message"]["trackPublished"]["track"], keyof TrackInfo>]: never;
3810
4041
  }) | undefined;
3811
4042
  } & {
3812
- [K_62 in Exclude<keyof I["message"]["trackPublished"], keyof TrackPublishedResponse>]: never;
4043
+ [K_65 in Exclude<keyof I["message"]["trackPublished"], keyof TrackPublishedResponse>]: never;
3813
4044
  }) | undefined;
3814
4045
  $case: "trackPublished";
3815
4046
  } & {
3816
- [K_63 in Exclude<keyof I["message"], "trackPublished" | "$case">]: never;
4047
+ [K_66 in Exclude<keyof I["message"], "trackPublished" | "$case">]: never;
3817
4048
  }) | ({
3818
4049
  leave?: {
3819
4050
  canReconnect?: boolean | undefined;
@@ -3829,11 +4060,11 @@ export declare const SignalResponse: {
3829
4060
  canReconnect?: boolean | undefined;
3830
4061
  reason?: DisconnectReason | undefined;
3831
4062
  } & {
3832
- [K_64 in Exclude<keyof I["message"]["leave"], keyof LeaveRequest>]: never;
4063
+ [K_67 in Exclude<keyof I["message"]["leave"], keyof LeaveRequest>]: never;
3833
4064
  }) | undefined;
3834
4065
  $case: "leave";
3835
4066
  } & {
3836
- [K_65 in Exclude<keyof I["message"], "leave" | "$case">]: never;
4067
+ [K_68 in Exclude<keyof I["message"], "leave" | "$case">]: never;
3837
4068
  }) | ({
3838
4069
  mute?: {
3839
4070
  sid?: string | undefined;
@@ -3849,11 +4080,11 @@ export declare const SignalResponse: {
3849
4080
  sid?: string | undefined;
3850
4081
  muted?: boolean | undefined;
3851
4082
  } & {
3852
- [K_66 in Exclude<keyof I["message"]["mute"], keyof MuteTrackRequest>]: never;
4083
+ [K_69 in Exclude<keyof I["message"]["mute"], keyof MuteTrackRequest>]: never;
3853
4084
  }) | undefined;
3854
4085
  $case: "mute";
3855
4086
  } & {
3856
- [K_67 in Exclude<keyof I["message"], "mute" | "$case">]: never;
4087
+ [K_70 in Exclude<keyof I["message"], "mute" | "$case">]: never;
3857
4088
  }) | ({
3858
4089
  speakersChanged?: {
3859
4090
  speakers?: {
@@ -3885,20 +4116,20 @@ export declare const SignalResponse: {
3885
4116
  level?: number | undefined;
3886
4117
  active?: boolean | undefined;
3887
4118
  } & {
3888
- [K_68 in Exclude<keyof I["message"]["speakersChanged"]["speakers"][number], keyof SpeakerInfo>]: never;
4119
+ [K_71 in Exclude<keyof I["message"]["speakersChanged"]["speakers"][number], keyof SpeakerInfo>]: never;
3889
4120
  })[] & {
3890
- [K_69 in Exclude<keyof I["message"]["speakersChanged"]["speakers"], keyof {
4121
+ [K_72 in Exclude<keyof I["message"]["speakersChanged"]["speakers"], keyof {
3891
4122
  sid?: string | undefined;
3892
4123
  level?: number | undefined;
3893
4124
  active?: boolean | undefined;
3894
4125
  }[]>]: never;
3895
4126
  }) | undefined;
3896
4127
  } & {
3897
- [K_70 in Exclude<keyof I["message"]["speakersChanged"], "speakers">]: never;
4128
+ [K_73 in Exclude<keyof I["message"]["speakersChanged"], "speakers">]: never;
3898
4129
  }) | undefined;
3899
4130
  $case: "speakersChanged";
3900
4131
  } & {
3901
- [K_71 in Exclude<keyof I["message"], "speakersChanged" | "$case">]: never;
4132
+ [K_74 in Exclude<keyof I["message"], "speakersChanged" | "$case">]: never;
3902
4133
  }) | ({
3903
4134
  roomUpdate?: {
3904
4135
  room?: {
@@ -3968,9 +4199,9 @@ export declare const SignalResponse: {
3968
4199
  mime?: string | undefined;
3969
4200
  fmtpLine?: string | undefined;
3970
4201
  } & {
3971
- [K_72 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never;
4202
+ [K_75 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never;
3972
4203
  })[] & {
3973
- [K_73 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"], keyof {
4204
+ [K_76 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"], keyof {
3974
4205
  mime?: string | undefined;
3975
4206
  fmtpLine?: string | undefined;
3976
4207
  }[]>]: never;
@@ -3979,14 +4210,14 @@ export declare const SignalResponse: {
3979
4210
  numParticipants?: number | undefined;
3980
4211
  activeRecording?: boolean | undefined;
3981
4212
  } & {
3982
- [K_74 in Exclude<keyof I["message"]["roomUpdate"]["room"], keyof Room>]: never;
4213
+ [K_77 in Exclude<keyof I["message"]["roomUpdate"]["room"], keyof Room>]: never;
3983
4214
  }) | undefined;
3984
4215
  } & {
3985
- [K_75 in Exclude<keyof I["message"]["roomUpdate"], "room">]: never;
4216
+ [K_78 in Exclude<keyof I["message"]["roomUpdate"], "room">]: never;
3986
4217
  }) | undefined;
3987
4218
  $case: "roomUpdate";
3988
4219
  } & {
3989
- [K_76 in Exclude<keyof I["message"], "roomUpdate" | "$case">]: never;
4220
+ [K_79 in Exclude<keyof I["message"], "roomUpdate" | "$case">]: never;
3990
4221
  }) | ({
3991
4222
  connectionQuality?: {
3992
4223
  updates?: {
@@ -4018,20 +4249,20 @@ export declare const SignalResponse: {
4018
4249
  quality?: ConnectionQuality | undefined;
4019
4250
  score?: number | undefined;
4020
4251
  } & {
4021
- [K_77 in Exclude<keyof I["message"]["connectionQuality"]["updates"][number], keyof ConnectionQualityInfo>]: never;
4252
+ [K_80 in Exclude<keyof I["message"]["connectionQuality"]["updates"][number], keyof ConnectionQualityInfo>]: never;
4022
4253
  })[] & {
4023
- [K_78 in Exclude<keyof I["message"]["connectionQuality"]["updates"], keyof {
4254
+ [K_81 in Exclude<keyof I["message"]["connectionQuality"]["updates"], keyof {
4024
4255
  participantSid?: string | undefined;
4025
4256
  quality?: ConnectionQuality | undefined;
4026
4257
  score?: number | undefined;
4027
4258
  }[]>]: never;
4028
4259
  }) | undefined;
4029
4260
  } & {
4030
- [K_79 in Exclude<keyof I["message"]["connectionQuality"], "updates">]: never;
4261
+ [K_82 in Exclude<keyof I["message"]["connectionQuality"], "updates">]: never;
4031
4262
  }) | undefined;
4032
4263
  $case: "connectionQuality";
4033
4264
  } & {
4034
- [K_80 in Exclude<keyof I["message"], "connectionQuality" | "$case">]: never;
4265
+ [K_83 in Exclude<keyof I["message"], "connectionQuality" | "$case">]: never;
4035
4266
  }) | ({
4036
4267
  streamStateUpdate?: {
4037
4268
  streamStates?: {
@@ -4063,20 +4294,20 @@ export declare const SignalResponse: {
4063
4294
  trackSid?: string | undefined;
4064
4295
  state?: StreamState | undefined;
4065
4296
  } & {
4066
- [K_81 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"][number], keyof StreamStateInfo>]: never;
4297
+ [K_84 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"][number], keyof StreamStateInfo>]: never;
4067
4298
  })[] & {
4068
- [K_82 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"], keyof {
4299
+ [K_85 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"], keyof {
4069
4300
  participantSid?: string | undefined;
4070
4301
  trackSid?: string | undefined;
4071
4302
  state?: StreamState | undefined;
4072
4303
  }[]>]: never;
4073
4304
  }) | undefined;
4074
4305
  } & {
4075
- [K_83 in Exclude<keyof I["message"]["streamStateUpdate"], "streamStates">]: never;
4306
+ [K_86 in Exclude<keyof I["message"]["streamStateUpdate"], "streamStates">]: never;
4076
4307
  }) | undefined;
4077
4308
  $case: "streamStateUpdate";
4078
4309
  } & {
4079
- [K_84 in Exclude<keyof I["message"], "streamStateUpdate" | "$case">]: never;
4310
+ [K_87 in Exclude<keyof I["message"], "streamStateUpdate" | "$case">]: never;
4080
4311
  }) | ({
4081
4312
  subscribedQualityUpdate?: {
4082
4313
  trackSid?: string | undefined;
@@ -4120,9 +4351,9 @@ export declare const SignalResponse: {
4120
4351
  quality?: VideoQuality | undefined;
4121
4352
  enabled?: boolean | undefined;
4122
4353
  } & {
4123
- [K_85 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"][number], keyof SubscribedQuality>]: never;
4354
+ [K_88 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"][number], keyof SubscribedQuality>]: never;
4124
4355
  })[] & {
4125
- [K_86 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"], keyof {
4356
+ [K_89 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"], keyof {
4126
4357
  quality?: VideoQuality | undefined;
4127
4358
  enabled?: boolean | undefined;
4128
4359
  }[]>]: never;
@@ -4151,17 +4382,17 @@ export declare const SignalResponse: {
4151
4382
  quality?: VideoQuality | undefined;
4152
4383
  enabled?: boolean | undefined;
4153
4384
  } & {
4154
- [K_87 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"][number], keyof SubscribedQuality>]: never;
4385
+ [K_90 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"][number], keyof SubscribedQuality>]: never;
4155
4386
  })[] & {
4156
- [K_88 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"], keyof {
4387
+ [K_91 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"], keyof {
4157
4388
  quality?: VideoQuality | undefined;
4158
4389
  enabled?: boolean | undefined;
4159
4390
  }[]>]: never;
4160
4391
  }) | undefined;
4161
4392
  } & {
4162
- [K_89 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number], keyof SubscribedCodec>]: never;
4393
+ [K_92 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number], keyof SubscribedCodec>]: never;
4163
4394
  })[] & {
4164
- [K_90 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"], keyof {
4395
+ [K_93 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"], keyof {
4165
4396
  codec?: string | undefined;
4166
4397
  qualities?: {
4167
4398
  quality?: VideoQuality | undefined;
@@ -4170,11 +4401,11 @@ export declare const SignalResponse: {
4170
4401
  }[]>]: never;
4171
4402
  }) | undefined;
4172
4403
  } & {
4173
- [K_91 in Exclude<keyof I["message"]["subscribedQualityUpdate"], keyof SubscribedQualityUpdate>]: never;
4404
+ [K_94 in Exclude<keyof I["message"]["subscribedQualityUpdate"], keyof SubscribedQualityUpdate>]: never;
4174
4405
  }) | undefined;
4175
4406
  $case: "subscribedQualityUpdate";
4176
4407
  } & {
4177
- [K_92 in Exclude<keyof I["message"], "subscribedQualityUpdate" | "$case">]: never;
4408
+ [K_95 in Exclude<keyof I["message"], "subscribedQualityUpdate" | "$case">]: never;
4178
4409
  }) | ({
4179
4410
  subscriptionPermissionUpdate?: {
4180
4411
  participantSid?: string | undefined;
@@ -4193,11 +4424,11 @@ export declare const SignalResponse: {
4193
4424
  trackSid?: string | undefined;
4194
4425
  allowed?: boolean | undefined;
4195
4426
  } & {
4196
- [K_93 in Exclude<keyof I["message"]["subscriptionPermissionUpdate"], keyof SubscriptionPermissionUpdate>]: never;
4427
+ [K_96 in Exclude<keyof I["message"]["subscriptionPermissionUpdate"], keyof SubscriptionPermissionUpdate>]: never;
4197
4428
  }) | undefined;
4198
4429
  $case: "subscriptionPermissionUpdate";
4199
4430
  } & {
4200
- [K_94 in Exclude<keyof I["message"], "subscriptionPermissionUpdate" | "$case">]: never;
4431
+ [K_97 in Exclude<keyof I["message"], "subscriptionPermissionUpdate" | "$case">]: never;
4201
4432
  }) | ({
4202
4433
  refreshToken?: string | undefined;
4203
4434
  } & {
@@ -4206,7 +4437,7 @@ export declare const SignalResponse: {
4206
4437
  refreshToken?: string | undefined;
4207
4438
  $case: "refreshToken";
4208
4439
  } & {
4209
- [K_95 in Exclude<keyof I["message"], "refreshToken" | "$case">]: never;
4440
+ [K_98 in Exclude<keyof I["message"], "refreshToken" | "$case">]: never;
4210
4441
  }) | ({
4211
4442
  trackUnpublished?: {
4212
4443
  trackSid?: string | undefined;
@@ -4219,11 +4450,11 @@ export declare const SignalResponse: {
4219
4450
  } & {
4220
4451
  trackSid?: string | undefined;
4221
4452
  } & {
4222
- [K_96 in Exclude<keyof I["message"]["trackUnpublished"], "trackSid">]: never;
4453
+ [K_99 in Exclude<keyof I["message"]["trackUnpublished"], "trackSid">]: never;
4223
4454
  }) | undefined;
4224
4455
  $case: "trackUnpublished";
4225
4456
  } & {
4226
- [K_97 in Exclude<keyof I["message"], "trackUnpublished" | "$case">]: never;
4457
+ [K_100 in Exclude<keyof I["message"], "trackUnpublished" | "$case">]: never;
4227
4458
  }) | ({
4228
4459
  pong?: number | undefined;
4229
4460
  } & {
@@ -4232,10 +4463,150 @@ export declare const SignalResponse: {
4232
4463
  pong?: number | undefined;
4233
4464
  $case: "pong";
4234
4465
  } & {
4235
- [K_98 in Exclude<keyof I["message"], "pong" | "$case">]: never;
4466
+ [K_101 in Exclude<keyof I["message"], "pong" | "$case">]: never;
4467
+ }) | ({
4468
+ reconnect?: {
4469
+ iceServers?: {
4470
+ urls?: string[] | undefined;
4471
+ username?: string | undefined;
4472
+ credential?: string | undefined;
4473
+ }[] | undefined;
4474
+ clientConfiguration?: {
4475
+ video?: {
4476
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4477
+ } | undefined;
4478
+ screen?: {
4479
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4480
+ } | undefined;
4481
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4482
+ disabledCodecs?: {
4483
+ codecs?: {
4484
+ mime?: string | undefined;
4485
+ fmtpLine?: string | undefined;
4486
+ }[] | undefined;
4487
+ } | undefined;
4488
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4489
+ } | undefined;
4490
+ } | undefined;
4491
+ } & {
4492
+ $case: "reconnect";
4493
+ } & {
4494
+ reconnect?: ({
4495
+ iceServers?: {
4496
+ urls?: string[] | undefined;
4497
+ username?: string | undefined;
4498
+ credential?: string | undefined;
4499
+ }[] | undefined;
4500
+ clientConfiguration?: {
4501
+ video?: {
4502
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4503
+ } | undefined;
4504
+ screen?: {
4505
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4506
+ } | undefined;
4507
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4508
+ disabledCodecs?: {
4509
+ codecs?: {
4510
+ mime?: string | undefined;
4511
+ fmtpLine?: string | undefined;
4512
+ }[] | undefined;
4513
+ } | undefined;
4514
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4515
+ } | undefined;
4516
+ } & {
4517
+ iceServers?: ({
4518
+ urls?: string[] | undefined;
4519
+ username?: string | undefined;
4520
+ credential?: string | undefined;
4521
+ }[] & ({
4522
+ urls?: string[] | undefined;
4523
+ username?: string | undefined;
4524
+ credential?: string | undefined;
4525
+ } & {
4526
+ urls?: (string[] & string[] & {
4527
+ [K_102 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number]["urls"], keyof string[]>]: never;
4528
+ }) | undefined;
4529
+ username?: string | undefined;
4530
+ credential?: string | undefined;
4531
+ } & {
4532
+ [K_103 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number], keyof ICEServer>]: never;
4533
+ })[] & {
4534
+ [K_104 in Exclude<keyof I["message"]["reconnect"]["iceServers"], keyof {
4535
+ urls?: string[] | undefined;
4536
+ username?: string | undefined;
4537
+ credential?: string | undefined;
4538
+ }[]>]: never;
4539
+ }) | undefined;
4540
+ clientConfiguration?: ({
4541
+ video?: {
4542
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4543
+ } | undefined;
4544
+ screen?: {
4545
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4546
+ } | undefined;
4547
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4548
+ disabledCodecs?: {
4549
+ codecs?: {
4550
+ mime?: string | undefined;
4551
+ fmtpLine?: string | undefined;
4552
+ }[] | undefined;
4553
+ } | undefined;
4554
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4555
+ } & {
4556
+ video?: ({
4557
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4558
+ } & {
4559
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4560
+ } & {
4561
+ [K_105 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["video"], "hardwareEncoder">]: never;
4562
+ }) | undefined;
4563
+ screen?: ({
4564
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4565
+ } & {
4566
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4567
+ } & {
4568
+ [K_106 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
4569
+ }) | undefined;
4570
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4571
+ disabledCodecs?: ({
4572
+ codecs?: {
4573
+ mime?: string | undefined;
4574
+ fmtpLine?: string | undefined;
4575
+ }[] | undefined;
4576
+ } & {
4577
+ codecs?: ({
4578
+ mime?: string | undefined;
4579
+ fmtpLine?: string | undefined;
4580
+ }[] & ({
4581
+ mime?: string | undefined;
4582
+ fmtpLine?: string | undefined;
4583
+ } & {
4584
+ mime?: string | undefined;
4585
+ fmtpLine?: string | undefined;
4586
+ } & {
4587
+ [K_107 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
4588
+ })[] & {
4589
+ [K_108 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
4590
+ mime?: string | undefined;
4591
+ fmtpLine?: string | undefined;
4592
+ }[]>]: never;
4593
+ }) | undefined;
4594
+ } & {
4595
+ [K_109 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
4596
+ }) | undefined;
4597
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4598
+ } & {
4599
+ [K_110 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"], keyof ClientConfiguration>]: never;
4600
+ }) | undefined;
4601
+ } & {
4602
+ [K_111 in Exclude<keyof I["message"]["reconnect"], keyof ReconnectResponse>]: never;
4603
+ }) | undefined;
4604
+ $case: "reconnect";
4605
+ } & {
4606
+ [K_112 in Exclude<keyof I["message"], "reconnect" | "$case">]: never;
4236
4607
  }) | undefined;
4237
4608
  } & {
4238
- [K_99 in Exclude<keyof I, "message">]: never;
4609
+ [K_113 in Exclude<keyof I, "message">]: never;
4239
4610
  }>(object: I): SignalResponse;
4240
4611
  };
4241
4612
  export declare const SimulcastCodec: {
@@ -4284,6 +4655,7 @@ export declare const AddTrackRequest: {
4284
4655
  sid?: string | undefined;
4285
4656
  stereo?: boolean | undefined;
4286
4657
  disableRed?: boolean | undefined;
4658
+ encryption?: Encryption_Type | undefined;
4287
4659
  } & {
4288
4660
  cid?: string | undefined;
4289
4661
  name?: string | undefined;
@@ -4346,6 +4718,7 @@ export declare const AddTrackRequest: {
4346
4718
  sid?: string | undefined;
4347
4719
  stereo?: boolean | undefined;
4348
4720
  disableRed?: boolean | undefined;
4721
+ encryption?: Encryption_Type | undefined;
4349
4722
  } & {
4350
4723
  [K_4 in Exclude<keyof I, keyof AddTrackRequest>]: never;
4351
4724
  }>(object: I): AddTrackRequest;
@@ -4436,6 +4809,9 @@ export declare const JoinResponse: {
4436
4809
  ssrc?: number | undefined;
4437
4810
  }[] | undefined;
4438
4811
  }[] | undefined;
4812
+ stereo?: boolean | undefined;
4813
+ disableRed?: boolean | undefined;
4814
+ encryption?: Encryption_Type | undefined;
4439
4815
  }[] | undefined;
4440
4816
  metadata?: string | undefined;
4441
4817
  joinedAt?: number | undefined;
@@ -4445,6 +4821,7 @@ export declare const JoinResponse: {
4445
4821
  canSubscribe?: boolean | undefined;
4446
4822
  canPublish?: boolean | undefined;
4447
4823
  canPublishData?: boolean | undefined;
4824
+ canPublishSources?: TrackSource[] | undefined;
4448
4825
  hidden?: boolean | undefined;
4449
4826
  recorder?: boolean | undefined;
4450
4827
  } | undefined;
@@ -4486,6 +4863,9 @@ export declare const JoinResponse: {
4486
4863
  ssrc?: number | undefined;
4487
4864
  }[] | undefined;
4488
4865
  }[] | undefined;
4866
+ stereo?: boolean | undefined;
4867
+ disableRed?: boolean | undefined;
4868
+ encryption?: Encryption_Type | undefined;
4489
4869
  }[] | undefined;
4490
4870
  metadata?: string | undefined;
4491
4871
  joinedAt?: number | undefined;
@@ -4495,6 +4875,7 @@ export declare const JoinResponse: {
4495
4875
  canSubscribe?: boolean | undefined;
4496
4876
  canPublish?: boolean | undefined;
4497
4877
  canPublishData?: boolean | undefined;
4878
+ canPublishSources?: TrackSource[] | undefined;
4498
4879
  hidden?: boolean | undefined;
4499
4880
  recorder?: boolean | undefined;
4500
4881
  } | undefined;
@@ -4616,6 +4997,9 @@ export declare const JoinResponse: {
4616
4997
  ssrc?: number | undefined;
4617
4998
  }[] | undefined;
4618
4999
  }[] | undefined;
5000
+ stereo?: boolean | undefined;
5001
+ disableRed?: boolean | undefined;
5002
+ encryption?: Encryption_Type | undefined;
4619
5003
  }[] | undefined;
4620
5004
  metadata?: string | undefined;
4621
5005
  joinedAt?: number | undefined;
@@ -4625,6 +5009,7 @@ export declare const JoinResponse: {
4625
5009
  canSubscribe?: boolean | undefined;
4626
5010
  canPublish?: boolean | undefined;
4627
5011
  canPublishData?: boolean | undefined;
5012
+ canPublishSources?: TrackSource[] | undefined;
4628
5013
  hidden?: boolean | undefined;
4629
5014
  recorder?: boolean | undefined;
4630
5015
  } | undefined;
@@ -4665,6 +5050,9 @@ export declare const JoinResponse: {
4665
5050
  ssrc?: number | undefined;
4666
5051
  }[] | undefined;
4667
5052
  }[] | undefined;
5053
+ stereo?: boolean | undefined;
5054
+ disableRed?: boolean | undefined;
5055
+ encryption?: Encryption_Type | undefined;
4668
5056
  }[] & ({
4669
5057
  sid?: string | undefined;
4670
5058
  type?: TrackType | undefined;
@@ -4696,6 +5084,9 @@ export declare const JoinResponse: {
4696
5084
  ssrc?: number | undefined;
4697
5085
  }[] | undefined;
4698
5086
  }[] | undefined;
5087
+ stereo?: boolean | undefined;
5088
+ disableRed?: boolean | undefined;
5089
+ encryption?: Encryption_Type | undefined;
4699
5090
  } & {
4700
5091
  sid?: string | undefined;
4701
5092
  type?: TrackType | undefined;
@@ -4808,6 +5199,9 @@ export declare const JoinResponse: {
4808
5199
  }[] | undefined;
4809
5200
  }[]>]: never;
4810
5201
  }) | undefined;
5202
+ stereo?: boolean | undefined;
5203
+ disableRed?: boolean | undefined;
5204
+ encryption?: Encryption_Type | undefined;
4811
5205
  } & {
4812
5206
  [K_9 in Exclude<keyof I["participant"]["tracks"][number], keyof TrackInfo>]: never;
4813
5207
  })[] & {
@@ -4842,6 +5236,9 @@ export declare const JoinResponse: {
4842
5236
  ssrc?: number | undefined;
4843
5237
  }[] | undefined;
4844
5238
  }[] | undefined;
5239
+ stereo?: boolean | undefined;
5240
+ disableRed?: boolean | undefined;
5241
+ encryption?: Encryption_Type | undefined;
4845
5242
  }[]>]: never;
4846
5243
  }) | undefined;
4847
5244
  metadata?: string | undefined;
@@ -4852,21 +5249,25 @@ export declare const JoinResponse: {
4852
5249
  canSubscribe?: boolean | undefined;
4853
5250
  canPublish?: boolean | undefined;
4854
5251
  canPublishData?: boolean | undefined;
5252
+ canPublishSources?: TrackSource[] | undefined;
4855
5253
  hidden?: boolean | undefined;
4856
5254
  recorder?: boolean | undefined;
4857
5255
  } & {
4858
5256
  canSubscribe?: boolean | undefined;
4859
5257
  canPublish?: boolean | undefined;
4860
5258
  canPublishData?: boolean | undefined;
5259
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
5260
+ [K_11 in Exclude<keyof I["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
5261
+ }) | undefined;
4861
5262
  hidden?: boolean | undefined;
4862
5263
  recorder?: boolean | undefined;
4863
5264
  } & {
4864
- [K_11 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5265
+ [K_12 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
4865
5266
  }) | undefined;
4866
5267
  region?: string | undefined;
4867
5268
  isPublisher?: boolean | undefined;
4868
5269
  } & {
4869
- [K_12 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never;
5270
+ [K_13 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never;
4870
5271
  }) | undefined;
4871
5272
  otherParticipants?: ({
4872
5273
  sid?: string | undefined;
@@ -4903,6 +5304,9 @@ export declare const JoinResponse: {
4903
5304
  ssrc?: number | undefined;
4904
5305
  }[] | undefined;
4905
5306
  }[] | undefined;
5307
+ stereo?: boolean | undefined;
5308
+ disableRed?: boolean | undefined;
5309
+ encryption?: Encryption_Type | undefined;
4906
5310
  }[] | undefined;
4907
5311
  metadata?: string | undefined;
4908
5312
  joinedAt?: number | undefined;
@@ -4912,6 +5316,7 @@ export declare const JoinResponse: {
4912
5316
  canSubscribe?: boolean | undefined;
4913
5317
  canPublish?: boolean | undefined;
4914
5318
  canPublishData?: boolean | undefined;
5319
+ canPublishSources?: TrackSource[] | undefined;
4915
5320
  hidden?: boolean | undefined;
4916
5321
  recorder?: boolean | undefined;
4917
5322
  } | undefined;
@@ -4952,6 +5357,9 @@ export declare const JoinResponse: {
4952
5357
  ssrc?: number | undefined;
4953
5358
  }[] | undefined;
4954
5359
  }[] | undefined;
5360
+ stereo?: boolean | undefined;
5361
+ disableRed?: boolean | undefined;
5362
+ encryption?: Encryption_Type | undefined;
4955
5363
  }[] | undefined;
4956
5364
  metadata?: string | undefined;
4957
5365
  joinedAt?: number | undefined;
@@ -4961,6 +5369,7 @@ export declare const JoinResponse: {
4961
5369
  canSubscribe?: boolean | undefined;
4962
5370
  canPublish?: boolean | undefined;
4963
5371
  canPublishData?: boolean | undefined;
5372
+ canPublishSources?: TrackSource[] | undefined;
4964
5373
  hidden?: boolean | undefined;
4965
5374
  recorder?: boolean | undefined;
4966
5375
  } | undefined;
@@ -5001,6 +5410,9 @@ export declare const JoinResponse: {
5001
5410
  ssrc?: number | undefined;
5002
5411
  }[] | undefined;
5003
5412
  }[] | undefined;
5413
+ stereo?: boolean | undefined;
5414
+ disableRed?: boolean | undefined;
5415
+ encryption?: Encryption_Type | undefined;
5004
5416
  }[] & ({
5005
5417
  sid?: string | undefined;
5006
5418
  type?: TrackType | undefined;
@@ -5032,6 +5444,9 @@ export declare const JoinResponse: {
5032
5444
  ssrc?: number | undefined;
5033
5445
  }[] | undefined;
5034
5446
  }[] | undefined;
5447
+ stereo?: boolean | undefined;
5448
+ disableRed?: boolean | undefined;
5449
+ encryption?: Encryption_Type | undefined;
5035
5450
  } & {
5036
5451
  sid?: string | undefined;
5037
5452
  type?: TrackType | undefined;
@@ -5061,9 +5476,9 @@ export declare const JoinResponse: {
5061
5476
  bitrate?: number | undefined;
5062
5477
  ssrc?: number | undefined;
5063
5478
  } & {
5064
- [K_13 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
5479
+ [K_14 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
5065
5480
  })[] & {
5066
- [K_14 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
5481
+ [K_15 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
5067
5482
  quality?: VideoQuality | undefined;
5068
5483
  width?: number | undefined;
5069
5484
  height?: number | undefined;
@@ -5118,9 +5533,9 @@ export declare const JoinResponse: {
5118
5533
  bitrate?: number | undefined;
5119
5534
  ssrc?: number | undefined;
5120
5535
  } & {
5121
- [K_15 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
5536
+ [K_16 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
5122
5537
  })[] & {
5123
- [K_16 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
5538
+ [K_17 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
5124
5539
  quality?: VideoQuality | undefined;
5125
5540
  width?: number | undefined;
5126
5541
  height?: number | undefined;
@@ -5129,9 +5544,9 @@ export declare const JoinResponse: {
5129
5544
  }[]>]: never;
5130
5545
  }) | undefined;
5131
5546
  } & {
5132
- [K_17 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
5547
+ [K_18 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
5133
5548
  })[] & {
5134
- [K_18 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
5549
+ [K_19 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
5135
5550
  mimeType?: string | undefined;
5136
5551
  mid?: string | undefined;
5137
5552
  cid?: string | undefined;
@@ -5144,10 +5559,13 @@ export declare const JoinResponse: {
5144
5559
  }[] | undefined;
5145
5560
  }[]>]: never;
5146
5561
  }) | undefined;
5562
+ stereo?: boolean | undefined;
5563
+ disableRed?: boolean | undefined;
5564
+ encryption?: Encryption_Type | undefined;
5147
5565
  } & {
5148
- [K_19 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
5566
+ [K_20 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
5149
5567
  })[] & {
5150
- [K_20 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
5568
+ [K_21 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
5151
5569
  sid?: string | undefined;
5152
5570
  type?: TrackType | undefined;
5153
5571
  name?: string | undefined;
@@ -5178,6 +5596,9 @@ export declare const JoinResponse: {
5178
5596
  ssrc?: number | undefined;
5179
5597
  }[] | undefined;
5180
5598
  }[] | undefined;
5599
+ stereo?: boolean | undefined;
5600
+ disableRed?: boolean | undefined;
5601
+ encryption?: Encryption_Type | undefined;
5181
5602
  }[]>]: never;
5182
5603
  }) | undefined;
5183
5604
  metadata?: string | undefined;
@@ -5188,23 +5609,27 @@ export declare const JoinResponse: {
5188
5609
  canSubscribe?: boolean | undefined;
5189
5610
  canPublish?: boolean | undefined;
5190
5611
  canPublishData?: boolean | undefined;
5612
+ canPublishSources?: TrackSource[] | undefined;
5191
5613
  hidden?: boolean | undefined;
5192
5614
  recorder?: boolean | undefined;
5193
5615
  } & {
5194
5616
  canSubscribe?: boolean | undefined;
5195
5617
  canPublish?: boolean | undefined;
5196
5618
  canPublishData?: boolean | undefined;
5619
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
5620
+ [K_22 in Exclude<keyof I["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
5621
+ }) | undefined;
5197
5622
  hidden?: boolean | undefined;
5198
5623
  recorder?: boolean | undefined;
5199
5624
  } & {
5200
- [K_21 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5625
+ [K_23 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5201
5626
  }) | undefined;
5202
5627
  region?: string | undefined;
5203
5628
  isPublisher?: boolean | undefined;
5204
5629
  } & {
5205
- [K_22 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never;
5630
+ [K_24 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never;
5206
5631
  })[] & {
5207
- [K_23 in Exclude<keyof I["otherParticipants"], keyof {
5632
+ [K_25 in Exclude<keyof I["otherParticipants"], keyof {
5208
5633
  sid?: string | undefined;
5209
5634
  identity?: string | undefined;
5210
5635
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -5239,6 +5664,9 @@ export declare const JoinResponse: {
5239
5664
  ssrc?: number | undefined;
5240
5665
  }[] | undefined;
5241
5666
  }[] | undefined;
5667
+ stereo?: boolean | undefined;
5668
+ disableRed?: boolean | undefined;
5669
+ encryption?: Encryption_Type | undefined;
5242
5670
  }[] | undefined;
5243
5671
  metadata?: string | undefined;
5244
5672
  joinedAt?: number | undefined;
@@ -5248,6 +5676,7 @@ export declare const JoinResponse: {
5248
5676
  canSubscribe?: boolean | undefined;
5249
5677
  canPublish?: boolean | undefined;
5250
5678
  canPublishData?: boolean | undefined;
5679
+ canPublishSources?: TrackSource[] | undefined;
5251
5680
  hidden?: boolean | undefined;
5252
5681
  recorder?: boolean | undefined;
5253
5682
  } | undefined;
@@ -5266,14 +5695,14 @@ export declare const JoinResponse: {
5266
5695
  credential?: string | undefined;
5267
5696
  } & {
5268
5697
  urls?: (string[] & string[] & {
5269
- [K_24 in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never;
5698
+ [K_26 in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never;
5270
5699
  }) | undefined;
5271
5700
  username?: string | undefined;
5272
5701
  credential?: string | undefined;
5273
5702
  } & {
5274
- [K_25 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never;
5703
+ [K_27 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never;
5275
5704
  })[] & {
5276
- [K_26 in Exclude<keyof I["iceServers"], keyof {
5705
+ [K_28 in Exclude<keyof I["iceServers"], keyof {
5277
5706
  urls?: string[] | undefined;
5278
5707
  username?: string | undefined;
5279
5708
  credential?: string | undefined;
@@ -5302,14 +5731,14 @@ export declare const JoinResponse: {
5302
5731
  } & {
5303
5732
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5304
5733
  } & {
5305
- [K_27 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never;
5734
+ [K_29 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never;
5306
5735
  }) | undefined;
5307
5736
  screen?: ({
5308
5737
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5309
5738
  } & {
5310
5739
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5311
5740
  } & {
5312
- [K_28 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
5741
+ [K_30 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
5313
5742
  }) | undefined;
5314
5743
  resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5315
5744
  disabledCodecs?: ({
@@ -5328,19 +5757,19 @@ export declare const JoinResponse: {
5328
5757
  mime?: string | undefined;
5329
5758
  fmtpLine?: string | undefined;
5330
5759
  } & {
5331
- [K_29 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
5760
+ [K_31 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
5332
5761
  })[] & {
5333
- [K_30 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
5762
+ [K_32 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
5334
5763
  mime?: string | undefined;
5335
5764
  fmtpLine?: string | undefined;
5336
5765
  }[]>]: never;
5337
5766
  }) | undefined;
5338
5767
  } & {
5339
- [K_31 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
5768
+ [K_33 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
5340
5769
  }) | undefined;
5341
5770
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5342
5771
  } & {
5343
- [K_32 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never;
5772
+ [K_34 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never;
5344
5773
  }) | undefined;
5345
5774
  serverRegion?: string | undefined;
5346
5775
  pingTimeout?: number | undefined;
@@ -5360,12 +5789,128 @@ export declare const JoinResponse: {
5360
5789
  nodeId?: string | undefined;
5361
5790
  debugInfo?: string | undefined;
5362
5791
  } & {
5363
- [K_33 in Exclude<keyof I["serverInfo"], keyof ServerInfo>]: never;
5792
+ [K_35 in Exclude<keyof I["serverInfo"], keyof ServerInfo>]: never;
5364
5793
  }) | undefined;
5365
5794
  } & {
5366
- [K_34 in Exclude<keyof I, keyof JoinResponse>]: never;
5795
+ [K_36 in Exclude<keyof I, keyof JoinResponse>]: never;
5367
5796
  }>(object: I): JoinResponse;
5368
5797
  };
5798
+ export declare const ReconnectResponse: {
5799
+ encode(message: ReconnectResponse, writer?: _m0.Writer): _m0.Writer;
5800
+ decode(input: _m0.Reader | Uint8Array, length?: number): ReconnectResponse;
5801
+ fromJSON(object: any): ReconnectResponse;
5802
+ toJSON(message: ReconnectResponse): unknown;
5803
+ fromPartial<I extends {
5804
+ iceServers?: {
5805
+ urls?: string[] | undefined;
5806
+ username?: string | undefined;
5807
+ credential?: string | undefined;
5808
+ }[] | undefined;
5809
+ clientConfiguration?: {
5810
+ video?: {
5811
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5812
+ } | undefined;
5813
+ screen?: {
5814
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5815
+ } | undefined;
5816
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5817
+ disabledCodecs?: {
5818
+ codecs?: {
5819
+ mime?: string | undefined;
5820
+ fmtpLine?: string | undefined;
5821
+ }[] | undefined;
5822
+ } | undefined;
5823
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5824
+ } | undefined;
5825
+ } & {
5826
+ iceServers?: ({
5827
+ urls?: string[] | undefined;
5828
+ username?: string | undefined;
5829
+ credential?: string | undefined;
5830
+ }[] & ({
5831
+ urls?: string[] | undefined;
5832
+ username?: string | undefined;
5833
+ credential?: string | undefined;
5834
+ } & {
5835
+ urls?: (string[] & string[] & {
5836
+ [K in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never;
5837
+ }) | undefined;
5838
+ username?: string | undefined;
5839
+ credential?: string | undefined;
5840
+ } & {
5841
+ [K_1 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never;
5842
+ })[] & {
5843
+ [K_2 in Exclude<keyof I["iceServers"], keyof {
5844
+ urls?: string[] | undefined;
5845
+ username?: string | undefined;
5846
+ credential?: string | undefined;
5847
+ }[]>]: never;
5848
+ }) | undefined;
5849
+ clientConfiguration?: ({
5850
+ video?: {
5851
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5852
+ } | undefined;
5853
+ screen?: {
5854
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5855
+ } | undefined;
5856
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5857
+ disabledCodecs?: {
5858
+ codecs?: {
5859
+ mime?: string | undefined;
5860
+ fmtpLine?: string | undefined;
5861
+ }[] | undefined;
5862
+ } | undefined;
5863
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5864
+ } & {
5865
+ video?: ({
5866
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5867
+ } & {
5868
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5869
+ } & {
5870
+ [K_3 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never;
5871
+ }) | undefined;
5872
+ screen?: ({
5873
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5874
+ } & {
5875
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5876
+ } & {
5877
+ [K_4 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
5878
+ }) | undefined;
5879
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5880
+ disabledCodecs?: ({
5881
+ codecs?: {
5882
+ mime?: string | undefined;
5883
+ fmtpLine?: string | undefined;
5884
+ }[] | undefined;
5885
+ } & {
5886
+ codecs?: ({
5887
+ mime?: string | undefined;
5888
+ fmtpLine?: string | undefined;
5889
+ }[] & ({
5890
+ mime?: string | undefined;
5891
+ fmtpLine?: string | undefined;
5892
+ } & {
5893
+ mime?: string | undefined;
5894
+ fmtpLine?: string | undefined;
5895
+ } & {
5896
+ [K_5 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
5897
+ })[] & {
5898
+ [K_6 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
5899
+ mime?: string | undefined;
5900
+ fmtpLine?: string | undefined;
5901
+ }[]>]: never;
5902
+ }) | undefined;
5903
+ } & {
5904
+ [K_7 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
5905
+ }) | undefined;
5906
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5907
+ } & {
5908
+ [K_8 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never;
5909
+ }) | undefined;
5910
+ } & {
5911
+ [K_9 in Exclude<keyof I, keyof ReconnectResponse>]: never;
5912
+ }>(object: I): ReconnectResponse;
5913
+ };
5369
5914
  export declare const TrackPublishedResponse: {
5370
5915
  encode(message: TrackPublishedResponse, writer?: _m0.Writer): _m0.Writer;
5371
5916
  decode(input: _m0.Reader | Uint8Array, length?: number): TrackPublishedResponse;
@@ -5404,6 +5949,9 @@ export declare const TrackPublishedResponse: {
5404
5949
  ssrc?: number | undefined;
5405
5950
  }[] | undefined;
5406
5951
  }[] | undefined;
5952
+ stereo?: boolean | undefined;
5953
+ disableRed?: boolean | undefined;
5954
+ encryption?: Encryption_Type | undefined;
5407
5955
  } | undefined;
5408
5956
  } & {
5409
5957
  cid?: string | undefined;
@@ -5438,6 +5986,9 @@ export declare const TrackPublishedResponse: {
5438
5986
  ssrc?: number | undefined;
5439
5987
  }[] | undefined;
5440
5988
  }[] | undefined;
5989
+ stereo?: boolean | undefined;
5990
+ disableRed?: boolean | undefined;
5991
+ encryption?: Encryption_Type | undefined;
5441
5992
  } & {
5442
5993
  sid?: string | undefined;
5443
5994
  type?: TrackType | undefined;
@@ -5550,6 +6101,9 @@ export declare const TrackPublishedResponse: {
5550
6101
  }[] | undefined;
5551
6102
  }[]>]: never;
5552
6103
  }) | undefined;
6104
+ stereo?: boolean | undefined;
6105
+ disableRed?: boolean | undefined;
6106
+ encryption?: Encryption_Type | undefined;
5553
6107
  } & {
5554
6108
  [K_6 in Exclude<keyof I["track"], keyof TrackInfo>]: never;
5555
6109
  }) | undefined;
@@ -5626,6 +6180,9 @@ export declare const ParticipantUpdate: {
5626
6180
  ssrc?: number | undefined;
5627
6181
  }[] | undefined;
5628
6182
  }[] | undefined;
6183
+ stereo?: boolean | undefined;
6184
+ disableRed?: boolean | undefined;
6185
+ encryption?: Encryption_Type | undefined;
5629
6186
  }[] | undefined;
5630
6187
  metadata?: string | undefined;
5631
6188
  joinedAt?: number | undefined;
@@ -5635,6 +6192,7 @@ export declare const ParticipantUpdate: {
5635
6192
  canSubscribe?: boolean | undefined;
5636
6193
  canPublish?: boolean | undefined;
5637
6194
  canPublishData?: boolean | undefined;
6195
+ canPublishSources?: TrackSource[] | undefined;
5638
6196
  hidden?: boolean | undefined;
5639
6197
  recorder?: boolean | undefined;
5640
6198
  } | undefined;
@@ -5677,6 +6235,9 @@ export declare const ParticipantUpdate: {
5677
6235
  ssrc?: number | undefined;
5678
6236
  }[] | undefined;
5679
6237
  }[] | undefined;
6238
+ stereo?: boolean | undefined;
6239
+ disableRed?: boolean | undefined;
6240
+ encryption?: Encryption_Type | undefined;
5680
6241
  }[] | undefined;
5681
6242
  metadata?: string | undefined;
5682
6243
  joinedAt?: number | undefined;
@@ -5686,6 +6247,7 @@ export declare const ParticipantUpdate: {
5686
6247
  canSubscribe?: boolean | undefined;
5687
6248
  canPublish?: boolean | undefined;
5688
6249
  canPublishData?: boolean | undefined;
6250
+ canPublishSources?: TrackSource[] | undefined;
5689
6251
  hidden?: boolean | undefined;
5690
6252
  recorder?: boolean | undefined;
5691
6253
  } | undefined;
@@ -5726,6 +6288,9 @@ export declare const ParticipantUpdate: {
5726
6288
  ssrc?: number | undefined;
5727
6289
  }[] | undefined;
5728
6290
  }[] | undefined;
6291
+ stereo?: boolean | undefined;
6292
+ disableRed?: boolean | undefined;
6293
+ encryption?: Encryption_Type | undefined;
5729
6294
  }[] | undefined;
5730
6295
  metadata?: string | undefined;
5731
6296
  joinedAt?: number | undefined;
@@ -5735,6 +6300,7 @@ export declare const ParticipantUpdate: {
5735
6300
  canSubscribe?: boolean | undefined;
5736
6301
  canPublish?: boolean | undefined;
5737
6302
  canPublishData?: boolean | undefined;
6303
+ canPublishSources?: TrackSource[] | undefined;
5738
6304
  hidden?: boolean | undefined;
5739
6305
  recorder?: boolean | undefined;
5740
6306
  } | undefined;
@@ -5775,6 +6341,9 @@ export declare const ParticipantUpdate: {
5775
6341
  ssrc?: number | undefined;
5776
6342
  }[] | undefined;
5777
6343
  }[] | undefined;
6344
+ stereo?: boolean | undefined;
6345
+ disableRed?: boolean | undefined;
6346
+ encryption?: Encryption_Type | undefined;
5778
6347
  }[] & ({
5779
6348
  sid?: string | undefined;
5780
6349
  type?: TrackType | undefined;
@@ -5806,6 +6375,9 @@ export declare const ParticipantUpdate: {
5806
6375
  ssrc?: number | undefined;
5807
6376
  }[] | undefined;
5808
6377
  }[] | undefined;
6378
+ stereo?: boolean | undefined;
6379
+ disableRed?: boolean | undefined;
6380
+ encryption?: Encryption_Type | undefined;
5809
6381
  } & {
5810
6382
  sid?: string | undefined;
5811
6383
  type?: TrackType | undefined;
@@ -5918,6 +6490,9 @@ export declare const ParticipantUpdate: {
5918
6490
  }[] | undefined;
5919
6491
  }[]>]: never;
5920
6492
  }) | undefined;
6493
+ stereo?: boolean | undefined;
6494
+ disableRed?: boolean | undefined;
6495
+ encryption?: Encryption_Type | undefined;
5921
6496
  } & {
5922
6497
  [K_6 in Exclude<keyof I["participants"][number]["tracks"][number], keyof TrackInfo>]: never;
5923
6498
  })[] & {
@@ -5952,6 +6527,9 @@ export declare const ParticipantUpdate: {
5952
6527
  ssrc?: number | undefined;
5953
6528
  }[] | undefined;
5954
6529
  }[] | undefined;
6530
+ stereo?: boolean | undefined;
6531
+ disableRed?: boolean | undefined;
6532
+ encryption?: Encryption_Type | undefined;
5955
6533
  }[]>]: never;
5956
6534
  }) | undefined;
5957
6535
  metadata?: string | undefined;
@@ -5962,23 +6540,27 @@ export declare const ParticipantUpdate: {
5962
6540
  canSubscribe?: boolean | undefined;
5963
6541
  canPublish?: boolean | undefined;
5964
6542
  canPublishData?: boolean | undefined;
6543
+ canPublishSources?: TrackSource[] | undefined;
5965
6544
  hidden?: boolean | undefined;
5966
6545
  recorder?: boolean | undefined;
5967
6546
  } & {
5968
6547
  canSubscribe?: boolean | undefined;
5969
6548
  canPublish?: boolean | undefined;
5970
6549
  canPublishData?: boolean | undefined;
6550
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
6551
+ [K_8 in Exclude<keyof I["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
6552
+ }) | undefined;
5971
6553
  hidden?: boolean | undefined;
5972
6554
  recorder?: boolean | undefined;
5973
6555
  } & {
5974
- [K_8 in Exclude<keyof I["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
6556
+ [K_9 in Exclude<keyof I["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5975
6557
  }) | undefined;
5976
6558
  region?: string | undefined;
5977
6559
  isPublisher?: boolean | undefined;
5978
6560
  } & {
5979
- [K_9 in Exclude<keyof I["participants"][number], keyof ParticipantInfo>]: never;
6561
+ [K_10 in Exclude<keyof I["participants"][number], keyof ParticipantInfo>]: never;
5980
6562
  })[] & {
5981
- [K_10 in Exclude<keyof I["participants"], keyof {
6563
+ [K_11 in Exclude<keyof I["participants"], keyof {
5982
6564
  sid?: string | undefined;
5983
6565
  identity?: string | undefined;
5984
6566
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -6013,6 +6595,9 @@ export declare const ParticipantUpdate: {
6013
6595
  ssrc?: number | undefined;
6014
6596
  }[] | undefined;
6015
6597
  }[] | undefined;
6598
+ stereo?: boolean | undefined;
6599
+ disableRed?: boolean | undefined;
6600
+ encryption?: Encryption_Type | undefined;
6016
6601
  }[] | undefined;
6017
6602
  metadata?: string | undefined;
6018
6603
  joinedAt?: number | undefined;
@@ -6022,6 +6607,7 @@ export declare const ParticipantUpdate: {
6022
6607
  canSubscribe?: boolean | undefined;
6023
6608
  canPublish?: boolean | undefined;
6024
6609
  canPublishData?: boolean | undefined;
6610
+ canPublishSources?: TrackSource[] | undefined;
6025
6611
  hidden?: boolean | undefined;
6026
6612
  recorder?: boolean | undefined;
6027
6613
  } | undefined;
@@ -6030,7 +6616,7 @@ export declare const ParticipantUpdate: {
6030
6616
  }[]>]: never;
6031
6617
  }) | undefined;
6032
6618
  } & {
6033
- [K_11 in Exclude<keyof I, "participants">]: never;
6619
+ [K_12 in Exclude<keyof I, "participants">]: never;
6034
6620
  }>(object: I): ParticipantUpdate;
6035
6621
  };
6036
6622
  export declare const UpdateSubscription: {
@@ -6085,6 +6671,7 @@ export declare const UpdateTrackSettings: {
6085
6671
  width?: number | undefined;
6086
6672
  height?: number | undefined;
6087
6673
  fps?: number | undefined;
6674
+ priority?: number | undefined;
6088
6675
  } & {
6089
6676
  trackSids?: (string[] & string[] & {
6090
6677
  [K in Exclude<keyof I["trackSids"], keyof string[]>]: never;
@@ -6094,6 +6681,7 @@ export declare const UpdateTrackSettings: {
6094
6681
  width?: number | undefined;
6095
6682
  height?: number | undefined;
6096
6683
  fps?: number | undefined;
6684
+ priority?: number | undefined;
6097
6685
  } & {
6098
6686
  [K_1 in Exclude<keyof I, keyof UpdateTrackSettings>]: never;
6099
6687
  }>(object: I): UpdateTrackSettings;
@@ -6162,6 +6750,19 @@ export declare const UpdateVideoLayers: {
6162
6750
  [K_2 in Exclude<keyof I, keyof UpdateVideoLayers>]: never;
6163
6751
  }>(object: I): UpdateVideoLayers;
6164
6752
  };
6753
+ export declare const UpdateParticipantMetadata: {
6754
+ encode(message: UpdateParticipantMetadata, writer?: _m0.Writer): _m0.Writer;
6755
+ decode(input: _m0.Reader | Uint8Array, length?: number): UpdateParticipantMetadata;
6756
+ fromJSON(object: any): UpdateParticipantMetadata;
6757
+ toJSON(message: UpdateParticipantMetadata): unknown;
6758
+ fromPartial<I extends {
6759
+ metadata?: string | undefined;
6760
+ } & {
6761
+ metadata?: string | undefined;
6762
+ } & {
6763
+ [K in Exclude<keyof I, "metadata">]: never;
6764
+ }>(object: I): UpdateParticipantMetadata;
6765
+ };
6165
6766
  export declare const ICEServer: {
6166
6767
  encode(message: ICEServer, writer?: _m0.Writer): _m0.Writer;
6167
6768
  decode(input: _m0.Reader | Uint8Array, length?: number): ICEServer;
@@ -6663,6 +7264,9 @@ export declare const SyncState: {
6663
7264
  ssrc?: number | undefined;
6664
7265
  }[] | undefined;
6665
7266
  }[] | undefined;
7267
+ stereo?: boolean | undefined;
7268
+ disableRed?: boolean | undefined;
7269
+ encryption?: Encryption_Type | undefined;
6666
7270
  } | undefined;
6667
7271
  }[] | undefined;
6668
7272
  dataChannels?: {
@@ -6751,6 +7355,9 @@ export declare const SyncState: {
6751
7355
  ssrc?: number | undefined;
6752
7356
  }[] | undefined;
6753
7357
  }[] | undefined;
7358
+ stereo?: boolean | undefined;
7359
+ disableRed?: boolean | undefined;
7360
+ encryption?: Encryption_Type | undefined;
6754
7361
  } | undefined;
6755
7362
  }[] & ({
6756
7363
  cid?: string | undefined;
@@ -6785,6 +7392,9 @@ export declare const SyncState: {
6785
7392
  ssrc?: number | undefined;
6786
7393
  }[] | undefined;
6787
7394
  }[] | undefined;
7395
+ stereo?: boolean | undefined;
7396
+ disableRed?: boolean | undefined;
7397
+ encryption?: Encryption_Type | undefined;
6788
7398
  } | undefined;
6789
7399
  } & {
6790
7400
  cid?: string | undefined;
@@ -6819,6 +7429,9 @@ export declare const SyncState: {
6819
7429
  ssrc?: number | undefined;
6820
7430
  }[] | undefined;
6821
7431
  }[] | undefined;
7432
+ stereo?: boolean | undefined;
7433
+ disableRed?: boolean | undefined;
7434
+ encryption?: Encryption_Type | undefined;
6822
7435
  } & {
6823
7436
  sid?: string | undefined;
6824
7437
  type?: TrackType | undefined;
@@ -6931,6 +7544,9 @@ export declare const SyncState: {
6931
7544
  }[] | undefined;
6932
7545
  }[]>]: never;
6933
7546
  }) | undefined;
7547
+ stereo?: boolean | undefined;
7548
+ disableRed?: boolean | undefined;
7549
+ encryption?: Encryption_Type | undefined;
6934
7550
  } & {
6935
7551
  [K_12 in Exclude<keyof I["publishTracks"][number]["track"], keyof TrackInfo>]: never;
6936
7552
  }) | undefined;
@@ -6970,6 +7586,9 @@ export declare const SyncState: {
6970
7586
  ssrc?: number | undefined;
6971
7587
  }[] | undefined;
6972
7588
  }[] | undefined;
7589
+ stereo?: boolean | undefined;
7590
+ disableRed?: boolean | undefined;
7591
+ encryption?: Encryption_Type | undefined;
6973
7592
  } | undefined;
6974
7593
  }[]>]: never;
6975
7594
  }) | undefined;