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?: ({
@@ -590,6 +624,7 @@ export declare const SignalRequest: {
590
624
  sid?: string | undefined;
591
625
  stereo?: boolean | undefined;
592
626
  disableRed?: boolean | undefined;
627
+ encryption?: Encryption_Type | undefined;
593
628
  } | undefined;
594
629
  } & {
595
630
  $case: "addTrack";
@@ -618,6 +653,7 @@ export declare const SignalRequest: {
618
653
  sid?: string | undefined;
619
654
  stereo?: boolean | undefined;
620
655
  disableRed?: boolean | undefined;
656
+ encryption?: Encryption_Type | undefined;
621
657
  } & {
622
658
  cid?: string | undefined;
623
659
  name?: string | undefined;
@@ -672,6 +708,7 @@ export declare const SignalRequest: {
672
708
  sid?: string | undefined;
673
709
  stereo?: boolean | undefined;
674
710
  disableRed?: boolean | undefined;
711
+ encryption?: Encryption_Type | undefined;
675
712
  } & { [K_10 in Exclude<keyof I["message"]["addTrack"], keyof AddTrackRequest>]: never; }) | undefined;
676
713
  $case: "addTrack";
677
714
  } & { [K_11 in Exclude<keyof I["message"], "addTrack" | "$case">]: never; }) | ({
@@ -735,6 +772,7 @@ export declare const SignalRequest: {
735
772
  width?: number | undefined;
736
773
  height?: number | undefined;
737
774
  fps?: number | undefined;
775
+ priority?: number | undefined;
738
776
  } | undefined;
739
777
  } & {
740
778
  $case: "trackSetting";
@@ -746,6 +784,7 @@ export declare const SignalRequest: {
746
784
  width?: number | undefined;
747
785
  height?: number | undefined;
748
786
  fps?: number | undefined;
787
+ priority?: number | undefined;
749
788
  } & {
750
789
  trackSids?: (string[] & string[] & { [K_20 in Exclude<keyof I["message"]["trackSetting"]["trackSids"], keyof string[]>]: never; }) | undefined;
751
790
  disabled?: boolean | undefined;
@@ -753,6 +792,7 @@ export declare const SignalRequest: {
753
792
  width?: number | undefined;
754
793
  height?: number | undefined;
755
794
  fps?: number | undefined;
795
+ priority?: number | undefined;
756
796
  } & { [K_21 in Exclude<keyof I["message"]["trackSetting"], keyof UpdateTrackSettings>]: never; }) | undefined;
757
797
  $case: "trackSetting";
758
798
  } & { [K_22 in Exclude<keyof I["message"], "trackSetting" | "$case">]: never; }) | ({
@@ -916,6 +956,9 @@ export declare const SignalRequest: {
916
956
  ssrc?: number | undefined;
917
957
  }[] | undefined;
918
958
  }[] | undefined;
959
+ stereo?: boolean | undefined;
960
+ disableRed?: boolean | undefined;
961
+ encryption?: Encryption_Type | undefined;
919
962
  } | undefined;
920
963
  }[] | undefined;
921
964
  dataChannels?: {
@@ -977,6 +1020,9 @@ export declare const SignalRequest: {
977
1020
  ssrc?: number | undefined;
978
1021
  }[] | undefined;
979
1022
  }[] | undefined;
1023
+ stereo?: boolean | undefined;
1024
+ disableRed?: boolean | undefined;
1025
+ encryption?: Encryption_Type | undefined;
980
1026
  } | undefined;
981
1027
  }[] | undefined;
982
1028
  dataChannels?: {
@@ -1053,6 +1099,9 @@ export declare const SignalRequest: {
1053
1099
  ssrc?: number | undefined;
1054
1100
  }[] | undefined;
1055
1101
  }[] | undefined;
1102
+ stereo?: boolean | undefined;
1103
+ disableRed?: boolean | undefined;
1104
+ encryption?: Encryption_Type | undefined;
1056
1105
  } | undefined;
1057
1106
  }[] & ({
1058
1107
  cid?: string | undefined;
@@ -1087,6 +1136,9 @@ export declare const SignalRequest: {
1087
1136
  ssrc?: number | undefined;
1088
1137
  }[] | undefined;
1089
1138
  }[] | undefined;
1139
+ stereo?: boolean | undefined;
1140
+ disableRed?: boolean | undefined;
1141
+ encryption?: Encryption_Type | undefined;
1090
1142
  } | undefined;
1091
1143
  } & {
1092
1144
  cid?: string | undefined;
@@ -1121,6 +1173,9 @@ export declare const SignalRequest: {
1121
1173
  ssrc?: number | undefined;
1122
1174
  }[] | undefined;
1123
1175
  }[] | undefined;
1176
+ stereo?: boolean | undefined;
1177
+ disableRed?: boolean | undefined;
1178
+ encryption?: Encryption_Type | undefined;
1124
1179
  } & {
1125
1180
  sid?: string | undefined;
1126
1181
  type?: TrackType | undefined;
@@ -1221,6 +1276,9 @@ export declare const SignalRequest: {
1221
1276
  ssrc?: number | undefined;
1222
1277
  }[] | undefined;
1223
1278
  }[]>]: never; }) | undefined;
1279
+ stereo?: boolean | undefined;
1280
+ disableRed?: boolean | undefined;
1281
+ encryption?: Encryption_Type | undefined;
1224
1282
  } & { [K_46 in Exclude<keyof I["message"]["syncState"]["publishTracks"][number]["track"], keyof TrackInfo>]: never; }) | undefined;
1225
1283
  } & { [K_47 in Exclude<keyof I["message"]["syncState"]["publishTracks"][number], keyof TrackPublishedResponse>]: never; })[] & { [K_48 in Exclude<keyof I["message"]["syncState"]["publishTracks"], keyof {
1226
1284
  cid?: string | undefined;
@@ -1255,6 +1313,9 @@ export declare const SignalRequest: {
1255
1313
  ssrc?: number | undefined;
1256
1314
  }[] | undefined;
1257
1315
  }[] | undefined;
1316
+ stereo?: boolean | undefined;
1317
+ disableRed?: boolean | undefined;
1318
+ encryption?: Encryption_Type | undefined;
1258
1319
  } | undefined;
1259
1320
  }[]>]: never; }) | undefined;
1260
1321
  dataChannels?: ({
@@ -1378,8 +1439,21 @@ export declare const SignalRequest: {
1378
1439
  } & {
1379
1440
  ping?: number | undefined;
1380
1441
  $case: "ping";
1381
- } & { [K_61 in Exclude<keyof I["message"], "ping" | "$case">]: never; }) | undefined;
1382
- } & { [K_62 in Exclude<keyof I, "message">]: never; }>(object: I): SignalRequest;
1442
+ } & { [K_61 in Exclude<keyof I["message"], "ping" | "$case">]: never; }) | ({
1443
+ updateMetadata?: {
1444
+ metadata?: string | undefined;
1445
+ } | undefined;
1446
+ } & {
1447
+ $case: "updateMetadata";
1448
+ } & {
1449
+ updateMetadata?: ({
1450
+ metadata?: string | undefined;
1451
+ } & {
1452
+ metadata?: string | undefined;
1453
+ } & { [K_62 in Exclude<keyof I["message"]["updateMetadata"], "metadata">]: never; }) | undefined;
1454
+ $case: "updateMetadata";
1455
+ } & { [K_63 in Exclude<keyof I["message"], "updateMetadata" | "$case">]: never; }) | undefined;
1456
+ } & { [K_64 in Exclude<keyof I, "message">]: never; }>(object: I): SignalRequest;
1383
1457
  };
1384
1458
  export declare const SignalResponse: {
1385
1459
  encode(message: SignalResponse, writer?: _m0.Writer): _m0.Writer;
@@ -1439,6 +1513,9 @@ export declare const SignalResponse: {
1439
1513
  ssrc?: number | undefined;
1440
1514
  }[] | undefined;
1441
1515
  }[] | undefined;
1516
+ stereo?: boolean | undefined;
1517
+ disableRed?: boolean | undefined;
1518
+ encryption?: Encryption_Type | undefined;
1442
1519
  }[] | undefined;
1443
1520
  metadata?: string | undefined;
1444
1521
  joinedAt?: number | undefined;
@@ -1448,6 +1525,7 @@ export declare const SignalResponse: {
1448
1525
  canSubscribe?: boolean | undefined;
1449
1526
  canPublish?: boolean | undefined;
1450
1527
  canPublishData?: boolean | undefined;
1528
+ canPublishSources?: TrackSource[] | undefined;
1451
1529
  hidden?: boolean | undefined;
1452
1530
  recorder?: boolean | undefined;
1453
1531
  } | undefined;
@@ -1489,6 +1567,9 @@ export declare const SignalResponse: {
1489
1567
  ssrc?: number | undefined;
1490
1568
  }[] | undefined;
1491
1569
  }[] | undefined;
1570
+ stereo?: boolean | undefined;
1571
+ disableRed?: boolean | undefined;
1572
+ encryption?: Encryption_Type | undefined;
1492
1573
  }[] | undefined;
1493
1574
  metadata?: string | undefined;
1494
1575
  joinedAt?: number | undefined;
@@ -1498,6 +1579,7 @@ export declare const SignalResponse: {
1498
1579
  canSubscribe?: boolean | undefined;
1499
1580
  canPublish?: boolean | undefined;
1500
1581
  canPublishData?: boolean | undefined;
1582
+ canPublishSources?: TrackSource[] | undefined;
1501
1583
  hidden?: boolean | undefined;
1502
1584
  recorder?: boolean | undefined;
1503
1585
  } | undefined;
@@ -1600,6 +1682,9 @@ export declare const SignalResponse: {
1600
1682
  ssrc?: number | undefined;
1601
1683
  }[] | undefined;
1602
1684
  }[] | undefined;
1685
+ stereo?: boolean | undefined;
1686
+ disableRed?: boolean | undefined;
1687
+ encryption?: Encryption_Type | undefined;
1603
1688
  }[] | undefined;
1604
1689
  metadata?: string | undefined;
1605
1690
  joinedAt?: number | undefined;
@@ -1609,6 +1694,7 @@ export declare const SignalResponse: {
1609
1694
  canSubscribe?: boolean | undefined;
1610
1695
  canPublish?: boolean | undefined;
1611
1696
  canPublishData?: boolean | undefined;
1697
+ canPublishSources?: TrackSource[] | undefined;
1612
1698
  hidden?: boolean | undefined;
1613
1699
  recorder?: boolean | undefined;
1614
1700
  } | undefined;
@@ -1652,6 +1738,9 @@ export declare const SignalResponse: {
1652
1738
  ssrc?: number | undefined;
1653
1739
  }[] | undefined;
1654
1740
  }[] | undefined;
1741
+ stereo?: boolean | undefined;
1742
+ disableRed?: boolean | undefined;
1743
+ encryption?: Encryption_Type | undefined;
1655
1744
  } | undefined;
1656
1745
  } | undefined;
1657
1746
  } & {
@@ -1759,6 +1848,32 @@ export declare const SignalResponse: {
1759
1848
  pong?: number | undefined;
1760
1849
  } & {
1761
1850
  $case: "pong";
1851
+ }) | ({
1852
+ reconnect?: {
1853
+ iceServers?: {
1854
+ urls?: string[] | undefined;
1855
+ username?: string | undefined;
1856
+ credential?: string | undefined;
1857
+ }[] | undefined;
1858
+ clientConfiguration?: {
1859
+ video?: {
1860
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
1861
+ } | undefined;
1862
+ screen?: {
1863
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
1864
+ } | undefined;
1865
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
1866
+ disabledCodecs?: {
1867
+ codecs?: {
1868
+ mime?: string | undefined;
1869
+ fmtpLine?: string | undefined;
1870
+ }[] | undefined;
1871
+ } | undefined;
1872
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
1873
+ } | undefined;
1874
+ } | undefined;
1875
+ } & {
1876
+ $case: "reconnect";
1762
1877
  }) | undefined;
1763
1878
  } & {
1764
1879
  message?: ({
@@ -1813,6 +1928,9 @@ export declare const SignalResponse: {
1813
1928
  ssrc?: number | undefined;
1814
1929
  }[] | undefined;
1815
1930
  }[] | undefined;
1931
+ stereo?: boolean | undefined;
1932
+ disableRed?: boolean | undefined;
1933
+ encryption?: Encryption_Type | undefined;
1816
1934
  }[] | undefined;
1817
1935
  metadata?: string | undefined;
1818
1936
  joinedAt?: number | undefined;
@@ -1822,6 +1940,7 @@ export declare const SignalResponse: {
1822
1940
  canSubscribe?: boolean | undefined;
1823
1941
  canPublish?: boolean | undefined;
1824
1942
  canPublishData?: boolean | undefined;
1943
+ canPublishSources?: TrackSource[] | undefined;
1825
1944
  hidden?: boolean | undefined;
1826
1945
  recorder?: boolean | undefined;
1827
1946
  } | undefined;
@@ -1863,6 +1982,9 @@ export declare const SignalResponse: {
1863
1982
  ssrc?: number | undefined;
1864
1983
  }[] | undefined;
1865
1984
  }[] | undefined;
