livekit-client 1.6.3 → 1.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/dist/livekit-client.esm.mjs +158 -41
  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.map +1 -1
  6. package/dist/src/connectionHelper/ConnectionCheck.d.ts +2 -2
  7. package/dist/src/connectionHelper/ConnectionCheck.d.ts.map +1 -1
  8. package/dist/src/proto/livekit_models.d.ts +10 -3
  9. package/dist/src/proto/livekit_models.d.ts.map +1 -1
  10. package/dist/src/proto/livekit_rtc.d.ts +188 -98
  11. package/dist/src/proto/livekit_rtc.d.ts.map +1 -1
  12. package/dist/src/room/Room.d.ts +1 -1
  13. package/dist/src/room/Room.d.ts.map +1 -1
  14. package/dist/src/room/errors.d.ts +3 -0
  15. package/dist/src/room/errors.d.ts.map +1 -1
  16. package/dist/src/room/participant/LocalParticipant.d.ts +1 -3
  17. package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
  18. package/dist/src/room/participant/Participant.d.ts +1 -1
  19. package/dist/src/room/participant/Participant.d.ts.map +1 -1
  20. package/dist/src/room/track/create.d.ts.map +1 -1
  21. package/dist/src/room/track/options.d.ts +2 -2
  22. package/dist/src/room/track/options.d.ts.map +1 -1
  23. package/dist/src/test/mocks.d.ts +1 -1
  24. package/dist/ts4.2/src/connectionHelper/ConnectionCheck.d.ts +2 -2
  25. package/dist/ts4.2/src/proto/livekit_models.d.ts +14 -3
  26. package/dist/ts4.2/src/proto/livekit_rtc.d.ts +237 -129
  27. package/dist/ts4.2/src/room/Room.d.ts +1 -1
  28. package/dist/ts4.2/src/room/errors.d.ts +3 -0
  29. package/dist/ts4.2/src/room/participant/LocalParticipant.d.ts +1 -3
  30. package/dist/ts4.2/src/room/participant/Participant.d.ts +1 -1
  31. package/dist/ts4.2/src/room/track/options.d.ts +2 -2
  32. package/dist/ts4.2/src/test/mocks.d.ts +1 -1
  33. package/package.json +17 -17
  34. package/src/api/SignalClient.ts +5 -1
  35. package/src/connectionHelper/ConnectionCheck.ts +1 -1
  36. package/src/proto/google/protobuf/timestamp.ts +2 -2
  37. package/src/proto/livekit_models.ts +42 -9
  38. package/src/proto/livekit_rtc.ts +99 -4
  39. package/src/room/RTCEngine.ts +2 -2
  40. package/src/room/Room.ts +4 -7
  41. package/src/room/errors.ts +6 -0
  42. package/src/room/participant/LocalParticipant.ts +12 -17
  43. package/src/room/participant/Participant.ts +10 -2
  44. package/src/room/track/create.ts +6 -1
  45. package/src/room/track/options.ts +2 -2
@@ -63,6 +63,9 @@ export interface SignalRequest {
63
63
  } | {
64
64
  $case: "ping";
65
65
  ping: number;
66
+ } | {
67
+ $case: "updateMetadata";
68
+ updateMetadata: UpdateParticipantMetadata;
66
69
  };
67
70
  }
