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?: ({
@@ -749,6 +772,7 @@ export declare const SignalRequest: {
749
772
  width?: number | undefined;
750
773
  height?: number | undefined;
751
774
  fps?: number | undefined;
775
+ priority?: number | undefined;
752
776
  } | undefined;
753
777
  } & {
754
778
  $case: "trackSetting";
@@ -760,6 +784,7 @@ export declare const SignalRequest: {
760
784
  width?: number | undefined;
761
785
  height?: number | undefined;
762
786
  fps?: number | undefined;
787
+ priority?: number | undefined;
763
788
  } & {
764
789
  trackSids?: (string[] & string[] & { [K_20 in Exclude<keyof I["message"]["trackSetting"]["trackSids"], keyof string[]>]: never; }) | undefined;
765
790
  disabled?: boolean | undefined;
@@ -767,6 +792,7 @@ export declare const SignalRequest: {
767
792
  width?: number | undefined;
768
793
  height?: number | undefined;
769
794
  fps?: number | undefined;
795
+ priority?: number | undefined;
770
796
  } & { [K_21 in Exclude<keyof I["message"]["trackSetting"], keyof UpdateTrackSettings>]: never; }) | undefined;
771
797
  $case: "trackSetting";
772
798
  } & { [K_22 in Exclude<keyof I["message"], "trackSetting" | "$case">]: never; }) | ({
@@ -1413,8 +1439,21 @@ export declare const SignalRequest: {
1413
1439
  } & {
1414
1440
  ping?: number | undefined;
1415
1441
  $case: "ping";
1416
- } & { [K_61 in Exclude<keyof I["message"], "ping" | "$case">]: never; }) | undefined;
1417
- } & { [K_62 in Exclude<keyof I, "message">]: never; }>(object: I): SignalRequest;
1442
+ } & { [K_61 in Exclude<keyof I["message"], "ping" | "$case">]: never; }) | ({
1443
+ updateMetadata?: {
1444
+ metadata?: string | undefined;
1445
+ } | undefined;
1446
+ } & {
1447
+ $case: "updateMetadata";
1448
+ } & {
1449
+ updateMetadata?: ({
1450
+ metadata?: string | undefined;
1451
+ } & {
1452
+ metadata?: string | undefined;
1453
+ } & { [K_62 in Exclude<keyof I["message"]["updateMetadata"], "metadata">]: never; }) | undefined;
1454
+ $case: "updateMetadata";
1455
+ } & { [K_63 in Exclude<keyof I["message"], "updateMetadata" | "$case">]: never; }) | undefined;
1456
+ } & { [K_64 in Exclude<keyof I, "message">]: never; }>(object: I): SignalRequest;
1418
1457
  };