1985
+ stereo?: boolean | undefined;
1986
+ disableRed?: boolean | undefined;
1987
+ encryption?: Encryption_Type | undefined;
1866
1988
  }[] | undefined;
1867
1989
  metadata?: string | undefined;
1868
1990
  joinedAt?: number | undefined;
@@ -1872,6 +1994,7 @@ export declare const SignalResponse: {
1872
1994
  canSubscribe?: boolean | undefined;
1873
1995
  canPublish?: boolean | undefined;
1874
1996
  canPublishData?: boolean | undefined;
1997
+ canPublishSources?: TrackSource[] | undefined;
1875
1998
  hidden?: boolean | undefined;
1876
1999
  recorder?: boolean | undefined;
1877
2000
  } | undefined;
@@ -1968,6 +2091,9 @@ export declare const SignalResponse: {
1968
2091
  ssrc?: number | undefined;
1969
2092
  }[] | undefined;
1970
2093
  }[] | undefined;
2094
+ stereo?: boolean | undefined;
2095
+ disableRed?: boolean | undefined;
2096
+ encryption?: Encryption_Type | undefined;
1971
2097
  }[] | undefined;
1972
2098
  metadata?: string | undefined;
1973
2099
  joinedAt?: number | undefined;
@@ -1977,6 +2103,7 @@ export declare const SignalResponse: {
1977
2103
  canSubscribe?: boolean | undefined;
1978
2104
  canPublish?: boolean | undefined;
1979
2105
  canPublishData?: boolean | undefined;
2106
+ canPublishSources?: TrackSource[] | undefined;
1980
2107
  hidden?: boolean | undefined;
1981
2108
  recorder?: boolean | undefined;
1982
2109
  } | undefined;
@@ -2018,6 +2145,9 @@ export declare const SignalResponse: {
2018
2145
  ssrc?: number | undefined;
2019
2146
  }[] | undefined;
2020
2147
  }[] | undefined;
2148
+ stereo?: boolean | undefined;
2149
+ disableRed?: boolean | undefined;
2150
+ encryption?: Encryption_Type | undefined;
2021
2151
  }[] | undefined;
2022
2152
  metadata?: string | undefined;
2023
2153
  joinedAt?: number | undefined;
@@ -2027,6 +2157,7 @@ export declare const SignalResponse: {
2027
2157
  canSubscribe?: boolean | undefined;
2028
2158
  canPublish?: boolean | undefined;
2029
2159
  canPublishData?: boolean | undefined;
2160
+ canPublishSources?: TrackSource[] | undefined;
2030
2161
  hidden?: boolean | undefined;
2031
2162
  recorder?: boolean | undefined;
2032
2163
  } | undefined;
@@ -2142,6 +2273,9 @@ export declare const SignalResponse: {
2142
2273
  ssrc?: number | undefined;
2143
2274
  }[] | undefined;
2144
2275
  }[] | undefined;
2276
+ stereo?: boolean | undefined;
2277
+ disableRed?: boolean | undefined;
2278
+ encryption?: Encryption_Type | undefined;
2145
2279
  }[] | undefined;
2146
2280
  metadata?: string | undefined;
2147
2281
  joinedAt?: number | undefined;
@@ -2151,6 +2285,7 @@ export declare const SignalResponse: {
2151
2285
  canSubscribe?: boolean | undefined;
2152
2286
  canPublish?: boolean | undefined;
2153
2287
  canPublishData?: boolean | undefined;
2288
+ canPublishSources?: TrackSource[] | undefined;
2154
2289
  hidden?: boolean | undefined;
2155
2290
  recorder?: boolean | undefined;
2156
2291
  } | undefined;
@@ -2191,6 +2326,9 @@ export declare const SignalResponse: {
2191
2326
  ssrc?: number | undefined;
2192
2327
  }[] | undefined;
2193
2328
  }[] | undefined;
2329
+ stereo?: boolean | undefined;
2330
+ disableRed?: boolean | undefined;
2331
+ encryption?: Encryption_Type | undefined;
2194
2332
  }[] & ({
2195
2333
  sid?: string | undefined;
2196
2334
  type?: TrackType | undefined;
@@ -2222,6 +2360,9 @@ export declare const SignalResponse: {
2222
2360
  ssrc?: number | undefined;
2223
2361
  }[] | undefined;
2224
2362
  }[] | undefined;
2363
+ stereo?: boolean | undefined;
2364
+ disableRed?: boolean | undefined;
2365
+ encryption?: Encryption_Type | undefined;
2225
2366
  } & {
2226
2367
  sid?: string | undefined;
2227
2368
  type?: TrackType | undefined;
@@ -2322,6 +2463,9 @@ export declare const SignalResponse: {
2322
2463
  ssrc?: number | undefined;
2323
2464
  }[] | undefined;
2324
2465
  }[]>]: never; }) | undefined;
2466
+ stereo?: boolean | undefined;
2467
+ disableRed?: boolean | undefined;
2468
+ encryption?: Encryption_Type | undefined;
2325
2469
  } & { [K_9 in Exclude<keyof I["message"]["join"]["participant"]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_10 in Exclude<keyof I["message"]["join"]["participant"]["tracks"], keyof {
2326
2470
  sid?: string | undefined;
2327
2471
  type?: TrackType | undefined;
@@ -2353,6 +2497,9 @@ export declare const SignalResponse: {
2353
2497
  ssrc?: number | undefined;
2354
2498
  }[] | undefined;
2355
2499
  }[] | undefined;
2500
+ stereo?: boolean | undefined;
2501
+ disableRed?: boolean | undefined;
2502
+ encryption?: Encryption_Type | undefined;
2356
2503
  }[]>]: never; }) | undefined;
2357
2504
  metadata?: string | undefined;
2358
2505
  joinedAt?: number | undefined;
@@ -2362,18 +2509,20 @@ export declare const SignalResponse: {
2362
2509
  canSubscribe?: boolean | undefined;
2363
2510
  canPublish?: boolean | undefined;
2364
2511
  canPublishData?: boolean | undefined;
2512
+ canPublishSources?: TrackSource[] | undefined;
2365
2513
  hidden?: boolean | undefined;
2366
2514
  recorder?: boolean | undefined;
2367
2515
  } & {
2368
2516
  canSubscribe?: boolean | undefined;
2369
2517
  canPublish?: boolean | undefined;
2370
2518
  canPublishData?: boolean | undefined;
2519
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_11 in Exclude<keyof I["message"]["join"]["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
2371
2520
  hidden?: boolean | undefined;
2372
2521
  recorder?: boolean | undefined;
2373
- } & { [K_11 in Exclude<keyof I["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
2522
+ } & { [K_12 in Exclude<keyof I["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
2374
2523
  region?: string | undefined;
2375
2524
  isPublisher?: boolean | undefined;
2376
- } & { [K_12 in Exclude<keyof I["message"]["join"]["participant"], keyof ParticipantInfo>]: never; }) | undefined;
2525
+ } & { [K_13 in Exclude<keyof I["message"]["join"]["participant"], keyof ParticipantInfo>]: never; }) | undefined;
2377
2526
  otherParticipants?: ({
2378
2527
  sid?: string | undefined;
2379
2528
  identity?: string | undefined;
@@ -2409,6 +2558,9 @@ export declare const SignalResponse: {
2409
2558
  ssrc?: number | undefined;
2410
2559
  }[] | undefined;
2411
2560
  }[] | undefined;
2561
+ stereo?: boolean | undefined;
2562
+ disableRed?: boolean | undefined;
2563
+ encryption?: Encryption_Type | undefined;
2412
2564
  }[] | undefined;
2413
2565
  metadata?: string | undefined;
2414
2566
  joinedAt?: number | undefined;
@@ -2418,6 +2570,7 @@ export declare const SignalResponse: {
2418
2570
  canSubscribe?: boolean | undefined;
2419
2571
  canPublish?: boolean | undefined;
2420
2572
  canPublishData?: boolean | undefined;
2573
+ canPublishSources?: TrackSource[] | undefined;
2421
2574
  hidden?: boolean | undefined;
2422
2575
  recorder?: boolean | undefined;
2423
2576
  } | undefined;
@@ -2458,6 +2611,9 @@ export declare const SignalResponse: {
2458
2611
  ssrc?: number | undefined;
2459
2612
  }[] | undefined;
2460
2613
  }[] | undefined;
2614
+ stereo?: boolean | undefined;
2615
+ disableRed?: boolean | undefined;
2616
+ encryption?: Encryption_Type | undefined;
2461
2617
  }[] | undefined;
2462
2618
  metadata?: string | undefined;
2463
2619
  joinedAt?: number | undefined;
@@ -2467,6 +2623,7 @@ export declare const SignalResponse: {
2467
2623
  canSubscribe?: boolean | undefined;
2468
2624
  canPublish?: boolean | undefined;
2469
2625
  canPublishData?: boolean | undefined;
2626
+ canPublishSources?: TrackSource[] | undefined;
2470
2627
  hidden?: boolean | undefined;
2471
2628
  recorder?: boolean | undefined;
2472
2629
  } | undefined;
@@ -2507,6 +2664,9 @@ export declare const SignalResponse: {
2507
2664
  ssrc?: number | undefined;
2508
2665
  }[] | undefined;
2509
2666
  }[] | undefined;
2667
+ stereo?: boolean | undefined;
2668
+ disableRed?: boolean | undefined;
2669
+ encryption?: Encryption_Type | undefined;
2510
2670
  }[] & ({
2511
2671
  sid?: string | undefined;
2512
2672
  type?: TrackType | undefined;
@@ -2538,6 +2698,9 @@ export declare const SignalResponse: {
2538
2698
  ssrc?: number | undefined;
2539
2699
  }[] | undefined;
2540
2700
  }[] | undefined;
2701
+ stereo?: boolean | undefined;
2702
+ disableRed?: boolean | undefined;
2703
+ encryption?: Encryption_Type | undefined;
2541
2704
  } & {
2542
2705
  sid?: string | undefined;
2543
2706
  type?: TrackType | undefined;
@@ -2566,7 +2729,7 @@ export declare const SignalResponse: {
2566
2729
  height?: number | undefined;
2567
2730
  bitrate?: number | undefined;
2568
2731
  ssrc?: number | undefined;
2569
- } & { [K_13 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_14 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"], keyof {
2732
+ } & { [K_14 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_15 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"], keyof {
2570
2733
  quality?: VideoQuality | undefined;
2571
2734
  width?: number | undefined;
2572
2735
  height?: number | undefined;
@@ -2619,14 +2782,14 @@ export declare const SignalResponse: {
2619
2782
  height?: number | undefined;
2620
2783
  bitrate?: number | undefined;
2621
2784
  ssrc?: number | undefined;
2622
- } & { [K_15 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_16 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
2785
+ } & { [K_16 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_17 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
2623
2786
  quality?: VideoQuality | undefined;
2624
2787
  width?: number | undefined;
2625
2788
  height?: number | undefined;
2626
2789
  bitrate?: number | undefined;
2627
2790
  ssrc?: number | undefined;
2628
2791
  }[]>]: never; }) | undefined;
2629
- } & { [K_17 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_18 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
2792
+ } & { [K_18 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_19 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
2630
2793
  mimeType?: string | undefined;
2631
2794
  mid?: string | undefined;
2632
2795
  cid?: string | undefined;
@@ -2638,7 +2801,10 @@ export declare const SignalResponse: {
2638
2801
  ssrc?: number | undefined;
2639
2802
  }[] | undefined;
2640
2803
  }[]>]: never; }) | undefined;
2641
- } & { [K_19 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_20 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"], keyof {
2804
+ stereo?: boolean | undefined;
2805
+ disableRed?: boolean | undefined;
2806
+ encryption?: Encryption_Type | undefined;
2807
+ } & { [K_20 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_21 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"], keyof {
2642
2808
  sid?: string | undefined;
2643
2809
  type?: TrackType | undefined;
2644
2810
  name?: string | undefined;
@@ -2669,6 +2835,9 @@ export declare const SignalResponse: {
2669
2835
  ssrc?: number | undefined;
2670
2836
  }[] | undefined;
2671
2837
  }[] | undefined;
2838
+ stereo?: boolean | undefined;
2839
+ disableRed?: boolean | undefined;
2840
+ encryption?: Encryption_Type | undefined;
2672
2841
  }[]>]: never; }) | undefined;