68
71
  export interface SignalResponse {
@@ -213,6 +216,16 @@ export interface UpdateTrackSettings {
213
216
  /** for video, height to receive */
214
217
  height: number;
215
218
  fps: number;
219
+ /**
220
+ * subscription priority. 1 being the highest (0 is unset)
221
+ * when unset, server sill assign priority based on the order of subscription
222
+ * server will use priority in the following ways:
223
+ * 1. when subscribed tracks exceed per-participant subscription limit, server will
224
+ * pause the lowest priority tracks
225
+ * 2. when the network is congested, server will assign available bandwidth to
226
+ * higher priority tracks first. lowest priority tracks can be paused
227
+ */
228
+ priority: number;
216
229
  }
217
230
  export interface LeaveRequest {
218
231
  /**
@@ -227,6 +240,9 @@ export interface UpdateVideoLayers {
227
240
  trackSid: string;
228
241
  layers: VideoLayer[];
229
242
  }
243
+ export interface UpdateParticipantMetadata {
244
+ metadata: string;
245
+ }
230
246
  export interface ICEServer {
231
247
  urls: string[];
232
248
  username: string;
@@ -397,6 +413,7 @@ export declare const SignalRequest: {
397
413
  width?: number | undefined;
398
414
  height?: number | undefined;
399
415
  fps?: number | undefined;
416
+ priority?: number | undefined;
400
417
  } | undefined;
401
418
  } & {
402
419
  $case: "trackSetting";
@@ -526,6 +543,12 @@ export declare const SignalRequest: {
526
543
  ping?: number | undefined;
527
544
  } & {
528
545
  $case: "ping";
546
+ }) | ({
547
+ updateMetadata?: {
548
+ metadata?: string | undefined;
549
+ } | undefined;
550
+ } & {
551
+ $case: "updateMetadata";
529
552
  }) | undefined;
530
553
  } & {
531
554
  message?: ({
@@ -789,6 +812,7 @@ export declare const SignalRequest: {
789
812
  width?: number | undefined;
790
813
  height?: number | undefined;
791
814
  fps?: number | undefined;
815
+ priority?: number | undefined;
792
816
  } | undefined;
793
817
  } & {
794
818
  $case: "trackSetting";
@@ -800,6 +824,7 @@ export declare const SignalRequest: {
800
824
  width?: number | undefined;
801
825
  height?: number | undefined;
802
826
  fps?: number | undefined;
827
+ priority?: number | undefined;
803
828
  } & {
804
829
  trackSids?: (string[] & string[] & {
805
830
  [K_20 in Exclude<keyof I["message"]["trackSetting"]["trackSids"], keyof string[]>]: never;
@@ -809,6 +834,7 @@ export declare const SignalRequest: {
809
834
  width?: number | undefined;
810
835
  height?: number | undefined;
811
836
  fps?: number | undefined;
837
+ priority?: number | undefined;
812
838
  } & {
813
839
  [K_21 in Exclude<keyof I["message"]["trackSetting"], keyof UpdateTrackSettings>]: never;
814
840
  }) | undefined;
@@ -1537,9 +1563,26 @@ export declare const SignalRequest: {
1537
1563
  $case: "ping";
1538
1564
  } & {
1539
1565
  [K_61 in Exclude<keyof I["message"], "ping" | "$case">]: never;
1566
+ }) | ({
1567
+ updateMetadata?: {
1568
+ metadata?: string | undefined;
1569
+ } | undefined;
1570
+ } & {
1571
+ $case: "updateMetadata";
1572
+ } & {
1573
+ updateMetadata?: ({
1574
+ metadata?: string | undefined;
1575
+ } & {
1576
+ metadata?: string | undefined;
1577
+ } & {
1578
+ [K_62 in Exclude<keyof I["message"]["updateMetadata"], "metadata">]: never;
1579
+ }) | undefined;
1580
+ $case: "updateMetadata";
1581
+ } & {
1582
+ [K_63 in Exclude<keyof I["message"], "updateMetadata" | "$case">]: never;
1540
1583
  }) | undefined;
1541
1584
  } & {
1542
- [K_62 in Exclude<keyof I, "message">]: never;
1585
+ [K_64 in Exclude<keyof I, "message">]: never;
1543
1586
  }>(object: I): SignalRequest;
1544
1587
  };
1545
1588
  export declare const SignalResponse: {
@@ -1612,6 +1655,7 @@ export declare const SignalResponse: {
1612
1655
  canSubscribe?: boolean | undefined;
1613
1656
  canPublish?: boolean | undefined;
1614
1657
  canPublishData?: boolean | undefined;
1658
+ canPublishSources?: TrackSource[] | undefined;
1615
1659
  hidden?: boolean | undefined;
1616
1660
  recorder?: boolean | undefined;
1617
1661
  } | undefined;
@@ -1665,6 +1709,7 @@ export declare const SignalResponse: {
1665
1709
  canSubscribe?: boolean | undefined;
1666
1710
  canPublish?: boolean | undefined;
1667
1711
  canPublishData?: boolean | undefined;
1712
+ canPublishSources?: TrackSource[] | undefined;
1668
1713
  hidden?: boolean | undefined;
1669
1714
  recorder?: boolean | undefined;
1670
1715
  } | undefined;
@@ -1779,6 +1824,7 @@ export declare const SignalResponse: {
1779
1824
  canSubscribe?: boolean | undefined;
1780
1825
  canPublish?: boolean | undefined;
1781
1826
  canPublishData?: boolean | undefined;
1827
+ canPublishSources?: TrackSource[] | undefined;
1782
1828
  hidden?: boolean | undefined;
1783
1829
  recorder?: boolean | undefined;
1784
1830
  } | undefined;
@@ -2024,6 +2070,7 @@ export declare const SignalResponse: {
2024
2070
  canSubscribe?: boolean | undefined;
2025
2071
  canPublish?: boolean | undefined;
2026
2072
  canPublishData?: boolean | undefined;
2073
+ canPublishSources?: TrackSource[] | undefined;
2027
2074
  hidden?: boolean | undefined;
2028
2075
  recorder?: boolean | undefined;
2029
2076
  } | undefined;
@@ -2077,6 +2124,7 @@ export declare const SignalResponse: {
2077
2124
  canSubscribe?: boolean | undefined;
2078
2125
  canPublish?: boolean | undefined;
2079
2126
  canPublishData?: boolean | undefined;
2127
+ canPublishSources?: TrackSource[] | undefined;
2080
2128
  hidden?: boolean | undefined;
2081
2129
  recorder?: boolean | undefined;
2082
2130
  } | undefined;
@@ -2185,6 +2233,7 @@ export declare const SignalResponse: {
2185
2233
  canSubscribe?: boolean | undefined;
2186
2234
  canPublish?: boolean | undefined;
2187
2235
  canPublishData?: boolean | undefined;
2236
+ canPublishSources?: TrackSource[] | undefined;
2188
2237
  hidden?: boolean | undefined;
2189
2238
  recorder?: boolean | undefined;
2190
2239
  } | undefined;
@@ -2238,6 +2287,7 @@ export declare const SignalResponse: {
2238
2287
  canSubscribe?: boolean | undefined;
2239
2288
  canPublish?: boolean | undefined;
2240
2289
  canPublishData?: boolean | undefined;
2290
+ canPublishSources?: TrackSource[] | undefined;
2241
2291
  hidden?: boolean | undefined;
2242
2292
  recorder?: boolean | undefined;
2243
2293
  } | undefined;
@@ -2371,6 +2421,7 @@ export declare const SignalResponse: {
2371
2421
  canSubscribe?: boolean | undefined;
2372
2422
  canPublish?: boolean | undefined;
2373
2423
  canPublishData?: boolean | undefined;
2424
+ canPublishSources?: TrackSource[] | undefined;
2374
2425
  hidden?: boolean | undefined;
2375
2426
  recorder?: boolean | undefined;
2376
2427
  } | undefined;
@@ -2610,21 +2661,25 @@ export declare const SignalResponse: {
2610
2661
  canSubscribe?: boolean | undefined;
2611
2662
  canPublish?: boolean | undefined;
2612
2663
  canPublishData?: boolean | undefined;
2664
+ canPublishSources?: TrackSource[] | undefined;
2613
2665
  hidden?: boolean | undefined;
2614
2666
  recorder?: boolean | undefined;
2615
2667
  } & {
2616
2668
  canSubscribe?: boolean | undefined;
2617
2669
  canPublish?: boolean | undefined;
2618
2670
  canPublishData?: boolean | undefined;
2671
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
2672
+ [K_11 in Exclude<keyof I["message"]["join"]["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
2673
+ }) | undefined;
2619
2674
  hidden?: boolean | undefined;
2620
2675
  recorder?: boolean | undefined;
2621
2676
  } & {
2622
- [K_11 in Exclude<keyof I["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
2677
+ [K_12 in Exclude<keyof I["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
2623
2678
  }) | undefined;
2624
2679
  region?: string | undefined;
2625
2680
  isPublisher?: boolean | undefined;
2626
2681
  } & {
2627
- [K_12 in Exclude<keyof I["message"]["join"]["participant"], keyof ParticipantInfo>]: never;
2682
+ [K_13 in Exclude<keyof I["message"]["join"]["participant"], keyof ParticipantInfo>]: never;
2628
2683
  }) | undefined;
2629
2684
  otherParticipants?: ({
2630
2685
  sid?: string | undefined;
@@ -2673,6 +2728,7 @@ export declare const SignalResponse: {
2673
2728
  canSubscribe?: boolean | undefined;
2674
2729
  canPublish?: boolean | undefined;
2675
2730
  canPublishData?: boolean | undefined;
2731
+ canPublishSources?: TrackSource[] | undefined;
2676
2732
  hidden?: boolean | undefined;
2677
2733
  recorder?: boolean | undefined;
2678
2734
  } | undefined;
@@ -2725,6 +2781,7 @@ export declare const SignalResponse: {
2725
2781
  canSubscribe?: boolean | undefined;
2726
2782
  canPublish?: boolean | undefined;
2727
2783
  canPublishData?: boolean | undefined;
2784
+ canPublishSources?: TrackSource[] | undefined;
2728
2785
  hidden?: boolean | undefined;
2729
2786
  recorder?: boolean | undefined;
2730
2787
  } | undefined;
@@ -2831,9 +2888,9 @@ export declare const SignalResponse: {
2831
2888
  bitrate?: number | undefined;
2832
2889
  ssrc?: number | undefined;
2833
2890
  } & {
2834
- [K_13 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
2891
+ [K_14 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
2835
2892
  })[] & {
2836
- [K_14 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"], keyof {
2893
+ [K_15 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"], keyof {
2837
2894
  quality?: VideoQuality | undefined;
2838
2895
  width?: number | undefined;
2839
2896
  height?: number | undefined;
@@ -2888,9 +2945,9 @@ export declare const SignalResponse: {
2888
2945
  bitrate?: number | undefined;
2889
2946
  ssrc?: number | undefined;
2890
2947
  } & {
2891
- [K_15 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
2948
+ [K_16 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
2892
2949
  })[] & {
2893
- [K_16 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
2950
+ [K_17 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
2894
2951
  quality?: VideoQuality | undefined;
2895
2952
  width?: number | undefined;
2896
2953
  height?: number | undefined;
@@ -2899,9 +2956,9 @@ export declare const SignalResponse: {
2899
2956
  }[]>]: never;
2900
2957
  }) | undefined;
2901
2958
  } & {
2902
- [K_17 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
2959
+ [K_18 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
2903
2960
  })[] & {
2904
- [K_18 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
2961
+ [K_19 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
2905
2962
  mimeType?: string | undefined;
2906
2963
  mid?: string | undefined;
2907
2964
  cid?: string | undefined;
@@ -2918,9 +2975,9 @@ export declare const SignalResponse: {
2918
2975
  disableRed?: boolean | undefined;
2919
2976
  encryption?: Encryption_Type | undefined;
2920
2977
  } & {
2921
- [K_19 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
2978
+ [K_20 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
2922
2979
  })[] & {
2923
- [K_20 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"], keyof {
2980
+ [K_21 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"], keyof {
2924
2981
  sid?: string | undefined;
2925
2982
  type?: TrackType | undefined;
2926
2983
  name?: string | undefined;
@@ -2964,23 +3021,27 @@ export declare const SignalResponse: {
2964
3021
  canSubscribe?: boolean | undefined;
2965
3022
  canPublish?: boolean | undefined;
2966
3023
  canPublishData?: boolean | undefined;
3024
+ canPublishSources?: TrackSource[] | undefined;
2967
3025
  hidden?: boolean | undefined;
2968
3026
  recorder?: boolean | undefined;
2969
3027
  } & {
2970
3028
  canSubscribe?: boolean | undefined;
2971
3029
  canPublish?: boolean | undefined;
2972
3030
  canPublishData?: boolean | undefined;
3031
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
3032
+ [K_22 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
3033
+ }) | undefined;
2973
3034
  hidden?: boolean | undefined;
2974
3035
  recorder?: boolean | undefined;
2975
3036
  } & {
2976
- [K_21 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
3037
+ [K_23 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
2977
3038
  }) | undefined;
2978
3039
  region?: string | undefined;
2979
3040
  isPublisher?: boolean | undefined;
2980
3041
  } & {
2981
- [K_22 in Exclude<keyof I["message"]["join"]["otherParticipants"][number], keyof ParticipantInfo>]: never;
3042
+ [K_24 in Exclude<keyof I["message"]["join"]["otherParticipants"][number], keyof ParticipantInfo>]: never;
2982
3043
  })[] & {
2983
- [K_23 in Exclude<keyof I["message"]["join"]["otherParticipants"], keyof {
3044
+ [K_25 in Exclude<keyof I["message"]["join"]["otherParticipants"], keyof {
2984
3045
  sid?: string | undefined;
2985
3046
  identity?: string | undefined;
2986
3047
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -3027,6 +3088,7 @@ export declare const SignalResponse: {
3027
3088
  canSubscribe?: boolean | undefined;
3028
3089
  canPublish?: boolean | undefined;
3029
3090
  canPublishData?: boolean | undefined;
3091
+ canPublishSources?: TrackSource[] | undefined;
3030
3092
  hidden?: boolean | undefined;
3031
3093
  recorder?: boolean | undefined;
3032
3094
  } | undefined;
@@ -3045,14 +3107,14 @@ export declare const SignalResponse: {
3045
3107
  credential?: string | undefined;
3046
3108
  } & {
3047
3109
  urls?: (string[] & string[] & {
3048
- [K_24 in Exclude<keyof I["message"]["join"]["iceServers"][number]["urls"], keyof string[]>]: never;
3110
+ [K_26 in Exclude<keyof I["message"]["join"]["iceServers"][number]["urls"], keyof string[]>]: never;
3049
3111
  }) | undefined;
3050
3112
  username?: string | undefined;
3051
3113
  credential?: string | undefined;
3052
3114
  } & {
3053
- [K_25 in Exclude<keyof I["message"]["join"]["iceServers"][number], keyof ICEServer>]: never;
3115
+ [K_27 in Exclude<keyof I["message"]["join"]["iceServers"][number], keyof ICEServer>]: never;
3054
3116
  })[] & {
3055
- [K_26 in Exclude<keyof I["message"]["join"]["iceServers"], keyof {
3117
+ [K_28 in Exclude<keyof I["message"]["join"]["iceServers"], keyof {
3056
3118
  urls?: string[] | undefined;
3057
3119
  username?: string | undefined;
3058
3120
  credential?: string | undefined;
@@ -3081,14 +3143,14 @@ export declare const SignalResponse: {
3081
3143
  } & {
3082
3144
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
3083
3145
  } & {
3084
- [K_27 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["video"], "hardwareEncoder">]: never;
3146
+ [K_29 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["video"], "hardwareEncoder">]: never;
3085
3147
  }) | undefined;
3086
3148
  screen?: ({
3087
3149
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
3088
3150
  } & {
3089
3151
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
3090
3152
  } & {
3091
- [K_28 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
3153
+ [K_30 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
3092
3154
  }) | undefined;
3093
3155
  resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
3094
3156
  disabledCodecs?: ({
@@ -3107,19 +3169,19 @@ export declare const SignalResponse: {
3107
3169
  mime?: string | undefined;
3108
3170
  fmtpLine?: string | undefined;
3109
3171
  } & {
3110
- [K_29 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
3172
+ [K_31 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
3111
3173
  })[] & {
3112
- [K_30 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
3174
+ [K_32 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
3113
3175
  mime?: string | undefined;
3114
3176
  fmtpLine?: string | undefined;
3115
3177
  }[]>]: never;
3116
3178
  }) | undefined;
3117
3179
  } & {
3118
- [K_31 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
3180
+ [K_33 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
3119
3181
  }) | undefined;
3120
3182
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
3121
3183
  } & {
3122
- [K_32 in Exclude<keyof I["message"]["join"]["clientConfiguration"], keyof ClientConfiguration>]: never;
3184
+ [K_34 in Exclude<keyof I["message"]["join"]["clientConfiguration"], keyof ClientConfiguration>]: never;
3123
3185
  }) | undefined;
3124
3186
  serverRegion?: string | undefined;
3125
3187
  pingTimeout?: number | undefined;
@@ -3139,14 +3201,14 @@ export declare const SignalResponse: {
3139
3201
  nodeId?: string | undefined;
3140
3202
  debugInfo?: string | undefined;
3141
3203
  } & {
3142
- [K_33 in Exclude<keyof I["message"]["join"]["serverInfo"], keyof ServerInfo>]: never;
3204
+ [K_35 in Exclude<keyof I["message"]["join"]["serverInfo"], keyof ServerInfo>]: never;
3143
3205
  }) | undefined;
3144
3206
  } & {
3145
- [K_34 in Exclude<keyof I["message"]["join"], keyof JoinResponse>]: never;
3207
+ [K_36 in Exclude<keyof I["message"]["join"], keyof JoinResponse>]: never;
3146
3208
  }) | undefined;
3147
3209
  $case: "join";
3148
3210
  } & {
3149
- [K_35 in Exclude<keyof I["message"], "join" | "$case">]: never;
3211
+ [K_37 in Exclude<keyof I["message"], "join" | "$case">]: never;
3150
3212
  }) | ({
3151
3213
  answer?: {
3152
3214
  type?: string | undefined;
@@ -3162,11 +3224,11 @@ export declare const SignalResponse: {
3162
3224
  type?: string | undefined;
3163
3225
  sdp?: string | undefined;
3164
3226
  } & {
3165
- [K_36 in Exclude<keyof I["message"]["answer"], keyof SessionDescription>]: never;
3227
+ [K_38 in Exclude<keyof I["message"]["answer"], keyof SessionDescription>]: never;
3166
3228
  }) | undefined;
3167
3229
  $case: "answer";
3168
3230
  } & {
3169
- [K_37 in Exclude<keyof I["message"], "answer" | "$case">]: never;
3231
+ [K_39 in Exclude<keyof I["message"], "answer" | "$case">]: never;
3170
3232
  }) | ({
3171
3233
  offer?: {
3172
3234
  type?: string | undefined;
@@ -3182,11 +3244,11 @@ export declare const SignalResponse: {
3182
3244
  type?: string | undefined;
3183
3245
  sdp?: string | undefined;
3184
3246
  } & {
3185
- [K_38 in Exclude<keyof I["message"]["offer"], keyof SessionDescription>]: never;
3247
+ [K_40 in Exclude<keyof I["message"]["offer"], keyof SessionDescription>]: never;
3186
3248
  }) | undefined;
3187
3249
  $case: "offer";
3188
3250
  } & {
3189
- [K_39 in Exclude<keyof I["message"], "offer" | "$case">]: never;
3251
+ [K_41 in Exclude<keyof I["message"], "offer" | "$case">]: never;
3190
3252
  }) | ({
3191
3253
  trickle?: {
3192
3254
  candidateInit?: string | undefined;
@@ -3202,11 +3264,11 @@ export declare const SignalResponse: {
3202
3264
  candidateInit?: string | undefined;
3203
3265
  target?: SignalTarget | undefined;
3204
3266
  } & {
3205
- [K_40 in Exclude<keyof I["message"]["trickle"], keyof TrickleRequest>]: never;
3267
+ [K_42 in Exclude<keyof I["message"]["trickle"], keyof TrickleRequest>]: never;
3206
3268
  }) | undefined;
3207
3269
  $case: "trickle";
3208
3270
  } & {
3209
- [K_41 in Exclude<keyof I["message"], "trickle" | "$case">]: never;
3271
+ [K_43 in Exclude<keyof I["message"], "trickle" | "$case">]: never;
3210
3272
  }) | ({
3211
3273
  update?: {
3212
3274
  participants?: {
@@ -3256,6 +3318,7 @@ export declare const SignalResponse: {
3256
3318
  canSubscribe?: boolean | undefined;
3257
3319
  canPublish?: boolean | undefined;
3258
3320
  canPublishData?: boolean | undefined;
3321
+ canPublishSources?: TrackSource[] | undefined;
3259
3322
  hidden?: boolean | undefined;
3260
3323
  recorder?: boolean | undefined;
3261
3324
  } | undefined;
@@ -3314,6 +3377,7 @@ export declare const SignalResponse: {
3314
3377
  canSubscribe?: boolean | undefined;
3315
3378
  canPublish?: boolean | undefined;
3316
3379
  canPublishData?: boolean | undefined;
3380
+ canPublishSources?: TrackSource[] | undefined;
3317
3381
  hidden?: boolean | undefined;
3318
3382
  recorder?: boolean | undefined;
3319
3383
  } | undefined;
@@ -3368,6 +3432,7 @@ export declare const SignalResponse: {
3368
3432
  canSubscribe?: boolean | undefined;
3369
3433
  canPublish?: boolean | undefined;
3370
3434
  canPublishData?: boolean | undefined;
3435
+ canPublishSources?: TrackSource[] | undefined;
3371
3436
  hidden?: boolean | undefined;
3372
3437
  recorder?: boolean | undefined;
3373
3438
  } | undefined;
@@ -3420,6 +3485,7 @@ export declare const SignalResponse: {
3420
3485
  canSubscribe?: boolean | undefined;
3421
3486
  canPublish?: boolean | undefined;
3422
3487
  canPublishData?: boolean | undefined;
3488
+ canPublishSources?: TrackSource[] | undefined;
3423
3489
  hidden?: boolean | undefined;
3424
3490
  recorder?: boolean | undefined;
3425
3491
  } | undefined;
@@ -3526,9 +3592,9 @@ export declare const SignalResponse: {
3526
3592
  bitrate?: number | undefined;
3527
3593
  ssrc?: number | undefined;
3528
3594
  } & {
3529
- [K_42 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
3595
+ [K_44 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
3530
3596
  })[] & {
3531
- [K_43 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"], keyof {
3597
+ [K_45 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"], keyof {
3532
3598
  quality?: VideoQuality | undefined;
3533
3599
  width?: number | undefined;
3534
3600
  height?: number | undefined;
@@ -3583,9 +3649,9 @@ export declare const SignalResponse: {
3583
3649
  bitrate?: number | undefined;
3584
3650
  ssrc?: number | undefined;
3585
3651
  } & {
3586
- [K_44 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
3652
+ [K_46 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
3587
3653
  })[] & {
3588
- [K_45 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
3654
+ [K_47 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
3589
3655
  quality?: VideoQuality | undefined;
3590
3656
  width?: number | undefined;
3591
3657
  height?: number | undefined;
@@ -3594,9 +3660,9 @@ export declare const SignalResponse: {
3594
3660
  }[]>]: never;
3595
3661
  }) | undefined;
3596
3662
  } & {
3597
- [K_46 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
3663
+ [K_48 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
3598
3664
  })[] & {
3599
- [K_47 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"], keyof {
3665
+ [K_49 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"], keyof {
3600
3666
  mimeType?: string | undefined;
3601
3667
  mid?: string | undefined;
3602
3668
  cid?: string | undefined;
@@ -3613,9 +3679,9 @@ export declare const SignalResponse: {
3613
3679
  disableRed?: boolean | undefined;
3614
3680
  encryption?: Encryption_Type | undefined;
3615
3681
  } & {
3616
- [K_48 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number], keyof TrackInfo>]: never;
3682
+ [K_50 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number], keyof TrackInfo>]: never;
3617
3683
  })[] & {
3618
- [K_49 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"], keyof {
3684
+ [K_51 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"], keyof {
3619
3685
  sid?: string | undefined;
3620
3686
  type?: TrackType | undefined;
3621
3687
  name?: string | undefined;
@@ -3659,23 +3725,27 @@ export declare const SignalResponse: {
3659
3725
  canSubscribe?: boolean | undefined;
3660
3726
  canPublish?: boolean | undefined;
3661
3727
  canPublishData?: boolean | undefined;
3728
+ canPublishSources?: TrackSource[] | undefined;
3662
3729
  hidden?: boolean | undefined;
3663
3730
  recorder?: boolean | undefined;
3664
3731
  } & {
3665
3732
  canSubscribe?: boolean | undefined;
3666
3733
  canPublish?: boolean | undefined;
3667
3734
  canPublishData?: boolean | undefined;
3735
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
3736
+ [K_52 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
3737
+ }) | undefined;
3668
3738
  hidden?: boolean | undefined;
3669
3739
  recorder?: boolean | undefined;
3670
3740
  } & {
3671
- [K_50 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
3741
+ [K_53 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
3672
3742
  }) | undefined;
3673
3743
  region?: string | undefined;
3674
3744
  isPublisher?: boolean | undefined;
3675
3745
  } & {
3676
- [K_51 in Exclude<keyof I["message"]["update"]["participants"][number], keyof ParticipantInfo>]: never;
3746
+ [K_54 in Exclude<keyof I["message"]["update"]["participants"][number], keyof ParticipantInfo>]: never;
3677
3747
  })[] & {
3678
- [K_52 in Exclude<keyof I["message"]["update"]["participants"], keyof {
3748
+ [K_55 in Exclude<keyof I["message"]["update"]["participants"], keyof {
3679
3749
  sid?: string | undefined;
3680
3750
  identity?: string | undefined;
3681
3751
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -3722,6 +3792,7 @@ export declare const SignalResponse: {
3722
3792
  canSubscribe?: boolean | undefined;
3723
3793
  canPublish?: boolean | undefined;
3724
3794
  canPublishData?: boolean | undefined;
3795
+ canPublishSources?: TrackSource[] | undefined;
3725
3796
  hidden?: boolean | undefined;
3726
3797
  recorder?: boolean | undefined;
3727
3798
  } | undefined;
@@ -3730,11 +3801,11 @@ export declare const SignalResponse: {
3730
3801
  }[]>]: never;
3731
3802
  }) | undefined;
3732
3803
  } & {
3733
- [K_53 in Exclude<keyof I["message"]["update"], "participants">]: never;
3804
+ [K_56 in Exclude<keyof I["message"]["update"], "participants">]: never;
3734
3805
  }) | undefined;
3735
3806
  $case: "update";
3736
3807
  } & {
3737
- [K_54 in Exclude<keyof I["message"], "update" | "$case">]: never;
3808
+ [K_57 in Exclude<keyof I["message"], "update" | "$case">]: never;
3738
3809
  }) | ({
3739
3810
  trackPublished?: {
3740
3811
  cid?: string | undefined;
@@ -3879,9 +3950,9 @@ export declare const SignalResponse: {
3879
3950
  bitrate?: number | undefined;
3880
3951
  ssrc?: number | undefined;
3881
3952
  } & {
3882
- [K_55 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"][number], keyof VideoLayer>]: never;
3953
+ [K_58 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"][number], keyof VideoLayer>]: never;
3883
3954
  })[] & {
3884
- [K_56 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"], keyof {
3955
+ [K_59 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"], keyof {
3885
3956
  quality?: VideoQuality | undefined;
3886
3957
  width?: number | undefined;
3887
3958
  height?: number | undefined;
@@ -3936,9 +4007,9 @@ export declare const SignalResponse: {
3936
4007
  bitrate?: number | undefined;
3937
4008
  ssrc?: number | undefined;
3938
4009
  } & {
3939
- [K_57 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
4010
+ [K_60 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
3940
4011
  })[] & {
3941
- [K_58 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"], keyof {
4012
+ [K_61 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"], keyof {
3942
4013
  quality?: VideoQuality | undefined;
3943
4014
  width?: number | undefined;
3944
4015
  height?: number | undefined;
@@ -3947,9 +4018,9 @@ export declare const SignalResponse: {
3947
4018
  }[]>]: never;
3948
4019
  }) | undefined;
3949
4020
  } & {
3950
- [K_59 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
4021
+ [K_62 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
3951
4022
  })[] & {
3952
- [K_60 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"], keyof {
4023
+ [K_63 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"], keyof {
3953
4024
  mimeType?: string | undefined;
3954
4025
  mid?: string | undefined;
3955
4026
  cid?: string | undefined;
@@ -3966,14 +4037,14 @@ export declare const SignalResponse: {
3966
4037
  disableRed?: boolean | undefined;
3967
4038
  encryption?: Encryption_Type | undefined;
3968
4039
  } & {
3969
- [K_61 in Exclude<keyof I["message"]["trackPublished"]["track"], keyof TrackInfo>]: never;
4040
+ [K_64 in Exclude<keyof I["message"]["trackPublished"]["track"], keyof TrackInfo>]: never;
3970
4041
  }) | undefined;
3971
4042
  } & {
3972
- [K_62 in Exclude<keyof I["message"]["trackPublished"], keyof TrackPublishedResponse>]: never;
4043
+ [K_65 in Exclude<keyof I["message"]["trackPublished"], keyof TrackPublishedResponse>]: never;
3973
4044
  }) | undefined;
3974
4045
  $case: "trackPublished";
3975
4046
  } & {
3976
- [K_63 in Exclude<keyof I["message"], "trackPublished" | "$case">]: never;
4047
+ [K_66 in Exclude<keyof I["message"], "trackPublished" | "$case">]: never;
3977
4048
  }) | ({
3978
4049
  leave?: {
3979
4050
  canReconnect?: boolean | undefined;
@@ -3989,11 +4060,11 @@ export declare const SignalResponse: {
3989
4060
  canReconnect?: boolean | undefined;
3990
4061
  reason?: DisconnectReason | undefined;
3991
4062
  } & {
3992
- [K_64 in Exclude<keyof I["message"]["leave"], keyof LeaveRequest>]: never;
4063
+ [K_67 in Exclude<keyof I["message"]["leave"], keyof LeaveRequest>]: never;
3993
4064
  }) | undefined;
3994
4065
  $case: "leave";
3995
4066
  } & {
3996
- [K_65 in Exclude<keyof I["message"], "leave" | "$case">]: never;
4067
+ [K_68 in Exclude<keyof I["message"], "leave" | "$case">]: never;
3997
4068
  }) | ({
3998
4069
  mute?: {
3999
4070
  sid?: string | undefined;
@@ -4009,11 +4080,11 @@ export declare const SignalResponse: {
4009
4080
  sid?: string | undefined;
4010
4081
  muted?: boolean | undefined;
4011
4082
  } & {
4012
- [K_66 in Exclude<keyof I["message"]["mute"], keyof MuteTrackRequest>]: never;
4083
+ [K_69 in Exclude<keyof I["message"]["mute"], keyof MuteTrackRequest>]: never;
4013
4084
  }) | undefined;
4014
4085
  $case: "mute";
4015
4086
  } & {
4016
- [K_67 in Exclude<keyof I["message"], "mute" | "$case">]: never;
4087
+ [K_70 in Exclude<keyof I["message"], "mute" | "$case">]: never;
4017
4088
  }) | ({
4018
4089
  speakersChanged?: {
4019
4090
  speakers?: {
@@ -4045,20 +4116,20 @@ export declare const SignalResponse: {
4045
4116
  level?: number | undefined;
4046
4117
  active?: boolean | undefined;
4047
4118
  } & {
4048
- [K_68 in Exclude<keyof I["message"]["speakersChanged"]["speakers"][number], keyof SpeakerInfo>]: never;
4119
+ [K_71 in Exclude<keyof I["message"]["speakersChanged"]["speakers"][number], keyof SpeakerInfo>]: never;
4049
4120
  })[] & {
4050
- [K_69 in Exclude<keyof I["message"]["speakersChanged"]["speakers"], keyof {
4121
+ [K_72 in Exclude<keyof I["message"]["speakersChanged"]["speakers"], keyof {
4051
4122
  sid?: string | undefined;
4052
4123
  level?: number | undefined;
4053
4124
  active?: boolean | undefined;
4054
4125
  }[]>]: never;
4055
4126
  }) | undefined;
4056
4127
  } & {
4057
- [K_70 in Exclude<keyof I["message"]["speakersChanged"], "speakers">]: never;
4128
+ [K_73 in Exclude<keyof I["message"]["speakersChanged"], "speakers">]: never;
4058
4129
  }) | undefined;
4059
4130
  $case: "speakersChanged";
4060
4131
  } & {
4061
- [K_71 in Exclude<keyof I["message"], "speakersChanged" | "$case">]: never;
4132
+ [K_74 in Exclude<keyof I["message"], "speakersChanged" | "$case">]: never;
4062
4133
  }) | ({
4063
4134
  roomUpdate?: {
4064
4135
  room?: {
@@ -4128,9 +4199,9 @@ export declare const SignalResponse: {
4128
4199
  mime?: string | undefined;
4129
4200
  fmtpLine?: string | undefined;
4130
4201
  } & {
4131
- [K_72 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never;
4202
+ [K_75 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never;
4132
4203
  })[] & {
4133
- [K_73 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"], keyof {
4204
+ [K_76 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"], keyof {
4134
4205
  mime?: string | undefined;
4135
4206
  fmtpLine?: string | undefined;
4136
4207
  }[]>]: never;
@@ -4139,14 +4210,14 @@ export declare const SignalResponse: {
4139
4210
  numParticipants?: number | undefined;
4140
4211
  activeRecording?: boolean | undefined;
4141
4212
  } & {
4142
- [K_74 in Exclude<keyof I["message"]["roomUpdate"]["room"], keyof Room>]: never;
4213
+ [K_77 in Exclude<keyof I["message"]["roomUpdate"]["room"], keyof Room>]: never;
4143
4214
  }) | undefined;
4144
4215
  } & {
4145
- [K_75 in Exclude<keyof I["message"]["roomUpdate"], "room">]: never;
4216
+ [K_78 in Exclude<keyof I["message"]["roomUpdate"], "room">]: never;
4146
4217
  }) | undefined;
4147
4218
  $case: "roomUpdate";
4148
4219
  } & {
4149
- [K_76 in Exclude<keyof I["message"], "roomUpdate" | "$case">]: never;
4220
+ [K_79 in Exclude<keyof I["message"], "roomUpdate" | "$case">]: never;
4150
4221
  }) | ({
4151
4222
  connectionQuality?: {
4152
4223
  updates?: {
@@ -4178,20 +4249,20 @@ export declare const SignalResponse: {
4178
4249
  quality?: ConnectionQuality | undefined;
4179
4250
  score?: number | undefined;
4180
4251
  } & {
4181
- [K_77 in Exclude<keyof I["message"]["connectionQuality"]["updates"][number], keyof ConnectionQualityInfo>]: never;
4252
+ [K_80 in Exclude<keyof I["message"]["connectionQuality"]["updates"][number], keyof ConnectionQualityInfo>]: never;
4182
4253
  })[] & {
4183
- [K_78 in Exclude<keyof I["message"]["connectionQuality"]["updates"], keyof {
4254
+ [K_81 in Exclude<keyof I["message"]["connectionQuality"]["updates"], keyof {
4184
4255
  participantSid?: string | undefined;
4185
4256
  quality?: ConnectionQuality | undefined;
4186
4257
  score?: number | undefined;
4187
4258
  }[]>]: never;
4188
4259
  }) | undefined;
4189
4260
  } & {
4190
- [K_79 in Exclude<keyof I["message"]["connectionQuality"], "updates">]: never;
4261
+ [K_82 in Exclude<keyof I["message"]["connectionQuality"], "updates">]: never;
4191
4262
  }) | undefined;
4192
4263
  $case: "connectionQuality";
4193
4264
  } & {
4194
- [K_80 in Exclude<keyof I["message"], "connectionQuality" | "$case">]: never;
4265
+ [K_83 in Exclude<keyof I["message"], "connectionQuality" | "$case">]: never;
4195
4266
  }) | ({
4196
4267
  streamStateUpdate?: {
4197
4268
  streamStates?: {
@@ -4223,20 +4294,20 @@ export declare const SignalResponse: {
4223
4294
  trackSid?: string | undefined;
4224
4295
  state?: StreamState | undefined;
4225
4296
  } & {
4226
- [K_81 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"][number], keyof StreamStateInfo>]: never;
4297
+ [K_84 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"][number], keyof StreamStateInfo>]: never;
4227
4298
  })[] & {
4228
- [K_82 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"], keyof {
4299
+ [K_85 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"], keyof {
4229
4300
  participantSid?: string | undefined;
4230
4301
  trackSid?: string | undefined;
4231
4302
  state?: StreamState | undefined;
4232
4303
  }[]>]: never;
4233
4304
  }) | undefined;
4234
4305
  } & {
4235
- [K_83 in Exclude<keyof I["message"]["streamStateUpdate"], "streamStates">]: never;
4306
+ [K_86 in Exclude<keyof I["message"]["streamStateUpdate"], "streamStates">]: never;
4236
4307
  }) | undefined;
4237
4308
  $case: "streamStateUpdate";
4238
4309
  } & {
4239
- [K_84 in Exclude<keyof I["message"], "streamStateUpdate" | "$case">]: never;
4310
+ [K_87 in Exclude<keyof I["message"], "streamStateUpdate" | "$case">]: never;
4240
4311
  }) | ({
4241
4312
  subscribedQualityUpdate?: {
4242
4313
  trackSid?: string | undefined;
@@ -4280,9 +4351,9 @@ export declare const SignalResponse: {
4280
4351
  quality?: VideoQuality | undefined;
4281
4352
  enabled?: boolean | undefined;
4282
4353
  } & {
4283
- [K_85 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"][number], keyof SubscribedQuality>]: never;
4354
+ [K_88 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"][number], keyof SubscribedQuality>]: never;
4284
4355
  })[] & {
4285
- [K_86 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"], keyof {
4356
+ [K_89 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"], keyof {
4286
4357
  quality?: VideoQuality | undefined;
4287
4358
  enabled?: boolean | undefined;
4288
4359
  }[]>]: never;
@@ -4311,17 +4382,17 @@ export declare const SignalResponse: {
4311
4382
  quality?: VideoQuality | undefined;
4312
4383
  enabled?: boolean | undefined;
4313
4384
  } & {
4314
- [K_87 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"][number], keyof SubscribedQuality>]: never;
4385
+ [K_90 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"][number], keyof SubscribedQuality>]: never;
4315
4386
  })[] & {
4316
- [K_88 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"], keyof {
4387
+ [K_91 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"], keyof {
4317
4388
  quality?: VideoQuality | undefined;
4318
4389
  enabled?: boolean | undefined;
4319
4390
  }[]>]: never;
4320
4391
  }) | undefined;
4321
4392
  } & {
4322
- [K_89 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number], keyof SubscribedCodec>]: never;
4393
+ [K_92 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number], keyof SubscribedCodec>]: never;
4323
4394
  })[] & {
4324
- [K_90 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"], keyof {
4395
+ [K_93 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"], keyof {
4325
4396
  codec?: string | undefined;
4326
4397
  qualities?: {
4327
4398
  quality?: VideoQuality | undefined;
@@ -4330,11 +4401,11 @@ export declare const SignalResponse: {
4330
4401
  }[]>]: never;
4331
4402
  }) | undefined;
4332
4403
  } & {
4333
- [K_91 in Exclude<keyof I["message"]["subscribedQualityUpdate"], keyof SubscribedQualityUpdate>]: never;
4404
+ [K_94 in Exclude<keyof I["message"]["subscribedQualityUpdate"], keyof SubscribedQualityUpdate>]: never;
4334
4405
  }) | undefined;
4335
4406
  $case: "subscribedQualityUpdate";
4336
4407
  } & {
4337
- [K_92 in Exclude<keyof I["message"], "subscribedQualityUpdate" | "$case">]: never;
4408
+ [K_95 in Exclude<keyof I["message"], "subscribedQualityUpdate" | "$case">]: never;
4338
4409
  }) | ({
4339
4410
  subscriptionPermissionUpdate?: {
4340
4411
  participantSid?: string | undefined;
@@ -4353,11 +4424,11 @@ export declare const SignalResponse: {
4353
4424
  trackSid?: string | undefined;
4354
4425
  allowed?: boolean | undefined;
4355
4426
  } & {
4356
- [K_93 in Exclude<keyof I["message"]["subscriptionPermissionUpdate"], keyof SubscriptionPermissionUpdate>]: never;
4427
+ [K_96 in Exclude<keyof I["message"]["subscriptionPermissionUpdate"], keyof SubscriptionPermissionUpdate>]: never;
4357
4428
  }) | undefined;
4358
4429
  $case: "subscriptionPermissionUpdate";
4359
4430
  } & {
4360
- [K_94 in Exclude<keyof I["message"], "subscriptionPermissionUpdate" | "$case">]: never;
4431
+ [K_97 in Exclude<keyof I["message"], "subscriptionPermissionUpdate" | "$case">]: never;
4361
4432
  }) | ({
4362
4433
  refreshToken?: string | undefined;
4363
4434
  } & {
@@ -4366,7 +4437,7 @@ export declare const SignalResponse: {
4366
4437
  refreshToken?: string | undefined;
4367
4438
  $case: "refreshToken";
4368
4439
  } & {
4369
- [K_95 in Exclude<keyof I["message"], "refreshToken" | "$case">]: never;
4440
+ [K_98 in Exclude<keyof I["message"], "refreshToken" | "$case">]: never;
4370
4441
  }) | ({
4371
4442
  trackUnpublished?: {
4372
4443
  trackSid?: string | undefined;
@@ -4379,11 +4450,11 @@ export declare const SignalResponse: {
4379
4450
  } & {
4380
4451
  trackSid?: string | undefined;
4381
4452
  } & {
4382
- [K_96 in Exclude<keyof I["message"]["trackUnpublished"], "trackSid">]: never;
4453
+ [K_99 in Exclude<keyof I["message"]["trackUnpublished"], "trackSid">]: never;
4383
4454
  }) | undefined;
4384
4455
  $case: "trackUnpublished";
4385
4456
  } & {
4386
- [K_97 in Exclude<keyof I["message"], "trackUnpublished" | "$case">]: never;
4457
+ [K_100 in Exclude<keyof I["message"], "trackUnpublished" | "$case">]: never;
4387
4458
  }) | ({
4388
4459
  pong?: number | undefined;
4389
4460
  } & {
@@ -4392,7 +4463,7 @@ export declare const SignalResponse: {
4392
4463
  pong?: number | undefined;
4393
4464
  $case: "pong";
4394
4465
  } & {
4395
- [K_98 in Exclude<keyof I["message"], "pong" | "$case">]: never;
4466
+ [K_101 in Exclude<keyof I["message"], "pong" | "$case">]: never;
4396
4467
  }) | ({
4397
4468
  reconnect?: {
4398
4469
  iceServers?: {
@@ -4453,14 +4524,14 @@ export declare const SignalResponse: {
4453
4524
  credential?: string | undefined;
4454
4525
  } & {
4455
4526
  urls?: (string[] & string[] & {
4456
- [K_99 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number]["urls"], keyof string[]>]: never;
4527
+ [K_102 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number]["urls"], keyof string[]>]: never;
4457
4528
  }) | undefined;
4458
4529
  username?: string | undefined;
4459
4530
  credential?: string | undefined;
4460
4531
  } & {
4461
- [K_100 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number], keyof ICEServer>]: never;
4532
+ [K_103 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number], keyof ICEServer>]: never;
4462
4533
  })[] & {
4463
- [K_101 in Exclude<keyof I["message"]["reconnect"]["iceServers"], keyof {
4534
+ [K_104 in Exclude<keyof I["message"]["reconnect"]["iceServers"], keyof {
4464
4535
  urls?: string[] | undefined;
4465
4536
  username?: string | undefined;
4466
4537
  credential?: string | undefined;
@@ -4487,14 +4558,14 @@ export declare const SignalResponse: {
4487
4558
  } & {
4488
4559
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4489
4560
  } & {
4490
- [K_102 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["video"], "hardwareEncoder">]: never;
4561
+ [K_105 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["video"], "hardwareEncoder">]: never;
4491
4562
  }) | undefined;
4492
4563
  screen?: ({
4493
4564
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4494
4565
  } & {
4495
4566
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4496
4567
  } & {
4497
- [K_103 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
4568
+ [K_106 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
4498
4569
  }) | undefined;
4499
4570
  resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4500
4571
  disabledCodecs?: ({
@@ -4513,29 +4584,29 @@ export declare const SignalResponse: {
4513
4584
  mime?: string | undefined;
4514
4585
  fmtpLine?: string | undefined;
4515
4586
  } & {
4516
- [K_104 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
4587
+ [K_107 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
4517
4588
  })[] & {
4518
- [K_105 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
4589
+ [K_108 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
4519
4590
  mime?: string | undefined;
4520
4591
  fmtpLine?: string | undefined;
4521
4592
  }[]>]: never;
4522
4593
  }) | undefined;
4523
4594
  } & {
4524
- [K_106 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
4595
+ [K_109 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
4525
4596
  }) | undefined;
4526
4597
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4527
4598
  } & {
4528
- [K_107 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"], keyof ClientConfiguration>]: never;
4599
+ [K_110 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"], keyof ClientConfiguration>]: never;
4529
4600
  }) | undefined;
4530
4601
  } & {
4531
- [K_108 in Exclude<keyof I["message"]["reconnect"], keyof ReconnectResponse>]: never;
4602
+ [K_111 in Exclude<keyof I["message"]["reconnect"], keyof ReconnectResponse>]: never;
4532
4603
  }) | undefined;
4533
4604
  $case: "reconnect";
4534
4605
  } & {
4535
- [K_109 in Exclude<keyof I["message"], "reconnect" | "$case">]: never;
4606
+ [K_112 in Exclude<keyof I["message"], "reconnect" | "$case">]: never;
4536
4607
  }) | undefined;
4537
4608
  } & {
4538
- [K_110 in Exclude<keyof I, "message">]: never;
4609
+ [K_113 in Exclude<keyof I, "message">]: never;
4539
4610
  }>(object: I): SignalResponse;
4540
4611
  };
4541
4612
  export declare const SimulcastCodec: {
@@ -4750,6 +4821,7 @@ export declare const JoinResponse: {
4750
4821
  canSubscribe?: boolean | undefined;
4751
4822
  canPublish?: boolean | undefined;
4752
4823
  canPublishData?: boolean | undefined;
4824
+ canPublishSources?: TrackSource[] | undefined;
4753
4825
  hidden?: boolean | undefined;
4754
4826
  recorder?: boolean | undefined;
4755
4827
  } | undefined;
@@ -4803,6 +4875,7 @@ export declare const JoinResponse: {
4803
4875
  canSubscribe?: boolean | undefined;
4804
4876
  canPublish?: boolean | undefined;
4805
4877
  canPublishData?: boolean | undefined;
4878
+ canPublishSources?: TrackSource[] | undefined;
4806
4879
  hidden?: boolean | undefined;
4807
4880
  recorder?: boolean | undefined;
4808
4881
  } | undefined;
@@ -4936,6 +5009,7 @@ export declare const JoinResponse: {
4936
5009
  canSubscribe?: boolean | undefined;
4937
5010
  canPublish?: boolean | undefined;
4938
5011
  canPublishData?: boolean | undefined;
5012
+ canPublishSources?: TrackSource[] | undefined;
4939
5013
  hidden?: boolean | undefined;
4940
5014
  recorder?: boolean | undefined;
4941
5015
  } | undefined;
@@ -5175,21 +5249,25 @@ export declare const JoinResponse: {
5175
5249
  canSubscribe?: boolean | undefined;
5176
5250
  canPublish?: boolean | undefined;
5177
5251
  canPublishData?: boolean | undefined;
5252
+ canPublishSources?: TrackSource[] | undefined;
5178
5253
  hidden?: boolean | undefined;
5179
5254
  recorder?: boolean | undefined;
5180
5255
  } & {
5181
5256
  canSubscribe?: boolean | undefined;
5182
5257
  canPublish?: boolean | undefined;
5183
5258
  canPublishData?: boolean | undefined;
5259
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
5260
+ [K_11 in Exclude<keyof I["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
5261
+ }) | undefined;
5184
5262
  hidden?: boolean | undefined;
5185
5263
  recorder?: boolean | undefined;
5186
5264
  } & {
5187
- [K_11 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5265
+ [K_12 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5188
5266
  }) | undefined;
5189
5267
  region?: string | undefined;
5190
5268
  isPublisher?: boolean | undefined;
5191
5269
  } & {
5192
- [K_12 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never;
5270
+ [K_13 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never;
5193
5271
  }) | undefined;
5194
5272
  otherParticipants?: ({
5195
5273
  sid?: string | undefined;
@@ -5238,6 +5316,7 @@ export declare const JoinResponse: {
5238
5316
  canSubscribe?: boolean | undefined;
5239
5317
  canPublish?: boolean | undefined;
5240
5318
  canPublishData?: boolean | undefined;
5319
+ canPublishSources?: TrackSource[] | undefined;
5241
5320
  hidden?: boolean | undefined;
5242
5321
  recorder?: boolean | undefined;
5243
5322
  } | undefined;
@@ -5290,6 +5369,7 @@ export declare const JoinResponse: {
5290
5369
  canSubscribe?: boolean | undefined;
5291
5370
  canPublish?: boolean | undefined;
5292
5371
  canPublishData?: boolean | undefined;
5372
+ canPublishSources?: TrackSource[] | undefined;
5293
5373
  hidden?: boolean | undefined;
5294
5374
  recorder?: boolean | undefined;
5295
5375
  } | undefined;
@@ -5396,9 +5476,9 @@ export declare const JoinResponse: {
5396
5476
  bitrate?: number | undefined;
5397
5477
  ssrc?: number | undefined;
5398
5478
  } & {
5399
- [K_13 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
5479
+ [K_14 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never;
5400
5480
  })[] & {
5401
- [K_14 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
5481
+ [K_15 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
5402
5482
  quality?: VideoQuality | undefined;
5403
5483
  width?: number | undefined;
5404
5484
  height?: number | undefined;
@@ -5453,9 +5533,9 @@ export declare const JoinResponse: {
5453
5533
  bitrate?: number | undefined;
5454
5534
  ssrc?: number | undefined;
5455
5535
  } & {
5456
- [K_15 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
5536
+ [K_16 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
5457
5537
  })[] & {
5458
- [K_16 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
5538
+ [K_17 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
5459
5539
  quality?: VideoQuality | undefined;
5460
5540
  width?: number | undefined;
5461
5541
  height?: number | undefined;
@@ -5464,9 +5544,9 @@ export declare const JoinResponse: {
5464
5544
  }[]>]: never;
5465
5545
  }) | undefined;
5466
5546
  } & {
5467
- [K_17 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
5547
+ [K_18 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
5468
5548
  })[] & {
5469
- [K_18 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
5549
+ [K_19 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
5470
5550
  mimeType?: string | undefined;
5471
5551
  mid?: string | undefined;
5472
5552
  cid?: string | undefined;
@@ -5483,9 +5563,9 @@ export declare const JoinResponse: {
5483
5563
  disableRed?: boolean | undefined;
5484
5564
  encryption?: Encryption_Type | undefined;
5485
5565
  } & {
5486
- [K_19 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
5566
+ [K_20 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never;
5487
5567
  })[] & {
5488
- [K_20 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
5568
+ [K_21 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
5489
5569
  sid?: string | undefined;
5490
5570
  type?: TrackType | undefined;
5491
5571
  name?: string | undefined;
@@ -5529,23 +5609,27 @@ export declare const JoinResponse: {
5529
5609
  canSubscribe?: boolean | undefined;
5530
5610
  canPublish?: boolean | undefined;
5531
5611
  canPublishData?: boolean | undefined;
5612
+ canPublishSources?: TrackSource[] | undefined;
5532
5613
  hidden?: boolean | undefined;
5533
5614
  recorder?: boolean | undefined;
5534
5615
  } & {
5535
5616
  canSubscribe?: boolean | undefined;
5536
5617
  canPublish?: boolean | undefined;
5537
5618
  canPublishData?: boolean | undefined;
5619
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
5620
+ [K_22 in Exclude<keyof I["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
5621
+ }) | undefined;
5538
5622
  hidden?: boolean | undefined;
5539
5623
  recorder?: boolean | undefined;
5540
5624
  } & {
5541
- [K_21 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5625
+ [K_23 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5542
5626
  }) | undefined;
5543
5627
  region?: string | undefined;
5544
5628
  isPublisher?: boolean | undefined;
5545
5629
  } & {
5546
- [K_22 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never;
5630
+ [K_24 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never;
5547
5631
  })[] & {
5548
- [K_23 in Exclude<keyof I["otherParticipants"], keyof {
5632
+ [K_25 in Exclude<keyof I["otherParticipants"], keyof {
5549
5633
  sid?: string | undefined;
5550
5634
  identity?: string | undefined;
5551
5635
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -5592,6 +5676,7 @@ export declare const JoinResponse: {
5592
5676
  canSubscribe?: boolean | undefined;
5593
5677
  canPublish?: boolean | undefined;
5594
5678
  canPublishData?: boolean | undefined;
5679
+ canPublishSources?: TrackSource[] | undefined;
5595
5680
  hidden?: boolean | undefined;
5596
5681
  recorder?: boolean | undefined;
5597
5682
  } | undefined;
@@ -5610,14 +5695,14 @@ export declare const JoinResponse: {
5610
5695
  credential?: string | undefined;
5611
5696
  } & {
5612
5697
  urls?: (string[] & string[] & {
5613
- [K_24 in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never;
5698
+ [K_26 in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never;
5614
5699
  }) | undefined;
5615
5700
  username?: string | undefined;
5616
5701
  credential?: string | undefined;
5617
5702
  } & {
5618
- [K_25 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never;
5703
+ [K_27 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never;
5619
5704
  })[] & {
5620
- [K_26 in Exclude<keyof I["iceServers"], keyof {
5705
+ [K_28 in Exclude<keyof I["iceServers"], keyof {
5621
5706
  urls?: string[] | undefined;
5622
5707
  username?: string | undefined;
5623
5708
  credential?: string | undefined;
@@ -5646,14 +5731,14 @@ export declare const JoinResponse: {
5646
5731
  } & {
5647
5732
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5648
5733
  } & {
5649
- [K_27 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never;
5734
+ [K_29 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never;
5650
5735
  }) | undefined;
5651
5736
  screen?: ({
5652
5737
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5653
5738
  } & {
5654
5739
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5655
5740
  } & {
5656
- [K_28 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
5741
+ [K_30 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never;
5657
5742
  }) | undefined;
5658
5743
  resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5659
5744
  disabledCodecs?: ({
@@ -5672,19 +5757,19 @@ export declare const JoinResponse: {
5672
5757
  mime?: string | undefined;
5673
5758
  fmtpLine?: string | undefined;
5674
5759
  } & {
5675
- [K_29 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
5760
+ [K_31 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never;
5676
5761
  })[] & {
5677
- [K_30 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
5762
+ [K_32 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
5678
5763
  mime?: string | undefined;
5679
5764
  fmtpLine?: string | undefined;
5680
5765
  }[]>]: never;
5681
5766
  }) | undefined;
5682
5767
  } & {
5683
- [K_31 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
5768
+ [K_33 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never;
5684
5769
  }) | undefined;
5685
5770
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5686
5771
  } & {
5687
- [K_32 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never;
5772
+ [K_34 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never;
5688
5773
  }) | undefined;
5689
5774
  serverRegion?: string | undefined;
5690
5775
  pingTimeout?: number | undefined;
@@ -5704,10 +5789,10 @@ export declare const JoinResponse: {
5704
5789
  nodeId?: string | undefined;
5705
5790
  debugInfo?: string | undefined;
5706
5791
  } & {
5707
- [K_33 in Exclude<keyof I["serverInfo"], keyof ServerInfo>]: never;
5792
+ [K_35 in Exclude<keyof I["serverInfo"], keyof ServerInfo>]: never;
5708
5793
  }) | undefined;
5709
5794
  } & {
5710
- [K_34 in Exclude<keyof I, keyof JoinResponse>]: never;
5795
+ [K_36 in Exclude<keyof I, keyof JoinResponse>]: never;
5711
5796
  }>(object: I): JoinResponse;
5712
5797
  };
5713
5798
  export declare const ReconnectResponse: {
@@ -6107,6 +6192,7 @@ export declare const ParticipantUpdate: {
6107
6192
  canSubscribe?: boolean | undefined;
6108
6193
  canPublish?: boolean | undefined;
6109
6194
  canPublishData?: boolean | undefined;
6195
+ canPublishSources?: TrackSource[] | undefined;
6110
6196
  hidden?: boolean | undefined;
6111
6197
  recorder?: boolean | undefined;
6112
6198
  } | undefined;
@@ -6161,6 +6247,7 @@ export declare const ParticipantUpdate: {
6161
6247
  canSubscribe?: boolean | undefined;
6162
6248
  canPublish?: boolean | undefined;
6163
6249
  canPublishData?: boolean | undefined;
6250
+ canPublishSources?: TrackSource[] | undefined;
6164
6251
  hidden?: boolean | undefined;
6165
6252
  recorder?: boolean | undefined;
6166
6253
  } | undefined;
@@ -6213,6 +6300,7 @@ export declare const ParticipantUpdate: {
6213
6300
  canSubscribe?: boolean | undefined;
6214
6301
  canPublish?: boolean | undefined;
6215
6302
  canPublishData?: boolean | undefined;
6303
+ canPublishSources?: TrackSource[] | undefined;
6216
6304
  hidden?: boolean | undefined;
6217
6305
  recorder?: boolean | undefined;
6218
6306
  } | undefined;
@@ -6452,23 +6540,27 @@ export declare const ParticipantUpdate: {
6452
6540
  canSubscribe?: boolean | undefined;
6453
6541
  canPublish?: boolean | undefined;
6454
6542
  canPublishData?: boolean | undefined;
6543
+ canPublishSources?: TrackSource[] | undefined;
6455
6544
  hidden?: boolean | undefined;
6456
6545
  recorder?: boolean | undefined;
6457
6546
  } & {
6458
6547
  canSubscribe?: boolean | undefined;
6459
6548
  canPublish?: boolean | undefined;
6460
6549
  canPublishData?: boolean | undefined;
6550
+ canPublishSources?: (TrackSource[] & TrackSource[] & {
6551
+ [K_8 in Exclude<keyof I["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never;
6552
+ }) | undefined;
6461
6553
  hidden?: boolean | undefined;
6462
6554
  recorder?: boolean | undefined;
6463
6555
  } & {
6464
- [K_8 in Exclude<keyof I["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
6556
+ [K_9 in Exclude<keyof I["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
6465
6557
  }) | undefined;
6466
6558
  region?: string | undefined;
6467
6559
  isPublisher?: boolean | undefined;
6468
6560
  } & {
6469
- [K_9 in Exclude<keyof I["participants"][number], keyof ParticipantInfo>]: never;
6561
+ [K_10 in Exclude<keyof I["participants"][number], keyof ParticipantInfo>]: never;
6470
6562
  })[] & {
6471
- [K_10 in Exclude<keyof I["participants"], keyof {
6563
+ [K_11 in Exclude<keyof I["participants"], keyof {
6472
6564
  sid?: string | undefined;
6473
6565
  identity?: string | undefined;
6474
6566
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -6515,6 +6607,7 @@ export declare const ParticipantUpdate: {
6515
6607
  canSubscribe?: boolean | undefined;
6516
6608
  canPublish?: boolean | undefined;
6517
6609
  canPublishData?: boolean | undefined;
6610
+ canPublishSources?: TrackSource[] | undefined;
6518
6611
  hidden?: boolean | undefined;
6519
6612
  recorder?: boolean | undefined;
6520
6613
  } | undefined;
@@ -6523,7 +6616,7 @@ export declare const ParticipantUpdate: {
6523
6616
  }[]>]: never;
6524
6617
  }) | undefined;
6525
6618
  } & {
6526
- [K_11 in Exclude<keyof I, "participants">]: never;
6619
+ [K_12 in Exclude<keyof I, "participants">]: never;
6527
6620
  }>(object: I): ParticipantUpdate;
6528
6621
  };
6529
6622
  export declare const UpdateSubscription: {
@@ -6578,6 +6671,7 @@ export declare const UpdateTrackSettings: {
6578
6671
  width?: number | undefined;
6579
6672
  height?: number | undefined;
6580
6673
  fps?: number | undefined;
6674
+ priority?: number | undefined;
6581
6675
  } & {
6582
6676
  trackSids?: (string[] & string[] & {
6583
6677
  [K in Exclude<keyof I["trackSids"], keyof string[]>]: never;
@@ -6587,6 +6681,7 @@ export declare const UpdateTrackSettings: {
6587
6681
  width?: number | undefined;
6588
6682
  height?: number | undefined;
6589
6683
  fps?: number | undefined;
6684
+ priority?: number | undefined;
6590
6685
  } & {
6591
6686
  [K_1 in Exclude<keyof I, keyof UpdateTrackSettings>]: never;
6592
6687
  }>(object: I): UpdateTrackSettings;
@@ -6655,6 +6750,19 @@ export declare const UpdateVideoLayers: {
6655
6750
  [K_2 in Exclude<keyof I, keyof UpdateVideoLayers>]: never;
6656
6751
  }>(object: I): UpdateVideoLayers;
6657
6752
  };
6753
+ export declare const UpdateParticipantMetadata: {
6754
+ encode(message: UpdateParticipantMetadata, writer?: _m0.Writer): _m0.Writer;
6755
+ decode(input: _m0.Reader | Uint8Array, length?: number): UpdateParticipantMetadata;
6756
+ fromJSON(object: any): UpdateParticipantMetadata;
6757
+ toJSON(message: UpdateParticipantMetadata): unknown;
6758
+ fromPartial<I extends {
6759
+ metadata?: string | undefined;
6760
+ } & {
6761
+ metadata?: string | undefined;
6762
+ } & {
6763
+ [K in Exclude<keyof I, "metadata">]: never;
6764
+ }>(object: I): UpdateParticipantMetadata;
6765
+ };
6658
6766
  export declare const ICEServer: {
6659
6767
  encode(message: ICEServer, writer?: _m0.Writer): _m0.Writer;
6660
6768
  decode(input: _m0.Reader | Uint8Array, length?: number): ICEServer;