1419
1458
  export declare const SignalResponse: {
1420
1459
  encode(message: SignalResponse, writer?: _m0.Writer): _m0.Writer;
@@ -1486,6 +1525,7 @@ export declare const SignalResponse: {
1486
1525
  canSubscribe?: boolean | undefined;
1487
1526
  canPublish?: boolean | undefined;
1488
1527
  canPublishData?: boolean | undefined;
1528
+ canPublishSources?: TrackSource[] | undefined;
1489
1529
  hidden?: boolean | undefined;
1490
1530
  recorder?: boolean | undefined;
1491
1531
  } | undefined;
@@ -1539,6 +1579,7 @@ export declare const SignalResponse: {
1539
1579
  canSubscribe?: boolean | undefined;
1540
1580
  canPublish?: boolean | undefined;
1541
1581
  canPublishData?: boolean | undefined;
1582
+ canPublishSources?: TrackSource[] | undefined;
1542
1583
  hidden?: boolean | undefined;
1543
1584
  recorder?: boolean | undefined;
1544
1585
  } | undefined;
@@ -1653,6 +1694,7 @@ export declare const SignalResponse: {
1653
1694
  canSubscribe?: boolean | undefined;
1654
1695
  canPublish?: boolean | undefined;
1655
1696
  canPublishData?: boolean | undefined;
1697
+ canPublishSources?: TrackSource[] | undefined;
1656
1698
  hidden?: boolean | undefined;
1657
1699
  recorder?: boolean | undefined;
1658
1700
  } | undefined;
@@ -1898,6 +1940,7 @@ export declare const SignalResponse: {
1898
1940
  canSubscribe?: boolean | undefined;
1899
1941
  canPublish?: boolean | undefined;
1900
1942
  canPublishData?: boolean | undefined;
1943
+ canPublishSources?: TrackSource[] | undefined;
1901
1944
  hidden?: boolean | undefined;
1902
1945
  recorder?: boolean | undefined;
1903
1946
  } | undefined;
@@ -1951,6 +1994,7 @@ export declare const SignalResponse: {
1951
1994
  canSubscribe?: boolean | undefined;
1952
1995
  canPublish?: boolean | undefined;
1953
1996
  canPublishData?: boolean | undefined;
1997
+ canPublishSources?: TrackSource[] | undefined;
1954
1998
  hidden?: boolean | undefined;
1955
1999
  recorder?: boolean | undefined;
1956
2000
  } | undefined;
@@ -2059,6 +2103,7 @@ export declare const SignalResponse: {
2059
2103
  canSubscribe?: boolean | undefined;
2060
2104
  canPublish?: boolean | undefined;
2061
2105
  canPublishData?: boolean | undefined;
2106
+ canPublishSources?: TrackSource[] | undefined;
2062
2107
  hidden?: boolean | undefined;
2063
2108
  recorder?: boolean | undefined;
2064
2109
  } | undefined;
@@ -2112,6 +2157,7 @@ export declare const SignalResponse: {
2112
2157
  canSubscribe?: boolean | undefined;
2113
2158
  canPublish?: boolean | undefined;
2114
2159
  canPublishData?: boolean | undefined;
2160
+ canPublishSources?: TrackSource[] | undefined;
2115
2161
  hidden?: boolean | undefined;
2116
2162
  recorder?: boolean | undefined;
2117
2163
  } | undefined;
@@ -2239,6 +2285,7 @@ export declare const SignalResponse: {
2239
2285
  canSubscribe?: boolean | undefined;
2240
2286
  canPublish?: boolean | undefined;
2241
2287
  canPublishData?: boolean | undefined;
2288
+ canPublishSources?: TrackSource[] | undefined;
2242
2289
  hidden?: boolean | undefined;
2243
2290
  recorder?: boolean | undefined;
2244
2291
  } | undefined;
@@ -2462,18 +2509,20 @@ export declare const SignalResponse: {
2462
2509
  canSubscribe?: boolean | undefined;
2463
2510
  canPublish?: boolean | undefined;
2464
2511
  canPublishData?: boolean | undefined;
2512
+ canPublishSources?: TrackSource[] | undefined;
2465
2513
  hidden?: boolean | undefined;
2466
2514
  recorder?: boolean | undefined;
2467
2515
  } & {
2468
2516
  canSubscribe?: boolean | undefined;
2469
2517
  canPublish?: boolean | undefined;
2470
2518
  canPublishData?: boolean | undefined;
2519
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_11 in Exclude<keyof I["message"]["join"]["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
2471
2520
  hidden?: boolean | undefined;
2472
2521
  recorder?: boolean | undefined;
2473
- } & { [K_11 in Exclude<keyof I["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
2522
+ } & { [K_12 in Exclude<keyof I["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
2474
2523
  region?: string | undefined;
2475
2524
  isPublisher?: boolean | undefined;
2476
- } & { [K_12 in Exclude<keyof I["message"]["join"]["participant"], keyof ParticipantInfo>]: never; }) | undefined;
2525
+ } & { [K_13 in Exclude<keyof I["message"]["join"]["participant"], keyof ParticipantInfo>]: never; }) | undefined;
2477
2526
  otherParticipants?: ({
2478
2527
  sid?: string | undefined;
2479
2528
  identity?: string | undefined;
@@ -2521,6 +2570,7 @@ export declare const SignalResponse: {
2521
2570
  canSubscribe?: boolean | undefined;
2522
2571
  canPublish?: boolean | undefined;
2523
2572
  canPublishData?: boolean | undefined;
2573
+ canPublishSources?: TrackSource[] | undefined;
2524
2574
  hidden?: boolean | undefined;
2525
2575
  recorder?: boolean | undefined;
2526
2576
  } | undefined;
@@ -2573,6 +2623,7 @@ export declare const SignalResponse: {
2573
2623
  canSubscribe?: boolean | undefined;
2574
2624
  canPublish?: boolean | undefined;
2575
2625
  canPublishData?: boolean | undefined;
2626
+ canPublishSources?: TrackSource[] | undefined;
2576
2627
  hidden?: boolean | undefined;
2577
2628
  recorder?: boolean | undefined;
2578
2629
  } | undefined;
@@ -2678,7 +2729,7 @@ export declare const SignalResponse: {
2678
2729
  height?: number | undefined;
2679
2730
  bitrate?: number | undefined;
2680
2731
  ssrc?: number | undefined;
2681
- } & { [K_13 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_14 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"], keyof {
2732
+ } & { [K_14 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_15 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["layers"], keyof {
2682
2733
  quality?: VideoQuality | undefined;
2683
2734
  width?: number | undefined;
2684
2735
  height?: number | undefined;
@@ -2731,14 +2782,14 @@ export declare const SignalResponse: {
2731
2782
  height?: number | undefined;
2732
2783
  bitrate?: number | undefined;
2733
2784
  ssrc?: number | undefined;
2734
- } & { [K_15 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_16 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
2785
+ } & { [K_16 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_17 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
2735
2786
  quality?: VideoQuality | undefined;
2736
2787
  width?: number | undefined;
2737
2788
  height?: number | undefined;
2738
2789
  bitrate?: number | undefined;
2739
2790
  ssrc?: number | undefined;
2740
2791
  }[]>]: never; }) | undefined;
2741
- } & { [K_17 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_18 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
2792
+ } & { [K_18 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_19 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
2742
2793
  mimeType?: string | undefined;
2743
2794
  mid?: string | undefined;
2744
2795
  cid?: string | undefined;
@@ -2753,7 +2804,7 @@ export declare const SignalResponse: {
2753
2804
  stereo?: boolean | undefined;
2754
2805
  disableRed?: boolean | undefined;
2755
2806
  encryption?: Encryption_Type | undefined;
2756
- } & { [K_19 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_20 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"], keyof {
2807
+ } & { [K_20 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_21 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["tracks"], keyof {
2757
2808
  sid?: string | undefined;
2758
2809
  type?: TrackType | undefined;
2759
2810
  name?: string | undefined;
@@ -2796,18 +2847,20 @@ export declare const SignalResponse: {
2796
2847
  canSubscribe?: boolean | undefined;
2797
2848
  canPublish?: boolean | undefined;
2798
2849
  canPublishData?: boolean | undefined;
2850
+ canPublishSources?: TrackSource[] | undefined;
2799
2851
  hidden?: boolean | undefined;
2800
2852
  recorder?: boolean | undefined;
2801
2853
  } & {
2802
2854
  canSubscribe?: boolean | undefined;
2803
2855
  canPublish?: boolean | undefined;
2804
2856
  canPublishData?: boolean | undefined;
2857
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_22 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
2805
2858
  hidden?: boolean | undefined;
2806
2859
  recorder?: boolean | undefined;
2807
- } & { [K_21 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
2860
+ } & { [K_23 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
2808
2861
  region?: string | undefined;
2809
2862
  isPublisher?: boolean | undefined;
2810
- } & { [K_22 in Exclude<keyof I["message"]["join"]["otherParticipants"][number], keyof ParticipantInfo>]: never; })[] & { [K_23 in Exclude<keyof I["message"]["join"]["otherParticipants"], keyof {
2863
+ } & { [K_24 in Exclude<keyof I["message"]["join"]["otherParticipants"][number], keyof ParticipantInfo>]: never; })[] & { [K_25 in Exclude<keyof I["message"]["join"]["otherParticipants"], keyof {
2811
2864
  sid?: string | undefined;
2812
2865
  identity?: string | undefined;
2813
2866
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -2854,6 +2907,7 @@ export declare const SignalResponse: {
2854
2907
  canSubscribe?: boolean | undefined;
2855
2908
  canPublish?: boolean | undefined;
2856
2909
  canPublishData?: boolean | undefined;
2910
+ canPublishSources?: TrackSource[] | undefined;
2857
2911
  hidden?: boolean | undefined;
2858
2912
  recorder?: boolean | undefined;
2859
2913
  } | undefined;
@@ -2870,10 +2924,10 @@ export declare const SignalResponse: {
2870
2924
  username?: string | undefined;
2871
2925
  credential?: string | undefined;
2872
2926
  } & {
2873
- urls?: (string[] & string[] & { [K_24 in Exclude<keyof I["message"]["join"]["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
2927
+ urls?: (string[] & string[] & { [K_26 in Exclude<keyof I["message"]["join"]["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
2874
2928
  username?: string | undefined;
2875
2929
  credential?: string | undefined;
2876
- } & { [K_25 in Exclude<keyof I["message"]["join"]["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_26 in Exclude<keyof I["message"]["join"]["iceServers"], keyof {
2930
+ } & { [K_27 in Exclude<keyof I["message"]["join"]["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_28 in Exclude<keyof I["message"]["join"]["iceServers"], keyof {
2877
2931
  urls?: string[] | undefined;
2878
2932
  username?: string | undefined;
2879
2933
  credential?: string | undefined;
@@ -2900,12 +2954,12 @@ export declare const SignalResponse: {
2900
2954
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
2901
2955
  } & {
2902
2956
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
2903
- } & { [K_27 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
2957
+ } & { [K_29 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
2904
2958
  screen?: ({
2905
2959
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
2906
2960
  } & {
2907
2961
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
2908
- } & { [K_28 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
2962
+ } & { [K_30 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
2909
2963
  resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
2910
2964
  disabledCodecs?: ({
2911
2965
  codecs?: {
@@ -2922,13 +2976,13 @@ export declare const SignalResponse: {
2922
2976
  } & {
2923
2977
  mime?: string | undefined;
2924
2978
  fmtpLine?: string | undefined;
2925
- } & { [K_29 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_30 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
2979
+ } & { [K_31 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_32 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
2926
2980
  mime?: string | undefined;
2927
2981
  fmtpLine?: string | undefined;
2928
2982
  }[]>]: never; }) | undefined;
2929
- } & { [K_31 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
2983
+ } & { [K_33 in Exclude<keyof I["message"]["join"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
2930
2984
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
2931
- } & { [K_32 in Exclude<keyof I["message"]["join"]["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
2985
+ } & { [K_34 in Exclude<keyof I["message"]["join"]["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
2932
2986
  serverRegion?: string | undefined;
2933
2987
  pingTimeout?: number | undefined;
2934
2988
  pingInterval?: number | undefined;
@@ -2946,10 +3000,10 @@ export declare const SignalResponse: {
2946
3000
  region?: string | undefined;
2947
3001
  nodeId?: string | undefined;
2948
3002
  debugInfo?: string | undefined;
2949
- } & { [K_33 in Exclude<keyof I["message"]["join"]["serverInfo"], keyof ServerInfo>]: never; }) | undefined;
2950
- } & { [K_34 in Exclude<keyof I["message"]["join"], keyof JoinResponse>]: never; }) | undefined;
3003
+ } & { [K_35 in Exclude<keyof I["message"]["join"]["serverInfo"], keyof ServerInfo>]: never; }) | undefined;
3004
+ } & { [K_36 in Exclude<keyof I["message"]["join"], keyof JoinResponse>]: never; }) | undefined;
2951
3005
  $case: "join";
2952
- } & { [K_35 in Exclude<keyof I["message"], "join" | "$case">]: never; }) | ({
3006
+ } & { [K_37 in Exclude<keyof I["message"], "join" | "$case">]: never; }) | ({
2953
3007
  answer?: {
2954
3008
  type?: string | undefined;
2955
3009
  sdp?: string | undefined;
@@ -2963,9 +3017,9 @@ export declare const SignalResponse: {
2963
3017
  } & {
2964
3018
  type?: string | undefined;
2965
3019
  sdp?: string | undefined;
2966
- } & { [K_36 in Exclude<keyof I["message"]["answer"], keyof SessionDescription>]: never; }) | undefined;
3020
+ } & { [K_38 in Exclude<keyof I["message"]["answer"], keyof SessionDescription>]: never; }) | undefined;
2967
3021
  $case: "answer";
2968
- } & { [K_37 in Exclude<keyof I["message"], "answer" | "$case">]: never; }) | ({
3022
+ } & { [K_39 in Exclude<keyof I["message"], "answer" | "$case">]: never; }) | ({
2969
3023
  offer?: {
2970
3024
  type?: string | undefined;
2971
3025
  sdp?: string | undefined;
@@ -2979,9 +3033,9 @@ export declare const SignalResponse: {
2979
3033
  } & {
2980
3034
  type?: string | undefined;
2981
3035
  sdp?: string | undefined;
2982
- } & { [K_38 in Exclude<keyof I["message"]["offer"], keyof SessionDescription>]: never; }) | undefined;
3036
+ } & { [K_40 in Exclude<keyof I["message"]["offer"], keyof SessionDescription>]: never; }) | undefined;
2983
3037
  $case: "offer";
2984
- } & { [K_39 in Exclude<keyof I["message"], "offer" | "$case">]: never; }) | ({
3038
+ } & { [K_41 in Exclude<keyof I["message"], "offer" | "$case">]: never; }) | ({
2985
3039
  trickle?: {
2986
3040
  candidateInit?: string | undefined;
2987
3041
  target?: SignalTarget | undefined;
@@ -2995,9 +3049,9 @@ export declare const SignalResponse: {
2995
3049
  } & {
2996
3050
  candidateInit?: string | undefined;
2997
3051
  target?: SignalTarget | undefined;
2998
- } & { [K_40 in Exclude<keyof I["message"]["trickle"], keyof TrickleRequest>]: never; }) | undefined;
3052
+ } & { [K_42 in Exclude<keyof I["message"]["trickle"], keyof TrickleRequest>]: never; }) | undefined;
2999
3053
  $case: "trickle";
3000
- } & { [K_41 in Exclude<keyof I["message"], "trickle" | "$case">]: never; }) | ({
3054
+ } & { [K_43 in Exclude<keyof I["message"], "trickle" | "$case">]: never; }) | ({
3001
3055
  update?: {
3002
3056
  participants?: {
3003
3057
  sid?: string | undefined;
@@ -3046,6 +3100,7 @@ export declare const SignalResponse: {
3046
3100
  canSubscribe?: boolean | undefined;
3047
3101
  canPublish?: boolean | undefined;
3048
3102
  canPublishData?: boolean | undefined;
3103
+ canPublishSources?: TrackSource[] | undefined;
3049
3104
  hidden?: boolean | undefined;
3050
3105
  recorder?: boolean | undefined;
3051
3106
  } | undefined;
@@ -3104,6 +3159,7 @@ export declare const SignalResponse: {
3104
3159
  canSubscribe?: boolean | undefined;
3105
3160
  canPublish?: boolean | undefined;
3106
3161
  canPublishData?: boolean | undefined;
3162
+ canPublishSources?: TrackSource[] | undefined;
3107
3163
  hidden?: boolean | undefined;
3108
3164
  recorder?: boolean | undefined;
3109
3165
  } | undefined;
@@ -3158,6 +3214,7 @@ export declare const SignalResponse: {
3158
3214
  canSubscribe?: boolean | undefined;
3159
3215
  canPublish?: boolean | undefined;
3160
3216
  canPublishData?: boolean | undefined;
3217
+ canPublishSources?: TrackSource[] | undefined;
3161
3218
  hidden?: boolean | undefined;
3162
3219
  recorder?: boolean | undefined;
3163
3220
  } | undefined;
@@ -3210,6 +3267,7 @@ export declare const SignalResponse: {
3210
3267
  canSubscribe?: boolean | undefined;
3211
3268
  canPublish?: boolean | undefined;
3212
3269
  canPublishData?: boolean | undefined;
3270
+ canPublishSources?: TrackSource[] | undefined;
3213
3271
  hidden?: boolean | undefined;
3214
3272
  recorder?: boolean | undefined;
3215
3273
  } | undefined;
@@ -3315,7 +3373,7 @@ export declare const SignalResponse: {
3315
3373
  height?: number | undefined;
3316
3374
  bitrate?: number | undefined;
3317
3375
  ssrc?: number | undefined;
3318
- } & { [K_42 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_43 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"], keyof {
3376
+ } & { [K_44 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_45 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["layers"], keyof {
3319
3377
  quality?: VideoQuality | undefined;
3320
3378
  width?: number | undefined;
3321
3379
  height?: number | undefined;
@@ -3368,14 +3426,14 @@ export declare const SignalResponse: {
3368
3426
  height?: number | undefined;
3369
3427
  bitrate?: number | undefined;
3370
3428
  ssrc?: number | undefined;
3371
- } & { [K_44 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_45 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
3429
+ } & { [K_46 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_47 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
3372
3430
  quality?: VideoQuality | undefined;
3373
3431
  width?: number | undefined;
3374
3432
  height?: number | undefined;
3375
3433
  bitrate?: number | undefined;
3376
3434
  ssrc?: number | undefined;
3377
3435
  }[]>]: never; }) | undefined;
3378
- } & { [K_46 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_47 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"], keyof {
3436
+ } & { [K_48 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_49 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number]["codecs"], keyof {
3379
3437
  mimeType?: string | undefined;
3380
3438
  mid?: string | undefined;
3381
3439
  cid?: string | undefined;
@@ -3390,7 +3448,7 @@ export declare const SignalResponse: {
3390
3448
  stereo?: boolean | undefined;
3391
3449
  disableRed?: boolean | undefined;
3392
3450
  encryption?: Encryption_Type | undefined;
3393
- } & { [K_48 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_49 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"], keyof {
3451
+ } & { [K_50 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_51 in Exclude<keyof I["message"]["update"]["participants"][number]["tracks"], keyof {
3394
3452
  sid?: string | undefined;
3395
3453
  type?: TrackType | undefined;
3396
3454
  name?: string | undefined;
@@ -3433,18 +3491,20 @@ export declare const SignalResponse: {
3433
3491
  canSubscribe?: boolean | undefined;
3434
3492
  canPublish?: boolean | undefined;
3435
3493
  canPublishData?: boolean | undefined;
3494
+ canPublishSources?: TrackSource[] | undefined;
3436
3495
  hidden?: boolean | undefined;
3437
3496
  recorder?: boolean | undefined;
3438
3497
  } & {
3439
3498
  canSubscribe?: boolean | undefined;
3440
3499
  canPublish?: boolean | undefined;
3441
3500
  canPublishData?: boolean | undefined;
3501
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_52 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
3442
3502
  hidden?: boolean | undefined;
3443
3503
  recorder?: boolean | undefined;
3444
- } & { [K_50 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
3504
+ } & { [K_53 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
3445
3505
  region?: string | undefined;
3446
3506
  isPublisher?: boolean | undefined;
3447
- } & { [K_51 in Exclude<keyof I["message"]["update"]["participants"][number], keyof ParticipantInfo>]: never; })[] & { [K_52 in Exclude<keyof I["message"]["update"]["participants"], keyof {
3507
+ } & { [K_54 in Exclude<keyof I["message"]["update"]["participants"][number], keyof ParticipantInfo>]: never; })[] & { [K_55 in Exclude<keyof I["message"]["update"]["participants"], keyof {
3448
3508
  sid?: string | undefined;
3449
3509
  identity?: string | undefined;
3450
3510
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -3491,15 +3551,16 @@ export declare const SignalResponse: {
3491
3551
  canSubscribe?: boolean | undefined;
3492
3552
  canPublish?: boolean | undefined;
3493
3553
  canPublishData?: boolean | undefined;
3554
+ canPublishSources?: TrackSource[] | undefined;
3494
3555
  hidden?: boolean | undefined;
3495
3556
  recorder?: boolean | undefined;
3496
3557
  } | undefined;
3497
3558
  region?: string | undefined;
3498
3559
  isPublisher?: boolean | undefined;
3499
3560
  }[]>]: never; }) | undefined;
3500
- } & { [K_53 in Exclude<keyof I["message"]["update"], "participants">]: never; }) | undefined;
3561
+ } & { [K_56 in Exclude<keyof I["message"]["update"], "participants">]: never; }) | undefined;
3501
3562
  $case: "update";
3502
- } & { [K_54 in Exclude<keyof I["message"], "update" | "$case">]: never; }) | ({
3563
+ } & { [K_57 in Exclude<keyof I["message"], "update" | "$case">]: never; }) | ({
3503
3564
  trackPublished?: {
3504
3565
  cid?: string | undefined;
3505
3566
  track?: {
@@ -3642,7 +3703,7 @@ export declare const SignalResponse: {
3642
3703
  height?: number | undefined;
3643
3704
  bitrate?: number | undefined;
3644
3705
  ssrc?: number | undefined;
3645
- } & { [K_55 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_56 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"], keyof {
3706
+ } & { [K_58 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_59 in Exclude<keyof I["message"]["trackPublished"]["track"]["layers"], keyof {
3646
3707
  quality?: VideoQuality | undefined;
3647
3708
  width?: number | undefined;
3648
3709
  height?: number | undefined;
@@ -3695,14 +3756,14 @@ export declare const SignalResponse: {
3695
3756
  height?: number | undefined;
3696
3757
  bitrate?: number | undefined;
3697
3758
  ssrc?: number | undefined;
3698
- } & { [K_57 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_58 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"], keyof {
3759
+ } & { [K_60 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_61 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number]["layers"], keyof {
3699
3760
  quality?: VideoQuality | undefined;
3700
3761
  width?: number | undefined;
3701
3762
  height?: number | undefined;
3702
3763
  bitrate?: number | undefined;
3703
3764
  ssrc?: number | undefined;
3704
3765
  }[]>]: never; }) | undefined;
3705
- } & { [K_59 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_60 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"], keyof {
3766
+ } & { [K_62 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_63 in Exclude<keyof I["message"]["trackPublished"]["track"]["codecs"], keyof {
3706
3767
  mimeType?: string | undefined;
3707
3768
  mid?: string | undefined;
3708
3769
  cid?: string | undefined;
@@ -3717,10 +3778,10 @@ export declare const SignalResponse: {
3717
3778
  stereo?: boolean | undefined;
3718
3779
  disableRed?: boolean | undefined;
3719
3780
  encryption?: Encryption_Type | undefined;
3720
- } & { [K_61 in Exclude<keyof I["message"]["trackPublished"]["track"], keyof TrackInfo>]: never; }) | undefined;
3721
- } & { [K_62 in Exclude<keyof I["message"]["trackPublished"], keyof TrackPublishedResponse>]: never; }) | undefined;
3781
+ } & { [K_64 in Exclude<keyof I["message"]["trackPublished"]["track"], keyof TrackInfo>]: never; }) | undefined;
3782
+ } & { [K_65 in Exclude<keyof I["message"]["trackPublished"], keyof TrackPublishedResponse>]: never; }) | undefined;
3722
3783
  $case: "trackPublished";
3723
- } & { [K_63 in Exclude<keyof I["message"], "trackPublished" | "$case">]: never; }) | ({
3784
+ } & { [K_66 in Exclude<keyof I["message"], "trackPublished" | "$case">]: never; }) | ({
3724
3785
  leave?: {
3725
3786
  canReconnect?: boolean | undefined;
3726
3787
  reason?: DisconnectReason | undefined;
@@ -3734,9 +3795,9 @@ export declare const SignalResponse: {
3734
3795
  } & {
3735
3796
  canReconnect?: boolean | undefined;
3736
3797
  reason?: DisconnectReason | undefined;
3737
- } & { [K_64 in Exclude<keyof I["message"]["leave"], keyof LeaveRequest>]: never; }) | undefined;
3798
+ } & { [K_67 in Exclude<keyof I["message"]["leave"], keyof LeaveRequest>]: never; }) | undefined;
3738
3799
  $case: "leave";
3739
- } & { [K_65 in Exclude<keyof I["message"], "leave" | "$case">]: never; }) | ({
3800
+ } & { [K_68 in Exclude<keyof I["message"], "leave" | "$case">]: never; }) | ({
3740
3801
  mute?: {
3741
3802
  sid?: string | undefined;
3742
3803
  muted?: boolean | undefined;
@@ -3750,9 +3811,9 @@ export declare const SignalResponse: {
3750
3811
  } & {
3751
3812
  sid?: string | undefined;
3752
3813
  muted?: boolean | undefined;
3753
- } & { [K_66 in Exclude<keyof I["message"]["mute"], keyof MuteTrackRequest>]: never; }) | undefined;
3814
+ } & { [K_69 in Exclude<keyof I["message"]["mute"], keyof MuteTrackRequest>]: never; }) | undefined;
3754
3815
  $case: "mute";
3755
- } & { [K_67 in Exclude<keyof I["message"], "mute" | "$case">]: never; }) | ({
3816
+ } & { [K_70 in Exclude<keyof I["message"], "mute" | "$case">]: never; }) | ({
3756
3817
  speakersChanged?: {
3757
3818
  speakers?: {
3758
3819
  sid?: string | undefined;
@@ -3782,14 +3843,14 @@ export declare const SignalResponse: {
3782
3843
  sid?: string | undefined;
3783
3844
  level?: number | undefined;
3784
3845
  active?: boolean | undefined;
3785
- } & { [K_68 in Exclude<keyof I["message"]["speakersChanged"]["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_69 in Exclude<keyof I["message"]["speakersChanged"]["speakers"], keyof {
3846
+ } & { [K_71 in Exclude<keyof I["message"]["speakersChanged"]["speakers"][number], keyof SpeakerInfo>]: never; })[] & { [K_72 in Exclude<keyof I["message"]["speakersChanged"]["speakers"], keyof {
3786
3847
  sid?: string | undefined;
3787
3848
  level?: number | undefined;
3788
3849
  active?: boolean | undefined;
3789
3850
  }[]>]: never; }) | undefined;
3790
- } & { [K_70 in Exclude<keyof I["message"]["speakersChanged"], "speakers">]: never; }) | undefined;
3851
+ } & { [K_73 in Exclude<keyof I["message"]["speakersChanged"], "speakers">]: never; }) | undefined;
3791
3852
  $case: "speakersChanged";
3792
- } & { [K_71 in Exclude<keyof I["message"], "speakersChanged" | "$case">]: never; }) | ({
3853
+ } & { [K_74 in Exclude<keyof I["message"], "speakersChanged" | "$case">]: never; }) | ({
3793
3854
  roomUpdate?: {
3794
3855
  room?: {
3795
3856
  sid?: string | undefined;
@@ -3857,17 +3918,17 @@ export declare const SignalResponse: {
3857
3918
  } & {
3858
3919
  mime?: string | undefined;
3859
3920
  fmtpLine?: string | undefined;
3860
- } & { [K_72 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_73 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"], keyof {
3921
+ } & { [K_75 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_76 in Exclude<keyof I["message"]["roomUpdate"]["room"]["enabledCodecs"], keyof {
3861
3922
  mime?: string | undefined;
3862
3923
  fmtpLine?: string | undefined;
3863
3924
  }[]>]: never; }) | undefined;
3864
3925
  metadata?: string | undefined;
3865
3926
  numParticipants?: number | undefined;
3866
3927
  activeRecording?: boolean | undefined;
3867
- } & { [K_74 in Exclude<keyof I["message"]["roomUpdate"]["room"], keyof Room>]: never; }) | undefined;
3868
- } & { [K_75 in Exclude<keyof I["message"]["roomUpdate"], "room">]: never; }) | undefined;
3928
+ } & { [K_77 in Exclude<keyof I["message"]["roomUpdate"]["room"], keyof Room>]: never; }) | undefined;
3929
+ } & { [K_78 in Exclude<keyof I["message"]["roomUpdate"], "room">]: never; }) | undefined;
3869
3930
  $case: "roomUpdate";
3870
- } & { [K_76 in Exclude<keyof I["message"], "roomUpdate" | "$case">]: never; }) | ({
3931
+ } & { [K_79 in Exclude<keyof I["message"], "roomUpdate" | "$case">]: never; }) | ({
3871
3932
  connectionQuality?: {
3872
3933
  updates?: {
3873
3934
  participantSid?: string | undefined;
@@ -3897,14 +3958,14 @@ export declare const SignalResponse: {
3897
3958
  participantSid?: string | undefined;
3898
3959
  quality?: ConnectionQuality | undefined;
3899
3960
  score?: number | undefined;
3900
- } & { [K_77 in Exclude<keyof I["message"]["connectionQuality"]["updates"][number], keyof ConnectionQualityInfo>]: never; })[] & { [K_78 in Exclude<keyof I["message"]["connectionQuality"]["updates"], keyof {
3961
+ } & { [K_80 in Exclude<keyof I["message"]["connectionQuality"]["updates"][number], keyof ConnectionQualityInfo>]: never; })[] & { [K_81 in Exclude<keyof I["message"]["connectionQuality"]["updates"], keyof {
3901
3962
  participantSid?: string | undefined;
3902
3963
  quality?: ConnectionQuality | undefined;
3903
3964
  score?: number | undefined;
3904
3965
  }[]>]: never; }) | undefined;
3905
- } & { [K_79 in Exclude<keyof I["message"]["connectionQuality"], "updates">]: never; }) | undefined;
3966
+ } & { [K_82 in Exclude<keyof I["message"]["connectionQuality"], "updates">]: never; }) | undefined;
3906
3967
  $case: "connectionQuality";
3907
- } & { [K_80 in Exclude<keyof I["message"], "connectionQuality" | "$case">]: never; }) | ({
3968
+ } & { [K_83 in Exclude<keyof I["message"], "connectionQuality" | "$case">]: never; }) | ({
3908
3969
  streamStateUpdate?: {
3909
3970
  streamStates?: {
3910
3971
  participantSid?: string | undefined;
@@ -3934,14 +3995,14 @@ export declare const SignalResponse: {
3934
3995
  participantSid?: string | undefined;
3935
3996
  trackSid?: string | undefined;
3936
3997
  state?: StreamState | undefined;
3937
- } & { [K_81 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"][number], keyof StreamStateInfo>]: never; })[] & { [K_82 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"], keyof {
3998
+ } & { [K_84 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"][number], keyof StreamStateInfo>]: never; })[] & { [K_85 in Exclude<keyof I["message"]["streamStateUpdate"]["streamStates"], keyof {
3938
3999
  participantSid?: string | undefined;
3939
4000
  trackSid?: string | undefined;
3940
4001
  state?: StreamState | undefined;
3941
4002
  }[]>]: never; }) | undefined;
3942
- } & { [K_83 in Exclude<keyof I["message"]["streamStateUpdate"], "streamStates">]: never; }) | undefined;
4003
+ } & { [K_86 in Exclude<keyof I["message"]["streamStateUpdate"], "streamStates">]: never; }) | undefined;
3943
4004
  $case: "streamStateUpdate";
3944
- } & { [K_84 in Exclude<keyof I["message"], "streamStateUpdate" | "$case">]: never; }) | ({
4005
+ } & { [K_87 in Exclude<keyof I["message"], "streamStateUpdate" | "$case">]: never; }) | ({
3945
4006
  subscribedQualityUpdate?: {
3946
4007
  trackSid?: string | undefined;
3947
4008
  subscribedQualities?: {
@@ -3983,7 +4044,7 @@ export declare const SignalResponse: {
3983
4044
  } & {
3984
4045
  quality?: VideoQuality | undefined;
3985
4046
  enabled?: boolean | undefined;
3986
- } & { [K_85 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"][number], keyof SubscribedQuality>]: never; })[] & { [K_86 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"], keyof {
4047
+ } & { [K_88 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"][number], keyof SubscribedQuality>]: never; })[] & { [K_89 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedQualities"], keyof {
3987
4048
  quality?: VideoQuality | undefined;
3988
4049
  enabled?: boolean | undefined;
3989
4050
  }[]>]: never; }) | undefined;
@@ -4010,20 +4071,20 @@ export declare const SignalResponse: {
4010
4071
  } & {
4011
4072
  quality?: VideoQuality | undefined;
4012
4073
  enabled?: boolean | undefined;
4013
- } & { [K_87 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"][number], keyof SubscribedQuality>]: never; })[] & { [K_88 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"], keyof {
4074
+ } & { [K_90 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"][number], keyof SubscribedQuality>]: never; })[] & { [K_91 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number]["qualities"], keyof {
4014
4075
  quality?: VideoQuality | undefined;
4015
4076
  enabled?: boolean | undefined;
4016
4077
  }[]>]: never; }) | undefined;
4017
- } & { [K_89 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number], keyof SubscribedCodec>]: never; })[] & { [K_90 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"], keyof {
4078
+ } & { [K_92 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"][number], keyof SubscribedCodec>]: never; })[] & { [K_93 in Exclude<keyof I["message"]["subscribedQualityUpdate"]["subscribedCodecs"], keyof {
4018
4079
  codec?: string | undefined;
4019
4080
  qualities?: {
4020
4081
  quality?: VideoQuality | undefined;
4021
4082
  enabled?: boolean | undefined;
4022
4083
  }[] | undefined;
4023
4084
  }[]>]: never; }) | undefined;
4024
- } & { [K_91 in Exclude<keyof I["message"]["subscribedQualityUpdate"], keyof SubscribedQualityUpdate>]: never; }) | undefined;
4085
+ } & { [K_94 in Exclude<keyof I["message"]["subscribedQualityUpdate"], keyof SubscribedQualityUpdate>]: never; }) | undefined;
4025
4086
  $case: "subscribedQualityUpdate";
4026
- } & { [K_92 in Exclude<keyof I["message"], "subscribedQualityUpdate" | "$case">]: never; }) | ({
4087
+ } & { [K_95 in Exclude<keyof I["message"], "subscribedQualityUpdate" | "$case">]: never; }) | ({
4027
4088
  subscriptionPermissionUpdate?: {
4028
4089
  participantSid?: string | undefined;
4029
4090
  trackSid?: string | undefined;
@@ -4040,16 +4101,16 @@ export declare const SignalResponse: {
4040
4101
  participantSid?: string | undefined;
4041
4102
  trackSid?: string | undefined;
4042
4103
  allowed?: boolean | undefined;
4043
- } & { [K_93 in Exclude<keyof I["message"]["subscriptionPermissionUpdate"], keyof SubscriptionPermissionUpdate>]: never; }) | undefined;
4104
+ } & { [K_96 in Exclude<keyof I["message"]["subscriptionPermissionUpdate"], keyof SubscriptionPermissionUpdate>]: never; }) | undefined;
4044
4105
  $case: "subscriptionPermissionUpdate";
4045
- } & { [K_94 in Exclude<keyof I["message"], "subscriptionPermissionUpdate" | "$case">]: never; }) | ({
4106
+ } & { [K_97 in Exclude<keyof I["message"], "subscriptionPermissionUpdate" | "$case">]: never; }) | ({
4046
4107
  refreshToken?: string | undefined;
4047
4108
  } & {
4048
4109
  $case: "refreshToken";
4049
4110
  } & {
4050
4111
  refreshToken?: string | undefined;
4051
4112
  $case: "refreshToken";
4052
- } & { [K_95 in Exclude<keyof I["message"], "refreshToken" | "$case">]: never; }) | ({
4113
+ } & { [K_98 in Exclude<keyof I["message"], "refreshToken" | "$case">]: never; }) | ({
4053
4114
  trackUnpublished?: {
4054
4115
  trackSid?: string | undefined;
4055
4116
  } | undefined;
@@ -4060,16 +4121,16 @@ export declare const SignalResponse: {
4060
4121
  trackSid?: string | undefined;
4061
4122
  } & {
4062
4123
  trackSid?: string | undefined;
4063
- } & { [K_96 in Exclude<keyof I["message"]["trackUnpublished"], "trackSid">]: never; }) | undefined;
4124
+ } & { [K_99 in Exclude<keyof I["message"]["trackUnpublished"], "trackSid">]: never; }) | undefined;
4064
4125
  $case: "trackUnpublished";
4065
- } & { [K_97 in Exclude<keyof I["message"], "trackUnpublished" | "$case">]: never; }) | ({
4126
+ } & { [K_100 in Exclude<keyof I["message"], "trackUnpublished" | "$case">]: never; }) | ({
4066
4127
  pong?: number | undefined;
4067
4128
  } & {
4068
4129
  $case: "pong";
4069
4130
  } & {
4070
4131
  pong?: number | undefined;
4071
4132
  $case: "pong";
4072
- } & { [K_98 in Exclude<keyof I["message"], "pong" | "$case">]: never; }) | ({
4133
+ } & { [K_101 in Exclude<keyof I["message"], "pong" | "$case">]: never; }) | ({
4073
4134
  reconnect?: {
4074
4135
  iceServers?: {
4075
4136
  urls?: string[] | undefined;
@@ -4128,10 +4189,10 @@ export declare const SignalResponse: {
4128
4189
  username?: string | undefined;
4129
4190
  credential?: string | undefined;
4130
4191
  } & {
4131
- urls?: (string[] & string[] & { [K_99 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
4192
+ urls?: (string[] & string[] & { [K_102 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
4132
4193
  username?: string | undefined;
4133
4194
  credential?: string | undefined;
4134
- } & { [K_100 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_101 in Exclude<keyof I["message"]["reconnect"]["iceServers"], keyof {
4195
+ } & { [K_103 in Exclude<keyof I["message"]["reconnect"]["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_104 in Exclude<keyof I["message"]["reconnect"]["iceServers"], keyof {
4135
4196
  urls?: string[] | undefined;
4136
4197
  username?: string | undefined;
4137
4198
  credential?: string | undefined;
@@ -4156,12 +4217,12 @@ export declare const SignalResponse: {
4156
4217
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4157
4218
  } & {
4158
4219
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4159
- } & { [K_102 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
4220
+ } & { [K_105 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
4160
4221
  screen?: ({
4161
4222
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4162
4223
  } & {
4163
4224
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
4164
- } & { [K_103 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
4225
+ } & { [K_106 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
4165
4226
  resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
4166
4227
  disabledCodecs?: ({
4167
4228
  codecs?: {
@@ -4178,17 +4239,17 @@ export declare const SignalResponse: {
4178
4239
  } & {
4179
4240
  mime?: string | undefined;
4180
4241
  fmtpLine?: string | undefined;
4181
- } & { [K_104 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_105 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
4242
+ } & { [K_107 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_108 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
4182
4243
  mime?: string | undefined;
4183
4244
  fmtpLine?: string | undefined;
4184
4245
  }[]>]: never; }) | undefined;
4185
- } & { [K_106 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
4246
+ } & { [K_109 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
4186
4247
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
4187
- } & { [K_107 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
4188
- } & { [K_108 in Exclude<keyof I["message"]["reconnect"], keyof ReconnectResponse>]: never; }) | undefined;
4248
+ } & { [K_110 in Exclude<keyof I["message"]["reconnect"]["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
4249
+ } & { [K_111 in Exclude<keyof I["message"]["reconnect"], keyof ReconnectResponse>]: never; }) | undefined;
4189
4250
  $case: "reconnect";
4190
- } & { [K_109 in Exclude<keyof I["message"], "reconnect" | "$case">]: never; }) | undefined;
4191
- } & { [K_110 in Exclude<keyof I, "message">]: never; }>(object: I): SignalResponse;
4251
+ } & { [K_112 in Exclude<keyof I["message"], "reconnect" | "$case">]: never; }) | undefined;
4252
+ } & { [K_113 in Exclude<keyof I, "message">]: never; }>(object: I): SignalResponse;
4192
4253
  };
4193
4254
  export declare const SimulcastCodec: {
4194
4255
  encode(message: SimulcastCodec, writer?: _m0.Writer): _m0.Writer;
@@ -4386,6 +4447,7 @@ export declare const JoinResponse: {
4386
4447
  canSubscribe?: boolean | undefined;
4387
4448
  canPublish?: boolean | undefined;
4388
4449
  canPublishData?: boolean | undefined;
4450
+ canPublishSources?: TrackSource[] | undefined;
4389
4451
  hidden?: boolean | undefined;
4390
4452
  recorder?: boolean | undefined;
4391
4453
  } | undefined;
@@ -4439,6 +4501,7 @@ export declare const JoinResponse: {
4439
4501
  canSubscribe?: boolean | undefined;
4440
4502
  canPublish?: boolean | undefined;
4441
4503
  canPublishData?: boolean | undefined;
4504
+ canPublishSources?: TrackSource[] | undefined;
4442
4505
  hidden?: boolean | undefined;
4443
4506
  recorder?: boolean | undefined;
4444
4507
  } | undefined;
@@ -4566,6 +4629,7 @@ export declare const JoinResponse: {
4566
4629
  canSubscribe?: boolean | undefined;
4567
4630
  canPublish?: boolean | undefined;
4568
4631
  canPublishData?: boolean | undefined;
4632
+ canPublishSources?: TrackSource[] | undefined;
4569
4633
  hidden?: boolean | undefined;
4570
4634
  recorder?: boolean | undefined;
4571
4635
  } | undefined;
@@ -4789,18 +4853,20 @@ export declare const JoinResponse: {
4789
4853
  canSubscribe?: boolean | undefined;
4790
4854
  canPublish?: boolean | undefined;
4791
4855
  canPublishData?: boolean | undefined;
4856
+ canPublishSources?: TrackSource[] | undefined;
4792
4857
  hidden?: boolean | undefined;
4793
4858
  recorder?: boolean | undefined;
4794
4859
  } & {
4795
4860
  canSubscribe?: boolean | undefined;
4796
4861
  canPublish?: boolean | undefined;
4797
4862
  canPublishData?: boolean | undefined;
4863
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_11 in Exclude<keyof I["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
4798
4864
  hidden?: boolean | undefined;
4799
4865
  recorder?: boolean | undefined;
4800
- } & { [K_11 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
4866
+ } & { [K_12 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
4801
4867
  region?: string | undefined;
4802
4868
  isPublisher?: boolean | undefined;
4803
- } & { [K_12 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never; }) | undefined;
4869
+ } & { [K_13 in Exclude<keyof I["participant"], keyof ParticipantInfo>]: never; }) | undefined;
4804
4870
  otherParticipants?: ({
4805
4871
  sid?: string | undefined;
4806
4872
  identity?: string | undefined;
@@ -4848,6 +4914,7 @@ export declare const JoinResponse: {
4848
4914
  canSubscribe?: boolean | undefined;
4849
4915
  canPublish?: boolean | undefined;
4850
4916
  canPublishData?: boolean | undefined;
4917
+ canPublishSources?: TrackSource[] | undefined;
4851
4918
  hidden?: boolean | undefined;
4852
4919
  recorder?: boolean | undefined;
4853
4920
  } | undefined;
@@ -4900,6 +4967,7 @@ export declare const JoinResponse: {
4900
4967
  canSubscribe?: boolean | undefined;
4901
4968
  canPublish?: boolean | undefined;
4902
4969
  canPublishData?: boolean | undefined;
4970
+ canPublishSources?: TrackSource[] | undefined;
4903
4971
  hidden?: boolean | undefined;
4904
4972
  recorder?: boolean | undefined;
4905
4973
  } | undefined;
@@ -5005,7 +5073,7 @@ export declare const JoinResponse: {
5005
5073
  height?: number | undefined;
5006
5074
  bitrate?: number | undefined;
5007
5075
  ssrc?: number | undefined;
5008
- } & { [K_13 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_14 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
5076
+ } & { [K_14 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_15 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["layers"], keyof {
5009
5077
  quality?: VideoQuality | undefined;
5010
5078
  width?: number | undefined;
5011
5079
  height?: number | undefined;
@@ -5058,14 +5126,14 @@ export declare const JoinResponse: {
5058
5126
  height?: number | undefined;
5059
5127
  bitrate?: number | undefined;
5060
5128
  ssrc?: number | undefined;
5061
- } & { [K_15 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_16 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
5129
+ } & { [K_16 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_17 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number]["layers"], keyof {
5062
5130
  quality?: VideoQuality | undefined;
5063
5131
  width?: number | undefined;
5064
5132
  height?: number | undefined;
5065
5133
  bitrate?: number | undefined;
5066
5134
  ssrc?: number | undefined;
5067
5135
  }[]>]: never; }) | undefined;
5068
- } & { [K_17 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_18 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
5136
+ } & { [K_18 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_19 in Exclude<keyof I["otherParticipants"][number]["tracks"][number]["codecs"], keyof {
5069
5137
  mimeType?: string | undefined;
5070
5138
  mid?: string | undefined;
5071
5139
  cid?: string | undefined;
@@ -5080,7 +5148,7 @@ export declare const JoinResponse: {
5080
5148
  stereo?: boolean | undefined;
5081
5149
  disableRed?: boolean | undefined;
5082
5150
  encryption?: Encryption_Type | undefined;
5083
- } & { [K_19 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_20 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
5151
+ } & { [K_20 in Exclude<keyof I["otherParticipants"][number]["tracks"][number], keyof TrackInfo>]: never; })[] & { [K_21 in Exclude<keyof I["otherParticipants"][number]["tracks"], keyof {
5084
5152
  sid?: string | undefined;
5085
5153
  type?: TrackType | undefined;
5086
5154
  name?: string | undefined;
@@ -5123,18 +5191,20 @@ export declare const JoinResponse: {
5123
5191
  canSubscribe?: boolean | undefined;
5124
5192
  canPublish?: boolean | undefined;
5125
5193
  canPublishData?: boolean | undefined;
5194
+ canPublishSources?: TrackSource[] | undefined;
5126
5195
  hidden?: boolean | undefined;
5127
5196
  recorder?: boolean | undefined;
5128
5197
  } & {
5129
5198
  canSubscribe?: boolean | undefined;
5130
5199
  canPublish?: boolean | undefined;
5131
5200
  canPublishData?: boolean | undefined;
5201
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_22 in Exclude<keyof I["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
5132
5202
  hidden?: boolean | undefined;
5133
5203
  recorder?: boolean | undefined;
5134
- } & { [K_21 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
5204
+ } & { [K_23 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
5135
5205
  region?: string | undefined;
5136
5206
  isPublisher?: boolean | undefined;
5137
- } & { [K_22 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never; })[] & { [K_23 in Exclude<keyof I["otherParticipants"], keyof {
5207
+ } & { [K_24 in Exclude<keyof I["otherParticipants"][number], keyof ParticipantInfo>]: never; })[] & { [K_25 in Exclude<keyof I["otherParticipants"], keyof {
5138
5208
  sid?: string | undefined;
5139
5209
  identity?: string | undefined;
5140
5210
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -5181,6 +5251,7 @@ export declare const JoinResponse: {
5181
5251
  canSubscribe?: boolean | undefined;
5182
5252
  canPublish?: boolean | undefined;
5183
5253
  canPublishData?: boolean | undefined;
5254
+ canPublishSources?: TrackSource[] | undefined;
5184
5255
  hidden?: boolean | undefined;
5185
5256
  recorder?: boolean | undefined;
5186
5257
  } | undefined;
@@ -5197,10 +5268,10 @@ export declare const JoinResponse: {
5197
5268
  username?: string | undefined;
5198
5269
  credential?: string | undefined;
5199
5270
  } & {
5200
- urls?: (string[] & string[] & { [K_24 in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
5271
+ urls?: (string[] & string[] & { [K_26 in Exclude<keyof I["iceServers"][number]["urls"], keyof string[]>]: never; }) | undefined;
5201
5272
  username?: string | undefined;
5202
5273
  credential?: string | undefined;
5203
- } & { [K_25 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_26 in Exclude<keyof I["iceServers"], keyof {
5274
+ } & { [K_27 in Exclude<keyof I["iceServers"][number], keyof ICEServer>]: never; })[] & { [K_28 in Exclude<keyof I["iceServers"], keyof {
5204
5275
  urls?: string[] | undefined;
5205
5276
  username?: string | undefined;
5206
5277
  credential?: string | undefined;
@@ -5227,12 +5298,12 @@ export declare const JoinResponse: {
5227
5298
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5228
5299
  } & {
5229
5300
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5230
- } & { [K_27 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
5301
+ } & { [K_29 in Exclude<keyof I["clientConfiguration"]["video"], "hardwareEncoder">]: never; }) | undefined;
5231
5302
  screen?: ({
5232
5303
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5233
5304
  } & {
5234
5305
  hardwareEncoder?: import("./livekit_models").ClientConfigSetting | undefined;
5235
- } & { [K_28 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
5306
+ } & { [K_30 in Exclude<keyof I["clientConfiguration"]["screen"], "hardwareEncoder">]: never; }) | undefined;
5236
5307
  resumeConnection?: import("./livekit_models").ClientConfigSetting | undefined;
5237
5308
  disabledCodecs?: ({
5238
5309
  codecs?: {
@@ -5249,13 +5320,13 @@ export declare const JoinResponse: {
5249
5320
  } & {
5250
5321
  mime?: string | undefined;
5251
5322
  fmtpLine?: string | undefined;
5252
- } & { [K_29 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_30 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
5323
+ } & { [K_31 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"][number], keyof import("./livekit_models").Codec>]: never; })[] & { [K_32 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"]["codecs"], keyof {
5253
5324
  mime?: string | undefined;
5254
5325
  fmtpLine?: string | undefined;
5255
5326
  }[]>]: never; }) | undefined;
5256
- } & { [K_31 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
5327
+ } & { [K_33 in Exclude<keyof I["clientConfiguration"]["disabledCodecs"], "codecs">]: never; }) | undefined;
5257
5328
  forceRelay?: import("./livekit_models").ClientConfigSetting | undefined;
5258
- } & { [K_32 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
5329
+ } & { [K_34 in Exclude<keyof I["clientConfiguration"], keyof ClientConfiguration>]: never; }) | undefined;
5259
5330
  serverRegion?: string | undefined;
5260
5331
  pingTimeout?: number | undefined;
5261
5332
  pingInterval?: number | undefined;
@@ -5273,8 +5344,8 @@ export declare const JoinResponse: {
5273
5344
  region?: string | undefined;
5274
5345
  nodeId?: string | undefined;
5275
5346
  debugInfo?: string | undefined;
5276
- } & { [K_33 in Exclude<keyof I["serverInfo"], keyof ServerInfo>]: never; }) | undefined;
5277
- } & { [K_34 in Exclude<keyof I, keyof JoinResponse>]: never; }>(object: I): JoinResponse;
5347
+ } & { [K_35 in Exclude<keyof I["serverInfo"], keyof ServerInfo>]: never; }) | undefined;
5348
+ } & { [K_36 in Exclude<keyof I, keyof JoinResponse>]: never; }>(object: I): JoinResponse;
5278
5349
  };
5279
5350
  export declare const ReconnectResponse: {
5280
5351
  encode(message: ReconnectResponse, writer?: _m0.Writer): _m0.Writer;
@@ -5633,6 +5704,7 @@ export declare const ParticipantUpdate: {
5633
5704
  canSubscribe?: boolean | undefined;
5634
5705
  canPublish?: boolean | undefined;
5635
5706
  canPublishData?: boolean | undefined;
5707
+ canPublishSources?: TrackSource[] | undefined;
5636
5708
  hidden?: boolean | undefined;
5637
5709
  recorder?: boolean | undefined;
5638
5710
  } | undefined;
@@ -5687,6 +5759,7 @@ export declare const ParticipantUpdate: {
5687
5759
  canSubscribe?: boolean | undefined;
5688
5760
  canPublish?: boolean | undefined;
5689
5761
  canPublishData?: boolean | undefined;
5762
+ canPublishSources?: TrackSource[] | undefined;
5690
5763
  hidden?: boolean | undefined;
5691
5764
  recorder?: boolean | undefined;
5692
5765
  } | undefined;
@@ -5739,6 +5812,7 @@ export declare const ParticipantUpdate: {
5739
5812
  canSubscribe?: boolean | undefined;
5740
5813
  canPublish?: boolean | undefined;
5741
5814
  canPublishData?: boolean | undefined;
5815
+ canPublishSources?: TrackSource[] | undefined;
5742
5816
  hidden?: boolean | undefined;
5743
5817
  recorder?: boolean | undefined;
5744
5818
  } | undefined;
@@ -5962,18 +6036,20 @@ export declare const ParticipantUpdate: {
5962
6036
  canSubscribe?: boolean | undefined;
5963
6037
  canPublish?: boolean | undefined;
5964
6038
  canPublishData?: boolean | undefined;
6039
+ canPublishSources?: TrackSource[] | undefined;
5965
6040
  hidden?: boolean | undefined;
5966
6041
  recorder?: boolean | undefined;
5967
6042
  } & {
5968
6043
  canSubscribe?: boolean | undefined;
5969
6044
  canPublish?: boolean | undefined;
5970
6045
  canPublishData?: boolean | undefined;
6046
+ canPublishSources?: (TrackSource[] & TrackSource[] & { [K_8 in Exclude<keyof I["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
5971
6047
  hidden?: boolean | undefined;
5972
6048
  recorder?: boolean | undefined;
5973
- } & { [K_8 in Exclude<keyof I["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
6049
+ } & { [K_9 in Exclude<keyof I["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
5974
6050
  region?: string | undefined;
5975
6051
  isPublisher?: boolean | undefined;
5976
- } & { [K_9 in Exclude<keyof I["participants"][number], keyof ParticipantInfo>]: never; })[] & { [K_10 in Exclude<keyof I["participants"], keyof {
6052
+ } & { [K_10 in Exclude<keyof I["participants"][number], keyof ParticipantInfo>]: never; })[] & { [K_11 in Exclude<keyof I["participants"], keyof {
5977
6053
  sid?: string | undefined;
5978
6054
  identity?: string | undefined;
5979
6055
  state?: import("./livekit_models").ParticipantInfo_State | undefined;
@@ -6020,13 +6096,14 @@ export declare const ParticipantUpdate: {
6020
6096
  canSubscribe?: boolean | undefined;
6021
6097
  canPublish?: boolean | undefined;
6022
6098
  canPublishData?: boolean | undefined;
6099
+ canPublishSources?: TrackSource[] | undefined;
6023
6100
  hidden?: boolean | undefined;
6024
6101
  recorder?: boolean | undefined;
6025
6102
  } | undefined;
6026
6103
  region?: string | undefined;
6027
6104
  isPublisher?: boolean | undefined;
6028
6105
  }[]>]: never; }) | undefined;
6029
- } & { [K_11 in Exclude<keyof I, "participants">]: never; }>(object: I): ParticipantUpdate;
6106
+ } & { [K_12 in Exclude<keyof I, "participants">]: never; }>(object: I): ParticipantUpdate;
6030
6107
  };
6031
6108
  export declare const UpdateSubscription: {
6032
6109
  encode(message: UpdateSubscription, writer?: _m0.Writer): _m0.Writer;
@@ -6070,6 +6147,7 @@ export declare const UpdateTrackSettings: {
6070
6147
  width?: number | undefined;
6071
6148
  height?: number | undefined;
6072
6149
  fps?: number | undefined;
6150
+ priority?: number | undefined;
6073
6151
  } & {
6074
6152
  trackSids?: (string[] & string[] & { [K in Exclude<keyof I["trackSids"], keyof string[]>]: never; }) | undefined;
6075
6153
  disabled?: boolean | undefined;
@@ -6077,6 +6155,7 @@ export declare const UpdateTrackSettings: {
6077
6155
  width?: number | undefined;
6078
6156
  height?: number | undefined;
6079
6157
  fps?: number | undefined;
6158
+ priority?: number | undefined;
6080
6159
  } & { [K_1 in Exclude<keyof I, keyof UpdateTrackSettings>]: never; }>(object: I): UpdateTrackSettings;
6081
6160
  };
6082
6161
  export declare const LeaveRequest: {
@@ -6135,6 +6214,17 @@ export declare const UpdateVideoLayers: {
6135
6214
  }[]>]: never; }) | undefined;
6136
6215
  } & { [K_2 in Exclude<keyof I, keyof UpdateVideoLayers>]: never; }>(object: I): UpdateVideoLayers;
6137
6216
  };
6217
+ export declare const UpdateParticipantMetadata: {
6218
+ encode(message: UpdateParticipantMetadata, writer?: _m0.Writer): _m0.Writer;
6219
+ decode(input: _m0.Reader | Uint8Array, length?: number): UpdateParticipantMetadata;
6220
+ fromJSON(object: any): UpdateParticipantMetadata;
6221
+ toJSON(message: UpdateParticipantMetadata): unknown;
6222
+ fromPartial<I extends {
6223
+ metadata?: string | undefined;
6224
+ } & {
6225
+ metadata?: string | undefined;
6226
+ } & { [K in Exclude<keyof I, "metadata">]: never; }>(object: I): UpdateParticipantMetadata;
6227
+ };
6138
6228
  export declare const ICEServer: {
6139
6229
  encode(message: ICEServer, writer?: _m0.Writer): _m0.Writer;
6140
6230
  decode(input: _m0.Reader | Uint8Array, length?: number): ICEServer;