2673
2842
  metadata?: string | undefined;
2674
2843
  joinedAt?: number | undefined;
@@ -2678,18 +2847,20 @@ export declare const SignalResponse: {
2678
2847
  canSubscribe?: boolean | undefined;
2679
2848
  canPublish?: boolean | undefined;
2680
2849
  canPublishData?: boolean | undefined;
2850
+ canPublishSources?: TrackSource[] | undefined;
2681
2851
  hidden?: boolean | undefined;
2682
2852
  recorder?: boolean | undefined;
2683
2853
  } & {
2684
2854
  canSubscribe?: boolean | undefined;
2685
2855
  canPublish?: boolean | undefined;
2686
2856
  canPublishData?: boolean | undefined;
2857
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_22 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
2687
2858
  hidden?: boolean | undefined;
2688
2859
  recorder?: boolean | undefined;
2689
- } & { [K_21 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
2860
+ } & { [K_23 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
2690
2861
  region?: string | undefined;
2691
2862
  isPublisher?: boolean | undefined;
2692
- } & { [K_22 in Exclude<keyof I["message"]["join"]["otherParticipants"][number], keyof ParticipantInfo>]: never; })[] & { [K_23 in Exclude<keyof I["message"]["join"]["otherParticipants"], keyof {
2863
+ } & { [K_24 in Exclude<keyof I["message"]["join"]["otherParticipants"][number], keyof ParticipantInfo>]: never; })[] & { [K_25 in Exclude<keyof I["message"]["join"]["otherParticipants"], keyof {
2693
2864
  sid?: string | undefined;
2694
2865
  identity?: string | undefined;
2695
2866
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -2724,6 +2895,9 @@ export declare const SignalResponse: {
2724
2895
  ssrc?: number | undefined;
2725
2896
  }[] | undefined;
2726
2897
  }[] | undefined;
2898
+ stereo?: boolean | undefined;
2899
+ disableRed?: boolean | undefined;
2900
+ encryption?: Encryption_Type | undefined;
2727
2901
  }[] | undefined;
2728
2902
  metadata?: string | undefined;
2729
2903
  joinedAt?: number | undefined;
@@ -2733,6 +2907,7 @@ export declare const SignalResponse: {
2733
2907
  canSubscribe?: boolean | undefined;
2734
2908
  canPublish?: boolean | undefined;
2735
2909
  canPublishData?: boolean | undefined;
2910
+ canPublishSources?: TrackSource[] | undefined;
2736
2911
  hidden?: boolean | undefined;
2737
2912
  recorder?: boolean | undefined;
2738
2913
  } | undefined;
@@ -2749,10 +2924,10 @@ export declare const SignalResponse: {
2749
2924
  username?: string | undefined;
2750
2925
  credential?: string | undefined;
2751
2926
  } & {
2752
- urls?: (string[] & string[] & { [K_24 in Exclude<keyof I["message"]["join"]["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
2927
+ urls?: (string[] & string[] & { [K_26 in Exclude<keyof I["message"]["join"]["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
2753
2928
  username?: string | undefined;
2754
2929
  credential?: string | undefined;
2755
- } & { [K_25 in Exclude<keyof I["message"]["join"]["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_26 in Exclude<keyof I["message"]["join"]["iceServers"], keyof {
2930
+ } & { [K_27 in Exclude<keyof I["message"]["join"]["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_28 in Exclude<keyof I["message"]["join"]["iceServers"], keyof {
2756
2931
  urls?: string[] | undefined;
2757
2932
  username?: string | undefined;
2758
2933
  credential?: string | undefined;
@@ -2779,12 +2954,12 @@ export declare const SignalResponse: {
2779
2954
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
2780
2955
  } & {
2781
2956
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
2782
- } & { [K_27 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
2957
+ } & { [K_29 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
2783
2958
  screen?: ({
2784
2959
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
2785
2960
  } & {
2786
2961
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
2787
- } & { [K_28 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
2962
+ } & { [K_30 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
2788
2963
  resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
2789
2964
  disabledCodecs?: ({
2790
2965
  codecs?: {
@@ -2801,13 +2976,13 @@ export declare const SignalResponse: {
2801
2976
  } & {
2802
2977
  mime?: string | undefined;
2803
2978
  fmtpLine?: string | undefined;
2804
- } & { [K_29 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_30 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
2979
+ } & { [K_31 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_32 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
2805
2980
  mime?: string | undefined;
2806
2981
  fmtpLine?: string | undefined;
2807
2982
  }[]>]: never; }) | undefined;
2808
- } & { [K_31 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
2983
+ } & { [K_33 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
2809
2984
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
2810
- } & { [K_32 in Exclude<keyof I["message"]["join"]["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
2985
+ } & { [K_34 in Exclude<keyof I["message"]["join"]["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
2811
2986
  serverRegion?: string | undefined;
2812
2987
  pingTimeout?: number | undefined;
2813
2988
  pingInterval?: number | undefined;
@@ -2825,10 +3000,10 @@ export declare const SignalResponse: {
2825
3000
  region?: string | undefined;
2826
3001
  nodeId?: string | undefined;
2827
3002
  debugInfo?: string | undefined;
2828
- } & { [K_33 in Exclude<keyof I["message"]["join"]["serverInfo"], keyof ServerInfo>]: never; }) | undefined;
2829
- } & { [K_34 in Exclude<keyof I["message"]["join"], keyof JoinResponse>]: never; }) | undefined;
3003
+ } & { [K_35 in Exclude<keyof I["message"]["join"]["serverInfo"], keyof ServerInfo>]: never; }) | undefined;
3004
+ } & { [K_36 in Exclude<keyof I["message"]["join"], keyof JoinResponse>]: never; }) | undefined;
2830
3005
  $case: "join";
2831
- } & { [K_35 in Exclude<keyof I["message"], "join" | "$case">]: never; }) | ({
3006
+ } & { [K_37 in Exclude<keyof I["message"], "join" | "$case">]: never; }) | ({
2832
3007
  answer?: {
2833
3008
  type?: string | undefined;
2834
3009
  sdp?: string | undefined;
@@ -2842,9 +3017,9 @@ export declare const SignalResponse: {
2842
3017
  } & {
2843
3018
  type?: string | undefined;
2844
3019
  sdp?: string | undefined;
2845
- } & { [K_36 in Exclude<keyof I["message"]["answer"], keyof SessionDescription>]: never; }) | undefined;
3020
+ } & { [K_38 in Exclude<keyof I["message"]["answer"], keyof SessionDescription>]: never; }) | undefined;
2846
3021
  $case: "answer";
2847
- } & { [K_37 in Exclude<keyof I["message"], "answer" | "$case">]: never; }) | ({
3022
+ } & { [K_39 in Exclude<keyof I["message"], "answer" | "$case">]: never; }) | ({
2848
3023
  offer?: {
2849
3024
  type?: string | undefined;
2850
3025
  sdp?: string | undefined;
@@ -2858,9 +3033,9 @@ export declare const SignalResponse: {
2858
3033
  } & {
2859
3034
  type?: string | undefined;
2860
3035
  sdp?: string | undefined;
2861
- } & { [K_38 in Exclude<keyof I["message"]["offer"], keyof SessionDescription>]: never; }) | undefined;
3036
+ } & { [K_40 in Exclude<keyof I["message"]["offer"], keyof SessionDescription>]: never; }) | undefined;
2862
3037
  $case: "offer";
2863
- } & { [K_39 in Exclude<keyof I["message"], "offer" | "$case">]: never; }) | ({
3038
+ } & { [K_41 in Exclude<keyof I["message"], "offer" | "$case">]: never; }) | ({
2864
3039
  trickle?: {
2865
3040
  candidateInit?: string | undefined;
2866
3041
  target?: SignalTarget | undefined;
@@ -2874,9 +3049,9 @@ export declare const SignalResponse: {
2874
3049
  } & {
2875
3050
  candidateInit?: string | undefined;
2876
3051
  target?: SignalTarget | undefined;
2877
- } & { [K_40 in Exclude<keyof I["message"]["trickle"], keyof TrickleRequest>]: never; }) | undefined;
3052
+ } & { [K_42 in Exclude<keyof I["message"]["trickle"], keyof TrickleRequest>]: never; }) | undefined;
2878
3053
  $case: "trickle";
2879
- } & { [K_41 in Exclude<keyof I["message"], "trickle" | "$case">]: never; }) | ({
3054
+ } & { [K_43 in Exclude<keyof I["message"], "trickle" | "$case">]: never; }) | ({
2880
3055
  update?: {
2881
3056
  participants?: {
2882
3057
  sid?: string | undefined;
@@ -2913,6 +3088,9 @@ export declare const SignalResponse: {
2913
3088
  ssrc?: number | undefined;
2914
3089
  }[] | undefined;
2915
3090
  }[] | undefined;
3091
+ stereo?: boolean | undefined;
3092
+ disableRed?: boolean | undefined;
3093
+ encryption?: Encryption_Type | undefined;
2916
3094
  }[] | undefined;
2917
3095
  metadata?: string | undefined;
2918
3096
  joinedAt?: number | undefined;
@@ -2922,6 +3100,7 @@ export declare const SignalResponse: {
2922
3100
  canSubscribe?: boolean | undefined;
2923
3101
  canPublish?: boolean | undefined;
2924
3102
  canPublishData?: boolean | undefined;
3103
+ canPublishSources?: TrackSource[] | undefined;
2925
3104
  hidden?: boolean | undefined;
2926
3105
  recorder?: boolean | undefined;
2927
3106
  } | undefined;
@@ -2968,6 +3147,9 @@ export declare const SignalResponse: {
2968
3147
  ssrc?: number | undefined;
2969
3148
  }[] | undefined;
2970
3149
  }[] | undefined;
3150
+ stereo?: boolean | undefined;
3151
+ disableRed?: boolean | undefined;
3152
+ encryption?: Encryption_Type | undefined;
2971
3153
  }[] | undefined;
2972
3154
  metadata?: string | undefined;
2973
3155
  joinedAt?: number | undefined;
@@ -2977,6 +3159,7 @@ export declare const SignalResponse: {
2977
3159
  canSubscribe?: boolean | undefined;
2978
3160
  canPublish?: boolean | undefined;
2979
3161
  canPublishData?: boolean | undefined;
3162
+ canPublishSources?: TrackSource[] | undefined;
2980
3163
  hidden?: boolean | undefined;
2981
3164
  recorder?: boolean | undefined;
2982
3165
  } | undefined;
@@ -3019,6 +3202,9 @@ export declare const SignalResponse: {
3019
3202
  ssrc?: number | undefined;
3020
3203
  }[] | undefined;
3021
3204
  }[] | undefined;
3205
+ stereo?: boolean | undefined;
3206
+ disableRed?: boolean | undefined;
3207
+ encryption?: Encryption_Type | undefined;
3022
3208
  }[] | undefined;
3023
3209
  metadata?: string | undefined;
3024
3210
  joinedAt?: number | undefined;
@@ -3028,6 +3214,7 @@ export declare const SignalResponse: {
3028
3214
  canSubscribe?: boolean | undefined;
3029
3215
  canPublish?: boolean | undefined;
3030
3216
  canPublishData?: boolean | undefined;
3217
+ canPublishSources?: TrackSource[] | undefined;
3031
3218
  hidden?: boolean | undefined;
3032
3219
  recorder?: boolean | undefined;
3033
3220
  } | undefined;
@@ -3068,6 +3255,9 @@ export declare const SignalResponse: {
3068
3255
  ssrc?: number | undefined;
3069
3256
  }[] | undefined;
3070
3257
  }[] | undefined;
3258
+ stereo?: boolean | undefined;
3259
+ disableRed?: boolean | undefined;
3260
+ encryption?: Encryption_Type | undefined;
3071
3261
  }[] | undefined;
3072
3262
  metadata?: string | undefined;
3073
3263
  joinedAt?: number | undefined;
@@ -3077,6 +3267,7 @@ export declare const SignalResponse: {
3077
3267
  canSubscribe?: boolean | undefined;
3078
3268
  canPublish?: boolean | undefined;
3079
3269
  canPublishData?: boolean | undefined;
3270
+ canPublishSources?: TrackSource[] | undefined;
3080
3271
  hidden?: boolean | undefined;
3081
3272
  recorder?: boolean | undefined;
3082
3273
  } | undefined;
@@ -3117,6 +3308,9 @@ export declare const SignalResponse: {
3117
3308
  ssrc?: number | undefined;
3118
3309
  }[] | undefined;
3119
3310
  }[] | undefined;
3311
+ stereo?: boolean | undefined;
3312
+ disableRed?: boolean | undefined;
3313
+ encryption?: Encryption_Type | undefined;
3120
3314
  }[] & ({
3121
3315
  sid?: string | undefined;
3122
3316
  type?: TrackType | undefined;
@@ -3148,6 +3342,9 @@ export declare const SignalResponse: {
3148
3342
  ssrc?: number | undefined;
3149
3343
  }[] | undefined;
3150
3344
  }[] | undefined;
3345
+ stereo?: boolean | undefined;
3346
+ disableRed?: boolean | undefined;
3347
+ encryption?: Encryption_Type | undefined;
3151
3348
  } & {
3152
3349
  sid?: string | undefined;
3153
3350
  type?: TrackType | undefined;
@@ -3176,7 +3373,7 @@ export declare const SignalResponse: {
3176
3373
  height?: number | undefined;
3177
3374
  bitrate?: number | undefined;
3178
3375
  ssrc?: number | undefined;
3179
- } & { [K_42 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_43 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"], keyof {
3376
+ } & { [K_44 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_45 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"], keyof {
3180
3377
  quality?: VideoQuality | undefined;
3181
3378
  width?: number | undefined;
3182
3379
  height?: number | undefined;
@@ -3229,14 +3426,14 @@ export declare const SignalResponse: {
3229
3426
  height?: number | undefined;
3230
3427
  bitrate?: number | undefined;
3231
3428
  ssrc?: number | undefined;
3232
- } & { [K_44 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_45 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
3429
+ } & { [K_46 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_47 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
3233
3430
  quality?: VideoQuality | undefined;
3234
3431
  width?: number | undefined;
3235
3432
  height?: number | undefined;
3236
3433
  bitrate?: number | undefined;
3237
3434
  ssrc?: number | undefined;
3238
3435
  }[]>]: never; }) | undefined;
3239
- } & { [K_46 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_47 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"], keyof {
3436
+ } & { [K_48 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_49 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"], keyof {
3240
3437
  mimeType?: string | undefined;
3241
3438
  mid?: string | undefined;
3242
3439
  cid?: string | undefined;
@@ -3248,7 +3445,10 @@ export declare const SignalResponse: {
3248
3445
  ssrc?: number | undefined;
3249
3446
  }[] | undefined;
3250
3447
  }[]>]: never; }) | undefined;
3251
- } & { [K_48 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_49 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"], keyof {
3448
+ stereo?: boolean | undefined;
3449
+ disableRed?: boolean | undefined;
3450
+ encryption?: Encryption_Type | undefined;
3451
+ } & { [K_50 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_51 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"], keyof {
3252
3452
  sid?: string | undefined;
3253
3453
  type?: TrackType | undefined;
3254
3454
  name?: string | undefined;
@@ -3279,6 +3479,9 @@ export declare const SignalResponse: {
3279
3479
  ssrc?: number | undefined;
3280
3480
  }[] | undefined;
3281
3481
  }[] | undefined;
3482
+ stereo?: boolean | undefined;
3483
+ disableRed?: boolean | undefined;
3484
+ encryption?: Encryption_Type | undefined;
3282
3485
  }[]>]: never; }) | undefined;
3283
3486
  metadata?: string | undefined;
3284
3487
  joinedAt?: number | undefined;
@@ -3288,18 +3491,20 @@ export declare const SignalResponse: {
3288
3491
  canSubscribe?: boolean | undefined;
3289
3492
  canPublish?: boolean | undefined;
3290
3493
  canPublishData?: boolean | undefined;
3494
+ canPublishSources?: TrackSource[] | undefined;
3291
3495
  hidden?: boolean | undefined;
3292
3496
  recorder?: boolean | undefined;
3293
3497
  } & {
3294
3498
  canSubscribe?: boolean | undefined;
3295
3499
  canPublish?: boolean | undefined;
3296
3500
  canPublishData?: boolean | undefined;
3501
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_52 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
3297
3502
  hidden?: boolean | undefined;
3298
3503
  recorder?: boolean | undefined;
3299
- } & { [K_50 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
3504
+ } & { [K_53 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
3300
3505
  region?: string | undefined;
3301
3506
  isPublisher?: boolean | undefined;
3302
- } & { [K_51 in Exclude<keyof I["message"]["update"]["participants"][number], keyof ParticipantInfo>]: never; })[] & { [K_52 in Exclude<keyof I["message"]["update"]["participants"], keyof {
3507
+ } & { [K_54 in Exclude<keyof I["message"]["update"]["participants"][number], keyof ParticipantInfo>]: never; })[] & { [K_55 in Exclude<keyof I["message"]["update"]["participants"], keyof {
3303
3508
  sid?: string | undefined;
3304
3509
  identity?: string | undefined;
3305
3510
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -3334,6 +3539,9 @@ export declare const SignalResponse: {
3334
3539
  ssrc?: number | undefined;
3335
3540
  }[] | undefined;
3336
3541
  }[] | undefined;
3542
+ stereo?: boolean | undefined;
3543
+ disableRed?: boolean | undefined;
3544
+ encryption?: Encryption_Type | undefined;
3337
3545
  }[] | undefined;
3338
3546
  metadata?: string | undefined;
3339
3547
  joinedAt?: number | undefined;
@@ -3343,15 +3551,16 @@ export declare const SignalResponse: {
3343
3551
  canSubscribe?: boolean | undefined;
3344
3552
  canPublish?: boolean | undefined;
3345
3553
  canPublishData?: boolean | undefined;
3554
+ canPublishSources?: TrackSource[] | undefined;
3346
3555
  hidden?: boolean | undefined;
3347
3556
  recorder?: boolean | undefined;
3348
3557
  } | undefined;
3349
3558
  region?: string | undefined;
3350
3559
  isPublisher?: boolean | undefined;
3351
3560
  }[]>]: never; }) | undefined;
3352
- } & { [K_53 in Exclude<keyof I["message"]["update"], "participants">]: never; }) | undefined;
3561
+ } & { [K_56 in Exclude<keyof I["message"]["update"], "participants">]: never; }) | undefined;
3353
3562
  $case: "update";
3354
- } & { [K_54 in Exclude<keyof I["message"], "update" | "$case">]: never; }) | ({
3563
+ } & { [K_57 in Exclude<keyof I["message"], "update" | "$case">]: never; }) | ({
3355
3564
  trackPublished?: {
3356
3565
  cid?: string | undefined;
3357
3566
  track?: {
@@ -3385,6 +3594,9 @@ export declare const SignalResponse: {
3385
3594
  ssrc?: number | undefined;
3386
3595
  }[] | undefined;
3387
3596
  }[] | undefined;
3597
+ stereo?: boolean | undefined;
3598
+ disableRed?: boolean | undefined;
3599
+ encryption?: Encryption_Type | undefined;
3388
3600
  } | undefined;
3389
3601
  } | undefined;
3390
3602
  } & {
@@ -3423,6 +3635,9 @@ export declare const SignalResponse: {
3423
3635
  ssrc?: number | undefined;
3424
3636
  }[] | undefined;
3425
3637
  }[] | undefined;
3638
+ stereo?: boolean | undefined;
3639
+ disableRed?: boolean | undefined;
3640
+ encryption?: Encryption_Type | undefined;
3426
3641
  } | undefined;
