livekit-client 1.6.3 → 1.6.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. package/dist/livekit-client.esm.mjs +418 -70
  2. package/dist/livekit-client.esm.mjs.map +1 -1
  3. package/dist/livekit-client.umd.js +1 -1
  4. package/dist/livekit-client.umd.js.map +1 -1
  5. package/dist/src/api/SignalClient.d.ts +13 -2
  6. package/dist/src/api/SignalClient.d.ts.map +1 -1
  7. package/dist/src/connectionHelper/ConnectionCheck.d.ts +2 -2
  8. package/dist/src/connectionHelper/ConnectionCheck.d.ts.map +1 -1
  9. package/dist/src/proto/livekit_models.d.ts +20 -3
  10. package/dist/src/proto/livekit_models.d.ts.map +1 -1
  11. package/dist/src/proto/livekit_rtc.d.ts +2565 -464
  12. package/dist/src/proto/livekit_rtc.d.ts.map +1 -1
  13. package/dist/src/room/RTCEngine.d.ts.map +1 -1
  14. package/dist/src/room/Room.d.ts +1 -1
  15. package/dist/src/room/Room.d.ts.map +1 -1
  16. package/dist/src/room/errors.d.ts +3 -0
  17. package/dist/src/room/errors.d.ts.map +1 -1
  18. package/dist/src/room/participant/LocalParticipant.d.ts +1 -3
  19. package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
  20. package/dist/src/room/participant/Participant.d.ts +1 -1
  21. package/dist/src/room/participant/Participant.d.ts.map +1 -1
  22. package/dist/src/room/track/LocalAudioTrack.d.ts.map +1 -1
  23. package/dist/src/room/track/create.d.ts.map +1 -1
  24. package/dist/src/room/track/options.d.ts +2 -2
  25. package/dist/src/room/track/options.d.ts.map +1 -1
  26. package/dist/src/test/mocks.d.ts +1 -1
  27. package/dist/ts4.2/src/api/SignalClient.d.ts +13 -2
  28. package/dist/ts4.2/src/connectionHelper/ConnectionCheck.d.ts +2 -2
  29. package/dist/ts4.2/src/proto/livekit_models.d.ts +24 -3
  30. package/dist/ts4.2/src/proto/livekit_rtc.d.ts +2775 -540
  31. package/dist/ts4.2/src/room/Room.d.ts +1 -1
  32. package/dist/ts4.2/src/room/errors.d.ts +3 -0
  33. package/dist/ts4.2/src/room/participant/LocalParticipant.d.ts +1 -3
  34. package/dist/ts4.2/src/room/participant/Participant.d.ts +1 -1
  35. package/dist/ts4.2/src/room/track/options.d.ts +2 -2
  36. package/dist/ts4.2/src/test/mocks.d.ts +1 -1
  37. package/package.json +17 -17
  38. package/src/api/SignalClient.ts +46 -3
  39. package/src/connectionHelper/ConnectionCheck.ts +1 -1
  40. package/src/proto/google/protobuf/timestamp.ts +2 -2
  41. package/src/proto/livekit_models.ts +93 -9
  42. package/src/proto/livekit_rtc.ts +308 -6
  43. package/src/room/RTCEngine.ts +37 -16
  44. package/src/room/Room.ts +12 -11
  45. package/src/room/errors.ts +6 -0
  46. package/src/room/participant/LocalParticipant.ts +19 -20
  47. package/src/room/participant/Participant.ts +10 -2
  48. package/src/room/track/LocalAudioTrack.ts +5 -1
  49. package/src/room/track/create.ts +6 -1
  50. package/src/room/track/options.ts +2 -2
@@ -63,6 +63,12 @@ export interface SignalRequest {
63
63
  } | {
64
64
  $case: "ping";
65
65
  ping: number;
66
+ } | {
67
+ $case: "updateMetadata";
68
+ updateMetadata: UpdateParticipantMetadata;
69
+ } | {
70
+ $case: "pingReq";
71
+ pingReq: Ping;
66
72
  };
67
73
  }
68
74
  export interface SignalResponse {
@@ -120,6 +126,9 @@ export interface SignalResponse {
120
126
  } | {
121
127
  $case: "reconnect";
122
128
  reconnect: ReconnectResponse;
129
+ } | {
130
+ $case: "pongResp";
131
+ pongResp: Pong;
123
132
  };
124
133
  }