3427
3642
  } & {
3428
3643
  cid?: string | undefined;
@@ -3457,6 +3672,9 @@ export declare const SignalResponse: {
3457
3672
  ssrc?: number | undefined;
3458
3673
  }[] | undefined;
3459
3674
  }[] | undefined;
3675
+ stereo?: boolean | undefined;
3676
+ disableRed?: boolean | undefined;
3677
+ encryption?: Encryption_Type | undefined;
3460
3678
  } & {
3461
3679
  sid?: string | undefined;
3462
3680
  type?: TrackType | undefined;
@@ -3485,7 +3703,7 @@ export declare const SignalResponse: {
3485
3703
  height?: number | undefined;
3486
3704
  bitrate?: number | undefined;
3487
3705
  ssrc?: number | undefined;
3488
- } & { [K_55 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_56 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"], keyof {
3706
+ } & { [K_58 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_59 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"], keyof {
3489
3707
  quality?: VideoQuality | undefined;
3490
3708
  width?: number | undefined;
3491
3709
  height?: number | undefined;
@@ -3538,14 +3756,14 @@ export declare const SignalResponse: {
3538
3756
  height?: number | undefined;
3539
3757
  bitrate?: number | undefined;
3540
3758
  ssrc?: number | undefined;
3541
- } & { [K_57 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_58 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"], keyof {
3759
+ } & { [K_60 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_61 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"], keyof {
3542
3760
  quality?: VideoQuality | undefined;
3543
3761
  width?: number | undefined;
3544
3762
  height?: number | undefined;
3545
3763
  bitrate?: number | undefined;
3546
3764
  ssrc?: number | undefined;
3547
3765
  }[]>]: never; }) | undefined;
3548
- } & { [K_59 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_60 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"], keyof {
3766
+ } & { [K_62 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_63 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"], keyof {
3549
3767
  mimeType?: string | undefined;
3550
3768
  mid?: string | undefined;
3551
3769
  cid?: string | undefined;
@@ -3557,10 +3775,13 @@ export declare const SignalResponse: {
3557
3775
  ssrc?: number | undefined;
3558
3776
  }[] | undefined;
3559
3777
  }[]>]: never; }) | undefined;
3560
- } & { [K_61 in Exclude<keyof I["message"]["trackPublished"]["track"], keyof TrackInfo>]: never; }) | undefined;
3561
- } & { [K_62 in Exclude<keyof I["message"]["trackPublished"], keyof TrackPublishedResponse>]: never; }) | undefined;
3778
+ stereo?: boolean | undefined;
3779
+ disableRed?: boolean | undefined;
3780
+ encryption?: Encryption_Type | undefined;
3781
+ } & { [K_64 in Exclude<keyof I["message"]["trackPublished"]["track"], keyof TrackInfo>]: never; }) | undefined;
3782
+ } & { [K_65 in Exclude<keyof I["message"]["trackPublished"], keyof TrackPublishedResponse>]: never; }) | undefined;
3562
3783
  $case: "trackPublished";
3563
- } & { [K_63 in Exclude<keyof I["message"], "trackPublished" | "$case">]: never; }) | ({
3784
+ } & { [K_66 in Exclude<keyof I["message"], "trackPublished" | "$case">]: never; }) | ({
3564
3785
  leave?: {
3565
3786
  canReconnect?: boolean | undefined;
3566
3787
  reason?: DisconnectReason | undefined;
@@ -3574,9 +3795,9 @@ export declare const SignalResponse: {
3574
3795
  } & {
3575
3796
  canReconnect?: boolean | undefined;
3576
3797
  reason?: DisconnectReason | undefined;
3577
- } & { [K_64 in Exclude<keyof I["message"]["leave"], keyof LeaveRequest>]: never; }) | undefined;
3798
+ } & { [K_67 in Exclude<keyof I["message"]["leave"], keyof LeaveRequest>]: never; }) | undefined;
3578
3799
  $case: "leave";
3579
- } & { [K_65 in Exclude<keyof I["message"], "leave" | "$case">]: never; }) | ({
3800
+ } & { [K_68 in Exclude<keyof I["message"], "leave" | "$case">]: never; }) | ({
3580
3801
  mute?: {
3581
3802
  sid?: string | undefined;
3582
3803
  muted?: boolean | undefined;
@@ -3590,9 +3811,9 @@ export declare const SignalResponse: {
3590
3811
  } & {
3591
3812
  sid?: string | undefined;
3592
3813
  muted?: boolean | undefined;
3593
- } & { [K_66 in Exclude<keyof I["message"]["mute"], keyof MuteTrackRequest>]: never; }) | undefined;
3814
+ } & { [K_69 in Exclude<keyof I["message"]["mute"], keyof MuteTrackRequest>]: never; }) | undefined;
3594
3815
  $case: "mute";
3595
- } & { [K_67 in Exclude<keyof I["message"], "mute" | "$case">]: never; }) | ({
3816
+ } & { [K_70 in Exclude<keyof I["message"], "mute" | "$case">]: never; }) | ({
3596
3817
  speakersChanged?: {
3597
3818
  speakers?: {
3598
3819
  sid?: string | undefined;
@@ -3622,14 +3843,14 @@ export declare const SignalResponse: {
3622
3843
  sid?: string | undefined;
3623
3844
  level?: number | undefined;
3624
3845
  active?: boolean | undefined;
3625
- } & { [K_68 in Exclude<keyof I["message"]["speakersChanged"]["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_69 in Exclude<keyof I["message"]["speakersChanged"]["speakers"], keyof {
3846
+ } & { [K_71 in Exclude<keyof I["message"]["speakersChanged"]["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_72 in Exclude<keyof I["message"]["speakersChanged"]["speakers"], keyof {
3626
3847
  sid?: string | undefined;
3627
3848
  level?: number | undefined;
3628
3849
  active?: boolean | undefined;
3629
3850
  }[]>]: never; }) | undefined;
3630
- } & { [K_70 in Exclude<keyof I["message"]["speakersChanged"], "speakers">]: never; }) | undefined;
3851
+ } & { [K_73 in Exclude<keyof I["message"]["speakersChanged"], "speakers">]: never; }) | undefined;
3631
3852
  $case: "speakersChanged";
3632
- } & { [K_71 in Exclude<keyof I["message"], "speakersChanged" | "$case">]: never; }) | ({
3853
+ } & { [K_74 in Exclude<keyof I["message"], "speakersChanged" | "$case">]: never; }) | ({
3633
3854
  roomUpdate?: {
3634
3855
  room?: {
3635
3856
  sid?: string | undefined;
@@ -3697,17 +3918,17 @@ export declare const SignalResponse: {
3697
3918
  } & {
3698
3919
  mime?: string | undefined;
3699
3920
  fmtpLine?: string | undefined;
3700
- } & { [K_72 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_73 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"], keyof {
3921
+ } & { [K_75 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_76 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"], keyof {
3701
3922
  mime?: string | undefined;
3702
3923
  fmtpLine?: string | undefined;
3703
3924
  }[]>]: never; }) | undefined;
3704
3925
  metadata?: string | undefined;
3705
3926
  numParticipants?: number | undefined;
3706
3927
  activeRecording?: boolean | undefined;
3707
- } & { [K_74 in Exclude<keyof I["message"]["roomUpdate"]["room"], keyof Room>]: never; }) | undefined;
3708
- } & { [K_75 in Exclude<keyof I["message"]["roomUpdate"], "room">]: never; }) | undefined;
3928
+ } & { [K_77 in Exclude<keyof I["message"]["roomUpdate"]["room"], keyof Room>]: never; }) | undefined;
3929
+ } & { [K_78 in Exclude<keyof I["message"]["roomUpdate"], "room">]: never; }) | undefined;
3709
3930
  $case: "roomUpdate";
3710
- } & { [K_76 in Exclude<keyof I["message"], "roomUpdate" | "$case">]: never; }) | ({
3931
+ } & { [K_79 in Exclude<keyof I["message"], "roomUpdate" | "$case">]: never; }) | ({
3711
3932
  connectionQuality?: {
3712
3933
  updates?: {
3713
3934
  participantSid?: string | undefined;
@@ -3737,14 +3958,14 @@ export declare const SignalResponse: {
3737
3958
  participantSid?: string | undefined;
3738
3959
  quality?: ConnectionQuality | undefined;
3739
3960
  score?: number | undefined;
3740
- } & { [K_77 in Exclude<keyof I["message"]["connectionQuality"]["updates"][number], keyof ConnectionQualityInfo>]: never; })[] & { [K_78 in Exclude<keyof I["message"]["connectionQuality"]["updates"], keyof {
3961
+ } & { [K_80 in Exclude<keyof I["message"]["connectionQuality"]["updates"][number], keyof ConnectionQualityInfo>]: never; })[] & { [K_81 in Exclude<keyof I["message"]["connectionQuality"]["updates"], keyof {
3741
3962
  participantSid?: string | undefined;
3742
3963
  quality?: ConnectionQuality | undefined;
3743
3964
  score?: number | undefined;
3744
3965
  }[]>]: never; }) | undefined;
3745
- } & { [K_79 in Exclude<keyof I["message"]["connectionQuality"], "updates">]: never; }) | undefined;
3966
+ } & { [K_82 in Exclude<keyof I["message"]["connectionQuality"], "updates">]: never; }) | undefined;
3746
3967
  $case: "connectionQuality";
3747
- } & { [K_80 in Exclude<keyof I["message"], "connectionQuality" | "$case">]: never; }) | ({
3968
+ } & { [K_83 in Exclude<keyof I["message"], "connectionQuality" | "$case">]: never; }) | ({
3748
3969
  streamStateUpdate?: {
3749
3970
  streamStates?: {
3750
3971
  participantSid?: string | undefined;
@@ -3774,14 +3995,14 @@ export declare const SignalResponse: {
3774
3995
  participantSid?: string | undefined;
3775
3996
  trackSid?: string | undefined;
3776
3997
  state?: StreamState | undefined;
3777
- } & { [K_81 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"][number], keyof StreamStateInfo>]: never; })[] & { [K_82 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"], keyof {
3998
+ } & { [K_84 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"][number], keyof StreamStateInfo>]: never; })[] & { [K_85 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"], keyof {
3778
3999
  participantSid?: string | undefined;
3779
4000
  trackSid?: string | undefined;
3780
4001
  state?: StreamState | undefined;
3781
4002
  }[]>]: never; }) | undefined;
3782
- } & { [K_83 in Exclude<keyof I["message"]["streamStateUpdate"], "streamStates">]: never; }) | undefined;
4003
+ } & { [K_86 in Exclude<keyof I["message"]["streamStateUpdate"], "streamStates">]: never; }) | undefined;
3783
4004
  $case: "streamStateUpdate";
3784
- } & { [K_84 in Exclude<keyof I["message"], "streamStateUpdate" | "$case">]: never; }) | ({
4005
+ } & { [K_87 in Exclude<keyof I["message"], "streamStateUpdate" | "$case">]: never; }) | ({
3785
4006
  subscribedQualityUpdate?: {
3786
4007
  trackSid?: string | undefined;
3787
4008
  subscribedQualities?: {
@@ -3823,7 +4044,7 @@ export declare const SignalResponse: {
3823
4044
  } & {
3824
4045
  quality?: VideoQuality | undefined;
3825
4046
  enabled?: boolean | undefined;
3826
- } & { [K_85 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"][number], keyof SubscribedQuality>]: never; })[] & { [K_86 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"], keyof {
4047
+ } & { [K_88 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"][number], keyof SubscribedQuality>]: never; })[] & { [K_89 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"], keyof {
3827
4048
  quality?: VideoQuality | undefined;
3828
4049
  enabled?: boolean | undefined;
3829
4050
  }[]>]: never; }) | undefined;
@@ -3850,20 +4071,20 @@ export declare const SignalResponse: {
3850
4071
  } & {
3851
4072
  quality?: VideoQuality | undefined;
3852
4073
  enabled?: boolean | undefined;
3853
- } & { [K_87 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"][number], keyof SubscribedQuality>]: never; })[] & { [K_88 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"], keyof {
4074
+ } & { [K_90 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"][number], keyof SubscribedQuality>]: never; })[] & { [K_91 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"], keyof {
3854
4075
  quality?: VideoQuality | undefined;
3855
4076
  enabled?: boolean | undefined;
3856
4077
  }[]>]: never; }) | undefined;
3857
- } & { [K_89 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number], keyof SubscribedCodec>]: never; })[] & { [K_90 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"], keyof {
4078
+ } & { [K_92 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number], keyof SubscribedCodec>]: never; })[] & { [K_93 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"], keyof {
3858
4079
  codec?: string | undefined;
3859
4080
  qualities?: {
3860
4081
  quality?: VideoQuality | undefined;
3861
4082
  enabled?: boolean | undefined;
3862
4083
  }[] | undefined;
3863
4084
  }[]>]: never; }) | undefined;
3864
- } & { [K_91 in Exclude<keyof I["message"]["subscribedQualityUpdate"], keyof SubscribedQualityUpdate>]: never; }) | undefined;
4085
+ } & { [K_94 in Exclude<keyof I["message"]["subscribedQualityUpdate"], keyof SubscribedQualityUpdate>]: never; }) | undefined;
3865
4086
  $case: "subscribedQualityUpdate";
3866
- } & { [K_92 in Exclude<keyof I["message"], "subscribedQualityUpdate" | "$case">]: never; }) | ({
4087
+ } & { [K_95 in Exclude<keyof I["message"], "subscribedQualityUpdate" | "$case">]: never; }) | ({
3867
4088
  subscriptionPermissionUpdate?: {
3868
4089
  participantSid?: string | undefined;
3869
4090
  trackSid?: string | undefined;
@@ -3880,16 +4101,16 @@ export declare const SignalResponse: {
3880
4101
  participantSid?: string | undefined;
3881
4102
  trackSid?: string | undefined;
3882
4103
  allowed?: boolean | undefined;
3883
- } & { [K_93 in Exclude<keyof I["message"]["subscriptionPermissionUpdate"], keyof SubscriptionPermissionUpdate>]: never; }) | undefined;
4104
+ } & { [K_96 in Exclude<keyof I["message"]["subscriptionPermissionUpdate"], keyof SubscriptionPermissionUpdate>]: never; }) | undefined;
3884
4105
  $case: "subscriptionPermissionUpdate";
3885
- } & { [K_94 in Exclude<keyof I["message"], "subscriptionPermissionUpdate" | "$case">]: never; }) | ({
4106
+ } & { [K_97 in Exclude<keyof I["message"], "subscriptionPermissionUpdate" | "$case">]: never; }) | ({
3886
4107
  refreshToken?: string | undefined;
3887
4108
  } & {
3888
4109
  $case: "refreshToken";
3889
4110
  } & {
3890
4111
  refreshToken?: string | undefined;
3891
4112
  $case: "refreshToken";
3892
- } & { [K_95 in Exclude<keyof I["message"], "refreshToken" | "$case">]: never; }) | ({
4113
+ } & { [K_98 in Exclude<keyof I["message"], "refreshToken" | "$case">]: never; }) | ({
3893
4114
  trackUnpublished?: {
3894
4115
  trackSid?: string | undefined;
3895
4116
  } | undefined;
@@ -3900,17 +4121,135 @@ export declare const SignalResponse: {
3900
4121
  trackSid?: string | undefined;
3901
4122
  } & {
3902
4123
  trackSid?: string | undefined;
3903
- } & { [K_96 in Exclude<keyof I["message"]["trackUnpublished"], "trackSid">]: never; }) | undefined;
4124
+ } & { [K_99 in Exclude<keyof I["message"]["trackUnpublished"], "trackSid">]: never; }) | undefined;
3904
4125
  $case: "trackUnpublished";