125
134
  export interface SimulcastCodec {
@@ -181,6 +190,9 @@ export interface JoinResponse {
181
190
  export interface ReconnectResponse {
182
191
  iceServers: ICEServer[];
183
192
  clientConfiguration?: ClientConfiguration;
193
+ room?: Room;
194
+ participant?: ParticipantInfo;
195
+ otherParticipants: ParticipantInfo[];
184
196
  }
185
197
  export interface TrackPublishedResponse {
186
198
  cid: string;
@@ -213,6 +225,16 @@ export interface UpdateTrackSettings {
213
225
  /** for video, height to receive */
214
226
  height: number;
215
227
  fps: number;
228
+ /**
229
+ * subscription priority. 1 being the highest (0 is unset)
230
+ * when unset, server sill assign priority based on the order of subscription
231
+ * server will use priority in the following ways:
232
+ * 1. when subscribed tracks exceed per-participant subscription limit, server will
233
+ * pause the lowest priority tracks
234
+ * 2. when the network is congested, server will assign available bandwidth to
235
+ * higher priority tracks first. lowest priority tracks can be paused
236
+ */
237
+ priority: number;
216
238
  }
217
239
  export interface LeaveRequest {
218
240
  /**
@@ -227,6 +249,9 @@ export interface UpdateVideoLayers {
227
249
  trackSid: string;
228
250
  layers: VideoLayer[];
229
251
  }
252
+ export interface UpdateParticipantMetadata {
253
+ metadata: string;
254
+ }
230
255
  export interface ICEServer {
231
256
  urls: string[];
232
257
  username: string;
@@ -315,6 +340,16 @@ export interface SimulateScenario {
315
340
  switchCandidateProtocol: CandidateProtocol;
316
341
  };
317
342
  }
343
+ export interface Ping {
344
+ timestamp: number;
345
+ /** rtt in milliseconds calculated by client */
346
+ rtt: number;
347
+ }
348
+ export interface Pong {
349
+ /** timestamp field of last received ping request */
350
+ lastPingTimestamp: number;
351
+ timestamp: number;
352
+ }
318
353
  export declare const SignalRequest: {
319
354
  encode(message: SignalRequest, writer?: _m0.Writer): _m0.Writer;
320
355
  decode(input: _m0.Reader | Uint8Array, length?: number): SignalRequest;
@@ -397,6 +432,7 @@ export declare const SignalRequest: {
397
432
  width?: number | undefined;
398
433
  height?: number | undefined;
399
434
  fps?: number | undefined;
435
+ priority?: number | undefined;
400
436
  } | undefined;
401
437
  } & {
402
438
  $case: "trackSetting";
@@ -526,6 +562,19 @@ export declare const SignalRequest: {
526
562
  ping?: number | undefined;
527
563
  } & {
528
564
  $case: "ping";
565
+ }) | ({
566
+ updateMetadata?: {
567
+ metadata?: string | undefined;
568
+ } | undefined;
569
+ } & {
570
+ $case: "updateMetadata";
571
+ }) | ({
572
+ pingReq?: {
573
+ timestamp?: number | undefined;
574
+ rtt?: number | undefined;
575
+ } | undefined;
576
+ } & {
577
+ $case: "pingReq";
529
578
  }) | undefined;
530
579
  } & {
531
580
  message?: ({
@@ -789,6 +838,7 @@ export declare const SignalRequest: {
789
838
  width?: number | undefined;
790
839
  height?: number | undefined;
791
840
  fps?: number | undefined;
841
+ priority?: number | undefined;
792
842
  } | undefined;
793
843
  } & {
794
844
  $case: "trackSetting";
@@ -800,6 +850,7 @@ export declare const SignalRequest: {
800
850
  width?: number | undefined;
801
851
  height?: number | undefined;
802
852
  fps?: number | undefined;
853
+ priority?: number | undefined;
803
854
  } & {
804
855
  trackSids?: (string[] & string[] & {
805
856
  [K_20 in Exclude<keyof I["message"]["trackSetting"]["trackSids"], keyof string[]>]: never;
@@ -809,6 +860,7 @@ export declare const SignalRequest: {
809
860
  width?: number | undefined;
810
861
  height?: number | undefined;
811
862
  fps?: number | undefined;
863
+ priority?: number | undefined;
812
864
  } & {
813
865
  [K_21 in Exclude<keyof I["message"]["trackSetting"], keyof UpdateTrackSettings>]: never;
814
866
  }) | undefined;
@@ -1537,9 +1589,46 @@ export declare const SignalRequest: {
1537
1589
  $case: "ping";
1538
1590
  } & {
1539
1591
  [K_61 in Exclude<keyof I["message"], "ping" | "$case">]: never;
1592
+ }) | ({
1593
+ updateMetadata?: {
1594
+ metadata?: string | undefined;
1595
+ } | undefined;
1596
+ } & {
1597
+ $case: "updateMetadata";
1598
+ } & {
1599
+ updateMetadata?: ({
1600
+ metadata?: string | undefined;
1601
+ } & {
1602
+ metadata?: string | undefined;
1603
+ } & {
1604
+ [K_62 in Exclude<keyof I["message"]["updateMetadata"], "metadata">]: never;
1605
+ }) | undefined;
1606
+ $case: "updateMetadata";
1607
+ } & {
1608
+ [K_63 in Exclude<keyof I["message"], "updateMetadata" | "$case">]: never;
1609
+ }) | ({
1610
+ pingReq?: {
1611
+ timestamp?: number | undefined;
1612
+ rtt?: number | undefined;
1613
+ } | undefined;
1614
+ } & {
1615
+ $case: "pingReq";
1616
+ } & {
1617
+ pingReq?: ({
1618
+ timestamp?: number | undefined;
1619
+ rtt?: number | undefined;
1620
+ } & {
1621
+ timestamp?: number | undefined;
1622
+ rtt?: number | undefined;
1623
+ } & {
1624
+ [K_64 in Exclude<keyof I["message"]["pingReq"], keyof Ping>]: never;
1625
+ }) | undefined;
1626
+ $case: "pingReq";
1627
+ } & {
1628
+ [K_65 in Exclude<keyof I["message"], "pingReq" | "$case">]: never;
1540
1629
  }) | undefined;
1541
1630
  } & {
1542
- [K_62 in Exclude<keyof I, "message">]: never;
1631
+ [K_66 in Exclude<keyof I, "message">]: never;
1543
1632
  }>(object: I): SignalRequest;
1544
1633
  };
1545
1634
  export declare const SignalResponse: {
@@ -1612,6 +1701,7 @@ export declare const SignalResponse: {
1612
1701
  canSubscribe?: boolean | undefined;
1613
1702
  canPublish?: boolean | undefined;
1614
1703
  canPublishData?: boolean | undefined;
1704
+ canPublishSources?: TrackSource[] | undefined;
1615
1705
  hidden?: boolean | undefined;
1616
1706
  recorder?: boolean | undefined;
1617
1707
  } | undefined;
@@ -1665,6 +1755,7 @@ export declare const SignalResponse: {
1665
1755
  canSubscribe?: boolean | undefined;
1666
1756
  canPublish?: boolean | undefined;
1667
1757
  canPublishData?: boolean | undefined;
1758
+ canPublishSources?: TrackSource[] | undefined;
1668
1759
  hidden?: boolean | undefined;
1669
1760
  recorder?: boolean | undefined;
1670
1761
  } | undefined;
@@ -1779,6 +1870,7 @@ export declare const SignalResponse: {
1779
1870
  canSubscribe?: boolean | undefined;
1780
1871
  canPublish?: boolean | undefined;
1781
1872
  canPublishData?: boolean | undefined;
1873
+ canPublishSources?: TrackSource[] | undefined;
1782
1874
  hidden?: boolean | undefined;
1783
1875
  recorder?: boolean | undefined;
1784
1876
  } | undefined;
@@ -1955,9 +2047,139 @@ export declare const SignalResponse: {
1955
2047
  } | undefined;
1956
2048
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
1957
2049
  } | undefined;
2050
+ room?: {
2051
+ sid?: string | undefined;
2052
+ name?: string | undefined;
2053
+ emptyTimeout?: number | undefined;
2054
+ maxParticipants?: number | undefined;
2055
+ creationTime?: number | undefined;
2056
+ turnPassword?: string | undefined;
2057
+ enabledCodecs?: {
2058
+ mime?: string | undefined;
2059
+ fmtpLine?: string | undefined;
2060
+ }[] | undefined;
2061
+ metadata?: string | undefined;
2062
+ numParticipants?: number | undefined;
2063
+ activeRecording?: boolean | undefined;
2064
+ } | undefined;
2065
+ participant?: {
2066
+ sid?: string | undefined;
2067
+ identity?: string | undefined;
2068
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
2069
+ tracks?: {
2070
+ sid?: string | undefined;
2071
+ type?: TrackType | undefined;
2072
+ name?: string | undefined;
2073
+ muted?: boolean | undefined;
2074
+ width?: number | undefined;
2075
+ height?: number | undefined;
2076
+ simulcast?: boolean | undefined;
2077
+ disableDtx?: boolean | undefined;
2078
+ source?: TrackSource | undefined;
2079
+ layers?: {
2080
+ quality?: VideoQuality | undefined;
2081
+ width?: number | undefined;
2082
+ height?: number | undefined;
2083
+ bitrate?: number | undefined;
2084
+ ssrc?: number | undefined;
2085
+ }[] | undefined;
2086
+ mimeType?: string | undefined;
2087
+ mid?: string | undefined;
2088
+ codecs?: {
2089
+ mimeType?: string | undefined;
2090
+ mid?: string | undefined;
2091
+ cid?: string | undefined;
2092
+ layers?: {
2093
+ quality?: VideoQuality | undefined;
2094
+ width?: number | undefined;
2095
+ height?: number | undefined;
2096
+ bitrate?: number | undefined;
2097
+ ssrc?: number | undefined;
2098
+ }[] | undefined;
2099
+ }[] | undefined;
2100
+ stereo?: boolean | undefined;
2101
+ disableRed?: boolean | undefined;
2102
+ encryption?: Encryption_Type | undefined;
2103
+ }[] | undefined;
2104
+ metadata?: string | undefined;
2105
+ joinedAt?: number | undefined;
2106
+ name?: string | undefined;
2107
+ version?: number | undefined;
2108
+ permission?: {
2109
+ canSubscribe?: boolean | undefined;
2110
+ canPublish?: boolean | undefined;
2111
+ canPublishData?: boolean | undefined;
2112
+ canPublishSources?: TrackSource[] | undefined;
2113
+ hidden?: boolean | undefined;
2114
+ recorder?: boolean | undefined;
2115
+ } | undefined;
2116
+ region?: string | undefined;
2117
+ isPublisher?: boolean | undefined;
2118
+ } | undefined;
2119
+ otherParticipants?: {
2120
+ sid?: string | undefined;
2121
+ identity?: string | undefined;
2122
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
2123
+ tracks?: {
2124
+ sid?: string | undefined;
2125
+ type?: TrackType | undefined;
2126
+ name?: string | undefined;
2127
+ muted?: boolean | undefined;
2128
+ width?: number | undefined;
2129
+ height?: number | undefined;
2130
+ simulcast?: boolean | undefined;
2131
+ disableDtx?: boolean | undefined;
2132
+ source?: TrackSource | undefined;
2133
+ layers?: {
2134
+ quality?: VideoQuality | undefined;
2135
+ width?: number | undefined;
2136
+ height?: number | undefined;
2137
+ bitrate?: number | undefined;
2138
+ ssrc?: number | undefined;
2139
+ }[] | undefined;
2140
+ mimeType?: string | undefined;
2141
+ mid?: string | undefined;
2142
+ codecs?: {
2143
+ mimeType?: string | undefined;
2144
+ mid?: string | undefined;
2145
+ cid?: string | undefined;
2146
+ layers?: {
2147
+ quality?: VideoQuality | undefined;
2148
+ width?: number | undefined;
2149
+ height?: number | undefined;
2150
+ bitrate?: number | undefined;
2151
+ ssrc?: number | undefined;
2152
+ }[] | undefined;
2153
+ }[] | undefined;
2154
+ stereo?: boolean | undefined;
2155
+ disableRed?: boolean | undefined;
2156
+ encryption?: Encryption_Type | undefined;
2157
+ }[] | undefined;
2158
+ metadata?: string | undefined;
2159
+ joinedAt?: number | undefined;
2160
+ name?: string | undefined;
2161
+ version?: number | undefined;
2162
+ permission?: {
2163
+ canSubscribe?: boolean | undefined;
2164
+ canPublish?: boolean | undefined;
2165
+ canPublishData?: boolean | undefined;
2166
+ canPublishSources?: TrackSource[] | undefined;
2167
+ hidden?: boolean | undefined;
2168
+ recorder?: boolean | undefined;
2169
+ } | undefined;
2170
+ region?: string | undefined;
2171
+ isPublisher?: boolean | undefined;
2172
+ }[] | undefined;
1958
2173
  } | undefined;
1959
2174
  } & {
1960
2175
  $case: "reconnect";
2176
+ }) | ({
2177
+ pongResp?: {
2178
+ lastPingTimestamp?: number | undefined;
2179
+ timestamp?: number | undefined;
2180
+ } | undefined;
2181
+ } & {
2182
+ $case: "pongResp";
1961
2183
  }) | undefined;
1962
2184
  } & {
1963
2185
  message?: ({
@@ -2024,6 +2246,7 @@ export declare const SignalResponse: {
2024
2246
  canSubscribe?: boolean | undefined;
2025
2247
  canPublish?: boolean | undefined;
2026
2248
  canPublishData?: boolean | undefined;
2249
+ canPublishSources?: TrackSource[] | undefined;
2027
2250
  hidden?: boolean | undefined;
2028
2251
  recorder?: boolean | undefined;
2029
2252
  } | undefined;
@@ -2077,6 +2300,7 @@ export declare const SignalResponse: {
2077
2300
  canSubscribe?: boolean | undefined;
2078
2301
  canPublish?: boolean | undefined;
2079
2302
  canPublishData?: boolean | undefined;
2303
+ canPublishSources?: TrackSource[] | undefined;
2080
2304
  hidden?: boolean | undefined;
2081
2305
  recorder?: boolean | undefined;
2082
2306
  } | undefined;
@@ -2185,6 +2409,7 @@ export declare const SignalResponse: {
2185
2409
  canSubscribe?: boolean | undefined;
2186
2410
  canPublish?: boolean | undefined;
2187
2411
  canPublishData?: boolean | undefined;
2412
+ canPublishSources?: TrackSource[] | undefined;
2188
2413
  hidden?: boolean | undefined;
2189
2414
  recorder?: boolean | undefined;
2190
2415
  } | undefined;
@@ -2238,6 +2463,7 @@ export declare const SignalResponse: {
2238
2463
  canSubscribe?: boolean | undefined;
2239
2464
  canPublish?: boolean | undefined;
2240
2465
  canPublishData?: boolean | undefined;
2466
+ canPublishSources?: TrackSource[] | undefined;
2241
2467
  hidden?: boolean | undefined;
2242
2468
  recorder?: boolean | undefined;
2243
2469
  } | undefined;
@@ -2371,6 +2597,7 @@ export declare const SignalResponse: {
2371
2597
  canSubscribe?: boolean | undefined;
2372
2598
  canPublish?: boolean | undefined;
2373
2599
  canPublishData?: boolean | undefined;
2600
+ canPublishSources?: TrackSource[] | undefined;
2374
2601
  hidden?: boolean | undefined;
2375
2602
  recorder?: boolean | undefined;
2376
2603
  } | undefined;
@@ -2610,21 +2837,25 @@ export declare const SignalResponse: {
2610
2837
  canSubscribe?: boolean | undefined;
2611
2838
  canPublish?: boolean | undefined;
2612
2839
  canPublishData?: boolean | undefined;
2840
+ canPublishSources?: TrackSource[] | undefined;
2613
2841
  hidden?: boolean | undefined;
2614
2842
  recorder?: boolean | undefined;
2615
2843
  } & {
2616
2844
  canSubscribe?: boolean | undefined;
2617
2845
  canPublish?: boolean | undefined;
2618
2846
  canPublishData?: boolean | undefined;
2847
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
2848
+ [K_11 in Exclude<keyof I["message"]["join"]["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
2849
+ }) | undefined;
2619
2850
  hidden?: boolean | undefined;
2620
2851
  recorder?: boolean | undefined;
2621
2852
  } & {
2622
- [K_11 in Exclude<keyof I["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
2853
+ [K_12 in Exclude<keyof I["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
2623
2854
  }) | undefined;
2624
2855
  region?: string | undefined;
2625
2856
  isPublisher?: boolean | undefined;
2626
2857
  } & {
2627
- [K_12 in Exclude<keyof I["message"]["join"]["participant"], keyof ParticipantInfo>]: never;
2858
+ [K_13 in Exclude<keyof I["message"]["join"]["participant"], keyof ParticipantInfo>]: never;
2628
2859
  }) | undefined;
2629
2860
  otherParticipants?: ({
2630
2861
  sid?: string | undefined;
@@ -2673,6 +2904,7 @@ export declare const SignalResponse: {
2673
2904
  canSubscribe?: boolean | undefined;
2674
2905
  canPublish?: boolean | undefined;
2675
2906
  canPublishData?: boolean | undefined;
2907
+ canPublishSources?: TrackSource[] | undefined;
2676
2908
  hidden?: boolean | undefined;
2677
2909
  recorder?: boolean | undefined;
2678
2910
  } | undefined;
@@ -2725,6 +2957,7 @@ export declare const SignalResponse: {
2725
2957
  canSubscribe?: boolean | undefined;
2726
2958
  canPublish?: boolean | undefined;
2727
2959
  canPublishData?: boolean | undefined;
2960
+ canPublishSources?: TrackSource[] | undefined;
2728
2961
  hidden?: boolean | undefined;
2729
2962
  recorder?: boolean | undefined;
2730
2963
  } | undefined;
@@ -2831,9 +3064,9 @@ export declare const SignalResponse: {
2831
3064
  bitrate?: number | undefined;
2832
3065
  ssrc?: number | undefined;
2833
3066
  } & {
2834
- [K_13 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
3067
+ [K_14 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
2835
3068
  })[] & {
2836
- [K_14 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"], keyof {
3069
+ [K_15 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"], keyof {
2837
3070
  quality?: VideoQuality | undefined;
2838
3071
  width?: number | undefined;
2839
3072
  height?: number | undefined;
@@ -2888,9 +3121,9 @@ export declare const SignalResponse: {
2888
3121
  bitrate?: number | undefined;
2889
3122
  ssrc?: number | undefined;
2890
3123
  } & {
2891
- [K_15 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
3124
+ [K_16 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
2892
3125
  })[] & {
2893
- [K_16 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
3126
+ [K_17 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
2894
3127
  quality?: VideoQuality | undefined;
2895
3128
  width?: number | undefined;
2896
3129
  height?: number | undefined;
@@ -2899,9 +3132,9 @@ export declare const SignalResponse: {
2899
3132
  }[]>]: never;
2900
3133
  }) | undefined;
2901
3134
  } & {
2902
- [K_17 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
3135
+ [K_18 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
2903
3136
  })[] & {
2904
- [K_18 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
3137
+ [K_19 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
2905
3138
  mimeType?: string | undefined;
2906
3139
  mid?: string | undefined;
2907
3140
  cid?: string | undefined;
@@ -2918,9 +3151,9 @@ export declare const SignalResponse: {
2918
3151
  disableRed?: boolean | undefined;
2919
3152
  encryption?: Encryption_Type | undefined;
2920
3153
  } & {
2921
- [K_19 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
3154
+ [K_20 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
2922
3155
  })[] & {
2923
- [K_20 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"], keyof {
3156
+ [K_21 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"], keyof {
2924
3157
  sid?: string | undefined;
2925
3158
  type?: TrackType | undefined;
2926
3159
  name?: string | undefined;
@@ -2964,23 +3197,27 @@ export declare const SignalResponse: {
2964
3197
  canSubscribe?: boolean | undefined;
2965
3198
  canPublish?: boolean | undefined;
2966
3199
  canPublishData?: boolean | undefined;
3200
+ canPublishSources?: TrackSource[] | undefined;
2967
3201
  hidden?: boolean | undefined;
2968
3202
  recorder?: boolean | undefined;
2969
3203
  } & {
2970
3204
  canSubscribe?: boolean | undefined;
2971
3205
  canPublish?: boolean | undefined;
2972
3206
  canPublishData?: boolean | undefined;
3207
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
3208
+ [K_22 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
3209
+ }) | undefined;
2973
3210
  hidden?: boolean | undefined;
2974
3211
  recorder?: boolean | undefined;
2975
3212
  } & {
2976
- [K_21 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
3213
+ [K_23 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
2977
3214
  }) | undefined;
2978
3215
  region?: string | undefined;
2979
3216
  isPublisher?: boolean | undefined;
2980
3217
  } & {
2981
- [K_22 in Exclude<keyof I["message"]["join"]["otherParticipants"][number], keyof ParticipantInfo>]: never;
3218
+ [K_24 in Exclude<keyof I["message"]["join"]["otherParticipants"][number], keyof ParticipantInfo>]: never;
2982
3219
  })[] & {
2983
- [K_23 in Exclude<keyof I["message"]["join"]["otherParticipants"], keyof {
3220
+ [K_25 in Exclude<keyof I["message"]["join"]["otherParticipants"], keyof {
2984
3221
  sid?: string | undefined;
2985
3222
  identity?: string | undefined;
2986
3223
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -3027,6 +3264,7 @@ export declare const SignalResponse: {
3027
3264
  canSubscribe?: boolean | undefined;
3028
3265
  canPublish?: boolean | undefined;
3029
3266
  canPublishData?: boolean | undefined;
3267
+ canPublishSources?: TrackSource[] | undefined;
3030
3268
  hidden?: boolean | undefined;
3031
3269
  recorder?: boolean | undefined;
3032
3270
  } | undefined;
@@ -3045,14 +3283,14 @@ export declare const SignalResponse: {
3045
3283
  credential?: string | undefined;
3046
3284
  } & {
3047
3285
  urls?: (string[] & string[] & {
3048
- [K_24 in Exclude<keyof I["message"]["join"]["iceServers"][number]["urls"], keyof string[]>]: never;
3286
+ [K_26 in Exclude<keyof I["message"]["join"]["iceServers"][number]["urls"], keyof string[]>]: never;
3049
3287
  }) | undefined;
3050
3288
  username?: string | undefined;
3051
3289
  credential?: string | undefined;
3052
3290
  } & {
3053
- [K_25 in Exclude<keyof I["message"]["join"]["iceServers"][number], keyof ICEServer>]: never;
3291
+ [K_27 in Exclude<keyof I["message"]["join"]["iceServers"][number], keyof ICEServer>]: never;
3054
3292
  })[] & {
3055
- [K_26 in Exclude<keyof I["message"]["join"]["iceServers"], keyof {
3293
+ [K_28 in Exclude<keyof I["message"]["join"]["iceServers"], keyof {
3056
3294
  urls?: string[] | undefined;
3057
3295
  username?: string | undefined;
3058
3296
  credential?: string | undefined;
@@ -3081,14 +3319,14 @@ export declare const SignalResponse: {
3081
3319
  } & {
3082
3320
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
3083
3321
  } & {
3084
- [K_27 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["video"], "hardwareEncoder">]: never;
3322
+ [K_29 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["video"], "hardwareEncoder">]: never;
3085
3323
  }) | undefined;
3086
3324
  screen?: ({
3087
3325
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
3088
3326
  } & {
3089
3327
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
3090
3328
  } & {
3091
- [K_28 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
3329
+ [K_30 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
3092
3330
  }) | undefined;
3093
3331
  resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
3094
3332
  disabledCodecs?: ({
@@ -3107,19 +3345,19 @@ export declare const SignalResponse: {
3107
3345
  mime?: string | undefined;
3108
3346
  fmtpLine?: string | undefined;
3109
3347
  } & {
3110
- [K_29 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
3348
+ [K_31 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
3111
3349
  })[] & {
3112
- [K_30 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
3350
+ [K_32 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
3113
3351
  mime?: string | undefined;
3114
3352
  fmtpLine?: string | undefined;
3115
3353
  }[]>]: never;
3116
3354
  }) | undefined;
3117
3355
  } & {
3118
- [K_31 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
3356
+ [K_33 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
3119
3357
  }) | undefined;
3120
3358
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
3121
3359
  } & {
3122
- [K_32 in Exclude<keyof I["message"]["join"]["clientConfiguration"], keyof ClientConfiguration>]: never;
3360
+ [K_34 in Exclude<keyof I["message"]["join"]["clientConfiguration"], keyof ClientConfiguration>]: never;
3123
3361
  }) | undefined;
3124
3362
  serverRegion?: string | undefined;
3125
3363
  pingTimeout?: number | undefined;
@@ -3139,14 +3377,14 @@ export declare const SignalResponse: {
3139
3377
  nodeId?: string | undefined;
3140
3378
  debugInfo?: string | undefined;
3141
3379
  } & {
3142
- [K_33 in Exclude<keyof I["message"]["join"]["serverInfo"], keyof ServerInfo>]: never;
3380
+ [K_35 in Exclude<keyof I["message"]["join"]["serverInfo"], keyof ServerInfo>]: never;
3143
3381
  }) | undefined;
3144
3382
  } & {
3145
- [K_34 in Exclude<keyof I["message"]["join"], keyof JoinResponse>]: never;
3383
+ [K_36 in Exclude<keyof I["message"]["join"], keyof JoinResponse>]: never;
3146
3384
  }) | undefined;
3147
3385
  $case: "join";
3148
3386
  } & {
3149
- [K_35 in Exclude<keyof I["message"], "join" | "$case">]: never;
3387
+ [K_37 in Exclude<keyof I["message"], "join" | "$case">]: never;
3150
3388
  }) | ({
3151
3389
  answer?: {
3152
3390
  type?: string | undefined;
@@ -3162,11 +3400,11 @@ export declare const SignalResponse: {
3162
3400
  type?: string | undefined;
3163
3401
  sdp?: string | undefined;
3164
3402
  } & {
3165
- [K_36 in Exclude<keyof I["message"]["answer"], keyof SessionDescription>]: never;
3403
+ [K_38 in Exclude<keyof I["message"]["answer"], keyof SessionDescription>]: never;
3166
3404
  }) | undefined;
3167
3405
  $case: "answer";
3168
3406
  } & {
3169
- [K_37 in Exclude<keyof I["message"], "answer" | "$case">]: never;
3407
+ [K_39 in Exclude<keyof I["message"], "answer" | "$case">]: never;
3170
3408
  }) | ({
3171
3409
  offer?: {
3172
3410
  type?: string | undefined;
@@ -3182,11 +3420,11 @@ export declare const SignalResponse: {
3182
3420
  type?: string | undefined;
3183
3421
  sdp?: string | undefined;
3184
3422
  } & {
3185
- [K_38 in Exclude<keyof I["message"]["offer"], keyof SessionDescription>]: never;
3423
+ [K_40 in Exclude<keyof I["message"]["offer"], keyof SessionDescription>]: never;
3186
3424
  }) | undefined;
3187
3425
  $case: "offer";
3188
3426
  } & {
3189
- [K_39 in Exclude<keyof I["message"], "offer" | "$case">]: never;
3427
+ [K_41 in Exclude<keyof I["message"], "offer" | "$case">]: never;
3190
3428
  }) | ({
3191
3429
  trickle?: {
3192
3430
  candidateInit?: string | undefined;
@@ -3202,11 +3440,11 @@ export declare const SignalResponse: {
3202
3440
  candidateInit?: string | undefined;
3203
3441
  target?: SignalTarget | undefined;
3204
3442
  } & {
3205
- [K_40 in Exclude<keyof I["message"]["trickle"], keyof TrickleRequest>]: never;
3443
+ [K_42 in Exclude<keyof I["message"]["trickle"], keyof TrickleRequest>]: never;
3206
3444
  }) | undefined;
3207
3445
  $case: "trickle";
3208
3446
  } & {
3209
- [K_41 in Exclude<keyof I["message"], "trickle" | "$case">]: never;
3447
+ [K_43 in Exclude<keyof I["message"], "trickle" | "$case">]: never;
3210
3448
  }) | ({
3211
3449
  update?: {
3212
3450
  participants?: {
@@ -3256,6 +3494,7 @@ export declare const SignalResponse: {
3256
3494
  canSubscribe?: boolean | undefined;
3257
3495
  canPublish?: boolean | undefined;
3258
3496
  canPublishData?: boolean | undefined;
3497
+ canPublishSources?: TrackSource[] | undefined;
3259
3498
  hidden?: boolean | undefined;
3260
3499
  recorder?: boolean | undefined;
3261
3500
  } | undefined;
@@ -3314,6 +3553,7 @@ export declare const SignalResponse: {
3314
3553
  canSubscribe?: boolean | undefined;
3315
3554
  canPublish?: boolean | undefined;
3316
3555
  canPublishData?: boolean | undefined;
3556
+ canPublishSources?: TrackSource[] | undefined;
3317
3557
  hidden?: boolean | undefined;
3318
3558
  recorder?: boolean | undefined;
3319
3559
  } | undefined;
@@ -3368,6 +3608,7 @@ export declare const SignalResponse: {
3368
3608
  canSubscribe?: boolean | undefined;
3369
3609
  canPublish?: boolean | undefined;
3370
3610
  canPublishData?: boolean | undefined;
3611
+ canPublishSources?: TrackSource[] | undefined;
3371
3612
  hidden?: boolean | undefined;
3372
3613
  recorder?: boolean | undefined;
3373
3614
  } | undefined;
@@ -3420,6 +3661,7 @@ export declare const SignalResponse: {
3420
3661
  canSubscribe?: boolean | undefined;
3421
3662
  canPublish?: boolean | undefined;
3422
3663
  canPublishData?: boolean | undefined;
3664
+ canPublishSources?: TrackSource[] | undefined;
3423
3665
  hidden?: boolean | undefined;
3424
3666
  recorder?: boolean | undefined;
3425
3667
  } | undefined;
@@ -3526,9 +3768,9 @@ export declare const SignalResponse: {
3526
3768
  bitrate?: number | undefined;
3527
3769
  ssrc?: number | undefined;
3528
3770
  } & {
3529
- [K_42 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
3771
+ [K_44 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
3530
3772
  })[] & {
3531
- [K_43 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"], keyof {
3773
+ [K_45 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"], keyof {
3532
3774
  quality?: VideoQuality | undefined;
3533
3775
  width?: number | undefined;
3534
3776
  height?: number | undefined;
@@ -3583,9 +3825,9 @@ export declare const SignalResponse: {
3583
3825
  bitrate?: number | undefined;
3584
3826
  ssrc?: number | undefined;
3585
3827
  } & {
3586
- [K_44 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
3828
+ [K_46 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
3587
3829
  })[] & {
3588
- [K_45 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
3830
+ [K_47 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
3589
3831
  quality?: VideoQuality | undefined;
3590
3832
  width?: number | undefined;
3591
3833
  height?: number | undefined;
@@ -3594,9 +3836,9 @@ export declare const SignalResponse: {
3594
3836
  }[]>]: never;
3595
3837
  }) | undefined;
3596
3838
  } & {
3597
- [K_46 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
3839
+ [K_48 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
3598
3840
  })[] & {
3599
- [K_47 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"], keyof {
3841
+ [K_49 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"], keyof {
3600
3842
  mimeType?: string | undefined;
3601
3843
  mid?: string | undefined;
3602
3844
  cid?: string | undefined;
@@ -3613,9 +3855,9 @@ export declare const SignalResponse: {
3613
3855
  disableRed?: boolean | undefined;
3614
3856
  encryption?: Encryption_Type | undefined;
3615
3857
  } & {
3616
- [K_48 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number], keyof TrackInfo>]: never;
3858
+ [K_50 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number], keyof TrackInfo>]: never;
3617
3859
  })[] & {
3618
- [K_49 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"], keyof {
3860
+ [K_51 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"], keyof {
3619
3861
  sid?: string | undefined;
3620
3862
  type?: TrackType | undefined;
3621
3863
  name?: string | undefined;
@@ -3659,23 +3901,27 @@ export declare const SignalResponse: {
3659
3901
  canSubscribe?: boolean | undefined;
3660
3902
  canPublish?: boolean | undefined;
3661
3903
  canPublishData?: boolean | undefined;
3904
+ canPublishSources?: TrackSource[] | undefined;
3662
3905
  hidden?: boolean | undefined;
3663
3906
  recorder?: boolean | undefined;
3664
3907
  } & {
3665
3908
  canSubscribe?: boolean | undefined;
3666
3909
  canPublish?: boolean | undefined;
3667
3910
  canPublishData?: boolean | undefined;
3911
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
3912
+ [K_52 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
3913
+ }) | undefined;
3668
3914
  hidden?: boolean | undefined;
3669
3915
  recorder?: boolean | undefined;
3670
3916
  } & {
3671
- [K_50 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
3917
+ [K_53 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
3672
3918
  }) | undefined;
3673
3919
  region?: string | undefined;
3674
3920
  isPublisher?: boolean | undefined;
3675
3921
  } & {
3676
- [K_51 in Exclude<keyof I["message"]["update"]["participants"][number], keyof ParticipantInfo>]: never;
3922
+ [K_54 in Exclude<keyof I["message"]["update"]["participants"][number], keyof ParticipantInfo>]: never;
3677
3923
  })[] & {
3678
- [K_52 in Exclude<keyof I["message"]["update"]["participants"], keyof {
3924
+ [K_55 in Exclude<keyof I["message"]["update"]["participants"], keyof {
3679
3925
  sid?: string | undefined;
3680
3926
  identity?: string | undefined;
3681
3927
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -3722,6 +3968,7 @@ export declare const SignalResponse: {
3722
3968
  canSubscribe?: boolean | undefined;
3723
3969
  canPublish?: boolean | undefined;
3724
3970
  canPublishData?: boolean | undefined;
3971
+ canPublishSources?: TrackSource[] | undefined;
3725
3972
  hidden?: boolean | undefined;
3726
3973
  recorder?: boolean | undefined;
3727
3974
  } | undefined;
@@ -3730,11 +3977,11 @@ export declare const SignalResponse: {
3730
3977
  }[]>]: never;
3731
3978
  }) | undefined;
3732
3979
  } & {
3733
- [K_53 in Exclude<keyof I["message"]["update"], "participants">]: never;
3980
+ [K_56 in Exclude<keyof I["message"]["update"], "participants">]: never;
3734
3981
  }) | undefined;
3735
3982
  $case: "update";
3736
3983
  } & {
3737
- [K_54 in Exclude<keyof I["message"], "update" | "$case">]: never;
3984
+ [K_57 in Exclude<keyof I["message"], "update" | "$case">]: never;
3738
3985
  }) | ({
3739
3986
  trackPublished?: {
3740
3987
  cid?: string | undefined;
@@ -3879,9 +4126,9 @@ export declare const SignalResponse: {
3879
4126
  bitrate?: number | undefined;
3880
4127
  ssrc?: number | undefined;
3881
4128
  } & {
3882
- [K_55 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"][number], keyof VideoLayer>]: never;
4129
+ [K_58 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"][number], keyof VideoLayer>]: never;
3883
4130
  })[] & {
3884
- [K_56 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"], keyof {
4131
+ [K_59 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"], keyof {
3885
4132
  quality?: VideoQuality | undefined;
3886
4133
  width?: number | undefined;
3887
4134
  height?: number | undefined;
@@ -3936,9 +4183,9 @@ export declare const SignalResponse: {
3936
4183
  bitrate?: number | undefined;
3937
4184
  ssrc?: number | undefined;
3938
4185
  } & {
3939
- [K_57 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
4186
+ [K_60 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
3940
4187
  })[] & {
3941
- [K_58 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"], keyof {
4188
+ [K_61 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"], keyof {
3942
4189
  quality?: VideoQuality | undefined;
3943
4190
  width?: number | undefined;
3944
4191
  height?: number | undefined;
@@ -3947,9 +4194,9 @@ export declare const SignalResponse: {
3947
4194
  }[]>]: never;
3948
4195
  }) | undefined;
3949
4196
  } & {
3950
- [K_59 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
4197
+ [K_62 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
3951
4198
  })[] & {
3952
- [K_60 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"], keyof {
4199
+ [K_63 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"], keyof {
3953
4200
  mimeType?: string | undefined;
3954
4201
  mid?: string | undefined;
3955
4202
  cid?: string | undefined;
@@ -3966,14 +4213,14 @@ export declare const SignalResponse: {
3966
4213
  disableRed?: boolean | undefined;
3967
4214
  encryption?: Encryption_Type | undefined;
3968
4215
  } & {
3969
- [K_61 in Exclude<keyof I["message"]["trackPublished"]["track"], keyof TrackInfo>]: never;
4216
+ [K_64 in Exclude<keyof I["message"]["trackPublished"]["track"], keyof TrackInfo>]: never;
3970
4217
  }) | undefined;
3971
4218
  } & {
3972
- [K_62 in Exclude<keyof I["message"]["trackPublished"], keyof TrackPublishedResponse>]: never;
4219
+ [K_65 in Exclude<keyof I["message"]["trackPublished"], keyof TrackPublishedResponse>]: never;
3973
4220
  }) | undefined;
3974
4221
  $case: "trackPublished";
3975
4222
  } & {
3976
- [K_63 in Exclude<keyof I["message"], "trackPublished" | "$case">]: never;
4223
+ [K_66 in Exclude<keyof I["message"], "trackPublished" | "$case">]: never;
3977
4224
  }) | ({
3978
4225
  leave?: {
3979
4226
  canReconnect?: boolean | undefined;
@@ -3989,11 +4236,11 @@ export declare const SignalResponse: {
3989
4236
  canReconnect?: boolean | undefined;
3990
4237
  reason?: DisconnectReason | undefined;
3991
4238
  } & {
3992
- [K_64 in Exclude<keyof I["message"]["leave"], keyof LeaveRequest>]: never;
4239
+ [K_67 in Exclude<keyof I["message"]["leave"], keyof LeaveRequest>]: never;
3993
4240
  }) | undefined;
3994
4241
  $case: "leave";
3995
4242
  } & {
3996
- [K_65 in Exclude<keyof I["message"], "leave" | "$case">]: never;
4243
+ [K_68 in Exclude<keyof I["message"], "leave" | "$case">]: never;
3997
4244
  }) | ({
3998
4245
  mute?: {
3999
4246
  sid?: string | undefined;
@@ -4009,11 +4256,11 @@ export declare const SignalResponse: {
4009
4256
  sid?: string | undefined;
4010
4257
  muted?: boolean | undefined;
4011
4258
  } & {
4012
- [K_66 in Exclude<keyof I["message"]["mute"], keyof MuteTrackRequest>]: never;
4259
+ [K_69 in Exclude<keyof I["message"]["mute"], keyof MuteTrackRequest>]: never;
4013
4260
  }) | undefined;
4014
4261
  $case: "mute";
4015
4262
  } & {
4016
- [K_67 in Exclude<keyof I["message"], "mute" | "$case">]: never;
4263
+ [K_70 in Exclude<keyof I["message"], "mute" | "$case">]: never;
4017
4264
  }) | ({
4018
4265
  speakersChanged?: {
4019
4266
  speakers?: {
@@ -4045,20 +4292,20 @@ export declare const SignalResponse: {
4045
4292
  level?: number | undefined;
4046
4293
  active?: boolean | undefined;
4047
4294
  } & {
4048
- [K_68 in Exclude<keyof I["message"]["speakersChanged"]["speakers"][number], keyof SpeakerInfo>]: never;
4295
+ [K_71 in Exclude<keyof I["message"]["speakersChanged"]["speakers"][number], keyof SpeakerInfo>]: never;
4049
4296
  })[] & {
4050
- [K_69 in Exclude<keyof I["message"]["speakersChanged"]["speakers"], keyof {
4297
+ [K_72 in Exclude<keyof I["message"]["speakersChanged"]["speakers"], keyof {
4051
4298
  sid?: string | undefined;
4052
4299
  level?: number | undefined;
4053
4300
  active?: boolean | undefined;
4054
4301
  }[]>]: never;
4055
4302
  }) | undefined;
4056
4303
  } & {
4057
- [K_70 in Exclude<keyof I["message"]["speakersChanged"], "speakers">]: never;
4304
+ [K_73 in Exclude<keyof I["message"]["speakersChanged"], "speakers">]: never;
4058
4305
  }) | undefined;
4059
4306
  $case: "speakersChanged";
4060
4307
  } & {
4061
- [K_71 in Exclude<keyof I["message"], "speakersChanged" | "$case">]: never;
4308
+ [K_74 in Exclude<keyof I["message"], "speakersChanged" | "$case">]: never;
4062
4309
  }) | ({
4063
4310
  roomUpdate?: {
4064
4311
  room?: {
@@ -4128,9 +4375,9 @@ export declare const SignalResponse: {
4128
4375
  mime?: string | undefined;
4129
4376
  fmtpLine?: string | undefined;
4130
4377
  } & {
4131
- [K_72 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never;
4378
+ [K_75 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never;
4132
4379
  })[] & {
4133
- [K_73 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"], keyof {
4380
+ [K_76 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"], keyof {
4134
4381
  mime?: string | undefined;
4135
4382
  fmtpLine?: string | undefined;
4136
4383
  }[]>]: never;
@@ -4139,14 +4386,14 @@ export declare const SignalResponse: {
4139
4386
  numParticipants?: number | undefined;
4140
4387
  activeRecording?: boolean | undefined;
4141
4388
  } & {
4142
- [K_74 in Exclude<keyof I["message"]["roomUpdate"]["room"], keyof Room>]: never;
4389
+ [K_77 in Exclude<keyof I["message"]["roomUpdate"]["room"], keyof Room>]: never;
4143
4390
  }) | undefined;
4144
4391
  } & {
4145
- [K_75 in Exclude<keyof I["message"]["roomUpdate"], "room">]: never;
4392
+ [K_78 in Exclude<keyof I["message"]["roomUpdate"], "room">]: never;
4146
4393
  }) | undefined;
4147
4394
  $case: "roomUpdate";
4148
4395
  } & {
4149
- [K_76 in Exclude<keyof I["message"], "roomUpdate" | "$case">]: never;
4396
+ [K_79 in Exclude<keyof I["message"], "roomUpdate" | "$case">]: never;
4150
4397
  }) | ({
4151
4398
  connectionQuality?: {
4152
4399
  updates?: {
@@ -4178,20 +4425,20 @@ export declare const SignalResponse: {
4178
4425
  quality?: ConnectionQuality | undefined;
4179
4426
  score?: number | undefined;
4180
4427
  } & {
4181
- [K_77 in Exclude<keyof I["message"]["connectionQuality"]["updates"][number], keyof ConnectionQualityInfo>]: never;
4428
+ [K_80 in Exclude<keyof I["message"]["connectionQuality"]["updates"][number], keyof ConnectionQualityInfo>]: never;
4182
4429
  })[] & {
4183
- [K_78 in Exclude<keyof I["message"]["connectionQuality"]["updates"], keyof {
4430
+ [K_81 in Exclude<keyof I["message"]["connectionQuality"]["updates"], keyof {
4184
4431
  participantSid?: string | undefined;
4185
4432
  quality?: ConnectionQuality | undefined;
4186
4433
  score?: number | undefined;
4187
4434
  }[]>]: never;
4188
4435
  }) | undefined;
4189
4436
  } & {
4190
- [K_79 in Exclude<keyof I["message"]["connectionQuality"], "updates">]: never;
4437
+ [K_82 in Exclude<keyof I["message"]["connectionQuality"], "updates">]: never;
4191
4438
  }) | undefined;
4192
4439
  $case: "connectionQuality";
4193
4440
  } & {
4194
- [K_80 in Exclude<keyof I["message"], "connectionQuality" | "$case">]: never;
4441
+ [K_83 in Exclude<keyof I["message"], "connectionQuality" | "$case">]: never;
4195
4442
  }) | ({
4196
4443
  streamStateUpdate?: {
4197
4444
  streamStates?: {
@@ -4223,20 +4470,20 @@ export declare const SignalResponse: {
4223
4470
  trackSid?: string | undefined;
4224
4471
  state?: StreamState | undefined;
4225
4472
  } & {
4226
- [K_81 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"][number], keyof StreamStateInfo>]: never;
4473
+ [K_84 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"][number], keyof StreamStateInfo>]: never;
4227
4474
  })[] & {
4228
- [K_82 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"], keyof {
4475
+ [K_85 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"], keyof {
4229
4476
  participantSid?: string | undefined;
4230
4477
  trackSid?: string | undefined;
4231
4478
  state?: StreamState | undefined;
4232
4479
  }[]>]: never;
4233
4480
  }) | undefined;
4234
4481
  } & {
4235
- [K_83 in Exclude<keyof I["message"]["streamStateUpdate"], "streamStates">]: never;
4482
+ [K_86 in Exclude<keyof I["message"]["streamStateUpdate"], "streamStates">]: never;
4236
4483
  }) | undefined;
4237
4484
  $case: "streamStateUpdate";
4238
4485
  } & {
4239
- [K_84 in Exclude<keyof I["message"], "streamStateUpdate" | "$case">]: never;
4486
+ [K_87 in Exclude<keyof I["message"], "streamStateUpdate" | "$case">]: never;
4240
4487
  }) | ({
4241
4488
  subscribedQualityUpdate?: {
4242
4489
  trackSid?: string | undefined;
@@ -4280,9 +4527,9 @@ export declare const SignalResponse: {
4280
4527
  quality?: VideoQuality | undefined;
4281
4528
  enabled?: boolean | undefined;
4282
4529
  } & {
4283
- [K_85 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"][number], keyof SubscribedQuality>]: never;
4530
+ [K_88 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"][number], keyof SubscribedQuality>]: never;
4284
4531
  })[] & {
4285
- [K_86 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"], keyof {
4532
+ [K_89 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"], keyof {
4286
4533
  quality?: VideoQuality | undefined;
4287
4534
  enabled?: boolean | undefined;
4288
4535
  }[]>]: never;
@@ -4311,17 +4558,17 @@ export declare const SignalResponse: {
4311
4558
  quality?: VideoQuality | undefined;
4312
4559
  enabled?: boolean | undefined;
4313
4560
  } & {
4314
- [K_87 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"][number], keyof SubscribedQuality>]: never;
4561
+ [K_90 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"][number], keyof SubscribedQuality>]: never;
4315
4562
  })[] & {
4316
- [K_88 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"], keyof {
4563
+ [K_91 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"], keyof {
4317
4564
  quality?: VideoQuality | undefined;
4318
4565
  enabled?: boolean | undefined;
4319
4566
  }[]>]: never;
4320
4567
  }) | undefined;
4321
4568
  } & {
4322
- [K_89 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number], keyof SubscribedCodec>]: never;
4569
+ [K_92 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number], keyof SubscribedCodec>]: never;
4323
4570
  })[] & {
4324
- [K_90 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"], keyof {
4571
+ [K_93 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"], keyof {
4325
4572
  codec?: string | undefined;
4326
4573
  qualities?: {
4327
4574
  quality?: VideoQuality | undefined;
@@ -4330,11 +4577,11 @@ export declare const SignalResponse: {
4330
4577
  }[]>]: never;
4331
4578
  }) | undefined;
4332
4579
  } & {
4333
- [K_91 in Exclude<keyof I["message"]["subscribedQualityUpdate"], keyof SubscribedQualityUpdate>]: never;
4580
+ [K_94 in Exclude<keyof I["message"]["subscribedQualityUpdate"], keyof SubscribedQualityUpdate>]: never;
4334
4581
  }) | undefined;
4335
4582
  $case: "subscribedQualityUpdate";
4336
4583
  } & {
4337
- [K_92 in Exclude<keyof I["message"], "subscribedQualityUpdate" | "$case">]: never;
4584
+ [K_95 in Exclude<keyof I["message"], "subscribedQualityUpdate" | "$case">]: never;
4338
4585
  }) | ({
4339
4586
  subscriptionPermissionUpdate?: {
4340
4587
  participantSid?: string | undefined;
@@ -4353,11 +4600,11 @@ export declare const SignalResponse: {
4353
4600
  trackSid?: string | undefined;
4354
4601
  allowed?: boolean | undefined;
4355
4602
  } & {
4356
- [K_93 in Exclude<keyof I["message"]["subscriptionPermissionUpdate"], keyof SubscriptionPermissionUpdate>]: never;
4603
+ [K_96 in Exclude<keyof I["message"]["subscriptionPermissionUpdate"], keyof SubscriptionPermissionUpdate>]: never;
4357
4604
  }) | undefined;
4358
4605
  $case: "subscriptionPermissionUpdate";
4359
4606
  } & {
4360
- [K_94 in Exclude<keyof I["message"], "subscriptionPermissionUpdate" | "$case">]: never;
4607
+ [K_97 in Exclude<keyof I["message"], "subscriptionPermissionUpdate" | "$case">]: never;
4361
4608
  }) | ({
4362
4609
  refreshToken?: string | undefined;
4363
4610
  } & {
@@ -4366,7 +4613,7 @@ export declare const SignalResponse: {
4366
4613
  refreshToken?: string | undefined;
4367
4614
  $case: "refreshToken";
4368
4615
  } & {
4369
- [K_95 in Exclude<keyof I["message"], "refreshToken" | "$case">]: never;
4616
+ [K_98 in Exclude<keyof I["message"], "refreshToken" | "$case">]: never;
4370
4617
  }) | ({
4371
4618
  trackUnpublished?: {
4372
4619
  trackSid?: string | undefined;
@@ -4379,11 +4626,11 @@ export declare const SignalResponse: {
4379
4626
  } & {
4380
4627
  trackSid?: string | undefined;
4381
4628
  } & {
4382
- [K_96 in Exclude<keyof I["message"]["trackUnpublished"], "trackSid">]: never;
4629
+ [K_99 in Exclude<keyof I["message"]["trackUnpublished"], "trackSid">]: never;
4383
4630
  }) | undefined;
4384
4631
  $case: "trackUnpublished";
4385
4632
  } & {
4386
- [K_97 in Exclude<keyof I["message"], "trackUnpublished" | "$case">]: never;
4633
+ [K_100 in Exclude<keyof I["message"], "trackUnpublished" | "$case">]: never;
4387
4634
  }) | ({
4388
4635
  pong?: number | undefined;
4389
4636
  } & {
@@ -4392,7 +4639,7 @@ export declare const SignalResponse: {
4392
4639
  pong?: number | undefined;
4393
4640
  $case: "pong";
4394
4641
  } & {
4395
- [K_98 in Exclude<keyof I["message"], "pong" | "$case">]: never;
4642
+ [K_101 in Exclude<keyof I["message"], "pong" | "$case">]: never;
4396
4643
  }) | ({
4397
4644
  reconnect?: {
4398
4645
  iceServers?: {
@@ -4416,51 +4663,297 @@ export declare const SignalResponse: {
4416
4663
  } | undefined;
4417
4664
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4418
4665
  } | undefined;
4419
- } | undefined;
4420
- } & {
4421
- $case: "reconnect";
4422
- } & {
4423
- reconnect?: ({
4424
- iceServers?: {
4425
- urls?: string[] | undefined;
4426
- username?: string | undefined;
4427
- credential?: string | undefined;
4428
- }[] | undefined;
4429
- clientConfiguration?: {
4430
- video?: {
4431
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4432
- } | undefined;
4433
- screen?: {
4434
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4435
- } | undefined;
4436
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4437
- disabledCodecs?: {
4666
+ room?: {
4667
+ sid?: string | undefined;
4668
+ name?: string | undefined;
4669
+ emptyTimeout?: number | undefined;
4670
+ maxParticipants?: number | undefined;
4671
+ creationTime?: number | undefined;
4672
+ turnPassword?: string | undefined;
4673
+ enabledCodecs?: {
4674
+ mime?: string | undefined;
4675
+ fmtpLine?: string | undefined;
4676
+ }[] | undefined;
4677
+ metadata?: string | undefined;
4678
+ numParticipants?: number | undefined;
4679
+ activeRecording?: boolean | undefined;
4680
+ } | undefined;
4681
+ participant?: {
4682
+ sid?: string | undefined;
4683
+ identity?: string | undefined;
4684
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
4685
+ tracks?: {
4686
+ sid?: string | undefined;
4687
+ type?: TrackType | undefined;
4688
+ name?: string | undefined;
4689
+ muted?: boolean | undefined;
4690
+ width?: number | undefined;
4691
+ height?: number | undefined;
4692
+ simulcast?: boolean | undefined;
4693
+ disableDtx?: boolean | undefined;
4694
+ source?: TrackSource | undefined;
4695
+ layers?: {
4696
+ quality?: VideoQuality | undefined;
4697
+ width?: number | undefined;
4698
+ height?: number | undefined;
4699
+ bitrate?: number | undefined;
4700
+ ssrc?: number | undefined;
4701
+ }[] | undefined;
4702
+ mimeType?: string | undefined;
4703
+ mid?: string | undefined;
4438
4704
  codecs?: {
4439
- mime?: string | undefined;
4440
- fmtpLine?: string | undefined;
4705
+ mimeType?: string | undefined;
4706
+ mid?: string | undefined;
4707
+ cid?: string | undefined;
4708
+ layers?: {
4709
+ quality?: VideoQuality | undefined;
4710
+ width?: number | undefined;
4711
+ height?: number | undefined;
4712
+ bitrate?: number | undefined;
4713
+ ssrc?: number | undefined;
4714
+ }[] | undefined;
4441
4715
  }[] | undefined;
4716
+ stereo?: boolean | undefined;
4717
+ disableRed?: boolean | undefined;
4718
+ encryption?: Encryption_Type | undefined;
4719
+ }[] | undefined;
4720
+ metadata?: string | undefined;
4721
+ joinedAt?: number | undefined;
4722
+ name?: string | undefined;
4723
+ version?: number | undefined;
4724
+ permission?: {
4725
+ canSubscribe?: boolean | undefined;
4726
+ canPublish?: boolean | undefined;
4727
+ canPublishData?: boolean | undefined;
4728
+ canPublishSources?: TrackSource[] | undefined;
4729
+ hidden?: boolean | undefined;
4730
+ recorder?: boolean | undefined;
4442
4731
  } | undefined;
4443
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4732
+ region?: string | undefined;
4733
+ isPublisher?: boolean | undefined;
4444
4734
  } | undefined;
4445
- } & {
4446
- iceServers?: ({
4447
- urls?: string[] | undefined;
4448
- username?: string | undefined;
4449
- credential?: string | undefined;
4450
- }[] & ({
4735
+ otherParticipants?: {
4736
+ sid?: string | undefined;
4737
+ identity?: string | undefined;
4738
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
4739
+ tracks?: {
4740
+ sid?: string | undefined;
4741
+ type?: TrackType | undefined;
4742
+ name?: string | undefined;
4743
+ muted?: boolean | undefined;
4744
+ width?: number | undefined;
4745
+ height?: number | undefined;
4746
+ simulcast?: boolean | undefined;
4747
+ disableDtx?: boolean | undefined;
4748
+ source?: TrackSource | undefined;
4749
+ layers?: {
4750
+ quality?: VideoQuality | undefined;
4751
+ width?: number | undefined;
4752
+ height?: number | undefined;
4753
+ bitrate?: number | undefined;
4754
+ ssrc?: number | undefined;
4755
+ }[] | undefined;
4756
+ mimeType?: string | undefined;
4757
+ mid?: string | undefined;
4758
+ codecs?: {
4759
+ mimeType?: string | undefined;
4760
+ mid?: string | undefined;
4761
+ cid?: string | undefined;
4762
+ layers?: {
4763
+ quality?: VideoQuality | undefined;
4764
+ width?: number | undefined;
4765
+ height?: number | undefined;
4766
+ bitrate?: number | undefined;
4767
+ ssrc?: number | undefined;
4768
+ }[] | undefined;
4769
+ }[] | undefined;
4770
+ stereo?: boolean | undefined;
4771
+ disableRed?: boolean | undefined;
4772
+ encryption?: Encryption_Type | undefined;
4773
+ }[] | undefined;
4774
+ metadata?: string | undefined;
4775
+ joinedAt?: number | undefined;
4776
+ name?: string | undefined;
4777
+ version?: number | undefined;
4778
+ permission?: {
4779
+ canSubscribe?: boolean | undefined;
4780
+ canPublish?: boolean | undefined;
4781
+ canPublishData?: boolean | undefined;
4782
+ canPublishSources?: TrackSource[] | undefined;
4783
+ hidden?: boolean | undefined;
4784
+ recorder?: boolean | undefined;
4785
+ } | undefined;
4786
+ region?: string | undefined;
4787
+ isPublisher?: boolean | undefined;
4788
+ }[] | undefined;
4789
+ } | undefined;
4790
+ } & {
4791
+ $case: "reconnect";
4792
+ } & {
4793
+ reconnect?: ({
4794
+ iceServers?: {
4795
+ urls?: string[] | undefined;
4796
+ username?: string | undefined;
4797
+ credential?: string | undefined;
4798
+ }[] | undefined;
4799
+ clientConfiguration?: {
4800
+ video?: {
4801
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4802
+ } | undefined;
4803
+ screen?: {
4804
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4805
+ } | undefined;
4806
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4807
+ disabledCodecs?: {
4808
+ codecs?: {
4809
+ mime?: string | undefined;
4810
+ fmtpLine?: string | undefined;
4811
+ }[] | undefined;
4812
+ } | undefined;
4813
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4814
+ } | undefined;
4815
+ room?: {
4816
+ sid?: string | undefined;
4817
+ name?: string | undefined;
4818
+ emptyTimeout?: number | undefined;
4819
+ maxParticipants?: number | undefined;
4820
+ creationTime?: number | undefined;
4821
+ turnPassword?: string | undefined;
4822
+ enabledCodecs?: {
4823
+ mime?: string | undefined;
4824
+ fmtpLine?: string | undefined;
4825
+ }[] | undefined;
4826
+ metadata?: string | undefined;
4827
+ numParticipants?: number | undefined;
4828
+ activeRecording?: boolean | undefined;
4829
+ } | undefined;
4830
+ participant?: {
4831
+ sid?: string | undefined;
4832
+ identity?: string | undefined;
4833
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
4834
+ tracks?: {
4835
+ sid?: string | undefined;
4836
+ type?: TrackType | undefined;
4837
+ name?: string | undefined;
4838
+ muted?: boolean | undefined;
4839
+ width?: number | undefined;
4840
+ height?: number | undefined;
4841
+ simulcast?: boolean | undefined;
4842
+ disableDtx?: boolean | undefined;
4843
+ source?: TrackSource | undefined;
4844
+ layers?: {
4845
+ quality?: VideoQuality | undefined;
4846
+ width?: number | undefined;
4847
+ height?: number | undefined;
4848
+ bitrate?: number | undefined;
4849
+ ssrc?: number | undefined;
4850
+ }[] | undefined;
4851
+ mimeType?: string | undefined;
4852
+ mid?: string | undefined;
4853
+ codecs?: {
4854
+ mimeType?: string | undefined;
4855
+ mid?: string | undefined;
4856
+ cid?: string | undefined;
4857
+ layers?: {
4858
+ quality?: VideoQuality | undefined;
4859
+ width?: number | undefined;
4860
+ height?: number | undefined;
4861
+ bitrate?: number | undefined;
4862
+ ssrc?: number | undefined;
4863
+ }[] | undefined;
4864
+ }[] | undefined;
4865
+ stereo?: boolean | undefined;
4866
+ disableRed?: boolean | undefined;
4867
+ encryption?: Encryption_Type | undefined;
4868
+ }[] | undefined;
4869
+ metadata?: string | undefined;
4870
+ joinedAt?: number | undefined;
4871
+ name?: string | undefined;
4872
+ version?: number | undefined;
4873
+ permission?: {
4874
+ canSubscribe?: boolean | undefined;
4875
+ canPublish?: boolean | undefined;
4876
+ canPublishData?: boolean | undefined;
4877
+ canPublishSources?: TrackSource[] | undefined;
4878
+ hidden?: boolean | undefined;
4879
+ recorder?: boolean | undefined;
4880
+ } | undefined;
4881
+ region?: string | undefined;
4882
+ isPublisher?: boolean | undefined;
4883
+ } | undefined;
4884
+ otherParticipants?: {
4885
+ sid?: string | undefined;
4886
+ identity?: string | undefined;
4887
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
4888
+ tracks?: {
4889
+ sid?: string | undefined;
4890
+ type?: TrackType | undefined;
4891
+ name?: string | undefined;
4892
+ muted?: boolean | undefined;
4893
+ width?: number | undefined;
4894
+ height?: number | undefined;
4895
+ simulcast?: boolean | undefined;
4896
+ disableDtx?: boolean | undefined;
4897
+ source?: TrackSource | undefined;
4898
+ layers?: {
4899
+ quality?: VideoQuality | undefined;
4900
+ width?: number | undefined;
4901
+ height?: number | undefined;
4902
+ bitrate?: number | undefined;
4903
+ ssrc?: number | undefined;
4904
+ }[] | undefined;
4905
+ mimeType?: string | undefined;
4906
+ mid?: string | undefined;
4907
+ codecs?: {
4908
+ mimeType?: string | undefined;
4909
+ mid?: string | undefined;
4910
+ cid?: string | undefined;
4911
+ layers?: {
4912
+ quality?: VideoQuality | undefined;
4913
+ width?: number | undefined;
4914
+ height?: number | undefined;
4915
+ bitrate?: number | undefined;
4916
+ ssrc?: number | undefined;
4917
+ }[] | undefined;
4918
+ }[] | undefined;
4919
+ stereo?: boolean | undefined;
4920
+ disableRed?: boolean | undefined;
4921
+ encryption?: Encryption_Type | undefined;
4922
+ }[] | undefined;
4923
+ metadata?: string | undefined;
4924
+ joinedAt?: number | undefined;
4925
+ name?: string | undefined;
4926
+ version?: number | undefined;
4927
+ permission?: {
4928
+ canSubscribe?: boolean | undefined;
4929
+ canPublish?: boolean | undefined;
4930
+ canPublishData?: boolean | undefined;
4931
+ canPublishSources?: TrackSource[] | undefined;
4932
+ hidden?: boolean | undefined;
4933
+ recorder?: boolean | undefined;
4934
+ } | undefined;
4935
+ region?: string | undefined;
4936
+ isPublisher?: boolean | undefined;
4937
+ }[] | undefined;
4938
+ } & {
4939
+ iceServers?: ({
4940
+ urls?: string[] | undefined;
4941
+ username?: string | undefined;
4942
+ credential?: string | undefined;
4943
+ }[] & ({
4451
4944
  urls?: string[] | undefined;
4452
4945
  username?: string | undefined;
4453
4946
  credential?: string | undefined;
4454
4947
  } & {
4455
4948
  urls?: (string[] & string[] & {
4456
- [K_99 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number]["urls"], keyof string[]>]: never;
4949
+ [K_102 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number]["urls"], keyof string[]>]: never;
4457
4950
  }) | undefined;
4458
4951
  username?: string | undefined;
4459
4952
  credential?: string | undefined;
4460
4953
  } & {
4461
- [K_100 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number], keyof ICEServer>]: never;
4954
+ [K_103 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number], keyof ICEServer>]: never;
4462
4955
  })[] & {
4463
- [K_101 in Exclude<keyof I["message"]["reconnect"]["iceServers"], keyof {
4956
+ [K_104 in Exclude<keyof I["message"]["reconnect"]["iceServers"], keyof {
4464
4957
  urls?: string[] | undefined;
4465
4958
  username?: string | undefined;
4466
4959
  credential?: string | undefined;
@@ -4487,14 +4980,14 @@ export declare const SignalResponse: {
4487
4980
  } & {
4488
4981
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4489
4982
  } & {
4490
- [K_102 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["video"], "hardwareEncoder">]: never;
4983
+ [K_105 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["video"], "hardwareEncoder">]: never;
4491
4984
  }) | undefined;
4492
4985
  screen?: ({
4493
4986
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4494
4987
  } & {
4495
4988
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4496
4989
  } & {
4497
- [K_103 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
4990
+ [K_106 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
4498
4991
  }) | undefined;
4499
4992
  resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4500
4993
  disabledCodecs?: ({
@@ -4513,181 +5006,2030 @@ export declare const SignalResponse: {
4513
5006
  mime?: string | undefined;
4514
5007
  fmtpLine?: string | undefined;
4515
5008
  } & {
4516
- [K_104 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
5009
+ [K_107 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
4517
5010
  })[] & {
4518
- [K_105 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
5011
+ [K_108 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
4519
5012
  mime?: string | undefined;
4520
5013
  fmtpLine?: string | undefined;
4521
5014
  }[]>]: never;
4522
5015
  }) | undefined;
4523
5016
  } & {
4524
- [K_106 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
5017
+ [K_109 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
4525
5018
  }) | undefined;
4526
5019
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4527
5020
  } & {
4528
- [K_107 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"], keyof ClientConfiguration>]: never;
5021
+ [K_110 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"], keyof ClientConfiguration>]: never;
4529
5022
  }) | undefined;
4530
- } & {
4531
- [K_108 in Exclude<keyof I["message"]["reconnect"], keyof ReconnectResponse>]: never;
4532
- }) | undefined;
4533
- $case: "reconnect";
4534
- } & {
4535
- [K_109 in Exclude<keyof I["message"], "reconnect" | "$case">]: never;
4536
- }) | undefined;
4537
- } & {
4538
- [K_110 in Exclude<keyof I, "message">]: never;
4539
- }>(object: I): SignalResponse;
4540
- };
4541
- export declare const SimulcastCodec: {
4542
- encode(message: SimulcastCodec, writer?: _m0.Writer): _m0.Writer;
4543
- decode(input: _m0.Reader | Uint8Array, length?: number): SimulcastCodec;
4544
- fromJSON(object: any): SimulcastCodec;
4545
- toJSON(message: SimulcastCodec): unknown;
4546
- fromPartial<I extends {
4547
- codec?: string | undefined;
4548
- cid?: string | undefined;
4549
- enableSimulcastLayers?: boolean | undefined;
4550
- } & {
4551
- codec?: string | undefined;
4552
- cid?: string | undefined;
4553
- enableSimulcastLayers?: boolean | undefined;
4554
- } & {
4555
- [K in Exclude<keyof I, keyof SimulcastCodec>]: never;
4556
- }>(object: I): SimulcastCodec;
4557
- };
4558
- export declare const AddTrackRequest: {
4559
- encode(message: AddTrackRequest, writer?: _m0.Writer): _m0.Writer;
4560
- decode(input: _m0.Reader | Uint8Array, length?: number): AddTrackRequest;
4561
- fromJSON(object: any): AddTrackRequest;
4562
- toJSON(message: AddTrackRequest): unknown;
4563
- fromPartial<I extends {
4564
- cid?: string | undefined;
4565
- name?: string | undefined;
4566
- type?: TrackType | undefined;
4567
- width?: number | undefined;
4568
- height?: number | undefined;
4569
- muted?: boolean | undefined;
4570
- disableDtx?: boolean | undefined;
4571
- source?: TrackSource | undefined;
4572
- layers?: {
4573
- quality?: VideoQuality | undefined;
4574
- width?: number | undefined;
4575
- height?: number | undefined;
4576
- bitrate?: number | undefined;
4577
- ssrc?: number | undefined;
4578
- }[] | undefined;
4579
- simulcastCodecs?: {
4580
- codec?: string | undefined;
4581
- cid?: string | undefined;
4582
- enableSimulcastLayers?: boolean | undefined;
5023
+ room?: ({
5024
+ sid?: string | undefined;
5025
+ name?: string | undefined;
5026
+ emptyTimeout?: number | undefined;
5027
+ maxParticipants?: number | undefined;
5028
+ creationTime?: number | undefined;
5029
+ turnPassword?: string | undefined;
5030
+ enabledCodecs?: {
5031
+ mime?: string | undefined;
5032
+ fmtpLine?: string | undefined;
5033
+ }[] | undefined;
5034
+ metadata?: string | undefined;
5035
+ numParticipants?: number | undefined;
5036
+ activeRecording?: boolean | undefined;
5037
+ } & {
5038
+ sid?: string | undefined;
5039
+ name?: string | undefined;
5040
+ emptyTimeout?: number | undefined;
5041
+ maxParticipants?: number | undefined;
5042
+ creationTime?: number | undefined;
5043
+ turnPassword?: string | undefined;
5044
+ enabledCodecs?: ({
5045
+ mime?: string | undefined;
5046
+ fmtpLine?: string | undefined;
5047
+ }[] & ({
5048
+ mime?: string | undefined;
5049
+ fmtpLine?: string | undefined;
5050
+ } & {
5051
+ mime?: string | undefined;
5052
+ fmtpLine?: string | undefined;
5053
+ } & {
5054
+ [K_111 in Exclude<keyof I["message"]["reconnect"]["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never;
5055
+ })[] & {
5056
+ [K_112 in Exclude<keyof I["message"]["reconnect"]["room"]["enabledCodecs"], keyof {
5057
+ mime?: string | undefined;
5058
+ fmtpLine?: string | undefined;
5059
+ }[]>]: never;
5060
+ }) | undefined;
5061
+ metadata?: string | undefined;
5062
+ numParticipants?: number | undefined;
5063
+ activeRecording?: boolean | undefined;
5064
+ } & {
5065
+ [K_113 in Exclude<keyof I["message"]["reconnect"]["room"], keyof Room>]: never;
5066
+ }) | undefined;
5067
+ participant?: ({
5068
+ sid?: string | undefined;
5069
+ identity?: string | undefined;
5070
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
5071
+ tracks?: {
5072
+ sid?: string | undefined;
5073
+ type?: TrackType | undefined;
5074
+ name?: string | undefined;
5075
+ muted?: boolean | undefined;
5076
+ width?: number | undefined;
5077
+ height?: number | undefined;
5078
+ simulcast?: boolean | undefined;
5079
+ disableDtx?: boolean | undefined;
5080
+ source?: TrackSource | undefined;
5081
+ layers?: {
5082
+ quality?: VideoQuality | undefined;
5083
+ width?: number | undefined;
5084
+ height?: number | undefined;
5085
+ bitrate?: number | undefined;
5086
+ ssrc?: number | undefined;
5087
+ }[] | undefined;
5088
+ mimeType?: string | undefined;
5089
+ mid?: string | undefined;
5090
+ codecs?: {
5091
+ mimeType?: string | undefined;
5092
+ mid?: string | undefined;
5093
+ cid?: string | undefined;
5094
+ layers?: {
5095
+ quality?: VideoQuality | undefined;
5096
+ width?: number | undefined;
5097
+ height?: number | undefined;
5098
+ bitrate?: number | undefined;
5099
+ ssrc?: number | undefined;
5100
+ }[] | undefined;
5101
+ }[] | undefined;
5102
+ stereo?: boolean | undefined;
5103
+ disableRed?: boolean | undefined;
5104
+ encryption?: Encryption_Type | undefined;
5105
+ }[] | undefined;
5106
+ metadata?: string | undefined;
5107
+ joinedAt?: number | undefined;
5108
+ name?: string | undefined;
5109
+ version?: number | undefined;
5110
+ permission?: {
5111
+ canSubscribe?: boolean | undefined;
5112
+ canPublish?: boolean | undefined;
5113
+ canPublishData?: boolean | undefined;
5114
+ canPublishSources?: TrackSource[] | undefined;
5115
+ hidden?: boolean | undefined;
5116
+ recorder?: boolean | undefined;
5117
+ } | undefined;
5118
+ region?: string | undefined;
5119
+ isPublisher?: boolean | undefined;
5120
+ } & {
5121
+ sid?: string | undefined;
5122
+ identity?: string | undefined;
5123
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
5124
+ tracks?: ({
5125
+ sid?: string | undefined;
5126
+ type?: TrackType | undefined;
5127
+ name?: string | undefined;
5128
+ muted?: boolean | undefined;
5129
+ width?: number | undefined;
5130
+ height?: number | undefined;
5131
+ simulcast?: boolean | undefined;
5132
+ disableDtx?: boolean | undefined;
5133
+ source?: TrackSource | undefined;
5134
+ layers?: {
5135
+ quality?: VideoQuality | undefined;
5136
+ width?: number | undefined;
5137
+ height?: number | undefined;
5138
+ bitrate?: number | undefined;
5139
+ ssrc?: number | undefined;
5140
+ }[] | undefined;
5141
+ mimeType?: string | undefined;
5142
+ mid?: string | undefined;
5143
+ codecs?: {
5144
+ mimeType?: string | undefined;
5145
+ mid?: string | undefined;
5146
+ cid?: string | undefined;
5147
+ layers?: {
5148
+ quality?: VideoQuality | undefined;
5149
+ width?: number | undefined;
5150
+ height?: number | undefined;
5151
+ bitrate?: number | undefined;
5152
+ ssrc?: number | undefined;
5153
+ }[] | undefined;
5154
+ }[] | undefined;
5155
+ stereo?: boolean | undefined;
5156
+ disableRed?: boolean | undefined;
5157
+ encryption?: Encryption_Type | undefined;
5158
+ }[] & ({
5159
+ sid?: string | undefined;
5160
+ type?: TrackType | undefined;
5161
+ name?: string | undefined;
5162
+ muted?: boolean | undefined;
5163
+ width?: number | undefined;
5164
+ height?: number | undefined;
5165
+ simulcast?: boolean | undefined;
5166
+ disableDtx?: boolean | undefined;
5167
+ source?: TrackSource | undefined;
5168
+ layers?: {
5169
+ quality?: VideoQuality | undefined;
5170
+ width?: number | undefined;
5171
+ height?: number | undefined;
5172
+ bitrate?: number | undefined;
5173
+ ssrc?: number | undefined;
5174
+ }[] | undefined;
5175
+ mimeType?: string | undefined;
5176
+ mid?: string | undefined;
5177
+ codecs?: {
5178
+ mimeType?: string | undefined;
5179
+ mid?: string | undefined;
5180
+ cid?: string | undefined;
5181
+ layers?: {
5182
+ quality?: VideoQuality | undefined;
5183
+ width?: number | undefined;
5184
+ height?: number | undefined;
5185
+ bitrate?: number | undefined;
5186
+ ssrc?: number | undefined;
5187
+ }[] | undefined;
5188
+ }[] | undefined;
5189
+ stereo?: boolean | undefined;
5190
+ disableRed?: boolean | undefined;
5191
+ encryption?: Encryption_Type | undefined;
5192
+ } & {
5193
+ sid?: string | undefined;
5194
+ type?: TrackType | undefined;
5195
+ name?: string | undefined;
5196
+ muted?: boolean | undefined;
5197
+ width?: number | undefined;
5198
+ height?: number | undefined;
5199
+ simulcast?: boolean | undefined;
5200
+ disableDtx?: boolean | undefined;
5201
+ source?: TrackSource | undefined;
5202
+ layers?: ({
5203
+ quality?: VideoQuality | undefined;
5204
+ width?: number | undefined;
5205
+ height?: number | undefined;
5206
+ bitrate?: number | undefined;
5207
+ ssrc?: number | undefined;
5208
+ }[] & ({
5209
+ quality?: VideoQuality | undefined;
5210
+ width?: number | undefined;
5211
+ height?: number | undefined;
5212
+ bitrate?: number | undefined;
5213
+ ssrc?: number | undefined;
5214
+ } & {
5215
+ quality?: VideoQuality | undefined;
5216
+ width?: number | undefined;
5217
+ height?: number | undefined;
5218
+ bitrate?: number | undefined;
5219
+ ssrc?: number | undefined;
5220
+ } & {
5221
+ [K_114 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
5222
+ })[] & {
5223
+ [K_115 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["layers"], keyof {
5224
+ quality?: VideoQuality | undefined;
5225
+ width?: number | undefined;
5226
+ height?: number | undefined;
5227
+ bitrate?: number | undefined;
5228
+ ssrc?: number | undefined;
5229
+ }[]>]: never;
5230
+ }) | undefined;
5231
+ mimeType?: string | undefined;
5232
+ mid?: string | undefined;
5233
+ codecs?: ({
5234
+ mimeType?: string | undefined;
5235
+ mid?: string | undefined;
5236
+ cid?: string | undefined;
5237
+ layers?: {
5238
+ quality?: VideoQuality | undefined;
5239
+ width?: number | undefined;
5240
+ height?: number | undefined;
5241
+ bitrate?: number | undefined;
5242
+ ssrc?: number | undefined;
5243
+ }[] | undefined;
5244
+ }[] & ({
5245
+ mimeType?: string | undefined;
5246
+ mid?: string | undefined;
5247
+ cid?: string | undefined;
5248
+ layers?: {
5249
+ quality?: VideoQuality | undefined;
5250
+ width?: number | undefined;
5251
+ height?: number | undefined;
5252
+ bitrate?: number | undefined;
5253
+ ssrc?: number | undefined;
5254
+ }[] | undefined;
5255
+ } & {
5256
+ mimeType?: string | undefined;
5257
+ mid?: string | undefined;
5258
+ cid?: string | undefined;
5259
+ layers?: ({
5260
+ quality?: VideoQuality | undefined;
5261
+ width?: number | undefined;
5262
+ height?: number | undefined;
5263
+ bitrate?: number | undefined;
5264
+ ssrc?: number | undefined;
5265
+ }[] & ({
5266
+ quality?: VideoQuality | undefined;
5267
+ width?: number | undefined;
5268
+ height?: number | undefined;
5269
+ bitrate?: number | undefined;
5270
+ ssrc?: number | undefined;
5271
+ } & {
5272
+ quality?: VideoQuality | undefined;
5273
+ width?: number | undefined;
5274
+ height?: number | undefined;
5275
+ bitrate?: number | undefined;
5276
+ ssrc?: number | undefined;
5277
+ } & {
5278
+ [K_116 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
5279
+ })[] & {
5280
+ [K_117 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["codecs"][number]["layers"], keyof {
5281
+ quality?: VideoQuality | undefined;
5282
+ width?: number | undefined;
5283
+ height?: number | undefined;
5284
+ bitrate?: number | undefined;
5285
+ ssrc?: number | undefined;
5286
+ }[]>]: never;
5287
+ }) | undefined;
5288
+ } & {
5289
+ [K_118 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
5290
+ })[] & {
5291
+ [K_119 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number]["codecs"], keyof {
5292
+ mimeType?: string | undefined;
5293
+ mid?: string | undefined;
5294
+ cid?: string | undefined;
5295
+ layers?: {
5296
+ quality?: VideoQuality | undefined;
5297
+ width?: number | undefined;
5298
+ height?: number | undefined;
5299
+ bitrate?: number | undefined;
5300
+ ssrc?: number | undefined;
5301
+ }[] | undefined;
5302
+ }[]>]: never;
5303
+ }) | undefined;
5304
+ stereo?: boolean | undefined;
5305
+ disableRed?: boolean | undefined;
5306
+ encryption?: Encryption_Type | undefined;
5307
+ } & {
5308
+ [K_120 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"][number], keyof TrackInfo>]: never;
5309
+ })[] & {
5310
+ [K_121 in Exclude<keyof I["message"]["reconnect"]["participant"]["tracks"], keyof {
5311
+ sid?: string | undefined;
5312
+ type?: TrackType | undefined;
5313
+ name?: string | undefined;
5314
+ muted?: boolean | undefined;
5315
+ width?: number | undefined;
5316
+ height?: number | undefined;
5317
+ simulcast?: boolean | undefined;
5318
+ disableDtx?: boolean | undefined;
5319
+ source?: TrackSource | undefined;
5320
+ layers?: {
5321
+ quality?: VideoQuality | undefined;
5322
+ width?: number | undefined;
5323
+ height?: number | undefined;
5324
+ bitrate?: number | undefined;
5325
+ ssrc?: number | undefined;
5326
+ }[] | undefined;
5327
+ mimeType?: string | undefined;
5328
+ mid?: string | undefined;
5329
+ codecs?: {
5330
+ mimeType?: string | undefined;
5331
+ mid?: string | undefined;
5332
+ cid?: string | undefined;
5333
+ layers?: {
5334
+ quality?: VideoQuality | undefined;
5335
+ width?: number | undefined;
5336
+ height?: number | undefined;
5337
+ bitrate?: number | undefined;
5338
+ ssrc?: number | undefined;
5339
+ }[] | undefined;
5340
+ }[] | undefined;
5341
+ stereo?: boolean | undefined;
5342
+ disableRed?: boolean | undefined;
5343
+ encryption?: Encryption_Type | undefined;
5344
+ }[]>]: never;
5345
+ }) | undefined;
5346
+ metadata?: string | undefined;
5347
+ joinedAt?: number | undefined;
5348
+ name?: string | undefined;
5349
+ version?: number | undefined;
5350
+ permission?: ({
5351
+ canSubscribe?: boolean | undefined;
5352
+ canPublish?: boolean | undefined;
5353
+ canPublishData?: boolean | undefined;
5354
+ canPublishSources?: TrackSource[] | undefined;
5355
+ hidden?: boolean | undefined;
5356
+ recorder?: boolean | undefined;
5357
+ } & {
5358
+ canSubscribe?: boolean | undefined;
5359
+ canPublish?: boolean | undefined;
5360
+ canPublishData?: boolean | undefined;
5361
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
5362
+ [K_122 in Exclude<keyof I["message"]["reconnect"]["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
5363
+ }) | undefined;
5364
+ hidden?: boolean | undefined;
5365
+ recorder?: boolean | undefined;
5366
+ } & {
5367
+ [K_123 in Exclude<keyof I["message"]["reconnect"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5368
+ }) | undefined;
5369
+ region?: string | undefined;
5370
+ isPublisher?: boolean | undefined;
5371
+ } & {
5372
+ [K_124 in Exclude<keyof I["message"]["reconnect"]["participant"], keyof ParticipantInfo>]: never;
5373
+ }) | undefined;
5374
+ otherParticipants?: ({
5375
+ sid?: string | undefined;
5376
+ identity?: string | undefined;
5377
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
5378
+ tracks?: {
5379
+ sid?: string | undefined;
5380
+ type?: TrackType | undefined;
5381
+ name?: string | undefined;
5382
+ muted?: boolean | undefined;
5383
+ width?: number | undefined;
5384
+ height?: number | undefined;
5385
+ simulcast?: boolean | undefined;
5386
+ disableDtx?: boolean | undefined;
5387
+ source?: TrackSource | undefined;
5388
+ layers?: {
5389
+ quality?: VideoQuality | undefined;
5390
+ width?: number | undefined;
5391
+ height?: number | undefined;
5392
+ bitrate?: number | undefined;
5393
+ ssrc?: number | undefined;
5394
+ }[] | undefined;
5395
+ mimeType?: string | undefined;
5396
+ mid?: string | undefined;
5397
+ codecs?: {
5398
+ mimeType?: string | undefined;
5399
+ mid?: string | undefined;
5400
+ cid?: string | undefined;
5401
+ layers?: {
5402
+ quality?: VideoQuality | undefined;
5403
+ width?: number | undefined;
5404
+ height?: number | undefined;
5405
+ bitrate?: number | undefined;
5406
+ ssrc?: number | undefined;
5407
+ }[] | undefined;
5408
+ }[] | undefined;
5409
+ stereo?: boolean | undefined;
5410
+ disableRed?: boolean | undefined;
5411
+ encryption?: Encryption_Type | undefined;
5412
+ }[] | undefined;
5413
+ metadata?: string | undefined;
5414
+ joinedAt?: number | undefined;
5415
+ name?: string | undefined;
5416
+ version?: number | undefined;
5417
+ permission?: {
5418
+ canSubscribe?: boolean | undefined;
5419
+ canPublish?: boolean | undefined;
5420
+ canPublishData?: boolean | undefined;
5421
+ canPublishSources?: TrackSource[] | undefined;
5422
+ hidden?: boolean | undefined;
5423
+ recorder?: boolean | undefined;
5424
+ } | undefined;
5425
+ region?: string | undefined;
5426
+ isPublisher?: boolean | undefined;
5427
+ }[] & ({
5428
+ sid?: string | undefined;
5429
+ identity?: string | undefined;
5430
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
5431
+ tracks?: {
5432
+ sid?: string | undefined;
5433
+ type?: TrackType | undefined;
5434
+ name?: string | undefined;
5435
+ muted?: boolean | undefined;
5436
+ width?: number | undefined;
5437
+ height?: number | undefined;
5438
+ simulcast?: boolean | undefined;
5439
+ disableDtx?: boolean | undefined;
5440
+ source?: TrackSource | undefined;
5441
+ layers?: {
5442
+ quality?: VideoQuality | undefined;
5443
+ width?: number | undefined;
5444
+ height?: number | undefined;
5445
+ bitrate?: number | undefined;
5446
+ ssrc?: number | undefined;
5447
+ }[] | undefined;
5448
+ mimeType?: string | undefined;
5449
+ mid?: string | undefined;
5450
+ codecs?: {
5451
+ mimeType?: string | undefined;
5452
+ mid?: string | undefined;
5453
+ cid?: string | undefined;
5454
+ layers?: {
5455
+ quality?: VideoQuality | undefined;
5456
+ width?: number | undefined;
5457
+ height?: number | undefined;
5458
+ bitrate?: number | undefined;
5459
+ ssrc?: number | undefined;
5460
+ }[] | undefined;
5461
+ }[] | undefined;
5462
+ stereo?: boolean | undefined;
5463
+ disableRed?: boolean | undefined;
5464
+ encryption?: Encryption_Type | undefined;
5465
+ }[] | undefined;
5466
+ metadata?: string | undefined;
5467
+ joinedAt?: number | undefined;
5468
+ name?: string | undefined;
5469
+ version?: number | undefined;
5470
+ permission?: {
5471
+ canSubscribe?: boolean | undefined;
5472
+ canPublish?: boolean | undefined;
5473
+ canPublishData?: boolean | undefined;
5474
+ canPublishSources?: TrackSource[] | undefined;
5475
+ hidden?: boolean | undefined;
5476
+ recorder?: boolean | undefined;
5477
+ } | undefined;
5478
+ region?: string | undefined;
5479
+ isPublisher?: boolean | undefined;
5480
+ } & {
5481
+ sid?: string | undefined;
5482
+ identity?: string | undefined;
5483
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
5484
+ tracks?: ({
5485
+ sid?: string | undefined;
5486
+ type?: TrackType | undefined;
5487
+ name?: string | undefined;
5488
+ muted?: boolean | undefined;
5489
+ width?: number | undefined;
5490
+ height?: number | undefined;
5491
+ simulcast?: boolean | undefined;
5492
+ disableDtx?: boolean | undefined;
5493
+ source?: TrackSource | undefined;
5494
+ layers?: {
5495
+ quality?: VideoQuality | undefined;
5496
+ width?: number | undefined;
5497
+ height?: number | undefined;
5498
+ bitrate?: number | undefined;
5499
+ ssrc?: number | undefined;
5500
+ }[] | undefined;
5501
+ mimeType?: string | undefined;
5502
+ mid?: string | undefined;
5503
+ codecs?: {
5504
+ mimeType?: string | undefined;
5505
+ mid?: string | undefined;
5506
+ cid?: string | undefined;
5507
+ layers?: {
5508
+ quality?: VideoQuality | undefined;
5509
+ width?: number | undefined;
5510
+ height?: number | undefined;
5511
+ bitrate?: number | undefined;
5512
+ ssrc?: number | undefined;
5513
+ }[] | undefined;
5514
+ }[] | undefined;
5515
+ stereo?: boolean | undefined;
5516
+ disableRed?: boolean | undefined;
5517
+ encryption?: Encryption_Type | undefined;
5518
+ }[] & ({
5519
+ sid?: string | undefined;
5520
+ type?: TrackType | undefined;
5521
+ name?: string | undefined;
5522
+ muted?: boolean | undefined;
5523
+ width?: number | undefined;
5524
+ height?: number | undefined;
5525
+ simulcast?: boolean | undefined;
5526
+ disableDtx?: boolean | undefined;
5527
+ source?: TrackSource | undefined;
5528
+ layers?: {
5529
+ quality?: VideoQuality | undefined;
5530
+ width?: number | undefined;
5531
+ height?: number | undefined;
5532
+ bitrate?: number | undefined;
5533
+ ssrc?: number | undefined;
5534
+ }[] | undefined;
5535
+ mimeType?: string | undefined;
5536
+ mid?: string | undefined;
5537
+ codecs?: {
5538
+ mimeType?: string | undefined;
5539
+ mid?: string | undefined;
5540
+ cid?: string | undefined;
5541
+ layers?: {
5542
+ quality?: VideoQuality | undefined;
5543
+ width?: number | undefined;
5544
+ height?: number | undefined;
5545
+ bitrate?: number | undefined;
5546
+ ssrc?: number | undefined;
5547
+ }[] | undefined;
5548
+ }[] | undefined;
5549
+ stereo?: boolean | undefined;
5550
+ disableRed?: boolean | undefined;
5551
+ encryption?: Encryption_Type | undefined;
5552
+ } & {
5553
+ sid?: string | undefined;
5554
+ type?: TrackType | undefined;
5555
+ name?: string | undefined;
5556
+ muted?: boolean | undefined;
5557
+ width?: number | undefined;
5558
+ height?: number | undefined;
5559
+ simulcast?: boolean | undefined;
5560
+ disableDtx?: boolean | undefined;
5561
+ source?: TrackSource | undefined;
5562
+ layers?: ({
5563
+ quality?: VideoQuality | undefined;
5564
+ width?: number | undefined;
5565
+ height?: number | undefined;
5566
+ bitrate?: number | undefined;
5567
+ ssrc?: number | undefined;
5568
+ }[] & ({
5569
+ quality?: VideoQuality | undefined;
5570
+ width?: number | undefined;
5571
+ height?: number | undefined;
5572
+ bitrate?: number | undefined;
5573
+ ssrc?: number | undefined;
5574
+ } & {
5575
+ quality?: VideoQuality | undefined;
5576
+ width?: number | undefined;
5577
+ height?: number | undefined;
5578
+ bitrate?: number | undefined;
5579
+ ssrc?: number | undefined;
5580
+ } & {
5581
+ [K_125 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
5582
+ })[] & {
5583
+ [K_126 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["layers"], keyof {
5584
+ quality?: VideoQuality | undefined;
5585
+ width?: number | undefined;
5586
+ height?: number | undefined;
5587
+ bitrate?: number | undefined;
5588
+ ssrc?: number | undefined;
5589
+ }[]>]: never;
5590
+ }) | undefined;
5591
+ mimeType?: string | undefined;
5592
+ mid?: string | undefined;
5593
+ codecs?: ({
5594
+ mimeType?: string | undefined;
5595
+ mid?: string | undefined;
5596
+ cid?: string | undefined;
5597
+ layers?: {
5598
+ quality?: VideoQuality | undefined;
5599
+ width?: number | undefined;
5600
+ height?: number | undefined;
5601
+ bitrate?: number | undefined;
5602
+ ssrc?: number | undefined;
5603
+ }[] | undefined;
5604
+ }[] & ({
5605
+ mimeType?: string | undefined;
5606
+ mid?: string | undefined;
5607
+ cid?: string | undefined;
5608
+ layers?: {
5609
+ quality?: VideoQuality | undefined;
5610
+ width?: number | undefined;
5611
+ height?: number | undefined;
5612
+ bitrate?: number | undefined;
5613
+ ssrc?: number | undefined;
5614
+ }[] | undefined;
5615
+ } & {
5616
+ mimeType?: string | undefined;
5617
+ mid?: string | undefined;
5618
+ cid?: string | undefined;
5619
+ layers?: ({
5620
+ quality?: VideoQuality | undefined;
5621
+ width?: number | undefined;
5622
+ height?: number | undefined;
5623
+ bitrate?: number | undefined;
5624
+ ssrc?: number | undefined;
5625
+ }[] & ({
5626
+ quality?: VideoQuality | undefined;
5627
+ width?: number | undefined;
5628
+ height?: number | undefined;
5629
+ bitrate?: number | undefined;
5630
+ ssrc?: number | undefined;
5631
+ } & {
5632
+ quality?: VideoQuality | undefined;
5633
+ width?: number | undefined;
5634
+ height?: number | undefined;
5635
+ bitrate?: number | undefined;
5636
+ ssrc?: number | undefined;
5637
+ } & {
5638
+ [K_127 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
5639
+ })[] & {
5640
+ [K_128 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
5641
+ quality?: VideoQuality | undefined;
5642
+ width?: number | undefined;
5643
+ height?: number | undefined;
5644
+ bitrate?: number | undefined;
5645
+ ssrc?: number | undefined;
5646
+ }[]>]: never;
5647
+ }) | undefined;
5648
+ } & {
5649
+ [K_129 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
5650
+ })[] & {
5651
+ [K_130 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
5652
+ mimeType?: string | undefined;
5653
+ mid?: string | undefined;
5654
+ cid?: string | undefined;
5655
+ layers?: {
5656
+ quality?: VideoQuality | undefined;
5657
+ width?: number | undefined;
5658
+ height?: number | undefined;
5659
+ bitrate?: number | undefined;
5660
+ ssrc?: number | undefined;
5661
+ }[] | undefined;
5662
+ }[]>]: never;
5663
+ }) | undefined;
5664
+ stereo?: boolean | undefined;
5665
+ disableRed?: boolean | undefined;
5666
+ encryption?: Encryption_Type | undefined;
5667
+ } & {
5668
+ [K_131 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
5669
+ })[] & {
5670
+ [K_132 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["tracks"], keyof {
5671
+ sid?: string | undefined;
5672
+ type?: TrackType | undefined;
5673
+ name?: string | undefined;
5674
+ muted?: boolean | undefined;
5675
+ width?: number | undefined;
5676
+ height?: number | undefined;
5677
+ simulcast?: boolean | undefined;
5678
+ disableDtx?: boolean | undefined;
5679
+ source?: TrackSource | undefined;
5680
+ layers?: {
5681
+ quality?: VideoQuality | undefined;
5682
+ width?: number | undefined;
5683
+ height?: number | undefined;
5684
+ bitrate?: number | undefined;
5685
+ ssrc?: number | undefined;
5686
+ }[] | undefined;
5687
+ mimeType?: string | undefined;
5688
+ mid?: string | undefined;
5689
+ codecs?: {
5690
+ mimeType?: string | undefined;
5691
+ mid?: string | undefined;
5692
+ cid?: string | undefined;
5693
+ layers?: {
5694
+ quality?: VideoQuality | undefined;
5695
+ width?: number | undefined;
5696
+ height?: number | undefined;
5697
+ bitrate?: number | undefined;
5698
+ ssrc?: number | undefined;
5699
+ }[] | undefined;
5700
+ }[] | undefined;
5701
+ stereo?: boolean | undefined;
5702
+ disableRed?: boolean | undefined;
5703
+ encryption?: Encryption_Type | undefined;
5704
+ }[]>]: never;
5705
+ }) | undefined;
5706
+ metadata?: string | undefined;
5707
+ joinedAt?: number | undefined;
5708
+ name?: string | undefined;
5709
+ version?: number | undefined;
5710
+ permission?: ({
5711
+ canSubscribe?: boolean | undefined;
5712
+ canPublish?: boolean | undefined;
5713
+ canPublishData?: boolean | undefined;
5714
+ canPublishSources?: TrackSource[] | undefined;
5715
+ hidden?: boolean | undefined;
5716
+ recorder?: boolean | undefined;
5717
+ } & {
5718
+ canSubscribe?: boolean | undefined;
5719
+ canPublish?: boolean | undefined;
5720
+ canPublishData?: boolean | undefined;
5721
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
5722
+ [K_133 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
5723
+ }) | undefined;
5724
+ hidden?: boolean | undefined;
5725
+ recorder?: boolean | undefined;
5726
+ } & {
5727
+ [K_134 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5728
+ }) | undefined;
5729
+ region?: string | undefined;
5730
+ isPublisher?: boolean | undefined;
5731
+ } & {
5732
+ [K_135 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"][number], keyof ParticipantInfo>]: never;
5733
+ })[] & {
5734
+ [K_136 in Exclude<keyof I["message"]["reconnect"]["otherParticipants"], keyof {
5735
+ sid?: string | undefined;
5736
+ identity?: string | undefined;
5737
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
5738
+ tracks?: {
5739
+ sid?: string | undefined;
5740
+ type?: TrackType | undefined;
5741
+ name?: string | undefined;
5742
+ muted?: boolean | undefined;
5743
+ width?: number | undefined;
5744
+ height?: number | undefined;
5745
+ simulcast?: boolean | undefined;
5746
+ disableDtx?: boolean | undefined;
5747
+ source?: TrackSource | undefined;
5748
+ layers?: {
5749
+ quality?: VideoQuality | undefined;
5750
+ width?: number | undefined;
5751
+ height?: number | undefined;
5752
+ bitrate?: number | undefined;
5753
+ ssrc?: number | undefined;
5754
+ }[] | undefined;
5755
+ mimeType?: string | undefined;
5756
+ mid?: string | undefined;
5757
+ codecs?: {
5758
+ mimeType?: string | undefined;
5759
+ mid?: string | undefined;
5760
+ cid?: string | undefined;
5761
+ layers?: {
5762
+ quality?: VideoQuality | undefined;
5763
+ width?: number | undefined;
5764
+ height?: number | undefined;
5765
+ bitrate?: number | undefined;
5766
+ ssrc?: number | undefined;
5767
+ }[] | undefined;
5768
+ }[] | undefined;
5769
+ stereo?: boolean | undefined;
5770
+ disableRed?: boolean | undefined;
5771
+ encryption?: Encryption_Type | undefined;
5772
+ }[] | undefined;
5773
+ metadata?: string | undefined;
5774
+ joinedAt?: number | undefined;
5775
+ name?: string | undefined;
5776
+ version?: number | undefined;
5777
+ permission?: {
5778
+ canSubscribe?: boolean | undefined;
5779
+ canPublish?: boolean | undefined;
5780
+ canPublishData?: boolean | undefined;
5781
+ canPublishSources?: TrackSource[] | undefined;
5782
+ hidden?: boolean | undefined;
5783
+ recorder?: boolean | undefined;
5784
+ } | undefined;
5785
+ region?: string | undefined;
5786
+ isPublisher?: boolean | undefined;
5787
+ }[]>]: never;
5788
+ }) | undefined;
5789
+ } & {
5790
+ [K_137 in Exclude<keyof I["message"]["reconnect"], keyof ReconnectResponse>]: never;
5791
+ }) | undefined;
5792
+ $case: "reconnect";
5793
+ } & {
5794
+ [K_138 in Exclude<keyof I["message"], "reconnect" | "$case">]: never;
5795
+ }) | ({
5796
+ pongResp?: {
5797
+ lastPingTimestamp?: number | undefined;
5798
+ timestamp?: number | undefined;
5799
+ } | undefined;
5800
+ } & {
5801
+ $case: "pongResp";
5802
+ } & {
5803
+ pongResp?: ({
5804
+ lastPingTimestamp?: number | undefined;
5805
+ timestamp?: number | undefined;
5806
+ } & {
5807
+ lastPingTimestamp?: number | undefined;
5808
+ timestamp?: number | undefined;
5809
+ } & {
5810
+ [K_139 in Exclude<keyof I["message"]["pongResp"], keyof Pong>]: never;
5811
+ }) | undefined;
5812
+ $case: "pongResp";
5813
+ } & {
5814
+ [K_140 in Exclude<keyof I["message"], "pongResp" | "$case">]: never;
5815
+ }) | undefined;
5816
+ } & {
5817
+ [K_141 in Exclude<keyof I, "message">]: never;
5818
+ }>(object: I): SignalResponse;
5819
+ };
5820
+ export declare const SimulcastCodec: {
5821
+ encode(message: SimulcastCodec, writer?: _m0.Writer): _m0.Writer;
5822
+ decode(input: _m0.Reader | Uint8Array, length?: number): SimulcastCodec;
5823
+ fromJSON(object: any): SimulcastCodec;
5824
+ toJSON(message: SimulcastCodec): unknown;
5825
+ fromPartial<I extends {
5826
+ codec?: string | undefined;
5827
+ cid?: string | undefined;
5828
+ enableSimulcastLayers?: boolean | undefined;
5829
+ } & {
5830
+ codec?: string | undefined;
5831
+ cid?: string | undefined;
5832
+ enableSimulcastLayers?: boolean | undefined;
5833
+ } & {
5834
+ [K in Exclude<keyof I, keyof SimulcastCodec>]: never;
5835
+ }>(object: I): SimulcastCodec;
5836
+ };
5837
+ export declare const AddTrackRequest: {
5838
+ encode(message: AddTrackRequest, writer?: _m0.Writer): _m0.Writer;
5839
+ decode(input: _m0.Reader | Uint8Array, length?: number): AddTrackRequest;
5840
+ fromJSON(object: any): AddTrackRequest;
5841
+ toJSON(message: AddTrackRequest): unknown;
5842
+ fromPartial<I extends {
5843
+ cid?: string | undefined;
5844
+ name?: string | undefined;
5845
+ type?: TrackType | undefined;
5846
+ width?: number | undefined;
5847
+ height?: number | undefined;
5848
+ muted?: boolean | undefined;
5849
+ disableDtx?: boolean | undefined;
5850
+ source?: TrackSource | undefined;
5851
+ layers?: {
5852
+ quality?: VideoQuality | undefined;
5853
+ width?: number | undefined;
5854
+ height?: number | undefined;
5855
+ bitrate?: number | undefined;
5856
+ ssrc?: number | undefined;
5857
+ }[] | undefined;
5858
+ simulcastCodecs?: {
5859
+ codec?: string | undefined;
5860
+ cid?: string | undefined;
5861
+ enableSimulcastLayers?: boolean | undefined;
4583
5862
  }[] | undefined;
4584
5863
  sid?: string | undefined;
4585
5864
  stereo?: boolean | undefined;
4586
5865
  disableRed?: boolean | undefined;
4587
5866
  encryption?: Encryption_Type | undefined;
4588
5867
  } & {
4589
- cid?: string | undefined;
4590
- name?: string | undefined;
4591
- type?: TrackType | undefined;
4592
- width?: number | undefined;
4593
- height?: number | undefined;
4594
- muted?: boolean | undefined;
4595
- disableDtx?: boolean | undefined;
4596
- source?: TrackSource | undefined;
4597
- layers?: ({
4598
- quality?: VideoQuality | undefined;
4599
- width?: number | undefined;
4600
- height?: number | undefined;
4601
- bitrate?: number | undefined;
4602
- ssrc?: number | undefined;
5868
+ cid?: string | undefined;
5869
+ name?: string | undefined;
5870
+ type?: TrackType | undefined;
5871
+ width?: number | undefined;
5872
+ height?: number | undefined;
5873
+ muted?: boolean | undefined;
5874
+ disableDtx?: boolean | undefined;
5875
+ source?: TrackSource | undefined;
5876
+ layers?: ({
5877
+ quality?: VideoQuality | undefined;
5878
+ width?: number | undefined;
5879
+ height?: number | undefined;
5880
+ bitrate?: number | undefined;
5881
+ ssrc?: number | undefined;
5882
+ }[] & ({
5883
+ quality?: VideoQuality | undefined;
5884
+ width?: number | undefined;
5885
+ height?: number | undefined;
5886
+ bitrate?: number | undefined;
5887
+ ssrc?: number | undefined;
5888
+ } & {
5889
+ quality?: VideoQuality | undefined;
5890
+ width?: number | undefined;
5891
+ height?: number | undefined;
5892
+ bitrate?: number | undefined;
5893
+ ssrc?: number | undefined;
5894
+ } & {
5895
+ [K in Exclude<keyof I["layers"][number], keyof VideoLayer>]: never;
5896
+ })[] & {
5897
+ [K_1 in Exclude<keyof I["layers"], keyof {
5898
+ quality?: VideoQuality | undefined;
5899
+ width?: number | undefined;
5900
+ height?: number | undefined;
5901
+ bitrate?: number | undefined;
5902
+ ssrc?: number | undefined;
5903
+ }[]>]: never;
5904
+ }) | undefined;
5905
+ simulcastCodecs?: ({
5906
+ codec?: string | undefined;
5907
+ cid?: string | undefined;
5908
+ enableSimulcastLayers?: boolean | undefined;
5909
+ }[] & ({
5910
+ codec?: string | undefined;
5911
+ cid?: string | undefined;
5912
+ enableSimulcastLayers?: boolean | undefined;
5913
+ } & {
5914
+ codec?: string | undefined;
5915
+ cid?: string | undefined;
5916
+ enableSimulcastLayers?: boolean | undefined;
5917
+ } & {
5918
+ [K_2 in Exclude<keyof I["simulcastCodecs"][number], keyof SimulcastCodec>]: never;
5919
+ })[] & {
5920
+ [K_3 in Exclude<keyof I["simulcastCodecs"], keyof {
5921
+ codec?: string | undefined;
5922
+ cid?: string | undefined;
5923
+ enableSimulcastLayers?: boolean | undefined;
5924
+ }[]>]: never;
5925
+ }) | undefined;
5926
+ sid?: string | undefined;
5927
+ stereo?: boolean | undefined;
5928
+ disableRed?: boolean | undefined;
5929
+ encryption?: Encryption_Type | undefined;
5930
+ } & {
5931
+ [K_4 in Exclude<keyof I, keyof AddTrackRequest>]: never;
5932
+ }>(object: I): AddTrackRequest;
5933
+ };
5934
+ export declare const TrickleRequest: {
5935
+ encode(message: TrickleRequest, writer?: _m0.Writer): _m0.Writer;
5936
+ decode(input: _m0.Reader | Uint8Array, length?: number): TrickleRequest;
5937
+ fromJSON(object: any): TrickleRequest;
5938
+ toJSON(message: TrickleRequest): unknown;
5939
+ fromPartial<I extends {
5940
+ candidateInit?: string | undefined;
5941
+ target?: SignalTarget | undefined;
5942
+ } & {
5943
+ candidateInit?: string | undefined;
5944
+ target?: SignalTarget | undefined;
5945
+ } & {
5946
+ [K in Exclude<keyof I, keyof TrickleRequest>]: never;
5947
+ }>(object: I): TrickleRequest;
5948
+ };
5949
+ export declare const MuteTrackRequest: {
5950
+ encode(message: MuteTrackRequest, writer?: _m0.Writer): _m0.Writer;
5951
+ decode(input: _m0.Reader | Uint8Array, length?: number): MuteTrackRequest;
5952
+ fromJSON(object: any): MuteTrackRequest;
5953
+ toJSON(message: MuteTrackRequest): unknown;
5954
+ fromPartial<I extends {
5955
+ sid?: string | undefined;
5956
+ muted?: boolean | undefined;
5957
+ } & {
5958
+ sid?: string | undefined;
5959
+ muted?: boolean | undefined;
5960
+ } & {
5961
+ [K in Exclude<keyof I, keyof MuteTrackRequest>]: never;
5962
+ }>(object: I): MuteTrackRequest;
5963
+ };
5964
+ export declare const JoinResponse: {
5965
+ encode(message: JoinResponse, writer?: _m0.Writer): _m0.Writer;
5966
+ decode(input: _m0.Reader | Uint8Array, length?: number): JoinResponse;
5967
+ fromJSON(object: any): JoinResponse;
5968
+ toJSON(message: JoinResponse): unknown;
5969
+ fromPartial<I extends {
5970
+ room?: {
5971
+ sid?: string | undefined;
5972
+ name?: string | undefined;
5973
+ emptyTimeout?: number | undefined;
5974
+ maxParticipants?: number | undefined;
5975
+ creationTime?: number | undefined;
5976
+ turnPassword?: string | undefined;
5977
+ enabledCodecs?: {
5978
+ mime?: string | undefined;
5979
+ fmtpLine?: string | undefined;
5980
+ }[] | undefined;
5981
+ metadata?: string | undefined;
5982
+ numParticipants?: number | undefined;
5983
+ activeRecording?: boolean | undefined;
5984
+ } | undefined;
5985
+ participant?: {
5986
+ sid?: string | undefined;
5987
+ identity?: string | undefined;
5988
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
5989
+ tracks?: {
5990
+ sid?: string | undefined;
5991
+ type?: TrackType | undefined;
5992
+ name?: string | undefined;
5993
+ muted?: boolean | undefined;
5994
+ width?: number | undefined;
5995
+ height?: number | undefined;
5996
+ simulcast?: boolean | undefined;
5997
+ disableDtx?: boolean | undefined;
5998
+ source?: TrackSource | undefined;
5999
+ layers?: {
6000
+ quality?: VideoQuality | undefined;
6001
+ width?: number | undefined;
6002
+ height?: number | undefined;
6003
+ bitrate?: number | undefined;
6004
+ ssrc?: number | undefined;
6005
+ }[] | undefined;
6006
+ mimeType?: string | undefined;
6007
+ mid?: string | undefined;
6008
+ codecs?: {
6009
+ mimeType?: string | undefined;
6010
+ mid?: string | undefined;
6011
+ cid?: string | undefined;
6012
+ layers?: {
6013
+ quality?: VideoQuality | undefined;
6014
+ width?: number | undefined;
6015
+ height?: number | undefined;
6016
+ bitrate?: number | undefined;
6017
+ ssrc?: number | undefined;
6018
+ }[] | undefined;
6019
+ }[] | undefined;
6020
+ stereo?: boolean | undefined;
6021
+ disableRed?: boolean | undefined;
6022
+ encryption?: Encryption_Type | undefined;
6023
+ }[] | undefined;
6024
+ metadata?: string | undefined;
6025
+ joinedAt?: number | undefined;
6026
+ name?: string | undefined;
6027
+ version?: number | undefined;
6028
+ permission?: {
6029
+ canSubscribe?: boolean | undefined;
6030
+ canPublish?: boolean | undefined;
6031
+ canPublishData?: boolean | undefined;
6032
+ canPublishSources?: TrackSource[] | undefined;
6033
+ hidden?: boolean | undefined;
6034
+ recorder?: boolean | undefined;
6035
+ } | undefined;
6036
+ region?: string | undefined;
6037
+ isPublisher?: boolean | undefined;
6038
+ } | undefined;
6039
+ otherParticipants?: {
6040
+ sid?: string | undefined;
6041
+ identity?: string | undefined;
6042
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
6043
+ tracks?: {
6044
+ sid?: string | undefined;
6045
+ type?: TrackType | undefined;
6046
+ name?: string | undefined;
6047
+ muted?: boolean | undefined;
6048
+ width?: number | undefined;
6049
+ height?: number | undefined;
6050
+ simulcast?: boolean | undefined;
6051
+ disableDtx?: boolean | undefined;
6052
+ source?: TrackSource | undefined;
6053
+ layers?: {
6054
+ quality?: VideoQuality | undefined;
6055
+ width?: number | undefined;
6056
+ height?: number | undefined;
6057
+ bitrate?: number | undefined;
6058
+ ssrc?: number | undefined;
6059
+ }[] | undefined;
6060
+ mimeType?: string | undefined;
6061
+ mid?: string | undefined;
6062
+ codecs?: {
6063
+ mimeType?: string | undefined;
6064
+ mid?: string | undefined;
6065
+ cid?: string | undefined;
6066
+ layers?: {
6067
+ quality?: VideoQuality | undefined;
6068
+ width?: number | undefined;
6069
+ height?: number | undefined;
6070
+ bitrate?: number | undefined;
6071
+ ssrc?: number | undefined;
6072
+ }[] | undefined;
6073
+ }[] | undefined;
6074
+ stereo?: boolean | undefined;
6075
+ disableRed?: boolean | undefined;
6076
+ encryption?: Encryption_Type | undefined;
6077
+ }[] | undefined;
6078
+ metadata?: string | undefined;
6079
+ joinedAt?: number | undefined;
6080
+ name?: string | undefined;
6081
+ version?: number | undefined;
6082
+ permission?: {
6083
+ canSubscribe?: boolean | undefined;
6084
+ canPublish?: boolean | undefined;
6085
+ canPublishData?: boolean | undefined;
6086
+ canPublishSources?: TrackSource[] | undefined;
6087
+ hidden?: boolean | undefined;
6088
+ recorder?: boolean | undefined;
6089
+ } | undefined;
6090
+ region?: string | undefined;
6091
+ isPublisher?: boolean | undefined;
6092
+ }[] | undefined;
6093
+ serverVersion?: string | undefined;
6094
+ iceServers?: {
6095
+ urls?: string[] | undefined;
6096
+ username?: string | undefined;
6097
+ credential?: string | undefined;
6098
+ }[] | undefined;
6099
+ subscriberPrimary?: boolean | undefined;
6100
+ alternativeUrl?: string | undefined;
6101
+ clientConfiguration?: {
6102
+ video?: {
6103
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6104
+ } | undefined;
6105
+ screen?: {
6106
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6107
+ } | undefined;
6108
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
6109
+ disabledCodecs?: {
6110
+ codecs?: {
6111
+ mime?: string | undefined;
6112
+ fmtpLine?: string | undefined;
6113
+ }[] | undefined;
6114
+ } | undefined;
6115
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
6116
+ } | undefined;
6117
+ serverRegion?: string | undefined;
6118
+ pingTimeout?: number | undefined;
6119
+ pingInterval?: number | undefined;
6120
+ serverInfo?: {
6121
+ edition?: import("./livekit_models").ServerInfo_Edition | undefined;
6122
+ version?: string | undefined;
6123
+ protocol?: number | undefined;
6124
+ region?: string | undefined;
6125
+ nodeId?: string | undefined;
6126
+ debugInfo?: string | undefined;
6127
+ } | undefined;
6128
+ } & {
6129
+ room?: ({
6130
+ sid?: string | undefined;
6131
+ name?: string | undefined;
6132
+ emptyTimeout?: number | undefined;
6133
+ maxParticipants?: number | undefined;
6134
+ creationTime?: number | undefined;
6135
+ turnPassword?: string | undefined;
6136
+ enabledCodecs?: {
6137
+ mime?: string | undefined;
6138
+ fmtpLine?: string | undefined;
6139
+ }[] | undefined;
6140
+ metadata?: string | undefined;
6141
+ numParticipants?: number | undefined;
6142
+ activeRecording?: boolean | undefined;
6143
+ } & {
6144
+ sid?: string | undefined;
6145
+ name?: string | undefined;
6146
+ emptyTimeout?: number | undefined;
6147
+ maxParticipants?: number | undefined;
6148
+ creationTime?: number | undefined;
6149
+ turnPassword?: string | undefined;
6150
+ enabledCodecs?: ({
6151
+ mime?: string | undefined;
6152
+ fmtpLine?: string | undefined;
6153
+ }[] & ({
6154
+ mime?: string | undefined;
6155
+ fmtpLine?: string | undefined;
6156
+ } & {
6157
+ mime?: string | undefined;
6158
+ fmtpLine?: string | undefined;
6159
+ } & {
6160
+ [K in Exclude<keyof I["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never;
6161
+ })[] & {
6162
+ [K_1 in Exclude<keyof I["room"]["enabledCodecs"], keyof {
6163
+ mime?: string | undefined;
6164
+ fmtpLine?: string | undefined;
6165
+ }[]>]: never;
6166
+ }) | undefined;
6167
+ metadata?: string | undefined;
6168
+ numParticipants?: number | undefined;
6169
+ activeRecording?: boolean | undefined;
6170
+ } & {
6171
+ [K_2 in Exclude<keyof I["room"], keyof Room>]: never;
6172
+ }) | undefined;
6173
+ participant?: ({
6174
+ sid?: string | undefined;
6175
+ identity?: string | undefined;
6176
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
6177
+ tracks?: {
6178
+ sid?: string | undefined;
6179
+ type?: TrackType | undefined;
6180
+ name?: string | undefined;
6181
+ muted?: boolean | undefined;
6182
+ width?: number | undefined;
6183
+ height?: number | undefined;
6184
+ simulcast?: boolean | undefined;
6185
+ disableDtx?: boolean | undefined;
6186
+ source?: TrackSource | undefined;
6187
+ layers?: {
6188
+ quality?: VideoQuality | undefined;
6189
+ width?: number | undefined;
6190
+ height?: number | undefined;
6191
+ bitrate?: number | undefined;
6192
+ ssrc?: number | undefined;
6193
+ }[] | undefined;
6194
+ mimeType?: string | undefined;
6195
+ mid?: string | undefined;
6196
+ codecs?: {
6197
+ mimeType?: string | undefined;
6198
+ mid?: string | undefined;
6199
+ cid?: string | undefined;
6200
+ layers?: {
6201
+ quality?: VideoQuality | undefined;
6202
+ width?: number | undefined;
6203
+ height?: number | undefined;
6204
+ bitrate?: number | undefined;
6205
+ ssrc?: number | undefined;
6206
+ }[] | undefined;
6207
+ }[] | undefined;
6208
+ stereo?: boolean | undefined;
6209
+ disableRed?: boolean | undefined;
6210
+ encryption?: Encryption_Type | undefined;
6211
+ }[] | undefined;
6212
+ metadata?: string | undefined;
6213
+ joinedAt?: number | undefined;
6214
+ name?: string | undefined;
6215
+ version?: number | undefined;
6216
+ permission?: {
6217
+ canSubscribe?: boolean | undefined;
6218
+ canPublish?: boolean | undefined;
6219
+ canPublishData?: boolean | undefined;
6220
+ canPublishSources?: TrackSource[] | undefined;
6221
+ hidden?: boolean | undefined;
6222
+ recorder?: boolean | undefined;
6223
+ } | undefined;
6224
+ region?: string | undefined;
6225
+ isPublisher?: boolean | undefined;
6226
+ } & {
6227
+ sid?: string | undefined;
6228
+ identity?: string | undefined;
6229
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
6230
+ tracks?: ({
6231
+ sid?: string | undefined;
6232
+ type?: TrackType | undefined;
6233
+ name?: string | undefined;
6234
+ muted?: boolean | undefined;
6235
+ width?: number | undefined;
6236
+ height?: number | undefined;
6237
+ simulcast?: boolean | undefined;
6238
+ disableDtx?: boolean | undefined;
6239
+ source?: TrackSource | undefined;
6240
+ layers?: {
6241
+ quality?: VideoQuality | undefined;
6242
+ width?: number | undefined;
6243
+ height?: number | undefined;
6244
+ bitrate?: number | undefined;
6245
+ ssrc?: number | undefined;
6246
+ }[] | undefined;
6247
+ mimeType?: string | undefined;
6248
+ mid?: string | undefined;
6249
+ codecs?: {
6250
+ mimeType?: string | undefined;
6251
+ mid?: string | undefined;
6252
+ cid?: string | undefined;
6253
+ layers?: {
6254
+ quality?: VideoQuality | undefined;
6255
+ width?: number | undefined;
6256
+ height?: number | undefined;
6257
+ bitrate?: number | undefined;
6258
+ ssrc?: number | undefined;
6259
+ }[] | undefined;
6260
+ }[] | undefined;
6261
+ stereo?: boolean | undefined;
6262
+ disableRed?: boolean | undefined;
6263
+ encryption?: Encryption_Type | undefined;
6264
+ }[] & ({
6265
+ sid?: string | undefined;
6266
+ type?: TrackType | undefined;
6267
+ name?: string | undefined;
6268
+ muted?: boolean | undefined;
6269
+ width?: number | undefined;
6270
+ height?: number | undefined;
6271
+ simulcast?: boolean | undefined;
6272
+ disableDtx?: boolean | undefined;
6273
+ source?: TrackSource | undefined;
6274
+ layers?: {
6275
+ quality?: VideoQuality | undefined;
6276
+ width?: number | undefined;
6277
+ height?: number | undefined;
6278
+ bitrate?: number | undefined;
6279
+ ssrc?: number | undefined;
6280
+ }[] | undefined;
6281
+ mimeType?: string | undefined;
6282
+ mid?: string | undefined;
6283
+ codecs?: {
6284
+ mimeType?: string | undefined;
6285
+ mid?: string | undefined;
6286
+ cid?: string | undefined;
6287
+ layers?: {
6288
+ quality?: VideoQuality | undefined;
6289
+ width?: number | undefined;
6290
+ height?: number | undefined;
6291
+ bitrate?: number | undefined;
6292
+ ssrc?: number | undefined;
6293
+ }[] | undefined;
6294
+ }[] | undefined;
6295
+ stereo?: boolean | undefined;
6296
+ disableRed?: boolean | undefined;
6297
+ encryption?: Encryption_Type | undefined;
6298
+ } & {
6299
+ sid?: string | undefined;
6300
+ type?: TrackType | undefined;
6301
+ name?: string | undefined;
6302
+ muted?: boolean | undefined;
6303
+ width?: number | undefined;
6304
+ height?: number | undefined;
6305
+ simulcast?: boolean | undefined;
6306
+ disableDtx?: boolean | undefined;
6307
+ source?: TrackSource | undefined;
6308
+ layers?: ({
6309
+ quality?: VideoQuality | undefined;
6310
+ width?: number | undefined;
6311
+ height?: number | undefined;
6312
+ bitrate?: number | undefined;
6313
+ ssrc?: number | undefined;
6314
+ }[] & ({
6315
+ quality?: VideoQuality | undefined;
6316
+ width?: number | undefined;
6317
+ height?: number | undefined;
6318
+ bitrate?: number | undefined;
6319
+ ssrc?: number | undefined;
6320
+ } & {
6321
+ quality?: VideoQuality | undefined;
6322
+ width?: number | undefined;
6323
+ height?: number | undefined;
6324
+ bitrate?: number | undefined;
6325
+ ssrc?: number | undefined;
6326
+ } & {
6327
+ [K_3 in Exclude<keyof I["participant"]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
6328
+ })[] & {
6329
+ [K_4 in Exclude<keyof I["participant"]["tracks"][number]["layers"], keyof {
6330
+ quality?: VideoQuality | undefined;
6331
+ width?: number | undefined;
6332
+ height?: number | undefined;
6333
+ bitrate?: number | undefined;
6334
+ ssrc?: number | undefined;
6335
+ }[]>]: never;
6336
+ }) | undefined;
6337
+ mimeType?: string | undefined;
6338
+ mid?: string | undefined;
6339
+ codecs?: ({
6340
+ mimeType?: string | undefined;
6341
+ mid?: string | undefined;
6342
+ cid?: string | undefined;
6343
+ layers?: {
6344
+ quality?: VideoQuality | undefined;
6345
+ width?: number | undefined;
6346
+ height?: number | undefined;
6347
+ bitrate?: number | undefined;
6348
+ ssrc?: number | undefined;
6349
+ }[] | undefined;
6350
+ }[] & ({
6351
+ mimeType?: string | undefined;
6352
+ mid?: string | undefined;
6353
+ cid?: string | undefined;
6354
+ layers?: {
6355
+ quality?: VideoQuality | undefined;
6356
+ width?: number | undefined;
6357
+ height?: number | undefined;
6358
+ bitrate?: number | undefined;
6359
+ ssrc?: number | undefined;
6360
+ }[] | undefined;
6361
+ } & {
6362
+ mimeType?: string | undefined;
6363
+ mid?: string | undefined;
6364
+ cid?: string | undefined;
6365
+ layers?: ({
6366
+ quality?: VideoQuality | undefined;
6367
+ width?: number | undefined;
6368
+ height?: number | undefined;
6369
+ bitrate?: number | undefined;
6370
+ ssrc?: number | undefined;
6371
+ }[] & ({
6372
+ quality?: VideoQuality | undefined;
6373
+ width?: number | undefined;
6374
+ height?: number | undefined;
6375
+ bitrate?: number | undefined;
6376
+ ssrc?: number | undefined;
6377
+ } & {
6378
+ quality?: VideoQuality | undefined;
6379
+ width?: number | undefined;
6380
+ height?: number | undefined;
6381
+ bitrate?: number | undefined;
6382
+ ssrc?: number | undefined;
6383
+ } & {
6384
+ [K_5 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
6385
+ })[] & {
6386
+ [K_6 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"], keyof {
6387
+ quality?: VideoQuality | undefined;
6388
+ width?: number | undefined;
6389
+ height?: number | undefined;
6390
+ bitrate?: number | undefined;
6391
+ ssrc?: number | undefined;
6392
+ }[]>]: never;
6393
+ }) | undefined;
6394
+ } & {
6395
+ [K_7 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
6396
+ })[] & {
6397
+ [K_8 in Exclude<keyof I["participant"]["tracks"][number]["codecs"], keyof {
6398
+ mimeType?: string | undefined;
6399
+ mid?: string | undefined;
6400
+ cid?: string | undefined;
6401
+ layers?: {
6402
+ quality?: VideoQuality | undefined;
6403
+ width?: number | undefined;
6404
+ height?: number | undefined;
6405
+ bitrate?: number | undefined;
6406
+ ssrc?: number | undefined;
6407
+ }[] | undefined;
6408
+ }[]>]: never;
6409
+ }) | undefined;
6410
+ stereo?: boolean | undefined;
6411
+ disableRed?: boolean | undefined;
6412
+ encryption?: Encryption_Type | undefined;
6413
+ } & {
6414
+ [K_9 in Exclude<keyof I["participant"]["tracks"][number], keyof TrackInfo>]: never;
6415
+ })[] & {
6416
+ [K_10 in Exclude<keyof I["participant"]["tracks"], keyof {
6417
+ sid?: string | undefined;
6418
+ type?: TrackType | undefined;
6419
+ name?: string | undefined;
6420
+ muted?: boolean | undefined;
6421
+ width?: number | undefined;
6422
+ height?: number | undefined;
6423
+ simulcast?: boolean | undefined;
6424
+ disableDtx?: boolean | undefined;
6425
+ source?: TrackSource | undefined;
6426
+ layers?: {
6427
+ quality?: VideoQuality | undefined;
6428
+ width?: number | undefined;
6429
+ height?: number | undefined;
6430
+ bitrate?: number | undefined;
6431
+ ssrc?: number | undefined;
6432
+ }[] | undefined;
6433
+ mimeType?: string | undefined;
6434
+ mid?: string | undefined;
6435
+ codecs?: {
6436
+ mimeType?: string | undefined;
6437
+ mid?: string | undefined;
6438
+ cid?: string | undefined;
6439
+ layers?: {
6440
+ quality?: VideoQuality | undefined;
6441
+ width?: number | undefined;
6442
+ height?: number | undefined;
6443
+ bitrate?: number | undefined;
6444
+ ssrc?: number | undefined;
6445
+ }[] | undefined;
6446
+ }[] | undefined;
6447
+ stereo?: boolean | undefined;
6448
+ disableRed?: boolean | undefined;
6449
+ encryption?: Encryption_Type | undefined;
6450
+ }[]>]: never;
6451
+ }) | undefined;
6452
+ metadata?: string | undefined;
6453
+ joinedAt?: number | undefined;
6454
+ name?: string | undefined;
6455
+ version?: number | undefined;
6456
+ permission?: ({
6457
+ canSubscribe?: boolean | undefined;
6458
+ canPublish?: boolean | undefined;
6459
+ canPublishData?: boolean | undefined;
6460
+ canPublishSources?: TrackSource[] | undefined;
6461
+ hidden?: boolean | undefined;
6462
+ recorder?: boolean | undefined;
6463
+ } & {
6464
+ canSubscribe?: boolean | undefined;
6465
+ canPublish?: boolean | undefined;
6466
+ canPublishData?: boolean | undefined;
6467
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
6468
+ [K_11 in Exclude<keyof I["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
6469
+ }) | undefined;
6470
+ hidden?: boolean | undefined;
6471
+ recorder?: boolean | undefined;
6472
+ } & {
6473
+ [K_12 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
6474
+ }) | undefined;
6475
+ region?: string | undefined;
6476
+ isPublisher?: boolean | undefined;
6477
+ } & {
6478
+ [K_13 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never;
6479
+ }) | undefined;
6480
+ otherParticipants?: ({
6481
+ sid?: string | undefined;
6482
+ identity?: string | undefined;
6483
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
6484
+ tracks?: {
6485
+ sid?: string | undefined;
6486
+ type?: TrackType | undefined;
6487
+ name?: string | undefined;
6488
+ muted?: boolean | undefined;
6489
+ width?: number | undefined;
6490
+ height?: number | undefined;
6491
+ simulcast?: boolean | undefined;
6492
+ disableDtx?: boolean | undefined;
6493
+ source?: TrackSource | undefined;
6494
+ layers?: {
6495
+ quality?: VideoQuality | undefined;
6496
+ width?: number | undefined;
6497
+ height?: number | undefined;
6498
+ bitrate?: number | undefined;
6499
+ ssrc?: number | undefined;
6500
+ }[] | undefined;
6501
+ mimeType?: string | undefined;
6502
+ mid?: string | undefined;
6503
+ codecs?: {
6504
+ mimeType?: string | undefined;
6505
+ mid?: string | undefined;
6506
+ cid?: string | undefined;
6507
+ layers?: {
6508
+ quality?: VideoQuality | undefined;
6509
+ width?: number | undefined;
6510
+ height?: number | undefined;
6511
+ bitrate?: number | undefined;
6512
+ ssrc?: number | undefined;
6513
+ }[] | undefined;
6514
+ }[] | undefined;
6515
+ stereo?: boolean | undefined;
6516
+ disableRed?: boolean | undefined;
6517
+ encryption?: Encryption_Type | undefined;
6518
+ }[] | undefined;
6519
+ metadata?: string | undefined;
6520
+ joinedAt?: number | undefined;
6521
+ name?: string | undefined;
6522
+ version?: number | undefined;
6523
+ permission?: {
6524
+ canSubscribe?: boolean | undefined;
6525
+ canPublish?: boolean | undefined;
6526
+ canPublishData?: boolean | undefined;
6527
+ canPublishSources?: TrackSource[] | undefined;
6528
+ hidden?: boolean | undefined;
6529
+ recorder?: boolean | undefined;
6530
+ } | undefined;
6531
+ region?: string | undefined;
6532
+ isPublisher?: boolean | undefined;
6533
+ }[] & ({
6534
+ sid?: string | undefined;
6535
+ identity?: string | undefined;
6536
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
6537
+ tracks?: {
6538
+ sid?: string | undefined;
6539
+ type?: TrackType | undefined;
6540
+ name?: string | undefined;
6541
+ muted?: boolean | undefined;
6542
+ width?: number | undefined;
6543
+ height?: number | undefined;
6544
+ simulcast?: boolean | undefined;
6545
+ disableDtx?: boolean | undefined;
6546
+ source?: TrackSource | undefined;
6547
+ layers?: {
6548
+ quality?: VideoQuality | undefined;
6549
+ width?: number | undefined;
6550
+ height?: number | undefined;
6551
+ bitrate?: number | undefined;
6552
+ ssrc?: number | undefined;
6553
+ }[] | undefined;
6554
+ mimeType?: string | undefined;
6555
+ mid?: string | undefined;
6556
+ codecs?: {
6557
+ mimeType?: string | undefined;
6558
+ mid?: string | undefined;
6559
+ cid?: string | undefined;
6560
+ layers?: {
6561
+ quality?: VideoQuality | undefined;
6562
+ width?: number | undefined;
6563
+ height?: number | undefined;
6564
+ bitrate?: number | undefined;
6565
+ ssrc?: number | undefined;
6566
+ }[] | undefined;
6567
+ }[] | undefined;
6568
+ stereo?: boolean | undefined;
6569
+ disableRed?: boolean | undefined;
6570
+ encryption?: Encryption_Type | undefined;
6571
+ }[] | undefined;
6572
+ metadata?: string | undefined;
6573
+ joinedAt?: number | undefined;
6574
+ name?: string | undefined;
6575
+ version?: number | undefined;
6576
+ permission?: {
6577
+ canSubscribe?: boolean | undefined;
6578
+ canPublish?: boolean | undefined;
6579
+ canPublishData?: boolean | undefined;
6580
+ canPublishSources?: TrackSource[] | undefined;
6581
+ hidden?: boolean | undefined;
6582
+ recorder?: boolean | undefined;
6583
+ } | undefined;
6584
+ region?: string | undefined;
6585
+ isPublisher?: boolean | undefined;
6586
+ } & {
6587
+ sid?: string | undefined;
6588
+ identity?: string | undefined;
6589
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
6590
+ tracks?: ({
6591
+ sid?: string | undefined;
6592
+ type?: TrackType | undefined;
6593
+ name?: string | undefined;
6594
+ muted?: boolean | undefined;
6595
+ width?: number | undefined;
6596
+ height?: number | undefined;
6597
+ simulcast?: boolean | undefined;
6598
+ disableDtx?: boolean | undefined;
6599
+ source?: TrackSource | undefined;
6600
+ layers?: {
6601
+ quality?: VideoQuality | undefined;
6602
+ width?: number | undefined;
6603
+ height?: number | undefined;
6604
+ bitrate?: number | undefined;
6605
+ ssrc?: number | undefined;
6606
+ }[] | undefined;
6607
+ mimeType?: string | undefined;
6608
+ mid?: string | undefined;
6609
+ codecs?: {
6610
+ mimeType?: string | undefined;
6611
+ mid?: string | undefined;
6612
+ cid?: string | undefined;
6613
+ layers?: {
6614
+ quality?: VideoQuality | undefined;
6615
+ width?: number | undefined;
6616
+ height?: number | undefined;
6617
+ bitrate?: number | undefined;
6618
+ ssrc?: number | undefined;
6619
+ }[] | undefined;
6620
+ }[] | undefined;
6621
+ stereo?: boolean | undefined;
6622
+ disableRed?: boolean | undefined;
6623
+ encryption?: Encryption_Type | undefined;
6624
+ }[] & ({
6625
+ sid?: string | undefined;
6626
+ type?: TrackType | undefined;
6627
+ name?: string | undefined;
6628
+ muted?: boolean | undefined;
6629
+ width?: number | undefined;
6630
+ height?: number | undefined;
6631
+ simulcast?: boolean | undefined;
6632
+ disableDtx?: boolean | undefined;
6633
+ source?: TrackSource | undefined;
6634
+ layers?: {
6635
+ quality?: VideoQuality | undefined;
6636
+ width?: number | undefined;
6637
+ height?: number | undefined;
6638
+ bitrate?: number | undefined;
6639
+ ssrc?: number | undefined;
6640
+ }[] | undefined;
6641
+ mimeType?: string | undefined;
6642
+ mid?: string | undefined;
6643
+ codecs?: {
6644
+ mimeType?: string | undefined;
6645
+ mid?: string | undefined;
6646
+ cid?: string | undefined;
6647
+ layers?: {
6648
+ quality?: VideoQuality | undefined;
6649
+ width?: number | undefined;
6650
+ height?: number | undefined;
6651
+ bitrate?: number | undefined;
6652
+ ssrc?: number | undefined;
6653
+ }[] | undefined;
6654
+ }[] | undefined;
6655
+ stereo?: boolean | undefined;
6656
+ disableRed?: boolean | undefined;
6657
+ encryption?: Encryption_Type | undefined;
6658
+ } & {
6659
+ sid?: string | undefined;
6660
+ type?: TrackType | undefined;
6661
+ name?: string | undefined;
6662
+ muted?: boolean | undefined;
6663
+ width?: number | undefined;
6664
+ height?: number | undefined;
6665
+ simulcast?: boolean | undefined;
6666
+ disableDtx?: boolean | undefined;
6667
+ source?: TrackSource | undefined;
6668
+ layers?: ({
6669
+ quality?: VideoQuality | undefined;
6670
+ width?: number | undefined;
6671
+ height?: number | undefined;
6672
+ bitrate?: number | undefined;
6673
+ ssrc?: number | undefined;
6674
+ }[] & ({
6675
+ quality?: VideoQuality | undefined;
6676
+ width?: number | undefined;
6677
+ height?: number | undefined;
6678
+ bitrate?: number | undefined;
6679
+ ssrc?: number | undefined;
6680
+ } & {
6681
+ quality?: VideoQuality | undefined;
6682
+ width?: number | undefined;
6683
+ height?: number | undefined;
6684
+ bitrate?: number | undefined;
6685
+ ssrc?: number | undefined;
6686
+ } & {
6687
+ [K_14 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
6688
+ })[] & {
6689
+ [K_15 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
6690
+ quality?: VideoQuality | undefined;
6691
+ width?: number | undefined;
6692
+ height?: number | undefined;
6693
+ bitrate?: number | undefined;
6694
+ ssrc?: number | undefined;
6695
+ }[]>]: never;
6696
+ }) | undefined;
6697
+ mimeType?: string | undefined;
6698
+ mid?: string | undefined;
6699
+ codecs?: ({
6700
+ mimeType?: string | undefined;
6701
+ mid?: string | undefined;
6702
+ cid?: string | undefined;
6703
+ layers?: {
6704
+ quality?: VideoQuality | undefined;
6705
+ width?: number | undefined;
6706
+ height?: number | undefined;
6707
+ bitrate?: number | undefined;
6708
+ ssrc?: number | undefined;
6709
+ }[] | undefined;
6710
+ }[] & ({
6711
+ mimeType?: string | undefined;
6712
+ mid?: string | undefined;
6713
+ cid?: string | undefined;
6714
+ layers?: {
6715
+ quality?: VideoQuality | undefined;
6716
+ width?: number | undefined;
6717
+ height?: number | undefined;
6718
+ bitrate?: number | undefined;
6719
+ ssrc?: number | undefined;
6720
+ }[] | undefined;
6721
+ } & {
6722
+ mimeType?: string | undefined;
6723
+ mid?: string | undefined;
6724
+ cid?: string | undefined;
6725
+ layers?: ({
6726
+ quality?: VideoQuality | undefined;
6727
+ width?: number | undefined;
6728
+ height?: number | undefined;
6729
+ bitrate?: number | undefined;
6730
+ ssrc?: number | undefined;
6731
+ }[] & ({
6732
+ quality?: VideoQuality | undefined;
6733
+ width?: number | undefined;
6734
+ height?: number | undefined;
6735
+ bitrate?: number | undefined;
6736
+ ssrc?: number | undefined;
6737
+ } & {
6738
+ quality?: VideoQuality | undefined;
6739
+ width?: number | undefined;
6740
+ height?: number | undefined;
6741
+ bitrate?: number | undefined;
6742
+ ssrc?: number | undefined;
6743
+ } & {
6744
+ [K_16 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
6745
+ })[] & {
6746
+ [K_17 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
6747
+ quality?: VideoQuality | undefined;
6748
+ width?: number | undefined;
6749
+ height?: number | undefined;
6750
+ bitrate?: number | undefined;
6751
+ ssrc?: number | undefined;
6752
+ }[]>]: never;
6753
+ }) | undefined;
6754
+ } & {
6755
+ [K_18 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
6756
+ })[] & {
6757
+ [K_19 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
6758
+ mimeType?: string | undefined;
6759
+ mid?: string | undefined;
6760
+ cid?: string | undefined;
6761
+ layers?: {
6762
+ quality?: VideoQuality | undefined;
6763
+ width?: number | undefined;
6764
+ height?: number | undefined;
6765
+ bitrate?: number | undefined;
6766
+ ssrc?: number | undefined;
6767
+ }[] | undefined;
6768
+ }[]>]: never;
6769
+ }) | undefined;
6770
+ stereo?: boolean | undefined;
6771
+ disableRed?: boolean | undefined;
6772
+ encryption?: Encryption_Type | undefined;
6773
+ } & {
6774
+ [K_20 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
6775
+ })[] & {
6776
+ [K_21 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
6777
+ sid?: string | undefined;
6778
+ type?: TrackType | undefined;
6779
+ name?: string | undefined;
6780
+ muted?: boolean | undefined;
6781
+ width?: number | undefined;
6782
+ height?: number | undefined;
6783
+ simulcast?: boolean | undefined;
6784
+ disableDtx?: boolean | undefined;
6785
+ source?: TrackSource | undefined;
6786
+ layers?: {
6787
+ quality?: VideoQuality | undefined;
6788
+ width?: number | undefined;
6789
+ height?: number | undefined;
6790
+ bitrate?: number | undefined;
6791
+ ssrc?: number | undefined;
6792
+ }[] | undefined;
6793
+ mimeType?: string | undefined;
6794
+ mid?: string | undefined;
6795
+ codecs?: {
6796
+ mimeType?: string | undefined;
6797
+ mid?: string | undefined;
6798
+ cid?: string | undefined;
6799
+ layers?: {
6800
+ quality?: VideoQuality | undefined;
6801
+ width?: number | undefined;
6802
+ height?: number | undefined;
6803
+ bitrate?: number | undefined;
6804
+ ssrc?: number | undefined;
6805
+ }[] | undefined;
6806
+ }[] | undefined;
6807
+ stereo?: boolean | undefined;
6808
+ disableRed?: boolean | undefined;
6809
+ encryption?: Encryption_Type | undefined;
6810
+ }[]>]: never;
6811
+ }) | undefined;
6812
+ metadata?: string | undefined;
6813
+ joinedAt?: number | undefined;
6814
+ name?: string | undefined;
6815
+ version?: number | undefined;
6816
+ permission?: ({
6817
+ canSubscribe?: boolean | undefined;
6818
+ canPublish?: boolean | undefined;
6819
+ canPublishData?: boolean | undefined;
6820
+ canPublishSources?: TrackSource[] | undefined;
6821
+ hidden?: boolean | undefined;
6822
+ recorder?: boolean | undefined;
6823
+ } & {
6824
+ canSubscribe?: boolean | undefined;
6825
+ canPublish?: boolean | undefined;
6826
+ canPublishData?: boolean | undefined;
6827
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
6828
+ [K_22 in Exclude<keyof I["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
6829
+ }) | undefined;
6830
+ hidden?: boolean | undefined;
6831
+ recorder?: boolean | undefined;
6832
+ } & {
6833
+ [K_23 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
6834
+ }) | undefined;
6835
+ region?: string | undefined;
6836
+ isPublisher?: boolean | undefined;
6837
+ } & {
6838
+ [K_24 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never;
6839
+ })[] & {
6840
+ [K_25 in Exclude<keyof I["otherParticipants"], keyof {
6841
+ sid?: string | undefined;
6842
+ identity?: string | undefined;
6843
+ state?: import("./livekit_models").ParticipantInfo_State | undefined;
6844
+ tracks?: {
6845
+ sid?: string | undefined;
6846
+ type?: TrackType | undefined;
6847
+ name?: string | undefined;
6848
+ muted?: boolean | undefined;
6849
+ width?: number | undefined;
6850
+ height?: number | undefined;
6851
+ simulcast?: boolean | undefined;
6852
+ disableDtx?: boolean | undefined;
6853
+ source?: TrackSource | undefined;
6854
+ layers?: {
6855
+ quality?: VideoQuality | undefined;
6856
+ width?: number | undefined;
6857
+ height?: number | undefined;
6858
+ bitrate?: number | undefined;
6859
+ ssrc?: number | undefined;
6860
+ }[] | undefined;
6861
+ mimeType?: string | undefined;
6862
+ mid?: string | undefined;
6863
+ codecs?: {
6864
+ mimeType?: string | undefined;
6865
+ mid?: string | undefined;
6866
+ cid?: string | undefined;
6867
+ layers?: {
6868
+ quality?: VideoQuality | undefined;
6869
+ width?: number | undefined;
6870
+ height?: number | undefined;
6871
+ bitrate?: number | undefined;
6872
+ ssrc?: number | undefined;
6873
+ }[] | undefined;
6874
+ }[] | undefined;
6875
+ stereo?: boolean | undefined;
6876
+ disableRed?: boolean | undefined;
6877
+ encryption?: Encryption_Type | undefined;
6878
+ }[] | undefined;
6879
+ metadata?: string | undefined;
6880
+ joinedAt?: number | undefined;
6881
+ name?: string | undefined;
6882
+ version?: number | undefined;
6883
+ permission?: {
6884
+ canSubscribe?: boolean | undefined;
6885
+ canPublish?: boolean | undefined;
6886
+ canPublishData?: boolean | undefined;
6887
+ canPublishSources?: TrackSource[] | undefined;
6888
+ hidden?: boolean | undefined;
6889
+ recorder?: boolean | undefined;
6890
+ } | undefined;
6891
+ region?: string | undefined;
6892
+ isPublisher?: boolean | undefined;
6893
+ }[]>]: never;
6894
+ }) | undefined;
6895
+ serverVersion?: string | undefined;
6896
+ iceServers?: ({
6897
+ urls?: string[] | undefined;
6898
+ username?: string | undefined;
6899
+ credential?: string | undefined;
4603
6900
  }[] & ({
4604
- quality?: VideoQuality | undefined;
4605
- width?: number | undefined;
4606
- height?: number | undefined;
4607
- bitrate?: number | undefined;
4608
- ssrc?: number | undefined;
6901
+ urls?: string[] | undefined;
6902
+ username?: string | undefined;
6903
+ credential?: string | undefined;
4609
6904
  } & {
4610
- quality?: VideoQuality | undefined;
4611
- width?: number | undefined;
4612
- height?: number | undefined;
4613
- bitrate?: number | undefined;
4614
- ssrc?: number | undefined;
6905
+ urls?: (string[] & string[] & {
6906
+ [K_26 in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never;
6907
+ }) | undefined;
6908
+ username?: string | undefined;
6909
+ credential?: string | undefined;
4615
6910
  } & {
4616
- [K in Exclude<keyof I["layers"][number], keyof VideoLayer>]: never;
6911
+ [K_27 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never;
4617
6912
  })[] & {
4618
- [K_1 in Exclude<keyof I["layers"], keyof {
4619
- quality?: VideoQuality | undefined;
4620
- width?: number | undefined;
4621
- height?: number | undefined;
4622
- bitrate?: number | undefined;
4623
- ssrc?: number | undefined;
6913
+ [K_28 in Exclude<keyof I["iceServers"], keyof {
6914
+ urls?: string[] | undefined;
6915
+ username?: string | undefined;
6916
+ credential?: string | undefined;
4624
6917
  }[]>]: never;
4625
6918
  }) | undefined;
4626
- simulcastCodecs?: ({
4627
- codec?: string | undefined;
4628
- cid?: string | undefined;
4629
- enableSimulcastLayers?: boolean | undefined;
4630
- }[] & ({
4631
- codec?: string | undefined;
4632
- cid?: string | undefined;
4633
- enableSimulcastLayers?: boolean | undefined;
6919
+ subscriberPrimary?: boolean | undefined;
6920
+ alternativeUrl?: string | undefined;
6921
+ clientConfiguration?: ({
6922
+ video?: {
6923
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6924
+ } | undefined;
6925
+ screen?: {
6926
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6927
+ } | undefined;
6928
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
6929
+ disabledCodecs?: {
6930
+ codecs?: {
6931
+ mime?: string | undefined;
6932
+ fmtpLine?: string | undefined;
6933
+ }[] | undefined;
6934
+ } | undefined;
6935
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4634
6936
  } & {
4635
- codec?: string | undefined;
4636
- cid?: string | undefined;
4637
- enableSimulcastLayers?: boolean | undefined;
6937
+ video?: ({
6938
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6939
+ } & {
6940
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6941
+ } & {
6942
+ [K_29 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never;
6943
+ }) | undefined;
6944
+ screen?: ({
6945
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6946
+ } & {
6947
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
6948
+ } & {
6949
+ [K_30 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
6950
+ }) | undefined;
6951
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
6952
+ disabledCodecs?: ({
6953
+ codecs?: {
6954
+ mime?: string | undefined;
6955
+ fmtpLine?: string | undefined;
6956
+ }[] | undefined;
6957
+ } & {
6958
+ codecs?: ({
6959
+ mime?: string | undefined;
6960
+ fmtpLine?: string | undefined;
6961
+ }[] & ({
6962
+ mime?: string | undefined;
6963
+ fmtpLine?: string | undefined;
6964
+ } & {
6965
+ mime?: string | undefined;
6966
+ fmtpLine?: string | undefined;
6967
+ } & {
6968
+ [K_31 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
6969
+ })[] & {
6970
+ [K_32 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
6971
+ mime?: string | undefined;
6972
+ fmtpLine?: string | undefined;
6973
+ }[]>]: never;
6974
+ }) | undefined;
6975
+ } & {
6976
+ [K_33 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
6977
+ }) | undefined;
6978
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4638
6979
  } & {
4639
- [K_2 in Exclude<keyof I["simulcastCodecs"][number], keyof SimulcastCodec>]: never;
4640
- })[] & {
4641
- [K_3 in Exclude<keyof I["simulcastCodecs"], keyof {
4642
- codec?: string | undefined;
4643
- cid?: string | undefined;
4644
- enableSimulcastLayers?: boolean | undefined;
4645
- }[]>]: never;
6980
+ [K_34 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never;
6981
+ }) | undefined;
6982
+ serverRegion?: string | undefined;
6983
+ pingTimeout?: number | undefined;
6984
+ pingInterval?: number | undefined;
6985
+ serverInfo?: ({
6986
+ edition?: import("./livekit_models").ServerInfo_Edition | undefined;
6987
+ version?: string | undefined;
6988
+ protocol?: number | undefined;
6989
+ region?: string | undefined;
6990
+ nodeId?: string | undefined;
6991
+ debugInfo?: string | undefined;
6992
+ } & {
6993
+ edition?: import("./livekit_models").ServerInfo_Edition | undefined;
6994
+ version?: string | undefined;
6995
+ protocol?: number | undefined;
6996
+ region?: string | undefined;
6997
+ nodeId?: string | undefined;
6998
+ debugInfo?: string | undefined;
6999
+ } & {
7000
+ [K_35 in Exclude<keyof I["serverInfo"], keyof ServerInfo>]: never;
4646
7001
  }) | undefined;
4647
- sid?: string | undefined;
4648
- stereo?: boolean | undefined;
4649
- disableRed?: boolean | undefined;
4650
- encryption?: Encryption_Type | undefined;
4651
- } & {
4652
- [K_4 in Exclude<keyof I, keyof AddTrackRequest>]: never;
4653
- }>(object: I): AddTrackRequest;
4654
- };
4655
- export declare const TrickleRequest: {
4656
- encode(message: TrickleRequest, writer?: _m0.Writer): _m0.Writer;
4657
- decode(input: _m0.Reader | Uint8Array, length?: number): TrickleRequest;
4658
- fromJSON(object: any): TrickleRequest;
4659
- toJSON(message: TrickleRequest): unknown;
4660
- fromPartial<I extends {
4661
- candidateInit?: string | undefined;
4662
- target?: SignalTarget | undefined;
4663
- } & {
4664
- candidateInit?: string | undefined;
4665
- target?: SignalTarget | undefined;
4666
- } & {
4667
- [K in Exclude<keyof I, keyof TrickleRequest>]: never;
4668
- }>(object: I): TrickleRequest;
4669
- };
4670
- export declare const MuteTrackRequest: {
4671
- encode(message: MuteTrackRequest, writer?: _m0.Writer): _m0.Writer;
4672
- decode(input: _m0.Reader | Uint8Array, length?: number): MuteTrackRequest;
4673
- fromJSON(object: any): MuteTrackRequest;
4674
- toJSON(message: MuteTrackRequest): unknown;
4675
- fromPartial<I extends {
4676
- sid?: string | undefined;
4677
- muted?: boolean | undefined;
4678
- } & {
4679
- sid?: string | undefined;
4680
- muted?: boolean | undefined;
4681
7002
  } & {
4682
- [K in Exclude<keyof I, keyof MuteTrackRequest>]: never;
4683
- }>(object: I): MuteTrackRequest;
7003
+ [K_36 in Exclude<keyof I, keyof JoinResponse>]: never;
7004
+ }>(object: I): JoinResponse;
4684
7005
  };
4685
- export declare const JoinResponse: {
4686
- encode(message: JoinResponse, writer?: _m0.Writer): _m0.Writer;
4687
- decode(input: _m0.Reader | Uint8Array, length?: number): JoinResponse;
4688
- fromJSON(object: any): JoinResponse;
4689
- toJSON(message: JoinResponse): unknown;
7006
+ export declare const ReconnectResponse: {
7007
+ encode(message: ReconnectResponse, writer?: _m0.Writer): _m0.Writer;
7008
+ decode(input: _m0.Reader | Uint8Array, length?: number): ReconnectResponse;
7009
+ fromJSON(object: any): ReconnectResponse;
7010
+ toJSON(message: ReconnectResponse): unknown;
4690
7011
  fromPartial<I extends {
7012
+ iceServers?: {
7013
+ urls?: string[] | undefined;
7014
+ username?: string | undefined;
7015
+ credential?: string | undefined;
7016
+ }[] | undefined;
7017
+ clientConfiguration?: {
7018
+ video?: {
7019
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
7020
+ } | undefined;
7021
+ screen?: {
7022
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
7023
+ } | undefined;
7024
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
7025
+ disabledCodecs?: {
7026
+ codecs?: {
7027
+ mime?: string | undefined;
7028
+ fmtpLine?: string | undefined;
7029
+ }[] | undefined;
7030
+ } | undefined;
7031
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
7032
+ } | undefined;
4691
7033
  room?: {
4692
7034
  sid?: string | undefined;
4693
7035
  name?: string | undefined;
@@ -4750,6 +7092,7 @@ export declare const JoinResponse: {
4750
7092
  canSubscribe?: boolean | undefined;
4751
7093
  canPublish?: boolean | undefined;
4752
7094
  canPublishData?: boolean | undefined;
7095
+ canPublishSources?: TrackSource[] | undefined;
4753
7096
  hidden?: boolean | undefined;
4754
7097
  recorder?: boolean | undefined;
4755
7098
  } | undefined;
@@ -4803,21 +7146,38 @@ export declare const JoinResponse: {
4803
7146
  canSubscribe?: boolean | undefined;
4804
7147
  canPublish?: boolean | undefined;
4805
7148
  canPublishData?: boolean | undefined;
7149
+ canPublishSources?: TrackSource[] | undefined;
4806
7150
  hidden?: boolean | undefined;
4807
7151
  recorder?: boolean | undefined;
4808
7152
  } | undefined;
4809
7153
  region?: string | undefined;
4810
7154
  isPublisher?: boolean | undefined;
4811
7155
  }[] | undefined;
4812
- serverVersion?: string | undefined;
4813
- iceServers?: {
7156
+ } & {
7157
+ iceServers?: ({
4814
7158
  urls?: string[] | undefined;
4815
7159
  username?: string | undefined;
4816
7160
  credential?: string | undefined;
4817
- }[] | undefined;
4818
- subscriberPrimary?: boolean | undefined;
4819
- alternativeUrl?: string | undefined;
4820
- clientConfiguration?: {
7161
+ }[] & ({
7162
+ urls?: string[] | undefined;
7163
+ username?: string | undefined;
7164
+ credential?: string | undefined;
7165
+ } & {
7166
+ urls?: (string[] & string[] & {
7167
+ [K in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never;
7168
+ }) | undefined;
7169
+ username?: string | undefined;
7170
+ credential?: string | undefined;
7171
+ } & {
7172
+ [K_1 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never;
7173
+ })[] & {
7174
+ [K_2 in Exclude<keyof I["iceServers"], keyof {
7175
+ urls?: string[] | undefined;
7176
+ username?: string | undefined;
7177
+ credential?: string | undefined;
7178
+ }[]>]: never;
7179
+ }) | undefined;
7180
+ clientConfiguration?: ({
4821
7181
  video?: {
4822
7182
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4823
7183
  } | undefined;
@@ -4832,19 +7192,52 @@ export declare const JoinResponse: {
4832
7192
  }[] | undefined;
4833
7193
  } | undefined;
4834
7194
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4835
- } | undefined;
4836
- serverRegion?: string | undefined;
4837
- pingTimeout?: number | undefined;
4838
- pingInterval?: number | undefined;
4839
- serverInfo?: {
4840
- edition?: import("./livekit_models").ServerInfo_Edition | undefined;
4841
- version?: string | undefined;
4842
- protocol?: number | undefined;
4843
- region?: string | undefined;
4844
- nodeId?: string | undefined;
4845
- debugInfo?: string | undefined;
4846
- } | undefined;
4847
- } & {
7195
+ } & {
7196
+ video?: ({
7197
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
7198
+ } & {
7199
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
7200
+ } & {
7201
+ [K_3 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never;
7202
+ }) | undefined;
7203
+ screen?: ({
7204
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
7205
+ } & {
7206
+ hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
7207
+ } & {
7208
+ [K_4 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
7209
+ }) | undefined;
7210
+ resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
7211
+ disabledCodecs?: ({
7212
+ codecs?: {
7213
+ mime?: string | undefined;
7214
+ fmtpLine?: string | undefined;
7215
+ }[] | undefined;
7216
+ } & {
7217
+ codecs?: ({
7218
+ mime?: string | undefined;
7219
+ fmtpLine?: string | undefined;
7220
+ }[] & ({
7221
+ mime?: string | undefined;
7222
+ fmtpLine?: string | undefined;
7223
+ } & {
7224
+ mime?: string | undefined;
7225
+ fmtpLine?: string | undefined;
7226
+ } & {
7227
+ [K_5 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
7228
+ })[] & {
7229
+ [K_6 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
7230
+ mime?: string | undefined;
7231
+ fmtpLine?: string | undefined;
7232
+ }[]>]: never;
7233
+ }) | undefined;
7234
+ } & {
7235
+ [K_7 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
7236
+ }) | undefined;
7237
+ forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
7238
+ } & {
7239
+ [K_8 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never;
7240
+ }) | undefined;
4848
7241
  room?: ({
4849
7242
  sid?: string | undefined;
4850
7243
  name?: string | undefined;
@@ -4876,9 +7269,9 @@ export declare const JoinResponse: {
4876
7269
  mime?: string | undefined;
4877
7270
  fmtpLine?: string | undefined;
4878
7271
  } & {
4879
- [K in Exclude<keyof I["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never;
7272
+ [K_9 in Exclude<keyof I["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never;
4880
7273
  })[] & {
4881
- [K_1 in Exclude<keyof I["room"]["enabledCodecs"], keyof {
7274
+ [K_10 in Exclude<keyof I["room"]["enabledCodecs"], keyof {
4882
7275
  mime?: string | undefined;
4883
7276
  fmtpLine?: string | undefined;
4884
7277
  }[]>]: never;
@@ -4887,7 +7280,7 @@ export declare const JoinResponse: {
4887
7280
  numParticipants?: number | undefined;
4888
7281
  activeRecording?: boolean | undefined;
4889
7282
  } & {
4890
- [K_2 in Exclude<keyof I["room"], keyof Room>]: never;
7283
+ [K_11 in Exclude<keyof I["room"], keyof Room>]: never;
4891
7284
  }) | undefined;
4892
7285
  participant?: ({
4893
7286
  sid?: string | undefined;
@@ -4936,6 +7329,7 @@ export declare const JoinResponse: {
4936
7329
  canSubscribe?: boolean | undefined;
4937
7330
  canPublish?: boolean | undefined;
4938
7331
  canPublishData?: boolean | undefined;
7332
+ canPublishSources?: TrackSource[] | undefined;
4939
7333
  hidden?: boolean | undefined;
4940
7334
  recorder?: boolean | undefined;
4941
7335
  } | undefined;
@@ -5042,9 +7436,9 @@ export declare const JoinResponse: {
5042
7436
  bitrate?: number | undefined;
5043
7437
  ssrc?: number | undefined;
5044
7438
  } & {
5045
- [K_3 in Exclude<keyof I["participant"]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
7439
+ [K_12 in Exclude<keyof I["participant"]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
5046
7440
  })[] & {
5047
- [K_4 in Exclude<keyof I["participant"]["tracks"][number]["layers"], keyof {
7441
+ [K_13 in Exclude<keyof I["participant"]["tracks"][number]["layers"], keyof {
5048
7442
  quality?: VideoQuality | undefined;
5049
7443
  width?: number | undefined;
5050
7444
  height?: number | undefined;
@@ -5099,9 +7493,9 @@ export declare const JoinResponse: {
5099
7493
  bitrate?: number | undefined;
5100
7494
  ssrc?: number | undefined;
5101
7495
  } & {
5102
- [K_5 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
7496
+ [K_14 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
5103
7497
  })[] & {
5104
- [K_6 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"], keyof {
7498
+ [K_15 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number]["layers"], keyof {
5105
7499
  quality?: VideoQuality | undefined;
5106
7500
  width?: number | undefined;
5107
7501
  height?: number | undefined;
@@ -5110,9 +7504,9 @@ export declare const JoinResponse: {
5110
7504
  }[]>]: never;
5111
7505
  }) | undefined;
5112
7506
  } & {
5113
- [K_7 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
7507
+ [K_16 in Exclude<keyof I["participant"]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
5114
7508
  })[] & {
5115
- [K_8 in Exclude<keyof I["participant"]["tracks"][number]["codecs"], keyof {
7509
+ [K_17 in Exclude<keyof I["participant"]["tracks"][number]["codecs"], keyof {
5116
7510
  mimeType?: string | undefined;
5117
7511
  mid?: string | undefined;
5118
7512
  cid?: string | undefined;
@@ -5129,9 +7523,9 @@ export declare const JoinResponse: {
5129
7523
  disableRed?: boolean | undefined;
5130
7524
  encryption?: Encryption_Type | undefined;
5131
7525
  } & {
5132
- [K_9 in Exclude<keyof I["participant"]["tracks"][number], keyof TrackInfo>]: never;
7526
+ [K_18 in Exclude<keyof I["participant"]["tracks"][number], keyof TrackInfo>]: never;
5133
7527
  })[] & {
5134
- [K_10 in Exclude<keyof I["participant"]["tracks"], keyof {
7528
+ [K_19 in Exclude<keyof I["participant"]["tracks"], keyof {
5135
7529
  sid?: string | undefined;
5136
7530
  type?: TrackType | undefined;
5137
7531
  name?: string | undefined;
@@ -5175,21 +7569,25 @@ export declare const JoinResponse: {
5175
7569
  canSubscribe?: boolean | undefined;
5176
7570
  canPublish?: boolean | undefined;
5177
7571
  canPublishData?: boolean | undefined;
7572
+ canPublishSources?: TrackSource[] | undefined;
5178
7573
  hidden?: boolean | undefined;
5179
7574
  recorder?: boolean | undefined;
5180
7575
  } & {
5181
7576
  canSubscribe?: boolean | undefined;
5182
7577
  canPublish?: boolean | undefined;
5183
7578
  canPublishData?: boolean | undefined;
7579
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
7580
+ [K_20 in Exclude<keyof I["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
7581
+ }) | undefined;
5184
7582
  hidden?: boolean | undefined;
5185
7583
  recorder?: boolean | undefined;
5186
7584
  } & {
5187
- [K_11 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
7585
+ [K_21 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5188
7586
  }) | undefined;
5189
7587
  region?: string | undefined;
5190
7588
  isPublisher?: boolean | undefined;
5191
7589
  } & {
5192
- [K_12 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never;
7590
+ [K_22 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never;
5193
7591
  }) | undefined;
5194
7592
  otherParticipants?: ({
5195
7593
  sid?: string | undefined;
@@ -5238,6 +7636,7 @@ export declare const JoinResponse: {
5238
7636
  canSubscribe?: boolean | undefined;
5239
7637
  canPublish?: boolean | undefined;
5240
7638
  canPublishData?: boolean | undefined;
7639
+ canPublishSources?: TrackSource[] | undefined;
5241
7640
  hidden?: boolean | undefined;
5242
7641
  recorder?: boolean | undefined;
5243
7642
  } | undefined;
@@ -5290,6 +7689,7 @@ export declare const JoinResponse: {
5290
7689
  canSubscribe?: boolean | undefined;
5291
7690
  canPublish?: boolean | undefined;
5292
7691
  canPublishData?: boolean | undefined;
7692
+ canPublishSources?: TrackSource[] | undefined;
5293
7693
  hidden?: boolean | undefined;
5294
7694
  recorder?: boolean | undefined;
5295
7695
  } | undefined;
@@ -5396,9 +7796,9 @@ export declare const JoinResponse: {
5396
7796
  bitrate?: number | undefined;
5397
7797
  ssrc?: number | undefined;
5398
7798
  } & {
5399
- [K_13 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
7799
+ [K_23 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
5400
7800
  })[] & {
5401
- [K_14 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
7801
+ [K_24 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
5402
7802
  quality?: VideoQuality | undefined;
5403
7803
  width?: number | undefined;
5404
7804
  height?: number | undefined;
@@ -5453,9 +7853,9 @@ export declare const JoinResponse: {
5453
7853
  bitrate?: number | undefined;
5454
7854
  ssrc?: number | undefined;
5455
7855
  } & {
5456
- [K_15 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
7856
+ [K_25 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
5457
7857
  })[] & {
5458
- [K_16 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
7858
+ [K_26 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
5459
7859
  quality?: VideoQuality | undefined;
5460
7860
  width?: number | undefined;
5461
7861
  height?: number | undefined;
@@ -5464,9 +7864,9 @@ export declare const JoinResponse: {
5464
7864
  }[]>]: never;
5465
7865
  }) | undefined;
5466
7866
  } & {
5467
- [K_17 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
7867
+ [K_27 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
5468
7868
  })[] & {
5469
- [K_18 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
7869
+ [K_28 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
5470
7870
  mimeType?: string | undefined;
5471
7871
  mid?: string | undefined;
5472
7872
  cid?: string | undefined;
@@ -5483,9 +7883,9 @@ export declare const JoinResponse: {
5483
7883
  disableRed?: boolean | undefined;
5484
7884
  encryption?: Encryption_Type | undefined;
5485
7885
  } & {
5486
- [K_19 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
7886
+ [K_29 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
5487
7887
  })[] & {
5488
- [K_20 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
7888
+ [K_30 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
5489
7889
  sid?: string | undefined;
5490
7890
  type?: TrackType | undefined;
5491
7891
  name?: string | undefined;
@@ -5529,23 +7929,27 @@ export declare const JoinResponse: {
5529
7929
  canSubscribe?: boolean | undefined;
5530
7930
  canPublish?: boolean | undefined;
5531
7931
  canPublishData?: boolean | undefined;
7932
+ canPublishSources?: TrackSource[] | undefined;
5532
7933
  hidden?: boolean | undefined;
5533
7934
  recorder?: boolean | undefined;
5534
7935
  } & {
5535
7936
  canSubscribe?: boolean | undefined;
5536
7937
  canPublish?: boolean | undefined;
5537
7938
  canPublishData?: boolean | undefined;
7939
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
7940
+ [K_31 in Exclude<keyof I["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
7941
+ }) | undefined;
5538
7942
  hidden?: boolean | undefined;
5539
7943
  recorder?: boolean | undefined;
5540
7944
  } & {
5541
- [K_21 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
7945
+ [K_32 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5542
7946
  }) | undefined;
5543
7947
  region?: string | undefined;
5544
7948
  isPublisher?: boolean | undefined;
5545
7949
  } & {
5546
- [K_22 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never;
7950
+ [K_33 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never;
5547
7951
  })[] & {
5548
- [K_23 in Exclude<keyof I["otherParticipants"], keyof {
7952
+ [K_34 in Exclude<keyof I["otherParticipants"], keyof {
5549
7953
  sid?: string | undefined;
5550
7954
  identity?: string | undefined;
5551
7955
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -5592,6 +7996,7 @@ export declare const JoinResponse: {
5592
7996
  canSubscribe?: boolean | undefined;
5593
7997
  canPublish?: boolean | undefined;
5594
7998
  canPublishData?: boolean | undefined;
7999
+ canPublishSources?: TrackSource[] | undefined;
5595
8000
  hidden?: boolean | undefined;
5596
8001
  recorder?: boolean | undefined;
5597
8002
  } | undefined;
@@ -5599,231 +8004,8 @@ export declare const JoinResponse: {
5599
8004
  isPublisher?: boolean | undefined;
5600
8005
  }[]>]: never;
5601
8006
  }) | undefined;
5602
- serverVersion?: string | undefined;
5603
- iceServers?: ({
5604
- urls?: string[] | undefined;
5605
- username?: string | undefined;
5606
- credential?: string | undefined;
5607
- }[] & ({
5608
- urls?: string[] | undefined;
5609
- username?: string | undefined;
5610
- credential?: string | undefined;
5611
- } & {
5612
- urls?: (string[] & string[] & {
5613
- [K_24 in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never;
5614
- }) | undefined;
5615
- username?: string | undefined;
5616
- credential?: string | undefined;
5617
- } & {
5618
- [K_25 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never;
5619
- })[] & {
5620
- [K_26 in Exclude<keyof I["iceServers"], keyof {
5621
- urls?: string[] | undefined;
5622
- username?: string | undefined;
5623
- credential?: string | undefined;
5624
- }[]>]: never;
5625
- }) | undefined;
5626
- subscriberPrimary?: boolean | undefined;
5627
- alternativeUrl?: string | undefined;
5628
- clientConfiguration?: ({
5629
- video?: {
5630
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5631
- } | undefined;
5632
- screen?: {
5633
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5634
- } | undefined;
5635
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5636
- disabledCodecs?: {
5637
- codecs?: {
5638
- mime?: string | undefined;
5639
- fmtpLine?: string | undefined;
5640
- }[] | undefined;
5641
- } | undefined;
5642
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5643
- } & {
5644
- video?: ({
5645
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5646
- } & {
5647
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5648
- } & {
5649
- [K_27 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never;
5650
- }) | undefined;
5651
- screen?: ({
5652
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5653
- } & {
5654
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5655
- } & {
5656
- [K_28 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
5657
- }) | undefined;
5658
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5659
- disabledCodecs?: ({
5660
- codecs?: {
5661
- mime?: string | undefined;
5662
- fmtpLine?: string | undefined;
5663
- }[] | undefined;
5664
- } & {
5665
- codecs?: ({
5666
- mime?: string | undefined;
5667
- fmtpLine?: string | undefined;
5668
- }[] & ({
5669
- mime?: string | undefined;
5670
- fmtpLine?: string | undefined;
5671
- } & {
5672
- mime?: string | undefined;
5673
- fmtpLine?: string | undefined;
5674
- } & {
5675
- [K_29 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
5676
- })[] & {
5677
- [K_30 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
5678
- mime?: string | undefined;
5679
- fmtpLine?: string | undefined;
5680
- }[]>]: never;
5681
- }) | undefined;
5682
- } & {
5683
- [K_31 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
5684
- }) | undefined;
5685
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5686
- } & {
5687
- [K_32 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never;
5688
- }) | undefined;
5689
- serverRegion?: string | undefined;
5690
- pingTimeout?: number | undefined;
5691
- pingInterval?: number | undefined;
5692
- serverInfo?: ({
5693
- edition?: import("./livekit_models").ServerInfo_Edition | undefined;
5694
- version?: string | undefined;
5695
- protocol?: number | undefined;
5696
- region?: string | undefined;
5697
- nodeId?: string | undefined;
5698
- debugInfo?: string | undefined;
5699
- } & {
5700
- edition?: import("./livekit_models").ServerInfo_Edition | undefined;
5701
- version?: string | undefined;
5702
- protocol?: number | undefined;
5703
- region?: string | undefined;
5704
- nodeId?: string | undefined;
5705
- debugInfo?: string | undefined;
5706
- } & {
5707
- [K_33 in Exclude<keyof I["serverInfo"], keyof ServerInfo>]: never;
5708
- }) | undefined;
5709
- } & {
5710
- [K_34 in Exclude<keyof I, keyof JoinResponse>]: never;
5711
- }>(object: I): JoinResponse;
5712
- };
5713
- export declare const ReconnectResponse: {
5714
- encode(message: ReconnectResponse, writer?: _m0.Writer): _m0.Writer;
5715
- decode(input: _m0.Reader | Uint8Array, length?: number): ReconnectResponse;
5716
- fromJSON(object: any): ReconnectResponse;
5717
- toJSON(message: ReconnectResponse): unknown;
5718
- fromPartial<I extends {
5719
- iceServers?: {
5720
- urls?: string[] | undefined;
5721
- username?: string | undefined;
5722
- credential?: string | undefined;
5723
- }[] | undefined;
5724
- clientConfiguration?: {
5725
- video?: {
5726
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5727
- } | undefined;
5728
- screen?: {
5729
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5730
- } | undefined;
5731
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5732
- disabledCodecs?: {
5733
- codecs?: {
5734
- mime?: string | undefined;
5735
- fmtpLine?: string | undefined;
5736
- }[] | undefined;
5737
- } | undefined;
5738
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5739
- } | undefined;
5740
- } & {
5741
- iceServers?: ({
5742
- urls?: string[] | undefined;
5743
- username?: string | undefined;
5744
- credential?: string | undefined;
5745
- }[] & ({
5746
- urls?: string[] | undefined;
5747
- username?: string | undefined;
5748
- credential?: string | undefined;
5749
- } & {
5750
- urls?: (string[] & string[] & {
5751
- [K in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never;
5752
- }) | undefined;
5753
- username?: string | undefined;
5754
- credential?: string | undefined;
5755
- } & {
5756
- [K_1 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never;
5757
- })[] & {
5758
- [K_2 in Exclude<keyof I["iceServers"], keyof {
5759
- urls?: string[] | undefined;
5760
- username?: string | undefined;
5761
- credential?: string | undefined;
5762
- }[]>]: never;
5763
- }) | undefined;
5764
- clientConfiguration?: ({
5765
- video?: {
5766
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5767
- } | undefined;
5768
- screen?: {
5769
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5770
- } | undefined;
5771
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5772
- disabledCodecs?: {
5773
- codecs?: {
5774
- mime?: string | undefined;
5775
- fmtpLine?: string | undefined;
5776
- }[] | undefined;
5777
- } | undefined;
5778
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5779
- } & {
5780
- video?: ({
5781
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5782
- } & {
5783
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5784
- } & {
5785
- [K_3 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never;
5786
- }) | undefined;
5787
- screen?: ({
5788
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5789
- } & {
5790
- hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5791
- } & {
5792
- [K_4 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
5793
- }) | undefined;
5794
- resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5795
- disabledCodecs?: ({
5796
- codecs?: {
5797
- mime?: string | undefined;
5798
- fmtpLine?: string | undefined;
5799
- }[] | undefined;
5800
- } & {
5801
- codecs?: ({
5802
- mime?: string | undefined;
5803
- fmtpLine?: string | undefined;
5804
- }[] & ({
5805
- mime?: string | undefined;
5806
- fmtpLine?: string | undefined;
5807
- } & {
5808
- mime?: string | undefined;
5809
- fmtpLine?: string | undefined;
5810
- } & {
5811
- [K_5 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
5812
- })[] & {
5813
- [K_6 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
5814
- mime?: string | undefined;
5815
- fmtpLine?: string | undefined;
5816
- }[]>]: never;
5817
- }) | undefined;
5818
- } & {
5819
- [K_7 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
5820
- }) | undefined;
5821
- forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5822
- } & {
5823
- [K_8 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never;
5824
- }) | undefined;
5825
8007
  } & {
5826
- [K_9 in Exclude<keyof I, keyof ReconnectResponse>]: never;
8008
+ [K_35 in Exclude<keyof I, keyof ReconnectResponse>]: never;
5827
8009
  }>(object: I): ReconnectResponse;
5828
8010
  };
5829
8011
  export declare const TrackPublishedResponse: {
@@ -6107,6 +8289,7 @@ export declare const ParticipantUpdate: {
6107
8289
  canSubscribe?: boolean | undefined;
6108
8290
  canPublish?: boolean | undefined;
6109
8291
  canPublishData?: boolean | undefined;
8292
+ canPublishSources?: TrackSource[] | undefined;
6110
8293
  hidden?: boolean | undefined;
6111
8294
  recorder?: boolean | undefined;
6112
8295
  } | undefined;
@@ -6161,6 +8344,7 @@ export declare const ParticipantUpdate: {
6161
8344
  canSubscribe?: boolean | undefined;
6162
8345
  canPublish?: boolean | undefined;
6163
8346
  canPublishData?: boolean | undefined;
8347
+ canPublishSources?: TrackSource[] | undefined;
6164
8348
  hidden?: boolean | undefined;
6165
8349
  recorder?: boolean | undefined;
6166
8350
  } | undefined;
@@ -6213,6 +8397,7 @@ export declare const ParticipantUpdate: {
6213
8397
  canSubscribe?: boolean | undefined;
6214
8398
  canPublish?: boolean | undefined;
6215
8399
  canPublishData?: boolean | undefined;
8400
+ canPublishSources?: TrackSource[] | undefined;
6216
8401
  hidden?: boolean | undefined;
6217
8402
  recorder?: boolean | undefined;
6218
8403
  } | undefined;
@@ -6452,23 +8637,27 @@ export declare const ParticipantUpdate: {
6452
8637
  canSubscribe?: boolean | undefined;
6453
8638
  canPublish?: boolean | undefined;
6454
8639
  canPublishData?: boolean | undefined;
8640
+ canPublishSources?: TrackSource[] | undefined;
6455
8641
  hidden?: boolean | undefined;
6456
8642
  recorder?: boolean | undefined;
6457
8643
  } & {
6458
8644
  canSubscribe?: boolean | undefined;
6459
8645
  canPublish?: boolean | undefined;
6460
8646
  canPublishData?: boolean | undefined;
8647
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
8648
+ [K_8 in Exclude<keyof I["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
8649
+ }) | undefined;
6461
8650
  hidden?: boolean | undefined;
6462
8651
  recorder?: boolean | undefined;
6463
8652
  } & {
6464
- [K_8 in Exclude<keyof I["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
8653
+ [K_9 in Exclude<keyof I["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
6465
8654
  }) | undefined;
6466
8655
  region?: string | undefined;
6467
8656
  isPublisher?: boolean | undefined;
6468
8657
  } & {
6469
- [K_9 in Exclude<keyof I["participants"][number], keyof ParticipantInfo>]: never;
8658
+ [K_10 in Exclude<keyof I["participants"][number], keyof ParticipantInfo>]: never;
6470
8659
  })[] & {
6471
- [K_10 in Exclude<keyof I["participants"], keyof {
8660
+ [K_11 in Exclude<keyof I["participants"], keyof {
6472
8661
  sid?: string | undefined;
6473
8662
  identity?: string | undefined;
6474
8663
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -6515,6 +8704,7 @@ export declare const ParticipantUpdate: {
6515
8704
  canSubscribe?: boolean | undefined;
6516
8705
  canPublish?: boolean | undefined;
6517
8706
  canPublishData?: boolean | undefined;
8707
+ canPublishSources?: TrackSource[] | undefined;
6518
8708
  hidden?: boolean | undefined;
6519
8709
  recorder?: boolean | undefined;
6520
8710
  } | undefined;
@@ -6523,7 +8713,7 @@ export declare const ParticipantUpdate: {
6523
8713
  }[]>]: never;
6524
8714
  }) | undefined;
6525
8715
  } & {
6526
- [K_11 in Exclude<keyof I, "participants">]: never;
8716
+ [K_12 in Exclude<keyof I, "participants">]: never;
6527
8717
  }>(object: I): ParticipantUpdate;
6528
8718
  };
6529
8719
  export declare const UpdateSubscription: {
@@ -6578,6 +8768,7 @@ export declare const UpdateTrackSettings: {
6578
8768
  width?: number | undefined;
6579
8769
  height?: number | undefined;
6580
8770
  fps?: number | undefined;
8771
+ priority?: number | undefined;
6581
8772
  } & {
6582
8773
  trackSids?: (string[] & string[] & {
6583
8774
  [K in Exclude<keyof I["trackSids"], keyof string[]>]: never;
@@ -6587,6 +8778,7 @@ export declare const UpdateTrackSettings: {
6587
8778
  width?: number | undefined;
6588
8779
  height?: number | undefined;
6589
8780
  fps?: number | undefined;
8781
+ priority?: number | undefined;
6590
8782
  } & {
6591
8783
  [K_1 in Exclude<keyof I, keyof UpdateTrackSettings>]: never;
6592
8784
  }>(object: I): UpdateTrackSettings;
@@ -6655,6 +8847,19 @@ export declare const UpdateVideoLayers: {
6655
8847
  [K_2 in Exclude<keyof I, keyof UpdateVideoLayers>]: never;
6656
8848
  }>(object: I): UpdateVideoLayers;
6657
8849
  };
8850
+ export declare const UpdateParticipantMetadata: {
8851
+ encode(message: UpdateParticipantMetadata, writer?: _m0.Writer): _m0.Writer;
8852
+ decode(input: _m0.Reader | Uint8Array, length?: number): UpdateParticipantMetadata;
8853
+ fromJSON(object: any): UpdateParticipantMetadata;
8854
+ toJSON(message: UpdateParticipantMetadata): unknown;
8855
+ fromPartial<I extends {
8856
+ metadata?: string | undefined;
8857
+ } & {
8858
+ metadata?: string | undefined;
8859
+ } & {
8860
+ [K in Exclude<keyof I, "metadata">]: never;
8861
+ }>(object: I): UpdateParticipantMetadata;
8862
+ };
6658
8863
  export declare const ICEServer: {
6659
8864
  encode(message: ICEServer, writer?: _m0.Writer): _m0.Writer;
6660
8865
  decode(input: _m0.Reader | Uint8Array, length?: number): ICEServer;
@@ -7613,6 +9818,36 @@ export declare const SimulateScenario: {
7613
9818
  [K_5 in Exclude<keyof I, "scenario">]: never;
7614
9819
  }>(object: I): SimulateScenario;
7615
9820
  };
9821
+ export declare const Ping: {
9822
+ encode(message: Ping, writer?: _m0.Writer): _m0.Writer;
9823
+ decode(input: _m0.Reader | Uint8Array, length?: number): Ping;
9824
+ fromJSON(object: any): Ping;
9825
+ toJSON(message: Ping): unknown;
9826
+ fromPartial<I extends {
9827
+ timestamp?: number | undefined;
9828
+ rtt?: number | undefined;
9829
+ } & {
9830
+ timestamp?: number | undefined;
9831
+ rtt?: number | undefined;
9832
+ } & {
9833
+ [K in Exclude<keyof I, keyof Ping>]: never;
9834
+ }>(object: I): Ping;
9835
+ };
9836
+ export declare const Pong: {
9837
+ encode(message: Pong, writer?: _m0.Writer): _m0.Writer;
9838
+ decode(input: _m0.Reader | Uint8Array, length?: number): Pong;
9839
+ fromJSON(object: any): Pong;
9840
+ toJSON(message: Pong): unknown;
9841
+ fromPartial<I extends {
9842
+ lastPingTimestamp?: number | undefined;
9843
+ timestamp?: number | undefined;
9844
+ } & {
9845
+ lastPingTimestamp?: number | undefined;
9846
+ timestamp?: number | undefined;
9847
+ } & {
9848
+ [K in Exclude<keyof I, keyof Pong>]: never;
9849
+ }>(object: I): Pong;
9850
+ };
7616
9851
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
7617
9852
  export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
7618
9853
  $case: string;