3905
- } & { [K_97 in Exclude<keyof I["message"], "trackUnpublished" | "$case">]: never; }) | ({
4126
+ } & { [K_100 in Exclude<keyof I["message"], "trackUnpublished" | "$case">]: never; }) | ({
3906
4127
  pong?: number | undefined;
3907
4128
  } & {
3908
4129
  $case: "pong";
3909
4130
  } & {
3910
4131
  pong?: number | undefined;
3911
4132
  $case: "pong";
3912
- } & { [K_98 in Exclude<keyof I["message"], "pong" | "$case">]: never; }) | undefined;
3913
- } & { [K_99 in Exclude<keyof I, "message">]: never; }>(object: I): SignalResponse;
4133
+ } & { [K_101 in Exclude<keyof I["message"], "pong" | "$case">]: never; }) | ({
4134
+ reconnect?: {
4135
+ iceServers?: {
4136
+ urls?: string[] | undefined;
4137
+ username?: string | undefined;
4138
+ credential?: string | undefined;
4139
+ }[] | undefined;
4140
+ clientConfiguration?: {
4141
+ video?: {
4142
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4143
+ } | undefined;
4144
+ screen?: {
4145
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4146
+ } | undefined;
4147
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4148
+ disabledCodecs?: {
4149
+ codecs?: {
4150
+ mime?: string | undefined;
4151
+ fmtpLine?: string | undefined;
4152
+ }[] | undefined;
4153
+ } | undefined;
4154
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4155
+ } | undefined;
4156
+ } | undefined;
4157
+ } & {
4158
+ $case: "reconnect";
4159
+ } & {
4160
+ reconnect?: ({
4161
+ iceServers?: {
4162
+ urls?: string[] | undefined;
4163
+ username?: string | undefined;
4164
+ credential?: string | undefined;
4165
+ }[] | undefined;
4166
+ clientConfiguration?: {
4167
+ video?: {
4168
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4169
+ } | undefined;
4170
+ screen?: {
4171
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4172
+ } | undefined;
4173
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4174
+ disabledCodecs?: {
4175
+ codecs?: {
4176
+ mime?: string | undefined;
4177
+ fmtpLine?: string | undefined;
4178
+ }[] | undefined;
4179
+ } | undefined;
4180
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4181
+ } | undefined;
4182
+ } & {
4183
+ iceServers?: ({
4184
+ urls?: string[] | undefined;
4185
+ username?: string | undefined;
4186
+ credential?: string | undefined;
4187
+ }[] & ({
4188
+ urls?: string[] | undefined;
4189
+ username?: string | undefined;
4190
+ credential?: string | undefined;
4191
+ } & {
4192
+ urls?: (string[] & string[] & { [K_102 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
4193
+ username?: string | undefined;
4194
+ credential?: string | undefined;
4195
+ } & { [K_103 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_104 in Exclude<keyof I["message"]["reconnect"]["iceServers"], keyof {
4196
+ urls?: string[] | undefined;
4197
+ username?: string | undefined;
4198
+ credential?: string | undefined;
4199
+ }[]>]: never; }) | undefined;
4200
+ clientConfiguration?: ({
4201
+ video?: {
4202
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4203
+ } | undefined;
4204
+ screen?: {
4205
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4206
+ } | undefined;
4207
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4208
+ disabledCodecs?: {
4209
+ codecs?: {
4210
+ mime?: string | undefined;
4211
+ fmtpLine?: string | undefined;
4212
+ }[] | undefined;
4213
+ } | undefined;
4214
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4215
+ } & {
4216
+ video?: ({
4217
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4218
+ } & {
4219
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4220
+ } & { [K_105 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
4221
+ screen?: ({
4222
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4223
+ } & {
4224
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4225
+ } & { [K_106 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
4226
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4227
+ disabledCodecs?: ({
4228
+ codecs?: {
4229
+ mime?: string | undefined;
4230
+ fmtpLine?: string | undefined;
4231
+ }[] | undefined;
4232
+ } & {
4233
+ codecs?: ({
4234
+ mime?: string | undefined;
4235
+ fmtpLine?: string | undefined;
4236
+ }[] & ({
4237
+ mime?: string | undefined;
4238
+ fmtpLine?: string | undefined;
4239
+ } & {
4240
+ mime?: string | undefined;
4241
+ fmtpLine?: string | undefined;
4242
+ } & { [K_107 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_108 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
4243
+ mime?: string | undefined;
4244
+ fmtpLine?: string | undefined;
4245
+ }[]>]: never; }) | undefined;
4246
+ } & { [K_109 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
4247
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4248
+ } & { [K_110 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
4249
+ } & { [K_111 in Exclude<keyof I["message"]["reconnect"], keyof ReconnectResponse>]: never; }) | undefined;
4250
+ $case: "reconnect";
4251
+ } & { [K_112 in Exclude<keyof I["message"], "reconnect" | "$case">]: never; }) | undefined;
4252
+ } & { [K_113 in Exclude<keyof I, "message">]: never; }>(object: I): SignalResponse;
3914
4253
  };
3915
4254
  export declare const SimulcastCodec: {
3916
4255
  encode(message: SimulcastCodec, writer?: _m0.Writer): _m0.Writer;
@@ -3956,6 +4295,7 @@ export declare const AddTrackRequest: {
3956
4295
  sid?: string | undefined;
3957
4296
  stereo?: boolean | undefined;
3958
4297
  disableRed?: boolean | undefined;
4298
+ encryption?: Encryption_Type | undefined;
3959
4299
  } & {
3960
4300
  cid?: string | undefined;
3961
4301
  name?: string | undefined;
@@ -4010,6 +4350,7 @@ export declare const AddTrackRequest: {
4010
4350
  sid?: string | undefined;
4011
4351
  stereo?: boolean | undefined;
4012
4352
  disableRed?: boolean | undefined;
4353
+ encryption?: Encryption_Type | undefined;
4013
4354
  } & { [K_4 in Exclude<keyof I, keyof AddTrackRequest>]: never; }>(object: I): AddTrackRequest;
4014
4355
  };
4015
4356
  export declare const TrickleRequest: {
@@ -4094,6 +4435,9 @@ export declare const JoinResponse: {
4094
4435
  ssrc?: number | undefined;
4095
4436
  }[] | undefined;
4096
4437
  }[] | undefined;
4438
+ stereo?: boolean | undefined;
4439
+ disableRed?: boolean | undefined;
4440
+ encryption?: Encryption_Type | undefined;
4097
4441
  }[] | undefined;
4098
4442
  metadata?: string | undefined;
4099
4443
  joinedAt?: number | undefined;
@@ -4103,6 +4447,7 @@ export declare const JoinResponse: {
4103
4447
  canSubscribe?: boolean | undefined;
4104
4448
  canPublish?: boolean | undefined;
4105
4449
  canPublishData?: boolean | undefined;
4450
+ canPublishSources?: TrackSource[] | undefined;
4106
4451
  hidden?: boolean | undefined;
4107
4452
  recorder?: boolean | undefined;
4108
4453
  } | undefined;
@@ -4144,6 +4489,9 @@ export declare const JoinResponse: {
4144
4489
  ssrc?: number | undefined;
4145
4490
  }[] | undefined;
4146
4491
  }[] | undefined;
4492
+ stereo?: boolean | undefined;
4493
+ disableRed?: boolean | undefined;
4494
+ encryption?: Encryption_Type | undefined;
4147
4495
  }[] | undefined;
4148
4496
  metadata?: string | undefined;
4149
4497
  joinedAt?: number | undefined;
@@ -4153,6 +4501,7 @@ export declare const JoinResponse: {
4153
4501
  canSubscribe?: boolean | undefined;
4154
4502
  canPublish?: boolean | undefined;
4155
4503
  canPublishData?: boolean | undefined;
4504
+ canPublishSources?: TrackSource[] | undefined;
4156
4505
  hidden?: boolean | undefined;
4157
4506
  recorder?: boolean | undefined;
4158
4507
  } | undefined;
@@ -4268,6 +4617,9 @@ export declare const JoinResponse: {
4268
4617
  ssrc?: number | undefined;
4269
4618
  }[] | undefined;
4270
4619
  }[] | undefined;
4620
+ stereo?: boolean | undefined;
4621
+ disableRed?: boolean | undefined;
4622
+ encryption?: Encryption_Type | undefined;
4271
4623
  }[] | undefined;
4272
4624
  metadata?: string | undefined;
4273
4625
  joinedAt?: number | undefined;
@@ -4277,6 +4629,7 @@ export declare const JoinResponse: {
4277
4629
  canSubscribe?: boolean | undefined;
4278
4630
  canPublish?: boolean | undefined;
4279
4631
  canPublishData?: boolean | undefined;
4632
+ canPublishSources?: TrackSource[] | undefined;
4280
4633
  hidden?: boolean | undefined;
4281
4634
  recorder?: boolean | undefined;
4282
4635
  } | undefined;
@@ -4317,6 +4670,9 @@ export declare const JoinResponse: {
4317
4670
  ssrc?: number | undefined;
4318
4671
  }[] | undefined;
4319
4672
  }[] | undefined;
4673
+ stereo?: boolean | undefined;
4674
+ disableRed?: boolean | undefined;
4675
+ encryption?: Encryption_Type | undefined;
4320
4676
  }[] & ({
4321
4677
  sid?: string | undefined;
4322
4678
  type?: TrackType | undefined;
@@ -4348,6 +4704,9 @@ export declare const JoinResponse: {
4348
4704
  ssrc?: number | undefined;
4349
4705
  }[] | undefined;
4350
4706
  }[] | undefined;
4707
+ stereo?: boolean | undefined;
4708
+ disableRed?: boolean | undefined;
4709
+ encryption?: Encryption_Type | undefined;
4351
4710
  } & {
4352
4711
  sid?: string | undefined;
4353
4712
  type?: TrackType | undefined;
@@ -4448,6 +4807,9 @@ export declare const JoinResponse: {
4448
4807
  ssrc?: number | undefined;
4449
4808
  }[] | undefined;
4450
4809
  }[]>]: never; }) | undefined;
4810
+ stereo?: boolean | undefined;
4811
+ disableRed?: boolean | undefined;
4812
+ encryption?: Encryption_Type | undefined;
4451
4813
  } & { [K_9 in Exclude<keyof I["participant"]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_10 in Exclude<keyof I["participant"]["tracks"], keyof {
4452
4814
  sid?: string | undefined;
4453
4815
  type?: TrackType | undefined;
@@ -4479,6 +4841,9 @@ export declare const JoinResponse: {
4479
4841
  ssrc?: number | undefined;
4480
4842
  }[] | undefined;
4481
4843
  }[] | undefined;
4844
+ stereo?: boolean | undefined;
4845
+ disableRed?: boolean | undefined;
4846
+ encryption?: Encryption_Type | undefined;
4482
4847
  }[]>]: never; }) | undefined;
4483
4848
  metadata?: string | undefined;
4484
4849
  joinedAt?: number | undefined;
@@ -4488,18 +4853,20 @@ export declare const JoinResponse: {
4488
4853
  canSubscribe?: boolean | undefined;
4489
4854
  canPublish?: boolean | undefined;
4490
4855
  canPublishData?: boolean | undefined;
4856
+ canPublishSources?: TrackSource[] | undefined;
4491
4857
  hidden?: boolean | undefined;
4492
4858
  recorder?: boolean | undefined;
4493
4859
  } & {
4494
4860
  canSubscribe?: boolean | undefined;
4495
4861
  canPublish?: boolean | undefined;
4496
4862
  canPublishData?: boolean | undefined;
4863
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_11 in Exclude<keyof I["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
4497
4864
  hidden?: boolean | undefined;
4498
4865
  recorder?: boolean | undefined;
4499
- } & { [K_11 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
4866
+ } & { [K_12 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
4500
4867
  region?: string | undefined;
4501
4868
  isPublisher?: boolean | undefined;
4502
- } & { [K_12 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never; }) | undefined;
4869
+ } & { [K_13 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never; }) | undefined;
4503
4870
  otherParticipants?: ({
4504
4871
  sid?: string | undefined;
4505
4872
  identity?: string | undefined;
@@ -4535,6 +4902,9 @@ export declare const JoinResponse: {
4535
4902
  ssrc?: number | undefined;
4536
4903
  }[] | undefined;
4537
4904
  }[] | undefined;
4905
+ stereo?: boolean | undefined;
4906
+ disableRed?: boolean | undefined;
4907
+ encryption?: Encryption_Type | undefined;
4538
4908
  }[] | undefined;
4539
4909
  metadata?: string | undefined;
4540
4910
  joinedAt?: number | undefined;
@@ -4544,6 +4914,7 @@ export declare const JoinResponse: {
4544
4914
  canSubscribe?: boolean | undefined;
4545
4915
  canPublish?: boolean | undefined;
4546
4916
  canPublishData?: boolean | undefined;
4917
+ canPublishSources?: TrackSource[] | undefined;
4547
4918
  hidden?: boolean | undefined;
4548
4919
  recorder?: boolean | undefined;
4549
4920
  } | undefined;
@@ -4584,6 +4955,9 @@ export declare const JoinResponse: {
4584
4955
  ssrc?: number | undefined;
4585
4956
  }[] | undefined;
4586
4957
  }[] | undefined;
4958
+ stereo?: boolean | undefined;
4959
+ disableRed?: boolean | undefined;
4960
+ encryption?: Encryption_Type | undefined;
4587
4961
  }[] | undefined;
4588
4962
  metadata?: string | undefined;
4589
4963
  joinedAt?: number | undefined;
@@ -4593,6 +4967,7 @@ export declare const JoinResponse: {
4593
4967
  canSubscribe?: boolean | undefined;
4594
4968
  canPublish?: boolean | undefined;
4595
4969
  canPublishData?: boolean | undefined;
4970
+ canPublishSources?: TrackSource[] | undefined;
4596
4971
  hidden?: boolean | undefined;
4597
4972
  recorder?: boolean | undefined;
4598
4973
  } | undefined;
@@ -4633,6 +5008,9 @@ export declare const JoinResponse: {
4633
5008
  ssrc?: number | undefined;
4634
5009
  }[] | undefined;
4635
5010
  }[] | undefined;
5011
+ stereo?: boolean | undefined;
5012
+ disableRed?: boolean | undefined;
5013
+ encryption?: Encryption_Type | undefined;
4636
5014
  }[] & ({
4637
5015
  sid?: string | undefined;
4638
5016
  type?: TrackType | undefined;
@@ -4664,6 +5042,9 @@ export declare const JoinResponse: {
4664
5042
  ssrc?: number | undefined;
4665
5043
  }[] | undefined;
4666
5044
  }[] | undefined;
5045
+ stereo?: boolean | undefined;
5046
+ disableRed?: boolean | undefined;
5047
+ encryption?: Encryption_Type | undefined;
4667
5048
  } & {
4668
5049
  sid?: string | undefined;
4669
5050
  type?: TrackType | undefined;
@@ -4692,7 +5073,7 @@ export declare const JoinResponse: {
4692
5073
  height?: number | undefined;
4693
5074
  bitrate?: number | undefined;
4694
5075
  ssrc?: number | undefined;
4695
- } & { [K_13 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_14 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
5076
+ } & { [K_14 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_15 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
4696
5077
  quality?: VideoQuality | undefined;
4697
5078
  width?: number | undefined;
4698
5079
  height?: number | undefined;
@@ -4745,14 +5126,14 @@ export declare const JoinResponse: {
4745
5126
  height?: number | undefined;
4746
5127
  bitrate?: number | undefined;
4747
5128
  ssrc?: number | undefined;
4748
- } & { [K_15 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_16 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
5129
+ } & { [K_16 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_17 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
4749
5130
  quality?: VideoQuality | undefined;
4750
5131
  width?: number | undefined;
4751
5132
  height?: number | undefined;
4752
5133
  bitrate?: number | undefined;
4753
5134
  ssrc?: number | undefined;
4754
5135
  }[]>]: never; }) | undefined;
4755
- } & { [K_17 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_18 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
5136
+ } & { [K_18 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_19 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
4756
5137
  mimeType?: string | undefined;
4757
5138
  mid?: string | undefined;
4758
5139
  cid?: string | undefined;
@@ -4764,7 +5145,10 @@ export declare const JoinResponse: {
4764
5145
  ssrc?: number | undefined;
4765
5146
  }[] | undefined;
4766
5147
  }[]>]: never; }) | undefined;
4767
- } & { [K_19 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_20 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
5148
+ stereo?: boolean | undefined;
5149
+ disableRed?: boolean | undefined;
5150
+ encryption?: Encryption_Type | undefined;
5151
+ } & { [K_20 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_21 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
4768
5152
  sid?: string | undefined;
4769
5153
  type?: TrackType | undefined;
4770
5154
  name?: string | undefined;
@@ -4795,6 +5179,9 @@ export declare const JoinResponse: {
4795
5179
  ssrc?: number | undefined;
4796
5180
  }[] | undefined;
4797
5181
  }[] | undefined;
5182
+ stereo?: boolean | undefined;
5183
+ disableRed?: boolean | undefined;
5184
+ encryption?: Encryption_Type | undefined;
4798
5185
  }[]>]: never; }) | undefined;
4799
5186
  metadata?: string | undefined;
4800
5187
  joinedAt?: number | undefined;
@@ -4804,18 +5191,20 @@ export declare const JoinResponse: {
4804
5191
  canSubscribe?: boolean | undefined;
4805
5192
  canPublish?: boolean | undefined;
4806
5193
  canPublishData?: boolean | undefined;
5194
+ canPublishSources?: TrackSource[] | undefined;
4807
5195
  hidden?: boolean | undefined;
4808
5196
  recorder?: boolean | undefined;
4809
5197
  } & {
4810
5198
  canSubscribe?: boolean | undefined;
4811
5199
  canPublish?: boolean | undefined;
4812
5200
  canPublishData?: boolean | undefined;
5201
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_22 in Exclude<keyof I["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
4813
5202
  hidden?: boolean | undefined;
4814
5203
  recorder?: boolean | undefined;
4815
- } & { [K_21 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
5204
+ } & { [K_23 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
4816
5205
  region?: string | undefined;
4817
5206
  isPublisher?: boolean | undefined;
4818
- } & { [K_22 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never; })[] & { [K_23 in Exclude<keyof I["otherParticipants"], keyof {
5207
+ } & { [K_24 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never; })[] & { [K_25 in Exclude<keyof I["otherParticipants"], keyof {
4819
5208
  sid?: string | undefined;
4820
5209
  identity?: string | undefined;
4821
5210
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -4850,6 +5239,9 @@ export declare const JoinResponse: {
4850
5239
  ssrc?: number | undefined;
4851
5240
  }[] | undefined;
4852
5241
  }[] | undefined;
5242
+ stereo?: boolean | undefined;
5243
+ disableRed?: boolean | undefined;
5244
+ encryption?: Encryption_Type | undefined;
4853
5245
  }[] | undefined;
4854
5246
  metadata?: string | undefined;
4855
5247
  joinedAt?: number | undefined;
@@ -4859,6 +5251,7 @@ export declare const JoinResponse: {
4859
5251
  canSubscribe?: boolean | undefined;
4860
5252
  canPublish?: boolean | undefined;
4861
5253
  canPublishData?: boolean | undefined;
5254
+ canPublishSources?: TrackSource[] | undefined;
4862
5255
  hidden?: boolean | undefined;
4863
5256
  recorder?: boolean | undefined;
4864
5257
  } | undefined;
@@ -4875,10 +5268,10 @@ export declare const JoinResponse: {
4875
5268
  username?: string | undefined;
4876
5269
  credential?: string | undefined;
4877
5270
  } & {
4878
- urls?: (string[] & string[] & { [K_24 in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
5271
+ urls?: (string[] & string[] & { [K_26 in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
4879
5272
  username?: string | undefined;
4880
5273
  credential?: string | undefined;
4881
- } & { [K_25 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_26 in Exclude<keyof I["iceServers"], keyof {
5274
+ } & { [K_27 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_28 in Exclude<keyof I["iceServers"], keyof {
4882
5275
  urls?: string[] | undefined;
4883
5276
  username?: string | undefined;
4884
5277
  credential?: string | undefined;
@@ -4905,12 +5298,12 @@ export declare const JoinResponse: {
4905
5298
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4906
5299
  } & {
4907
5300
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4908
- } & { [K_27 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
5301
+ } & { [K_29 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
4909
5302
  screen?: ({
4910
5303
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4911
5304
  } & {
4912
5305
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4913
- } & { [K_28 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
5306
+ } & { [K_30 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
4914
5307
  resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4915
5308
  disabledCodecs?: ({
4916
5309
  codecs?: {
@@ -4927,13 +5320,13 @@ export declare const JoinResponse: {
4927
5320
  } & {
4928
5321
  mime?: string | undefined;
4929
5322
  fmtpLine?: string | undefined;
4930
- } & { [K_29 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_30 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
5323
+ } & { [K_31 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_32 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
4931
5324
  mime?: string | undefined;
4932
5325
  fmtpLine?: string | undefined;
4933
5326
  }[]>]: never; }) | undefined;
4934
- } & { [K_31 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
5327
+ } & { [K_33 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
4935
5328
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4936
- } & { [K_32 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
5329
+ } & { [K_34 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
4937
5330
  serverRegion?: string | undefined;
4938
5331
  pingTimeout?: number | undefined;
4939
5332
  pingInterval?: number | undefined;
@@ -4951,8 +5344,104 @@ export declare const JoinResponse: {
4951
5344
  region?: string | undefined;
4952
5345
  nodeId?: string | undefined;
4953
5346
  debugInfo?: string | undefined;
4954
- } & { [K_33 in Exclude<keyof I["serverInfo"], keyof ServerInfo>]: never; }) | undefined;
4955
- } & { [K_34 in Exclude<keyof I, keyof JoinResponse>]: never; }>(object: I): JoinResponse;
5347
+ } & { [K_35 in Exclude<keyof I["serverInfo"], keyof ServerInfo>]: never; }) | undefined;
5348
+ } & { [K_36 in Exclude<keyof I, keyof JoinResponse>]: never; }>(object: I): JoinResponse;
5349
+ };
5350
+ export declare const ReconnectResponse: {
5351
+ encode(message: ReconnectResponse, writer?: _m0.Writer): _m0.Writer;
5352
+ decode(input: _m0.Reader | Uint8Array, length?: number): ReconnectResponse;
5353
+ fromJSON(object: any): ReconnectResponse;
5354
+ toJSON(message: ReconnectResponse): unknown;
5355
+ fromPartial<I extends {
5356
+ iceServers?: {
5357
+ urls?: string[] | undefined;
5358
+ username?: string | undefined;
5359
+ credential?: string | undefined;
5360
+ }[] | undefined;
5361
+ clientConfiguration?: {
5362
+ video?: {
5363
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5364
+ } | undefined;
5365
+ screen?: {
5366
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5367
+ } | undefined;
5368
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5369
+ disabledCodecs?: {
5370
+ codecs?: {
5371
+ mime?: string | undefined;
5372
+ fmtpLine?: string | undefined;
5373
+ }[] | undefined;
5374
+ } | undefined;
5375
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5376
+ } | undefined;
5377
+ } & {
5378
+ iceServers?: ({
5379
+ urls?: string[] | undefined;
5380
+ username?: string | undefined;
5381
+ credential?: string | undefined;
5382
+ }[] & ({
5383
+ urls?: string[] | undefined;
5384
+ username?: string | undefined;
5385
+ credential?: string | undefined;
5386
+ } & {
5387
+ urls?: (string[] & string[] & { [K in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
5388
+ username?: string | undefined;
5389
+ credential?: string | undefined;
5390
+ } & { [K_1 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_2 in Exclude<keyof I["iceServers"], keyof {
5391
+ urls?: string[] | undefined;
5392
+ username?: string | undefined;
5393
+ credential?: string | undefined;
5394
+ }[]>]: never; }) | undefined;
5395
+ clientConfiguration?: ({
5396
+ video?: {
5397
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5398
+ } | undefined;
5399
+ screen?: {
5400
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5401
+ } | undefined;
5402
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5403
+ disabledCodecs?: {
5404
+ codecs?: {
5405
+ mime?: string | undefined;
5406
+ fmtpLine?: string | undefined;
5407
+ }[] | undefined;
5408
+ } | undefined;
5409
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5410
+ } & {
5411
+ video?: ({
5412
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5413
+ } & {
5414
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5415
+ } & { [K_3 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
5416
+ screen?: ({
5417
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5418
+ } & {
5419
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5420
+ } & { [K_4 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
5421
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5422
+ disabledCodecs?: ({
5423
+ codecs?: {
5424
+ mime?: string | undefined;
5425
+ fmtpLine?: string | undefined;
5426
+ }[] | undefined;
5427
+ } & {
5428
+ codecs?: ({
5429
+ mime?: string | undefined;
5430
+ fmtpLine?: string | undefined;
5431
+ }[] & ({
5432
+ mime?: string | undefined;
5433
+ fmtpLine?: string | undefined;
5434
+ } & {
5435
+ mime?: string | undefined;
5436
+ fmtpLine?: string | undefined;
5437
+ } & { [K_5 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_6 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
5438
+ mime?: string | undefined;
5439
+ fmtpLine?: string | undefined;
5440
+ }[]>]: never; }) | undefined;
5441
+ } & { [K_7 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
5442
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5443
+ } & { [K_8 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
5444
+ } & { [K_9 in Exclude<keyof I, keyof ReconnectResponse>]: never; }>(object: I): ReconnectResponse;
4956
5445
  };
4957
5446
  export declare const TrackPublishedResponse: {
4958
5447
  encode(message: TrackPublishedResponse, writer?: _m0.Writer): _m0.Writer;
@@ -4992,6 +5481,9 @@ export declare const TrackPublishedResponse: {
4992
5481
  ssrc?: number | undefined;
4993
5482
  }[] | undefined;
4994
5483
  }[] | undefined;
5484
+ stereo?: boolean | undefined;
5485
+ disableRed?: boolean | undefined;
5486
+ encryption?: Encryption_Type | undefined;
4995
5487
  } | undefined;
4996
5488
  } & {
4997
5489
  cid?: string | undefined;
@@ -5026,6 +5518,9 @@ export declare const TrackPublishedResponse: {
5026
5518
  ssrc?: number | undefined;
5027
5519
  }[] | undefined;
5028
5520
  }[] | undefined;
5521
+ stereo?: boolean | undefined;
5522
+ disableRed?: boolean | undefined;
5523
+ encryption?: Encryption_Type | undefined;
5029
5524
  } & {
5030
5525
  sid?: string | undefined;
5031
5526
  type?: TrackType | undefined;
@@ -5126,6 +5621,9 @@ export declare const TrackPublishedResponse: {
5126
5621
  ssrc?: number | undefined;
5127
5622
  }[] | undefined;
5128
5623
  }[]>]: never; }) | undefined;
5624
+ stereo?: boolean | undefined;
5625
+ disableRed?: boolean | undefined;
5626
+ encryption?: Encryption_Type | undefined;
5129
5627
  } & { [K_6 in Exclude<keyof I["track"], keyof TrackInfo>]: never; }) | undefined;
5130
5628
  } & { [K_7 in Exclude<keyof I, keyof TrackPublishedResponse>]: never; }>(object: I): TrackPublishedResponse;
5131
5629
  };
@@ -5194,6 +5692,9 @@ export declare const ParticipantUpdate: {
5194
5692
  ssrc?: number | undefined;
5195
5693
  }[] | undefined;
5196
5694
  }[] | undefined;
5695
+ stereo?: boolean | undefined;
5696
+ disableRed?: boolean | undefined;
5697
+ encryption?: Encryption_Type | undefined;
5197
5698
  }[] | undefined;
5198
5699
  metadata?: string | undefined;
5199
5700
  joinedAt?: number | undefined;
@@ -5203,6 +5704,7 @@ export declare const ParticipantUpdate: {
5203
5704
  canSubscribe?: boolean | undefined;
5204
5705
  canPublish?: boolean | undefined;
5205
5706
  canPublishData?: boolean | undefined;
5707
+ canPublishSources?: TrackSource[] | undefined;
5206
5708
  hidden?: boolean | undefined;
5207
5709
  recorder?: boolean | undefined;
5208
5710
  } | undefined;
@@ -5245,6 +5747,9 @@ export declare const ParticipantUpdate: {
5245
5747
  ssrc?: number | undefined;
5246
5748
  }[] | undefined;
5247
5749
  }[] | undefined;
5750
+ stereo?: boolean | undefined;
5751
+ disableRed?: boolean | undefined;
5752
+ encryption?: Encryption_Type | undefined;
5248
5753
  }[] | undefined;
5249
5754
  metadata?: string | undefined;
5250
5755
  joinedAt?: number | undefined;
@@ -5254,6 +5759,7 @@ export declare const ParticipantUpdate: {
5254
5759
  canSubscribe?: boolean | undefined;
5255
5760
  canPublish?: boolean | undefined;
5256
5761
  canPublishData?: boolean | undefined;
5762
+ canPublishSources?: TrackSource[] | undefined;
5257
5763
  hidden?: boolean | undefined;
5258
5764
  recorder?: boolean | undefined;
5259
5765
  } | undefined;
@@ -5294,6 +5800,9 @@ export declare const ParticipantUpdate: {
5294
5800
  ssrc?: number | undefined;
5295
5801
  }[] | undefined;
5296
5802
  }[] | undefined;
5803
+ stereo?: boolean | undefined;
5804
+ disableRed?: boolean | undefined;
5805
+ encryption?: Encryption_Type | undefined;
5297
5806
  }[] | undefined;
5298
5807
  metadata?: string | undefined;
5299
5808
  joinedAt?: number | undefined;
@@ -5303,6 +5812,7 @@ export declare const ParticipantUpdate: {
5303
5812
  canSubscribe?: boolean | undefined;
5304
5813
  canPublish?: boolean | undefined;
5305
5814
  canPublishData?: boolean | undefined;
5815
+ canPublishSources?: TrackSource[] | undefined;
5306
5816
  hidden?: boolean | undefined;
5307
5817
  recorder?: boolean | undefined;
5308
5818
  } | undefined;
@@ -5343,6 +5853,9 @@ export declare const ParticipantUpdate: {
5343
5853
  ssrc?: number | undefined;
5344
5854
  }[] | undefined;
5345
5855
  }[] | undefined;
5856
+ stereo?: boolean | undefined;
5857
+ disableRed?: boolean | undefined;
5858
+ encryption?: Encryption_Type | undefined;
5346
5859
  }[] & ({
5347
5860
  sid?: string | undefined;
5348
5861
  type?: TrackType | undefined;
@@ -5374,6 +5887,9 @@ export declare const ParticipantUpdate: {
5374
5887
  ssrc?: number | undefined;
5375
5888
  }[] | undefined;
5376
5889
  }[] | undefined;
5890
+ stereo?: boolean | undefined;
5891
+ disableRed?: boolean | undefined;
5892
+ encryption?: Encryption_Type | undefined;
5377
5893
  } & {
5378
5894
  sid?: string | undefined;
5379
5895
  type?: TrackType | undefined;
@@ -5474,6 +5990,9 @@ export declare const ParticipantUpdate: {
5474
5990
  ssrc?: number | undefined;
5475
5991
  }[] | undefined;
5476
5992
  }[]>]: never; }) | undefined;
5993
+ stereo?: boolean | undefined;
5994
+ disableRed?: boolean | undefined;
5995
+ encryption?: Encryption_Type | undefined;
5477
5996
  } & { [K_6 in Exclude<keyof I["participants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_7 in Exclude<keyof I["participants"][number]["tracks"], keyof {
5478
5997
  sid?: string | undefined;
5479
5998
  type?: TrackType | undefined;
@@ -5505,6 +6024,9 @@ export declare const ParticipantUpdate: {
5505
6024
  ssrc?: number | undefined;
5506
6025
  }[] | undefined;
5507
6026
  }[] | undefined;
6027
+ stereo?: boolean | undefined;
6028
+ disableRed?: boolean | undefined;
6029
+ encryption?: Encryption_Type | undefined;
5508
6030
  }[]>]: never; }) | undefined;
5509
6031
  metadata?: string | undefined;
5510
6032
  joinedAt?: number | undefined;
@@ -5514,18 +6036,20 @@ export declare const ParticipantUpdate: {
5514
6036
  canSubscribe?: boolean | undefined;
5515
6037
  canPublish?: boolean | undefined;
5516
6038
  canPublishData?: boolean | undefined;
6039
+ canPublishSources?: TrackSource[] | undefined;
5517
6040
  hidden?: boolean | undefined;
5518
6041
  recorder?: boolean | undefined;
5519
6042
  } & {
5520
6043
  canSubscribe?: boolean | undefined;
5521
6044
  canPublish?: boolean | undefined;
5522
6045
  canPublishData?: boolean | undefined;
6046
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_8 in Exclude<keyof I["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
5523
6047
  hidden?: boolean | undefined;
5524
6048
  recorder?: boolean | undefined;
5525
- } & { [K_8 in Exclude<keyof I["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
6049
+ } & { [K_9 in Exclude<keyof I["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
5526
6050
  region?: string | undefined;
5527
6051
  isPublisher?: boolean | undefined;
5528
- } & { [K_9 in Exclude<keyof I["participants"][number], keyof ParticipantInfo>]: never; })[] & { [K_10 in Exclude<keyof I["participants"], keyof {
6052
+ } & { [K_10 in Exclude<keyof I["participants"][number], keyof ParticipantInfo>]: never; })[] & { [K_11 in Exclude<keyof I["participants"], keyof {
5529
6053
  sid?: string | undefined;
5530
6054
  identity?: string | undefined;
5531
6055
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -5560,6 +6084,9 @@ export declare const ParticipantUpdate: {
5560
6084
  ssrc?: number | undefined;
5561
6085
  }[] | undefined;
5562
6086
  }[] | undefined;
6087
+ stereo?: boolean | undefined;
6088
+ disableRed?: boolean | undefined;
6089
+ encryption?: Encryption_Type | undefined;
5563
6090
  }[] | undefined;
5564
6091
  metadata?: string | undefined;
5565
6092
  joinedAt?: number | undefined;
@@ -5569,13 +6096,14 @@ export declare const ParticipantUpdate: {
5569
6096
  canSubscribe?: boolean | undefined;
5570
6097
  canPublish?: boolean | undefined;
5571
6098
  canPublishData?: boolean | undefined;
6099
+ canPublishSources?: TrackSource[] | undefined;
5572
6100
  hidden?: boolean | undefined;
5573
6101
  recorder?: boolean | undefined;
5574
6102
  } | undefined;
5575
6103
  region?: string | undefined;
5576
6104
  isPublisher?: boolean | undefined;
5577
6105
  }[]>]: never; }) | undefined;
5578
- } & { [K_11 in Exclude<keyof I, "participants">]: never; }>(object: I): ParticipantUpdate;
6106
+ } & { [K_12 in Exclude<keyof I, "participants">]: never; }>(object: I): ParticipantUpdate;
5579
6107
  };
5580
6108
  export declare const UpdateSubscription: {
5581
6109
  encode(message: UpdateSubscription, writer?: _m0.Writer): _m0.Writer;
@@ -5619,6 +6147,7 @@ export declare const UpdateTrackSettings: {
5619
6147
  width?: number | undefined;
5620
6148
  height?: number | undefined;
5621
6149
  fps?: number | undefined;
6150
+ priority?: number | undefined;
5622
6151
  } & {
5623
6152
  trackSids?: (string[] & string[] & { [K in Exclude<keyof I["trackSids"], keyof string[]>]: never; }) | undefined;
5624
6153
  disabled?: boolean | undefined;
@@ -5626,6 +6155,7 @@ export declare const UpdateTrackSettings: {
5626
6155
  width?: number | undefined;
5627
6156
  height?: number | undefined;
5628
6157
  fps?: number | undefined;
6158
+ priority?: number | undefined;
5629
6159
  } & { [K_1 in Exclude<keyof I, keyof UpdateTrackSettings>]: never; }>(object: I): UpdateTrackSettings;
5630
6160
  };
5631
6161
  export declare const LeaveRequest: {
@@ -5684,6 +6214,17 @@ export declare const UpdateVideoLayers: {
5684
6214
  }[]>]: never; }) | undefined;
5685
6215
  } & { [K_2 in Exclude<keyof I, keyof UpdateVideoLayers>]: never; }>(object: I): UpdateVideoLayers;
5686
6216
  };
6217
+ export declare const UpdateParticipantMetadata: {
6218
+ encode(message: UpdateParticipantMetadata, writer?: _m0.Writer): _m0.Writer;
6219
+ decode(input: _m0.Reader | Uint8Array, length?: number): UpdateParticipantMetadata;
6220
+ fromJSON(object: any): UpdateParticipantMetadata;
6221
+ toJSON(message: UpdateParticipantMetadata): unknown;
6222
+ fromPartial<I extends {
6223
+ metadata?: string | undefined;
6224
+ } & {
6225
+ metadata?: string | undefined;
6226
+ } & { [K in Exclude<keyof I, "metadata">]: never; }>(object: I): UpdateParticipantMetadata;
6227
+ };
5687
6228
  export declare const ICEServer: {
5688
6229
  encode(message: ICEServer, writer?: _m0.Writer): _m0.Writer;
5689
6230
  decode(input: _m0.Reader | Uint8Array, length?: number): ICEServer;
@@ -6115,6 +6656,9 @@ export declare const SyncState: {
6115
6656
  ssrc?: number | undefined;
6116
6657
  }[] | undefined;
6117
6658
  }[] | undefined;
6659
+ stereo?: boolean | undefined;
6660
+ disableRed?: boolean | undefined;
6661
+ encryption?: Encryption_Type | undefined;
6118
6662
  } | undefined;
6119
6663
  }[] | undefined;
6120
6664
  dataChannels?: {
@@ -6191,6 +6735,9 @@ export declare const SyncState: {
6191
6735
  ssrc?: number | undefined;
6192
6736
  }[] | undefined;
6193
6737
  }[] | undefined;
6738
+ stereo?: boolean | undefined;
6739
+ disableRed?: boolean | undefined;
6740
+ encryption?: Encryption_Type | undefined;
6194
6741
  } | undefined;
6195
6742
  }[] & ({
6196
6743
  cid?: string | undefined;
@@ -6225,6 +6772,9 @@ export declare const SyncState: {
6225
6772
  ssrc?: number | undefined;
6226
6773
  }[] | undefined;
6227
6774
  }[] | undefined;
6775
+ stereo?: boolean | undefined;
6776
+ disableRed?: boolean | undefined;
6777
+ encryption?: Encryption_Type | undefined;
6228
6778
  } | undefined;
6229
6779
  } & {
6230
6780
  cid?: string | undefined;
@@ -6259,6 +6809,9 @@ export declare const SyncState: {
6259
6809
  ssrc?: number | undefined;
6260
6810
  }[] | undefined;
6261
6811
  }[] | undefined;
6812
+ stereo?: boolean | undefined;
6813
+ disableRed?: boolean | undefined;
6814
+ encryption?: Encryption_Type | undefined;
6262
6815
  } & {
6263
6816
  sid?: string | undefined;
6264
6817
  type?: TrackType | undefined;
@@ -6359,6 +6912,9 @@ export declare const SyncState: {
6359
6912
  ssrc?: number | undefined;
6360
6913
  }[] | undefined;
6361
6914
  }[]>]: never; }) | undefined;
6915
+ stereo?: boolean | undefined;
6916
+ disableRed?: boolean | undefined;
6917
+ encryption?: Encryption_Type | undefined;
6362
6918
  } & { [K_12 in Exclude<keyof I["publishTracks"][number]["track"], keyof TrackInfo>]: never; }) | undefined;
6363
6919
  } & { [K_13 in Exclude<keyof I["publishTracks"][number], keyof TrackPublishedResponse>]: never; })[] & { [K_14 in Exclude<keyof I["publishTracks"], keyof {
6364
6920
  cid?: string | undefined;
@@ -6393,6 +6949,9 @@ export declare const SyncState: {
6393
6949
  ssrc?: number | undefined;
6394
6950
  }[] | undefined;
6395
6951
  }[] | undefined;
6952
+ stereo?: boolean | undefined;
6953
+ disableRed?: boolean | undefined;
6954
+ encryption?: Encryption_Type | undefined;
6396
6955
  } | undefined;
6397
6956
  }[]>]: never; }) | undefined;
6398
6957
  dataChannels?: ({