livekit-client 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. package/README.md +20 -1
  2. package/dist/livekit-client.esm.mjs +2240 -1067
  3. package/dist/livekit-client.esm.mjs.map +1 -1
  4. package/dist/livekit-client.umd.js +1 -1
  5. package/dist/livekit-client.umd.js.map +1 -1
  6. package/dist/src/index.d.ts +3 -1
  7. package/dist/src/index.d.ts.map +1 -1
  8. package/dist/src/options.d.ts +5 -0
  9. package/dist/src/options.d.ts.map +1 -1
  10. package/dist/src/proto/google/protobuf/timestamp.d.ts.map +1 -1
  11. package/dist/src/proto/livekit_models.d.ts +32 -0
  12. package/dist/src/proto/livekit_models.d.ts.map +1 -1
  13. package/dist/src/proto/livekit_rtc.d.ts +315 -75
  14. package/dist/src/proto/livekit_rtc.d.ts.map +1 -1
  15. package/dist/src/room/RTCEngine.d.ts +9 -1
  16. package/dist/src/room/RTCEngine.d.ts.map +1 -1
  17. package/dist/src/room/ReconnectPolicy.d.ts +1 -0
  18. package/dist/src/room/ReconnectPolicy.d.ts.map +1 -1
  19. package/dist/src/room/RegionUrlProvider.d.ts +14 -0
  20. package/dist/src/room/RegionUrlProvider.d.ts.map +1 -0
  21. package/dist/src/room/Room.d.ts +6 -1
  22. package/dist/src/room/Room.d.ts.map +1 -1
  23. package/dist/src/room/defaults.d.ts.map +1 -1
  24. package/dist/src/room/errors.d.ts +2 -1
  25. package/dist/src/room/errors.d.ts.map +1 -1
  26. package/dist/src/room/events.d.ts +15 -2
  27. package/dist/src/room/events.d.ts.map +1 -1
  28. package/dist/src/room/track/LocalAudioTrack.d.ts +1 -1
  29. package/dist/src/room/track/LocalAudioTrack.d.ts.map +1 -1
  30. package/dist/src/room/track/LocalTrack.d.ts +3 -2
  31. package/dist/src/room/track/LocalTrack.d.ts.map +1 -1
  32. package/dist/src/room/track/LocalVideoTrack.d.ts.map +1 -1
  33. package/dist/src/room/track/RemoteTrackPublication.d.ts +1 -1
  34. package/dist/src/room/track/RemoteTrackPublication.d.ts.map +1 -1
  35. package/dist/src/room/track/RemoteVideoTrack.d.ts +2 -1
  36. package/dist/src/room/track/RemoteVideoTrack.d.ts.map +1 -1
  37. package/dist/src/room/track/Track.d.ts +3 -1
  38. package/dist/src/room/track/Track.d.ts.map +1 -1
  39. package/dist/src/room/track/utils.d.ts.map +1 -1
  40. package/dist/src/room/types.d.ts +4 -0
  41. package/dist/src/room/types.d.ts.map +1 -1
  42. package/dist/src/room/utils.d.ts +4 -0
  43. package/dist/src/room/utils.d.ts.map +1 -1
  44. package/dist/ts4.2/src/index.d.ts +3 -1
  45. package/dist/ts4.2/src/options.d.ts +5 -0
  46. package/dist/ts4.2/src/proto/livekit_models.d.ts +32 -0
  47. package/dist/ts4.2/src/proto/livekit_rtc.d.ts +348 -84
  48. package/dist/ts4.2/src/room/RTCEngine.d.ts +9 -1
  49. package/dist/ts4.2/src/room/ReconnectPolicy.d.ts +1 -0
  50. package/dist/ts4.2/src/room/RegionUrlProvider.d.ts +14 -0
  51. package/dist/ts4.2/src/room/Room.d.ts +6 -1
  52. package/dist/ts4.2/src/room/errors.d.ts +2 -1
  53. package/dist/ts4.2/src/room/events.d.ts +15 -2
  54. package/dist/ts4.2/src/room/track/LocalAudioTrack.d.ts +1 -1
  55. package/dist/ts4.2/src/room/track/LocalTrack.d.ts +3 -2
  56. package/dist/ts4.2/src/room/track/RemoteTrackPublication.d.ts +1 -1
  57. package/dist/ts4.2/src/room/track/RemoteVideoTrack.d.ts +2 -1
  58. package/dist/ts4.2/src/room/track/Track.d.ts +3 -1
  59. package/dist/ts4.2/src/room/types.d.ts +4 -0
  60. package/dist/ts4.2/src/room/utils.d.ts +4 -0
  61. package/package.json +19 -19
  62. package/src/api/SignalClient.ts +4 -4
  63. package/src/index.ts +3 -0
  64. package/src/options.ts +6 -0
  65. package/src/proto/google/protobuf/timestamp.ts +15 -6
  66. package/src/proto/livekit_models.ts +903 -222
  67. package/src/proto/livekit_rtc.ts +1053 -279
  68. package/src/room/RTCEngine.ts +168 -56
  69. package/src/room/ReconnectPolicy.ts +2 -0
  70. package/src/room/RegionUrlProvider.ts +73 -0
  71. package/src/room/Room.ts +212 -133
  72. package/src/room/defaults.ts +1 -0
  73. package/src/room/errors.ts +1 -0
  74. package/src/room/events.ts +15 -0
  75. package/src/room/track/LocalAudioTrack.ts +14 -6
  76. package/src/room/track/LocalTrack.ts +22 -8
  77. package/src/room/track/LocalVideoTrack.ts +12 -6
  78. package/src/room/track/RemoteTrackPublication.ts +10 -4
  79. package/src/room/track/RemoteVideoTrack.test.ts +2 -0
  80. package/src/room/track/RemoteVideoTrack.ts +53 -9
  81. package/src/room/track/Track.ts +46 -31
  82. package/src/room/track/utils.ts +3 -2
  83. package/src/room/types.ts +6 -0
  84. package/src/room/utils.ts +53 -0
@@ -248,6 +248,7 @@ export interface UpdateVideoLayers {
248
248
  }
249
249
  export interface UpdateParticipantMetadata {
250
250
  metadata: string;
251
+ name: string;
251
252
  }
252
253
  export interface ICEServer {
253
254
  urls: string[];
@@ -335,6 +336,9 @@ export interface SimulateScenario {
335
336
  } | {
336
337
  $case: "switchCandidateProtocol";
337
338
  switchCandidateProtocol: CandidateProtocol;
339
+ } | {
340
+ $case: "subscriberBandwidth";
341
+ subscriberBandwidth: number;
338
342
  };
339
343
  }
340
344
  export interface Ping {
@@ -347,6 +351,14 @@ export interface Pong {
347
351
  lastPingTimestamp: number;
348
352
  timestamp: number;
349
353
  }
354
+ export interface RegionSettings {
355
+ regions: RegionInfo[];
356
+ }
357
+ export interface RegionInfo {
358
+ region: string;
359
+ url: string;
360
+ distance: number;
361
+ }
350
362
  export declare const SignalRequest: {
351
363
  encode(message: SignalRequest, writer?: _m0.Writer): _m0.Writer;
352
364
  decode(input: _m0.Reader | Uint8Array, length?: number): SignalRequest;
@@ -551,6 +563,10 @@ export declare const SignalRequest: {
551
563
  switchCandidateProtocol?: CandidateProtocol | undefined;
552
564
  } & {
553
565
  $case: "switchCandidateProtocol";
566
+ }) | ({
567
+ subscriberBandwidth?: number | undefined;
568
+ } & {
569
+ $case: "subscriberBandwidth";
554
570
  }) | undefined;
555
571
  } | undefined;
556
572
  } & {
@@ -562,6 +578,7 @@ export declare const SignalRequest: {
562
578
  }) | ({
563
579
  updateMetadata?: {
564
580
  metadata?: string | undefined;
581
+ name?: string | undefined;
565
582
  } | undefined;
566
583
  } & {
567
584
  $case: "updateMetadata";
@@ -1497,6 +1514,10 @@ export declare const SignalRequest: {
1497
1514
  switchCandidateProtocol?: CandidateProtocol | undefined;
1498
1515
  } & {
1499
1516
  $case: "switchCandidateProtocol";
1517
+ }) | ({
1518
+ subscriberBandwidth?: number | undefined;
1519
+ } & {
1520
+ $case: "subscriberBandwidth";
1500
1521
  }) | undefined;
1501
1522
  } | undefined;
1502
1523
  } & {
@@ -1523,6 +1544,10 @@ export declare const SignalRequest: {
1523
1544
  switchCandidateProtocol?: CandidateProtocol | undefined;
1524
1545
  } & {
1525
1546
  $case: "switchCandidateProtocol";
1547
+ }) | ({
1548
+ subscriberBandwidth?: number | undefined;
1549
+ } & {
1550
+ $case: "subscriberBandwidth";
1526
1551
  }) | undefined;
1527
1552
  } & {
1528
1553
  scenario?: ({
@@ -1570,13 +1595,22 @@ export declare const SignalRequest: {
1570
1595
  $case: "switchCandidateProtocol";
1571
1596
  } & {
1572
1597
  [K_58 in Exclude<keyof I["message"]["simulate"]["scenario"], "switchCandidateProtocol" | "$case">]: never;
1598
+ }) | ({
1599
+ subscriberBandwidth?: number | undefined;
1600
+ } & {
1601
+ $case: "subscriberBandwidth";
1602
+ } & {
1603
+ subscriberBandwidth?: number | undefined;
1604
+ $case: "subscriberBandwidth";
1605
+ } & {
1606
+ [K_59 in Exclude<keyof I["message"]["simulate"]["scenario"], "subscriberBandwidth" | "$case">]: never;
1573
1607
  }) | undefined;
1574
1608
  } & {
1575
- [K_59 in Exclude<keyof I["message"]["simulate"], "scenario">]: never;
1609
+ [K_60 in Exclude<keyof I["message"]["simulate"], "scenario">]: never;
1576
1610
  }) | undefined;
1577
1611
  $case: "simulate";
1578
1612
  } & {
1579
- [K_60 in Exclude<keyof I["message"], "simulate" | "$case">]: never;
1613
+ [K_61 in Exclude<keyof I["message"], "simulate" | "$case">]: never;
1580
1614
  }) | ({
1581
1615
  ping?: number | undefined;
1582
1616
  } & {
@@ -1585,24 +1619,27 @@ export declare const SignalRequest: {
1585
1619
  ping?: number | undefined;
1586
1620
  $case: "ping";
1587
1621
  } & {
1588
- [K_61 in Exclude<keyof I["message"], "ping" | "$case">]: never;
1622
+ [K_62 in Exclude<keyof I["message"], "ping" | "$case">]: never;
1589
1623
  }) | ({
1590
1624
  updateMetadata?: {
1591
1625
  metadata?: string | undefined;
1626
+ name?: string | undefined;
1592
1627
  } | undefined;
1593
1628
  } & {
1594
1629
  $case: "updateMetadata";
1595
1630
  } & {
1596
1631
  updateMetadata?: ({
1597
1632
  metadata?: string | undefined;
1633
+ name?: string | undefined;
1598
1634
  } & {
1599
1635
  metadata?: string | undefined;
1636
+ name?: string | undefined;
1600
1637
  } & {
1601
- [K_62 in Exclude<keyof I["message"]["updateMetadata"], "metadata">]: never;
1638
+ [K_63 in Exclude<keyof I["message"]["updateMetadata"], keyof UpdateParticipantMetadata>]: never;
1602
1639
  }) | undefined;
1603
1640
  $case: "updateMetadata";
1604
1641
  } & {
1605
- [K_63 in Exclude<keyof I["message"], "updateMetadata" | "$case">]: never;
1642
+ [K_64 in Exclude<keyof I["message"], "updateMetadata" | "$case">]: never;
1606
1643
  }) | ({
1607
1644
  pingReq?: {
1608
1645
  timestamp?: number | undefined;
@@ -1618,14 +1655,14 @@ export declare const SignalRequest: {
1618
1655
  timestamp?: number | undefined;
1619
1656
  rtt?: number | undefined;
1620
1657
  } & {
1621
- [K_64 in Exclude<keyof I["message"]["pingReq"], keyof Ping>]: never;
1658
+ [K_65 in Exclude<keyof I["message"]["pingReq"], keyof Ping>]: never;
1622
1659
  }) | undefined;
1623
1660
  $case: "pingReq";
1624
1661
  } & {
1625
- [K_65 in Exclude<keyof I["message"], "pingReq" | "$case">]: never;
1662
+ [K_66 in Exclude<keyof I["message"], "pingReq" | "$case">]: never;
1626
1663
  }) | undefined;
1627
1664
  } & {
1628
- [K_66 in Exclude<keyof I, "message">]: never;
1665
+ [K_67 in Exclude<keyof I, "message">]: never;
1629
1666
  }>(base?: I | undefined): SignalRequest;
1630
1667
  fromPartial<I_1 extends {
1631
1668
  message?: ({
@@ -1826,6 +1863,10 @@ export declare const SignalRequest: {
1826
1863
  switchCandidateProtocol?: CandidateProtocol | undefined;
1827
1864
  } & {
1828
1865
  $case: "switchCandidateProtocol";
1866
+ }) | ({
1867
+ subscriberBandwidth?: number | undefined;
1868
+ } & {
1869
+ $case: "subscriberBandwidth";
1829
1870
  }) | undefined;
1830
1871
  } | undefined;
1831
1872
  } & {
@@ -1837,6 +1878,7 @@ export declare const SignalRequest: {
1837
1878
  }) | ({
1838
1879
  updateMetadata?: {
1839
1880
  metadata?: string | undefined;
1881
+ name?: string | undefined;
1840
1882
  } | undefined;
1841
1883
  } & {
1842
1884
  $case: "updateMetadata";
@@ -1864,11 +1906,11 @@ export declare const SignalRequest: {
1864
1906
  type?: string | undefined;
1865
1907
  sdp?: string | undefined;
1866
1908
  } & {
1867
- [K_67 in Exclude<keyof I_1["message"]["offer"], keyof SessionDescription>]: never;
1909
+ [K_68 in Exclude<keyof I_1["message"]["offer"], keyof SessionDescription>]: never;
1868
1910
  }) | undefined;
1869
1911
  $case: "offer";
1870
1912
  } & {
1871
- [K_68 in Exclude<keyof I_1["message"], "offer" | "$case">]: never;
1913
+ [K_69 in Exclude<keyof I_1["message"], "offer" | "$case">]: never;
1872
1914
  }) | ({
1873
1915
  answer?: {
1874
1916
  type?: string | undefined;
@@ -1884,11 +1926,11 @@ export declare const SignalRequest: {
1884
1926
  type?: string | undefined;
1885
1927
  sdp?: string | undefined;
1886
1928
  } & {
1887
- [K_69 in Exclude<keyof I_1["message"]["answer"], keyof SessionDescription>]: never;
1929
+ [K_70 in Exclude<keyof I_1["message"]["answer"], keyof SessionDescription>]: never;
1888
1930
  }) | undefined;
1889
1931
  $case: "answer";
1890
1932
  } & {
1891
- [K_70 in Exclude<keyof I_1["message"], "answer" | "$case">]: never;
1933
+ [K_71 in Exclude<keyof I_1["message"], "answer" | "$case">]: never;
1892
1934
  }) | ({
1893
1935
  trickle?: {
1894
1936
  candidateInit?: string | undefined;
@@ -1904,11 +1946,11 @@ export declare const SignalRequest: {
1904
1946
  candidateInit?: string | undefined;
1905
1947
  target?: SignalTarget | undefined;
1906
1948
  } & {
1907
- [K_71 in Exclude<keyof I_1["message"]["trickle"], keyof TrickleRequest>]: never;
1949
+ [K_72 in Exclude<keyof I_1["message"]["trickle"], keyof TrickleRequest>]: never;
1908
1950
  }) | undefined;
1909
1951
  $case: "trickle";
1910
1952
  } & {
1911
- [K_72 in Exclude<keyof I_1["message"], "trickle" | "$case">]: never;
1953
+ [K_73 in Exclude<keyof I_1["message"], "trickle" | "$case">]: never;
1912
1954
  }) | ({
1913
1955
  addTrack?: {
1914
1956
  cid?: string | undefined;
@@ -1992,9 +2034,9 @@ export declare const SignalRequest: {
1992
2034
  bitrate?: number | undefined;
1993
2035
  ssrc?: number | undefined;
1994
2036
  } & {
1995
- [K_73 in Exclude<keyof I_1["message"]["addTrack"]["layers"][number], keyof VideoLayer>]: never;
2037
+ [K_74 in Exclude<keyof I_1["message"]["addTrack"]["layers"][number], keyof VideoLayer>]: never;
1996
2038
  })[] & {
1997
- [K_74 in Exclude<keyof I_1["message"]["addTrack"]["layers"], keyof {
2039
+ [K_75 in Exclude<keyof I_1["message"]["addTrack"]["layers"], keyof {
1998
2040
  quality?: VideoQuality | undefined;
1999
2041
  width?: number | undefined;
2000
2042
  height?: number | undefined;
@@ -2015,9 +2057,9 @@ export declare const SignalRequest: {
2015
2057
  cid?: string | undefined;
2016
2058
  enableSimulcastLayers?: boolean | undefined;
2017
2059
  } & {
2018
- [K_75 in Exclude<keyof I_1["message"]["addTrack"]["simulcastCodecs"][number], keyof SimulcastCodec>]: never;
2060
+ [K_76 in Exclude<keyof I_1["message"]["addTrack"]["simulcastCodecs"][number], keyof SimulcastCodec>]: never;
2019
2061
  })[] & {
2020
- [K_76 in Exclude<keyof I_1["message"]["addTrack"]["simulcastCodecs"], keyof {
2062
+ [K_77 in Exclude<keyof I_1["message"]["addTrack"]["simulcastCodecs"], keyof {
2021
2063
  codec?: string | undefined;
2022
2064
  cid?: string | undefined;
2023
2065
  enableSimulcastLayers?: boolean | undefined;
@@ -2028,11 +2070,11 @@ export declare const SignalRequest: {
2028
2070
  disableRed?: boolean | undefined;
2029
2071
  encryption?: Encryption_Type | undefined;
2030
2072
  } & {
2031
- [K_77 in Exclude<keyof I_1["message"]["addTrack"], keyof AddTrackRequest>]: never;
2073
+ [K_78 in Exclude<keyof I_1["message"]["addTrack"], keyof AddTrackRequest>]: never;
2032
2074
  }) | undefined;
2033
2075
  $case: "addTrack";
2034
2076
  } & {
2035
- [K_78 in Exclude<keyof I_1["message"], "addTrack" | "$case">]: never;
2077
+ [K_79 in Exclude<keyof I_1["message"], "addTrack" | "$case">]: never;
2036
2078
  }) | ({
2037
2079
  mute?: {
2038
2080
  sid?: string | undefined;
@@ -2048,11 +2090,11 @@ export declare const SignalRequest: {
2048
2090
  sid?: string | undefined;
2049
2091
  muted?: boolean | undefined;
2050
2092
  } & {
2051
- [K_79 in Exclude<keyof I_1["message"]["mute"], keyof MuteTrackRequest>]: never;
2093
+ [K_80 in Exclude<keyof I_1["message"]["mute"], keyof MuteTrackRequest>]: never;
2052
2094
  }) | undefined;
2053
2095
  $case: "mute";
2054
2096
  } & {
2055
- [K_80 in Exclude<keyof I_1["message"], "mute" | "$case">]: never;
2097
+ [K_81 in Exclude<keyof I_1["message"], "mute" | "$case">]: never;
2056
2098
  }) | ({
2057
2099
  subscription?: {
2058
2100
  trackSids?: string[] | undefined;
@@ -2074,7 +2116,7 @@ export declare const SignalRequest: {
2074
2116
  }[] | undefined;
2075
2117
  } & {
2076
2118
  trackSids?: (string[] & string[] & {
2077
- [K_81 in Exclude<keyof I_1["message"]["subscription"]["trackSids"], keyof string[]>]: never;
2119
+ [K_82 in Exclude<keyof I_1["message"]["subscription"]["trackSids"], keyof string[]>]: never;
2078
2120
  }) | undefined;
2079
2121
  subscribe?: boolean | undefined;
2080
2122
  participantTracks?: ({
@@ -2086,22 +2128,22 @@ export declare const SignalRequest: {
2086
2128
  } & {
2087
2129
  participantSid?: string | undefined;
2088
2130
  trackSids?: (string[] & string[] & {
2089
- [K_82 in Exclude<keyof I_1["message"]["subscription"]["participantTracks"][number]["trackSids"], keyof string[]>]: never;
2131
+ [K_83 in Exclude<keyof I_1["message"]["subscription"]["participantTracks"][number]["trackSids"], keyof string[]>]: never;
2090
2132
  }) | undefined;
2091
2133
  } & {
2092
- [K_83 in Exclude<keyof I_1["message"]["subscription"]["participantTracks"][number], keyof ParticipantTracks>]: never;
2134
+ [K_84 in Exclude<keyof I_1["message"]["subscription"]["participantTracks"][number], keyof ParticipantTracks>]: never;
2093
2135
  })[] & {
2094
- [K_84 in Exclude<keyof I_1["message"]["subscription"]["participantTracks"], keyof {
2136
+ [K_85 in Exclude<keyof I_1["message"]["subscription"]["participantTracks"], keyof {
2095
2137
  participantSid?: string | undefined;
2096
2138
  trackSids?: string[] | undefined;
2097
2139
  }[]>]: never;
2098
2140
  }) | undefined;
2099
2141
  } & {
2100
- [K_85 in Exclude<keyof I_1["message"]["subscription"], keyof UpdateSubscription>]: never;
2142
+ [K_86 in Exclude<keyof I_1["message"]["subscription"], keyof UpdateSubscription>]: never;
2101
2143
  }) | undefined;
2102
2144
  $case: "subscription";
2103
2145
  } & {
2104
- [K_86 in Exclude<keyof I_1["message"], "subscription" | "$case">]: never;
2146
+ [K_87 in Exclude<keyof I_1["message"], "subscription" | "$case">]: never;
2105
2147
  }) | ({
2106
2148
  trackSetting?: {
2107
2149
  trackSids?: string[] | undefined;
@@ -2125,7 +2167,7 @@ export declare const SignalRequest: {
2125
2167
  priority?: number | undefined;
2126
2168
  } & {
2127
2169
  trackSids?: (string[] & string[] & {
2128
- [K_87 in Exclude<keyof I_1["message"]["trackSetting"]["trackSids"], keyof string[]>]: never;
2170
+ [K_88 in Exclude<keyof I_1["message"]["trackSetting"]["trackSids"], keyof string[]>]: never;
2129
2171
  }) | undefined;
2130
2172
  disabled?: boolean | undefined;
2131
2173
  quality?: VideoQuality | undefined;
@@ -2134,11 +2176,11 @@ export declare const SignalRequest: {
2134
2176
  fps?: number | undefined;
2135
2177
  priority?: number | undefined;
2136
2178
  } & {
2137
- [K_88 in Exclude<keyof I_1["message"]["trackSetting"], keyof UpdateTrackSettings>]: never;
2179
+ [K_89 in Exclude<keyof I_1["message"]["trackSetting"], keyof UpdateTrackSettings>]: never;
2138
2180
  }) | undefined;
2139
2181
  $case: "trackSetting";
2140
2182
  } & {
2141
- [K_89 in Exclude<keyof I_1["message"], "trackSetting" | "$case">]: never;
2183
+ [K_90 in Exclude<keyof I_1["message"], "trackSetting" | "$case">]: never;
2142
2184
  }) | ({
2143
2185
  leave?: {
2144
2186
  canReconnect?: boolean | undefined;
@@ -2154,11 +2196,11 @@ export declare const SignalRequest: {
2154
2196
  canReconnect?: boolean | undefined;
2155
2197
  reason?: DisconnectReason | undefined;
2156
2198
  } & {
2157
- [K_90 in Exclude<keyof I_1["message"]["leave"], keyof LeaveRequest>]: never;
2199
+ [K_91 in Exclude<keyof I_1["message"]["leave"], keyof LeaveRequest>]: never;
2158
2200
  }) | undefined;
2159
2201
  $case: "leave";
2160
2202
  } & {
2161
- [K_91 in Exclude<keyof I_1["message"], "leave" | "$case">]: never;
2203
+ [K_92 in Exclude<keyof I_1["message"], "leave" | "$case">]: never;
2162
2204
  }) | ({
2163
2205
  updateLayers?: {
2164
2206
  trackSid?: string | undefined;
@@ -2203,9 +2245,9 @@ export declare const SignalRequest: {
2203
2245
  bitrate?: number | undefined;
2204
2246
  ssrc?: number | undefined;
2205
2247
  } & {
2206
- [K_92 in Exclude<keyof I_1["message"]["updateLayers"]["layers"][number], keyof VideoLayer>]: never;
2248
+ [K_93 in Exclude<keyof I_1["message"]["updateLayers"]["layers"][number], keyof VideoLayer>]: never;
2207
2249
  })[] & {
2208
- [K_93 in Exclude<keyof I_1["message"]["updateLayers"]["layers"], keyof {
2250
+ [K_94 in Exclude<keyof I_1["message"]["updateLayers"]["layers"], keyof {
2209
2251
  quality?: VideoQuality | undefined;
2210
2252
  width?: number | undefined;
2211
2253
  height?: number | undefined;
@@ -2214,11 +2256,11 @@ export declare const SignalRequest: {
2214
2256
  }[]>]: never;
2215
2257
  }) | undefined;
2216
2258
  } & {
2217
- [K_94 in Exclude<keyof I_1["message"]["updateLayers"], keyof UpdateVideoLayers>]: never;
2259
+ [K_95 in Exclude<keyof I_1["message"]["updateLayers"], keyof UpdateVideoLayers>]: never;
2218
2260
  }) | undefined;
2219
2261
  $case: "updateLayers";
2220
2262
  } & {
2221
- [K_95 in Exclude<keyof I_1["message"], "updateLayers" | "$case">]: never;
2263
+ [K_96 in Exclude<keyof I_1["message"], "updateLayers" | "$case">]: never;
2222
2264
  }) | ({
2223
2265
  subscriptionPermission?: {
2224
2266
  allParticipants?: boolean | undefined;
@@ -2256,13 +2298,13 @@ export declare const SignalRequest: {
2256
2298
  participantSid?: string | undefined;
2257
2299
  allTracks?: boolean | undefined;
2258
2300
  trackSids?: (string[] & string[] & {
2259
- [K_96 in Exclude<keyof I_1["message"]["subscriptionPermission"]["trackPermissions"][number]["trackSids"], keyof string[]>]: never;
2301
+ [K_97 in Exclude<keyof I_1["message"]["subscriptionPermission"]["trackPermissions"][number]["trackSids"], keyof string[]>]: never;
2260
2302
  }) | undefined;
2261
2303
  participantIdentity?: string | undefined;
2262
2304
  } & {
2263
- [K_97 in Exclude<keyof I_1["message"]["subscriptionPermission"]["trackPermissions"][number], keyof TrackPermission>]: never;
2305
+ [K_98 in Exclude<keyof I_1["message"]["subscriptionPermission"]["trackPermissions"][number], keyof TrackPermission>]: never;
2264
2306
  })[] & {
2265
- [K_98 in Exclude<keyof I_1["message"]["subscriptionPermission"]["trackPermissions"], keyof {
2307
+ [K_99 in Exclude<keyof I_1["message"]["subscriptionPermission"]["trackPermissions"], keyof {
2266
2308
  participantSid?: string | undefined;
2267
2309
  allTracks?: boolean | undefined;
2268
2310
  trackSids?: string[] | undefined;
@@ -2270,11 +2312,11 @@ export declare const SignalRequest: {
2270
2312
  }[]>]: never;
2271
2313
  }) | undefined;
2272
2314
  } & {
2273
- [K_99 in Exclude<keyof I_1["message"]["subscriptionPermission"], keyof SubscriptionPermission>]: never;
2315
+ [K_100 in Exclude<keyof I_1["message"]["subscriptionPermission"], keyof SubscriptionPermission>]: never;
2274
2316
  }) | undefined;
2275
2317
  $case: "subscriptionPermission";
2276
2318
  } & {
2277
- [K_100 in Exclude<keyof I_1["message"], "subscriptionPermission" | "$case">]: never;
2319
+ [K_101 in Exclude<keyof I_1["message"], "subscriptionPermission" | "$case">]: never;
2278
2320
  }) | ({
2279
2321
  syncState?: {
2280
2322
  answer?: {
@@ -2408,7 +2450,7 @@ export declare const SignalRequest: {
2408
2450
  type?: string | undefined;
2409
2451
  sdp?: string | undefined;
2410
2452
  } & {
2411
- [K_101 in Exclude<keyof I_1["message"]["syncState"]["answer"], keyof SessionDescription>]: never;
2453
+ [K_102 in Exclude<keyof I_1["message"]["syncState"]["answer"], keyof SessionDescription>]: never;
2412
2454
  }) | undefined;
2413
2455
  subscription?: ({
2414
2456
  trackSids?: string[] | undefined;
@@ -2419,7 +2461,7 @@ export declare const SignalRequest: {
2419
2461
  }[] | undefined;
2420
2462
  } & {
2421
2463
  trackSids?: (string[] & string[] & {
2422
- [K_102 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["trackSids"], keyof string[]>]: never;
2464
+ [K_103 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["trackSids"], keyof string[]>]: never;
2423
2465
  }) | undefined;
2424
2466
  subscribe?: boolean | undefined;
2425
2467
  participantTracks?: ({
@@ -2431,18 +2473,18 @@ export declare const SignalRequest: {
2431
2473
  } & {
2432
2474
  participantSid?: string | undefined;
2433
2475
  trackSids?: (string[] & string[] & {
2434
- [K_103 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["participantTracks"][number]["trackSids"], keyof string[]>]: never;
2476
+ [K_104 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["participantTracks"][number]["trackSids"], keyof string[]>]: never;
2435
2477
  }) | undefined;
2436
2478
  } & {
2437
- [K_104 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["participantTracks"][number], keyof ParticipantTracks>]: never;
2479
+ [K_105 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["participantTracks"][number], keyof ParticipantTracks>]: never;
2438
2480
  })[] & {
2439
- [K_105 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["participantTracks"], keyof {
2481
+ [K_106 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["participantTracks"], keyof {
2440
2482
  participantSid?: string | undefined;
2441
2483
  trackSids?: string[] | undefined;
2442
2484
  }[]>]: never;
2443
2485
  }) | undefined;
2444
2486
  } & {
2445
- [K_106 in Exclude<keyof I_1["message"]["syncState"]["subscription"], keyof UpdateSubscription>]: never;
2487
+ [K_107 in Exclude<keyof I_1["message"]["syncState"]["subscription"], keyof UpdateSubscription>]: never;
2446
2488
  }) | undefined;
2447
2489
  publishTracks?: ({
2448
2490
  cid?: string | undefined;
@@ -2583,9 +2625,9 @@ export declare const SignalRequest: {
2583
2625
  bitrate?: number | undefined;
2584
2626
  ssrc?: number | undefined;
2585
2627
  } & {
2586
- [K_107 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["layers"][number], keyof VideoLayer>]: never;
2628
+ [K_108 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["layers"][number], keyof VideoLayer>]: never;
2587
2629
  })[] & {
2588
- [K_108 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["layers"], keyof {
2630
+ [K_109 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["layers"], keyof {
2589
2631
  quality?: VideoQuality | undefined;
2590
2632
  width?: number | undefined;
2591
2633
  height?: number | undefined;
@@ -2640,9 +2682,9 @@ export declare const SignalRequest: {
2640
2682
  bitrate?: number | undefined;
2641
2683
  ssrc?: number | undefined;
2642
2684
  } & {
2643
- [K_109 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
2685
+ [K_110 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never;
2644
2686
  })[] & {
2645
- [K_110 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"][number]["layers"], keyof {
2687
+ [K_111 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"][number]["layers"], keyof {
2646
2688
  quality?: VideoQuality | undefined;
2647
2689
  width?: number | undefined;
2648
2690
  height?: number | undefined;
@@ -2651,9 +2693,9 @@ export declare const SignalRequest: {
2651
2693
  }[]>]: never;
2652
2694
  }) | undefined;
2653
2695
  } & {
2654
- [K_111 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
2696
+ [K_112 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never;
2655
2697
  })[] & {
2656
- [K_112 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"], keyof {
2698
+ [K_113 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"], keyof {
2657
2699
  mimeType?: string | undefined;
2658
2700
  mid?: string | undefined;
2659
2701
  cid?: string | undefined;
@@ -2670,12 +2712,12 @@ export declare const SignalRequest: {
2670
2712
  disableRed?: boolean | undefined;
2671
2713
  encryption?: Encryption_Type | undefined;
2672
2714
  } & {
2673
- [K_113 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"], keyof TrackInfo>]: never;
2715
+ [K_114 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"], keyof TrackInfo>]: never;
2674
2716
  }) | undefined;
2675
2717
  } & {
2676
- [K_114 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number], keyof TrackPublishedResponse>]: never;
2718
+ [K_115 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number], keyof TrackPublishedResponse>]: never;
2677
2719
  })[] & {
2678
- [K_115 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"], keyof {
2720
+ [K_116 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"], keyof {
2679
2721
  cid?: string | undefined;
2680
2722
  track?: {
2681
2723
  sid?: string | undefined;
@@ -2727,9 +2769,9 @@ export declare const SignalRequest: {
2727
2769
  id?: number | undefined;
2728
2770
  target?: SignalTarget | undefined;
2729
2771
  } & {
2730
- [K_116 in Exclude<keyof I_1["message"]["syncState"]["dataChannels"][number], keyof DataChannelInfo>]: never;
2772
+ [K_117 in Exclude<keyof I_1["message"]["syncState"]["dataChannels"][number], keyof DataChannelInfo>]: never;
2731
2773
  })[] & {
2732
- [K_117 in Exclude<keyof I_1["message"]["syncState"]["dataChannels"], keyof {
2774
+ [K_118 in Exclude<keyof I_1["message"]["syncState"]["dataChannels"], keyof {
2733
2775
  label?: string | undefined;
2734
2776
  id?: number | undefined;
2735
2777
  target?: SignalTarget | undefined;
@@ -2742,14 +2784,14 @@ export declare const SignalRequest: {
2742
2784
  type?: string | undefined;
2743
2785
  sdp?: string | undefined;
2744
2786
  } & {
2745
- [K_118 in Exclude<keyof I_1["message"]["syncState"]["offer"], keyof SessionDescription>]: never;
2787
+ [K_119 in Exclude<keyof I_1["message"]["syncState"]["offer"], keyof SessionDescription>]: never;
2746
2788
  }) | undefined;
2747
2789
  } & {
2748
- [K_119 in Exclude<keyof I_1["message"]["syncState"], keyof SyncState>]: never;
2790
+ [K_120 in Exclude<keyof I_1["message"]["syncState"], keyof SyncState>]: never;
2749
2791
  }) | undefined;
2750
2792
  $case: "syncState";
2751
2793
  } & {
2752
- [K_120 in Exclude<keyof I_1["message"], "syncState" | "$case">]: never;
2794
+ [K_121 in Exclude<keyof I_1["message"], "syncState" | "$case">]: never;
2753
2795
  }) | ({
2754
2796
  simulate?: {
2755
2797
  scenario?: ({
@@ -2772,6 +2814,10 @@ export declare const SignalRequest: {
2772
2814
  switchCandidateProtocol?: CandidateProtocol | undefined;
2773
2815
  } & {
2774
2816
  $case: "switchCandidateProtocol";
2817
+ }) | ({
2818
+ subscriberBandwidth?: number | undefined;
2819
+ } & {
2820
+ $case: "subscriberBandwidth";
2775
2821
  }) | undefined;
2776
2822
  } | undefined;
2777
2823
  } & {
@@ -2798,6 +2844,10 @@ export declare const SignalRequest: {
2798
2844
  switchCandidateProtocol?: CandidateProtocol | undefined;
2799
2845
  } & {
2800
2846
  $case: "switchCandidateProtocol";
2847
+ }) | ({
2848
+ subscriberBandwidth?: number | undefined;
2849
+ } & {
2850
+ $case: "subscriberBandwidth";
2801
2851
  }) | undefined;
2802
2852
  } & {
2803
2853
  scenario?: ({
@@ -2808,7 +2858,7 @@ export declare const SignalRequest: {
2808
2858
  speakerUpdate?: number | undefined;
2809
2859
  $case: "speakerUpdate";
2810
2860
  } & {
2811
- [K_121 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "speakerUpdate" | "$case">]: never;
2861
+ [K_122 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "speakerUpdate" | "$case">]: never;
2812
2862
  }) | ({
2813
2863
  nodeFailure?: boolean | undefined;
2814
2864
  } & {
@@ -2817,7 +2867,7 @@ export declare const SignalRequest: {
2817
2867
  nodeFailure?: boolean | undefined;
2818
2868
  $case: "nodeFailure";
2819
2869
  } & {
2820
- [K_122 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "nodeFailure" | "$case">]: never;
2870
+ [K_123 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "nodeFailure" | "$case">]: never;
2821
2871
  }) | ({
2822
2872
  migration?: boolean | undefined;
2823
2873
  } & {
@@ -2826,7 +2876,7 @@ export declare const SignalRequest: {
2826
2876
  migration?: boolean | undefined;
2827
2877
  $case: "migration";
2828
2878
  } & {
2829
- [K_123 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "migration" | "$case">]: never;
2879
+ [K_124 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "migration" | "$case">]: never;
2830
2880
  }) | ({
2831
2881
  serverLeave?: boolean | undefined;
2832
2882
  } & {
@@ -2835,7 +2885,7 @@ export declare const SignalRequest: {
2835
2885
  serverLeave?: boolean | undefined;
2836
2886
  $case: "serverLeave";
2837
2887
  } & {
2838
- [K_124 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "serverLeave" | "$case">]: never;
2888
+ [K_125 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "serverLeave" | "$case">]: never;
2839
2889
  }) | ({
2840
2890
  switchCandidateProtocol?: CandidateProtocol | undefined;
2841
2891
  } & {
@@ -2844,14 +2894,23 @@ export declare const SignalRequest: {
2844
2894
  switchCandidateProtocol?: CandidateProtocol | undefined;
2845
2895
  $case: "switchCandidateProtocol";
2846
2896
  } & {
2847
- [K_125 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "switchCandidateProtocol" | "$case">]: never;
2897
+ [K_126 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "switchCandidateProtocol" | "$case">]: never;
2898
+ }) | ({
2899
+ subscriberBandwidth?: number | undefined;
2900
+ } & {
2901
+ $case: "subscriberBandwidth";
2902
+ } & {
2903
+ subscriberBandwidth?: number | undefined;
2904
+ $case: "subscriberBandwidth";
2905
+ } & {
2906
+ [K_127 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "subscriberBandwidth" | "$case">]: never;
2848
2907
  }) | undefined;
2849
2908
  } & {
2850
- [K_126 in Exclude<keyof I_1["message"]["simulate"], "scenario">]: never;
2909
+ [K_128 in Exclude<keyof I_1["message"]["simulate"], "scenario">]: never;
2851
2910
  }) | undefined;
2852
2911
  $case: "simulate";
2853
2912
  } & {
2854
- [K_127 in Exclude<keyof I_1["message"], "simulate" | "$case">]: never;
2913
+ [K_129 in Exclude<keyof I_1["message"], "simulate" | "$case">]: never;
2855
2914
  }) | ({
2856
2915
  ping?: number | undefined;
2857
2916
  } & {
@@ -2860,24 +2919,27 @@ export declare const SignalRequest: {
2860
2919
  ping?: number | undefined;
2861
2920
  $case: "ping";
2862
2921
  } & {
2863
- [K_128 in Exclude<keyof I_1["message"], "ping" | "$case">]: never;
2922
+ [K_130 in Exclude<keyof I_1["message"], "ping" | "$case">]: never;
2864
2923
  }) | ({
2865
2924
  updateMetadata?: {
2866
2925
  metadata?: string | undefined;
2926
+ name?: string | undefined;
2867
2927
  } | undefined;
2868
2928
  } & {
2869
2929
  $case: "updateMetadata";
2870
2930
  } & {
2871
2931
  updateMetadata?: ({
2872
2932
  metadata?: string | undefined;
2933
+ name?: string | undefined;
2873
2934
  } & {
2874
2935
  metadata?: string | undefined;
2936
+ name?: string | undefined;
2875
2937
  } & {
2876
- [K_129 in Exclude<keyof I_1["message"]["updateMetadata"], "metadata">]: never;
2938
+ [K_131 in Exclude<keyof I_1["message"]["updateMetadata"], keyof UpdateParticipantMetadata>]: never;
2877
2939
  }) | undefined;
2878
2940
  $case: "updateMetadata";
2879
2941
  } & {
2880
- [K_130 in Exclude<keyof I_1["message"], "updateMetadata" | "$case">]: never;
2942
+ [K_132 in Exclude<keyof I_1["message"], "updateMetadata" | "$case">]: never;
2881
2943
  }) | ({
2882
2944
  pingReq?: {
2883
2945
  timestamp?: number | undefined;
@@ -2893,14 +2955,14 @@ export declare const SignalRequest: {
2893
2955
  timestamp?: number | undefined;
2894
2956
  rtt?: number | undefined;
2895
2957
  } & {
2896
- [K_131 in Exclude<keyof I_1["message"]["pingReq"], keyof Ping>]: never;
2958
+ [K_133 in Exclude<keyof I_1["message"]["pingReq"], keyof Ping>]: never;
2897
2959
  }) | undefined;
2898
2960
  $case: "pingReq";
2899
2961
  } & {
2900
- [K_132 in Exclude<keyof I_1["message"], "pingReq" | "$case">]: never;
2962
+ [K_134 in Exclude<keyof I_1["message"], "pingReq" | "$case">]: never;
2901
2963
  }) | undefined;
2902
2964
  } & {
2903
- [K_133 in Exclude<keyof I_1, "message">]: never;
2965
+ [K_135 in Exclude<keyof I_1, "message">]: never;
2904
2966
  }>(object: I_1): SignalRequest;
2905
2967
  };
2906
2968
  export declare const SignalResponse: {
@@ -2976,6 +3038,7 @@ export declare const SignalResponse: {
2976
3038
  canPublishSources?: TrackSource[] | undefined;
2977
3039
  hidden?: boolean | undefined;
2978
3040
  recorder?: boolean | undefined;
3041
+ canUpdateMetadata?: boolean | undefined;
2979
3042
  } | undefined;
2980
3043
  region?: string | undefined;
2981
3044
  isPublisher?: boolean | undefined;
@@ -3030,6 +3093,7 @@ export declare const SignalResponse: {
3030
3093
  canPublishSources?: TrackSource[] | undefined;
3031
3094
  hidden?: boolean | undefined;
3032
3095
  recorder?: boolean | undefined;
3096
+ canUpdateMetadata?: boolean | undefined;
3033
3097
  } | undefined;
3034
3098
  region?: string | undefined;
3035
3099
  isPublisher?: boolean | undefined;
@@ -3145,6 +3209,7 @@ export declare const SignalResponse: {
3145
3209
  canPublishSources?: TrackSource[] | undefined;
3146
3210
  hidden?: boolean | undefined;
3147
3211
  recorder?: boolean | undefined;
3212
+ canUpdateMetadata?: boolean | undefined;
3148
3213
  } | undefined;
3149
3214
  region?: string | undefined;
3150
3215
  isPublisher?: boolean | undefined;
@@ -3398,6 +3463,7 @@ export declare const SignalResponse: {
3398
3463
  canPublishSources?: TrackSource[] | undefined;
3399
3464
  hidden?: boolean | undefined;
3400
3465
  recorder?: boolean | undefined;
3466
+ canUpdateMetadata?: boolean | undefined;
3401
3467
  } | undefined;
3402
3468
  region?: string | undefined;
3403
3469
  isPublisher?: boolean | undefined;
@@ -3452,6 +3518,7 @@ export declare const SignalResponse: {
3452
3518
  canPublishSources?: TrackSource[] | undefined;
3453
3519
  hidden?: boolean | undefined;
3454
3520
  recorder?: boolean | undefined;
3521
+ canUpdateMetadata?: boolean | undefined;
3455
3522
  } | undefined;
3456
3523
  region?: string | undefined;
3457
3524
  isPublisher?: boolean | undefined;
@@ -3561,6 +3628,7 @@ export declare const SignalResponse: {
3561
3628
  canPublishSources?: TrackSource[] | undefined;
3562
3629
  hidden?: boolean | undefined;
3563
3630
  recorder?: boolean | undefined;
3631
+ canUpdateMetadata?: boolean | undefined;
3564
3632
  } | undefined;
3565
3633
  region?: string | undefined;
3566
3634
  isPublisher?: boolean | undefined;
@@ -3615,6 +3683,7 @@ export declare const SignalResponse: {
3615
3683
  canPublishSources?: TrackSource[] | undefined;
3616
3684
  hidden?: boolean | undefined;
3617
3685
  recorder?: boolean | undefined;
3686
+ canUpdateMetadata?: boolean | undefined;
3618
3687
  } | undefined;
3619
3688
  region?: string | undefined;
3620
3689
  isPublisher?: boolean | undefined;
@@ -3749,6 +3818,7 @@ export declare const SignalResponse: {
3749
3818
  canPublishSources?: TrackSource[] | undefined;
3750
3819
  hidden?: boolean | undefined;
3751
3820
  recorder?: boolean | undefined;
3821
+ canUpdateMetadata?: boolean | undefined;
3752
3822
  } | undefined;
3753
3823
  region?: string | undefined;
3754
3824
  isPublisher?: boolean | undefined;
@@ -3989,6 +4059,7 @@ export declare const SignalResponse: {
3989
4059
  canPublishSources?: TrackSource[] | undefined;
3990
4060
  hidden?: boolean | undefined;
3991
4061
  recorder?: boolean | undefined;
4062
+ canUpdateMetadata?: boolean | undefined;
3992
4063
  } & {
3993
4064
  canSubscribe?: boolean | undefined;
3994
4065
  canPublish?: boolean | undefined;
@@ -3998,6 +4069,7 @@ export declare const SignalResponse: {
3998
4069
  }) | undefined;
3999
4070
  hidden?: boolean | undefined;
4000
4071
  recorder?: boolean | undefined;
4072
+ canUpdateMetadata?: boolean | undefined;
4001
4073
  } & {
4002
4074
  [K_12 in Exclude<keyof I["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
4003
4075
  }) | undefined;
@@ -4056,6 +4128,7 @@ export declare const SignalResponse: {
4056
4128
  canPublishSources?: TrackSource[] | undefined;
4057
4129
  hidden?: boolean | undefined;
4058
4130
  recorder?: boolean | undefined;
4131
+ canUpdateMetadata?: boolean | undefined;
4059
4132
  } | undefined;
4060
4133
  region?: string | undefined;
4061
4134
  isPublisher?: boolean | undefined;
@@ -4109,6 +4182,7 @@ export declare const SignalResponse: {
4109
4182
  canPublishSources?: TrackSource[] | undefined;
4110
4183
  hidden?: boolean | undefined;
4111
4184
  recorder?: boolean | undefined;
4185
+ canUpdateMetadata?: boolean | undefined;
4112
4186
  } | undefined;
4113
4187
  region?: string | undefined;
4114
4188
  isPublisher?: boolean | undefined;
@@ -4349,6 +4423,7 @@ export declare const SignalResponse: {
4349
4423
  canPublishSources?: TrackSource[] | undefined;
4350
4424
  hidden?: boolean | undefined;
4351
4425
  recorder?: boolean | undefined;
4426
+ canUpdateMetadata?: boolean | undefined;
4352
4427
  } & {
4353
4428
  canSubscribe?: boolean | undefined;
4354
4429
  canPublish?: boolean | undefined;
@@ -4358,6 +4433,7 @@ export declare const SignalResponse: {
4358
4433
  }) | undefined;
4359
4434
  hidden?: boolean | undefined;
4360
4435
  recorder?: boolean | undefined;
4436
+ canUpdateMetadata?: boolean | undefined;
4361
4437
  } & {
4362
4438
  [K_23 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
4363
4439
  }) | undefined;
@@ -4416,6 +4492,7 @@ export declare const SignalResponse: {
4416
4492
  canPublishSources?: TrackSource[] | undefined;
4417
4493
  hidden?: boolean | undefined;
4418
4494
  recorder?: boolean | undefined;
4495
+ canUpdateMetadata?: boolean | undefined;
4419
4496
  } | undefined;
4420
4497
  region?: string | undefined;
4421
4498
  isPublisher?: boolean | undefined;
@@ -4646,6 +4723,7 @@ export declare const SignalResponse: {
4646
4723
  canPublishSources?: TrackSource[] | undefined;
4647
4724
  hidden?: boolean | undefined;
4648
4725
  recorder?: boolean | undefined;
4726
+ canUpdateMetadata?: boolean | undefined;
4649
4727
  } | undefined;
4650
4728
  region?: string | undefined;
4651
4729
  isPublisher?: boolean | undefined;
@@ -4705,6 +4783,7 @@ export declare const SignalResponse: {
4705
4783
  canPublishSources?: TrackSource[] | undefined;
4706
4784
  hidden?: boolean | undefined;
4707
4785
  recorder?: boolean | undefined;
4786
+ canUpdateMetadata?: boolean | undefined;
4708
4787
  } | undefined;
4709
4788
  region?: string | undefined;
4710
4789
  isPublisher?: boolean | undefined;
@@ -4760,6 +4839,7 @@ export declare const SignalResponse: {
4760
4839
  canPublishSources?: TrackSource[] | undefined;
4761
4840
  hidden?: boolean | undefined;
4762
4841
  recorder?: boolean | undefined;
4842
+ canUpdateMetadata?: boolean | undefined;
4763
4843
  } | undefined;
4764
4844
  region?: string | undefined;
4765
4845
  isPublisher?: boolean | undefined;
@@ -4813,6 +4893,7 @@ export declare const SignalResponse: {
4813
4893
  canPublishSources?: TrackSource[] | undefined;
4814
4894
  hidden?: boolean | undefined;
4815
4895
  recorder?: boolean | undefined;
4896
+ canUpdateMetadata?: boolean | undefined;
4816
4897
  } | undefined;
4817
4898
  region?: string | undefined;
4818
4899
  isPublisher?: boolean | undefined;
@@ -5053,6 +5134,7 @@ export declare const SignalResponse: {
5053
5134
  canPublishSources?: TrackSource[] | undefined;
5054
5135
  hidden?: boolean | undefined;
5055
5136
  recorder?: boolean | undefined;
5137
+ canUpdateMetadata?: boolean | undefined;
5056
5138
  } & {
5057
5139
  canSubscribe?: boolean | undefined;
5058
5140
  canPublish?: boolean | undefined;
@@ -5062,6 +5144,7 @@ export declare const SignalResponse: {
5062
5144
  }) | undefined;
5063
5145
  hidden?: boolean | undefined;
5064
5146
  recorder?: boolean | undefined;
5147
+ canUpdateMetadata?: boolean | undefined;
5065
5148
  } & {
5066
5149
  [K_53 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
5067
5150
  }) | undefined;
@@ -5120,6 +5203,7 @@ export declare const SignalResponse: {
5120
5203
  canPublishSources?: TrackSource[] | undefined;
5121
5204
  hidden?: boolean | undefined;
5122
5205
  recorder?: boolean | undefined;
5206
+ canUpdateMetadata?: boolean | undefined;
5123
5207
  } | undefined;
5124
5208
  region?: string | undefined;
5125
5209
  isPublisher?: boolean | undefined;
@@ -6021,6 +6105,7 @@ export declare const SignalResponse: {
6021
6105
  canPublishSources?: TrackSource[] | undefined;
6022
6106
  hidden?: boolean | undefined;
6023
6107
  recorder?: boolean | undefined;
6108
+ canUpdateMetadata?: boolean | undefined;
6024
6109
  } | undefined;
6025
6110
  region?: string | undefined;
6026
6111
  isPublisher?: boolean | undefined;
@@ -6075,6 +6160,7 @@ export declare const SignalResponse: {
6075
6160
  canPublishSources?: TrackSource[] | undefined;
6076
6161
  hidden?: boolean | undefined;
6077
6162
  recorder?: boolean | undefined;
6163
+ canUpdateMetadata?: boolean | undefined;
6078
6164
  } | undefined;
6079
6165
  region?: string | undefined;
6080
6166
  isPublisher?: boolean | undefined;
@@ -6190,6 +6276,7 @@ export declare const SignalResponse: {
6190
6276
  canPublishSources?: TrackSource[] | undefined;
6191
6277
  hidden?: boolean | undefined;
6192
6278
  recorder?: boolean | undefined;
6279
+ canUpdateMetadata?: boolean | undefined;
6193
6280
  } | undefined;
6194
6281
  region?: string | undefined;
6195
6282
  isPublisher?: boolean | undefined;
@@ -6443,6 +6530,7 @@ export declare const SignalResponse: {
6443
6530
  canPublishSources?: TrackSource[] | undefined;
6444
6531
  hidden?: boolean | undefined;
6445
6532
  recorder?: boolean | undefined;
6533
+ canUpdateMetadata?: boolean | undefined;
6446
6534
  } | undefined;
6447
6535
  region?: string | undefined;
6448
6536
  isPublisher?: boolean | undefined;
@@ -6497,6 +6585,7 @@ export declare const SignalResponse: {
6497
6585
  canPublishSources?: TrackSource[] | undefined;
6498
6586
  hidden?: boolean | undefined;
6499
6587
  recorder?: boolean | undefined;
6588
+ canUpdateMetadata?: boolean | undefined;
6500
6589
  } | undefined;
6501
6590
  region?: string | undefined;
6502
6591
  isPublisher?: boolean | undefined;
@@ -6606,6 +6695,7 @@ export declare const SignalResponse: {
6606
6695
  canPublishSources?: TrackSource[] | undefined;
6607
6696
  hidden?: boolean | undefined;
6608
6697
  recorder?: boolean | undefined;
6698
+ canUpdateMetadata?: boolean | undefined;
6609
6699
  } | undefined;
6610
6700
  region?: string | undefined;
6611
6701
  isPublisher?: boolean | undefined;
@@ -6660,6 +6750,7 @@ export declare const SignalResponse: {
6660
6750
  canPublishSources?: TrackSource[] | undefined;
6661
6751
  hidden?: boolean | undefined;
6662
6752
  recorder?: boolean | undefined;
6753
+ canUpdateMetadata?: boolean | undefined;
6663
6754
  } | undefined;
6664
6755
  region?: string | undefined;
6665
6756
  isPublisher?: boolean | undefined;
@@ -6794,6 +6885,7 @@ export declare const SignalResponse: {
6794
6885
  canPublishSources?: TrackSource[] | undefined;
6795
6886
  hidden?: boolean | undefined;
6796
6887
  recorder?: boolean | undefined;
6888
+ canUpdateMetadata?: boolean | undefined;
6797
6889
  } | undefined;
6798
6890
  region?: string | undefined;
6799
6891
  isPublisher?: boolean | undefined;
@@ -7034,6 +7126,7 @@ export declare const SignalResponse: {
7034
7126
  canPublishSources?: TrackSource[] | undefined;
7035
7127
  hidden?: boolean | undefined;
7036
7128
  recorder?: boolean | undefined;
7129
+ canUpdateMetadata?: boolean | undefined;
7037
7130
  } & {
7038
7131
  canSubscribe?: boolean | undefined;
7039
7132
  canPublish?: boolean | undefined;
@@ -7043,6 +7136,7 @@ export declare const SignalResponse: {
7043
7136
  }) | undefined;
7044
7137
  hidden?: boolean | undefined;
7045
7138
  recorder?: boolean | undefined;
7139
+ canUpdateMetadata?: boolean | undefined;
7046
7140
  } & {
7047
7141
  [K_128 in Exclude<keyof I_1["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
7048
7142
  }) | undefined;
@@ -7101,6 +7195,7 @@ export declare const SignalResponse: {
7101
7195
  canPublishSources?: TrackSource[] | undefined;
7102
7196
  hidden?: boolean | undefined;
7103
7197
  recorder?: boolean | undefined;
7198
+ canUpdateMetadata?: boolean | undefined;
7104
7199
  } | undefined;
7105
7200
  region?: string | undefined;
7106
7201
  isPublisher?: boolean | undefined;
@@ -7154,6 +7249,7 @@ export declare const SignalResponse: {
7154
7249
  canPublishSources?: TrackSource[] | undefined;
7155
7250
  hidden?: boolean | undefined;
7156
7251
  recorder?: boolean | undefined;
7252
+ canUpdateMetadata?: boolean | undefined;
7157
7253
  } | undefined;
7158
7254
  region?: string | undefined;
7159
7255
  isPublisher?: boolean | undefined;
@@ -7394,6 +7490,7 @@ export declare const SignalResponse: {
7394
7490
  canPublishSources?: TrackSource[] | undefined;
7395
7491
  hidden?: boolean | undefined;
7396
7492
  recorder?: boolean | undefined;
7493
+ canUpdateMetadata?: boolean | undefined;
7397
7494
  } & {
7398
7495
  canSubscribe?: boolean | undefined;
7399
7496
  canPublish?: boolean | undefined;
@@ -7403,6 +7500,7 @@ export declare const SignalResponse: {
7403
7500
  }) | undefined;
7404
7501
  hidden?: boolean | undefined;
7405
7502
  recorder?: boolean | undefined;
7503
+ canUpdateMetadata?: boolean | undefined;
7406
7504
  } & {
7407
7505
  [K_139 in Exclude<keyof I_1["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
7408
7506
  }) | undefined;
@@ -7461,6 +7559,7 @@ export declare const SignalResponse: {
7461
7559
  canPublishSources?: TrackSource[] | undefined;
7462
7560
  hidden?: boolean | undefined;
7463
7561
  recorder?: boolean | undefined;
7562
+ canUpdateMetadata?: boolean | undefined;
7464
7563
  } | undefined;
7465
7564
  region?: string | undefined;
7466
7565
  isPublisher?: boolean | undefined;
@@ -7691,6 +7790,7 @@ export declare const SignalResponse: {
7691
7790
  canPublishSources?: TrackSource[] | undefined;
7692
7791
  hidden?: boolean | undefined;
7693
7792
  recorder?: boolean | undefined;
7793
+ canUpdateMetadata?: boolean | undefined;
7694
7794
  } | undefined;
7695
7795
  region?: string | undefined;
7696
7796
  isPublisher?: boolean | undefined;
@@ -7750,6 +7850,7 @@ export declare const SignalResponse: {
7750
7850
  canPublishSources?: TrackSource[] | undefined;
7751
7851
  hidden?: boolean | undefined;
7752
7852
  recorder?: boolean | undefined;
7853
+ canUpdateMetadata?: boolean | undefined;
7753
7854
  } | undefined;
7754
7855
  region?: string | undefined;
7755
7856
  isPublisher?: boolean | undefined;
@@ -7805,6 +7906,7 @@ export declare const SignalResponse: {
7805
7906
  canPublishSources?: TrackSource[] | undefined;
7806
7907
  hidden?: boolean | undefined;
7807
7908
  recorder?: boolean | undefined;
7909
+ canUpdateMetadata?: boolean | undefined;
7808
7910
  } | undefined;
7809
7911
  region?: string | undefined;
7810
7912
  isPublisher?: boolean | undefined;
@@ -7858,6 +7960,7 @@ export declare const SignalResponse: {
7858
7960
  canPublishSources?: TrackSource[] | undefined;
7859
7961
  hidden?: boolean | undefined;
7860
7962
  recorder?: boolean | undefined;
7963
+ canUpdateMetadata?: boolean | undefined;
7861
7964
  } | undefined;
7862
7965
  region?: string | undefined;
7863
7966
  isPublisher?: boolean | undefined;
@@ -8098,6 +8201,7 @@ export declare const SignalResponse: {
8098
8201
  canPublishSources?: TrackSource[] | undefined;
8099
8202
  hidden?: boolean | undefined;
8100
8203
  recorder?: boolean | undefined;
8204
+ canUpdateMetadata?: boolean | undefined;
8101
8205
  } & {
8102
8206
  canSubscribe?: boolean | undefined;
8103
8207
  canPublish?: boolean | undefined;
@@ -8107,6 +8211,7 @@ export declare const SignalResponse: {
8107
8211
  }) | undefined;
8108
8212
  hidden?: boolean | undefined;
8109
8213
  recorder?: boolean | undefined;
8214
+ canUpdateMetadata?: boolean | undefined;
8110
8215
  } & {
8111
8216
  [K_169 in Exclude<keyof I_1["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
8112
8217
  }) | undefined;
@@ -8165,6 +8270,7 @@ export declare const SignalResponse: {
8165
8270
  canPublishSources?: TrackSource[] | undefined;
8166
8271
  hidden?: boolean | undefined;
8167
8272
  recorder?: boolean | undefined;
8273
+ canUpdateMetadata?: boolean | undefined;
8168
8274
  } | undefined;
8169
8275
  region?: string | undefined;
8170
8276
  isPublisher?: boolean | undefined;
@@ -9334,6 +9440,7 @@ export declare const JoinResponse: {
9334
9440
  canPublishSources?: TrackSource[] | undefined;
9335
9441
  hidden?: boolean | undefined;
9336
9442
  recorder?: boolean | undefined;
9443
+ canUpdateMetadata?: boolean | undefined;
9337
9444
  } | undefined;
9338
9445
  region?: string | undefined;
9339
9446
  isPublisher?: boolean | undefined;
@@ -9388,6 +9495,7 @@ export declare const JoinResponse: {
9388
9495
  canPublishSources?: TrackSource[] | undefined;
9389
9496
  hidden?: boolean | undefined;
9390
9497
  recorder?: boolean | undefined;
9498
+ canUpdateMetadata?: boolean | undefined;
9391
9499
  } | undefined;
9392
9500
  region?: string | undefined;
9393
9501
  isPublisher?: boolean | undefined;
@@ -9522,6 +9630,7 @@ export declare const JoinResponse: {
9522
9630
  canPublishSources?: TrackSource[] | undefined;
9523
9631
  hidden?: boolean | undefined;
9524
9632
  recorder?: boolean | undefined;
9633
+ canUpdateMetadata?: boolean | undefined;
9525
9634
  } | undefined;
9526
9635
  region?: string | undefined;
9527
9636
  isPublisher?: boolean | undefined;
@@ -9762,6 +9871,7 @@ export declare const JoinResponse: {
9762
9871
  canPublishSources?: TrackSource[] | undefined;
9763
9872
  hidden?: boolean | undefined;
9764
9873
  recorder?: boolean | undefined;
9874
+ canUpdateMetadata?: boolean | undefined;
9765
9875
  } & {
9766
9876
  canSubscribe?: boolean | undefined;
9767
9877
  canPublish?: boolean | undefined;
@@ -9771,6 +9881,7 @@ export declare const JoinResponse: {
9771
9881
  }) | undefined;
9772
9882
  hidden?: boolean | undefined;
9773
9883
  recorder?: boolean | undefined;
9884
+ canUpdateMetadata?: boolean | undefined;
9774
9885
  } & {
9775
9886
  [K_12 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
9776
9887
  }) | undefined;
@@ -9829,6 +9940,7 @@ export declare const JoinResponse: {
9829
9940
  canPublishSources?: TrackSource[] | undefined;
9830
9941
  hidden?: boolean | undefined;
9831
9942
  recorder?: boolean | undefined;
9943
+ canUpdateMetadata?: boolean | undefined;
9832
9944
  } | undefined;
9833
9945
  region?: string | undefined;
9834
9946
  isPublisher?: boolean | undefined;
@@ -9882,6 +9994,7 @@ export declare const JoinResponse: {
9882
9994
  canPublishSources?: TrackSource[] | undefined;
9883
9995
  hidden?: boolean | undefined;
9884
9996
  recorder?: boolean | undefined;
9997
+ canUpdateMetadata?: boolean | undefined;
9885
9998
  } | undefined;
9886
9999
  region?: string | undefined;
9887
10000
  isPublisher?: boolean | undefined;
@@ -10122,6 +10235,7 @@ export declare const JoinResponse: {
10122
10235
  canPublishSources?: TrackSource[] | undefined;
10123
10236
  hidden?: boolean | undefined;
10124
10237
  recorder?: boolean | undefined;
10238
+ canUpdateMetadata?: boolean | undefined;
10125
10239
  } & {
10126
10240
  canSubscribe?: boolean | undefined;
10127
10241
  canPublish?: boolean | undefined;
@@ -10131,6 +10245,7 @@ export declare const JoinResponse: {
10131
10245
  }) | undefined;
10132
10246
  hidden?: boolean | undefined;
10133
10247
  recorder?: boolean | undefined;
10248
+ canUpdateMetadata?: boolean | undefined;
10134
10249
  } & {
10135
10250
  [K_23 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
10136
10251
  }) | undefined;
@@ -10189,6 +10304,7 @@ export declare const JoinResponse: {
10189
10304
  canPublishSources?: TrackSource[] | undefined;
10190
10305
  hidden?: boolean | undefined;
10191
10306
  recorder?: boolean | undefined;
10307
+ canUpdateMetadata?: boolean | undefined;
10192
10308
  } | undefined;
10193
10309
  region?: string | undefined;
10194
10310
  isPublisher?: boolean | undefined;
@@ -10370,6 +10486,7 @@ export declare const JoinResponse: {
10370
10486
  canPublishSources?: TrackSource[] | undefined;
10371
10487
  hidden?: boolean | undefined;
10372
10488
  recorder?: boolean | undefined;
10489
+ canUpdateMetadata?: boolean | undefined;
10373
10490
  } | undefined;
10374
10491
  region?: string | undefined;
10375
10492
  isPublisher?: boolean | undefined;
@@ -10424,6 +10541,7 @@ export declare const JoinResponse: {
10424
10541
  canPublishSources?: TrackSource[] | undefined;
10425
10542
  hidden?: boolean | undefined;
10426
10543
  recorder?: boolean | undefined;
10544
+ canUpdateMetadata?: boolean | undefined;
10427
10545
  } | undefined;
10428
10546
  region?: string | undefined;
10429
10547
  isPublisher?: boolean | undefined;
@@ -10558,6 +10676,7 @@ export declare const JoinResponse: {
10558
10676
  canPublishSources?: TrackSource[] | undefined;
10559
10677
  hidden?: boolean | undefined;
10560
10678
  recorder?: boolean | undefined;
10679
+ canUpdateMetadata?: boolean | undefined;
10561
10680
  } | undefined;
10562
10681
  region?: string | undefined;
10563
10682
  isPublisher?: boolean | undefined;
@@ -10798,6 +10917,7 @@ export declare const JoinResponse: {
10798
10917
  canPublishSources?: TrackSource[] | undefined;
10799
10918
  hidden?: boolean | undefined;
10800
10919
  recorder?: boolean | undefined;
10920
+ canUpdateMetadata?: boolean | undefined;
10801
10921
  } & {
10802
10922
  canSubscribe?: boolean | undefined;
10803
10923
  canPublish?: boolean | undefined;
@@ -10807,6 +10927,7 @@ export declare const JoinResponse: {
10807
10927
  }) | undefined;
10808
10928
  hidden?: boolean | undefined;
10809
10929
  recorder?: boolean | undefined;
10930
+ canUpdateMetadata?: boolean | undefined;
10810
10931
  } & {
10811
10932
  [K_49 in Exclude<keyof I_1["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
10812
10933
  }) | undefined;
@@ -10865,6 +10986,7 @@ export declare const JoinResponse: {
10865
10986
  canPublishSources?: TrackSource[] | undefined;
10866
10987
  hidden?: boolean | undefined;
10867
10988
  recorder?: boolean | undefined;
10989
+ canUpdateMetadata?: boolean | undefined;
10868
10990
  } | undefined;
10869
10991
  region?: string | undefined;
10870
10992
  isPublisher?: boolean | undefined;
@@ -10918,6 +11040,7 @@ export declare const JoinResponse: {
10918
11040
  canPublishSources?: TrackSource[] | undefined;
10919
11041
  hidden?: boolean | undefined;
10920
11042
  recorder?: boolean | undefined;
11043
+ canUpdateMetadata?: boolean | undefined;
10921
11044
  } | undefined;
10922
11045
  region?: string | undefined;
10923
11046
  isPublisher?: boolean | undefined;
@@ -11158,6 +11281,7 @@ export declare const JoinResponse: {
11158
11281
  canPublishSources?: TrackSource[] | undefined;
11159
11282
  hidden?: boolean | undefined;
11160
11283
  recorder?: boolean | undefined;
11284
+ canUpdateMetadata?: boolean | undefined;
11161
11285
  } & {
11162
11286
  canSubscribe?: boolean | undefined;
11163
11287
  canPublish?: boolean | undefined;
@@ -11167,6 +11291,7 @@ export declare const JoinResponse: {
11167
11291
  }) | undefined;
11168
11292
  hidden?: boolean | undefined;
11169
11293
  recorder?: boolean | undefined;
11294
+ canUpdateMetadata?: boolean | undefined;
11170
11295
  } & {
11171
11296
  [K_60 in Exclude<keyof I_1["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
11172
11297
  }) | undefined;
@@ -11225,6 +11350,7 @@ export declare const JoinResponse: {
11225
11350
  canPublishSources?: TrackSource[] | undefined;
11226
11351
  hidden?: boolean | undefined;
11227
11352
  recorder?: boolean | undefined;
11353
+ canUpdateMetadata?: boolean | undefined;
11228
11354
  } | undefined;
11229
11355
  region?: string | undefined;
11230
11356
  isPublisher?: boolean | undefined;
@@ -12061,6 +12187,7 @@ export declare const ParticipantUpdate: {
12061
12187
  canPublishSources?: TrackSource[] | undefined;
12062
12188
  hidden?: boolean | undefined;
12063
12189
  recorder?: boolean | undefined;
12190
+ canUpdateMetadata?: boolean | undefined;
12064
12191
  } | undefined;
12065
12192
  region?: string | undefined;
12066
12193
  isPublisher?: boolean | undefined;
@@ -12116,6 +12243,7 @@ export declare const ParticipantUpdate: {
12116
12243
  canPublishSources?: TrackSource[] | undefined;
12117
12244
  hidden?: boolean | undefined;
12118
12245
  recorder?: boolean | undefined;
12246
+ canUpdateMetadata?: boolean | undefined;
12119
12247
  } | undefined;
12120
12248
  region?: string | undefined;
12121
12249
  isPublisher?: boolean | undefined;
@@ -12169,6 +12297,7 @@ export declare const ParticipantUpdate: {
12169
12297
  canPublishSources?: TrackSource[] | undefined;
12170
12298
  hidden?: boolean | undefined;
12171
12299
  recorder?: boolean | undefined;
12300
+ canUpdateMetadata?: boolean | undefined;
12172
12301
  } | undefined;
12173
12302
  region?: string | undefined;
12174
12303
  isPublisher?: boolean | undefined;
@@ -12409,6 +12538,7 @@ export declare const ParticipantUpdate: {
12409
12538
  canPublishSources?: TrackSource[] | undefined;
12410
12539
  hidden?: boolean | undefined;
12411
12540
  recorder?: boolean | undefined;
12541
+ canUpdateMetadata?: boolean | undefined;
12412
12542
  } & {
12413
12543
  canSubscribe?: boolean | undefined;
12414
12544
  canPublish?: boolean | undefined;
@@ -12418,6 +12548,7 @@ export declare const ParticipantUpdate: {
12418
12548
  }) | undefined;
12419
12549
  hidden?: boolean | undefined;
12420
12550
  recorder?: boolean | undefined;
12551
+ canUpdateMetadata?: boolean | undefined;
12421
12552
  } & {
12422
12553
  [K_9 in Exclude<keyof I["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
12423
12554
  }) | undefined;
@@ -12476,6 +12607,7 @@ export declare const ParticipantUpdate: {
12476
12607
  canPublishSources?: TrackSource[] | undefined;
12477
12608
  hidden?: boolean | undefined;
12478
12609
  recorder?: boolean | undefined;
12610
+ canUpdateMetadata?: boolean | undefined;
12479
12611
  } | undefined;
12480
12612
  region?: string | undefined;
12481
12613
  isPublisher?: boolean | undefined;
@@ -12535,6 +12667,7 @@ export declare const ParticipantUpdate: {
12535
12667
  canPublishSources?: TrackSource[] | undefined;
12536
12668
  hidden?: boolean | undefined;
12537
12669
  recorder?: boolean | undefined;
12670
+ canUpdateMetadata?: boolean | undefined;
12538
12671
  } | undefined;
12539
12672
  region?: string | undefined;
12540
12673
  isPublisher?: boolean | undefined;
@@ -12590,6 +12723,7 @@ export declare const ParticipantUpdate: {
12590
12723
  canPublishSources?: TrackSource[] | undefined;
12591
12724
  hidden?: boolean | undefined;
12592
12725
  recorder?: boolean | undefined;
12726
+ canUpdateMetadata?: boolean | undefined;
12593
12727
  } | undefined;
12594
12728
  region?: string | undefined;
12595
12729
  isPublisher?: boolean | undefined;
@@ -12643,6 +12777,7 @@ export declare const ParticipantUpdate: {
12643
12777
  canPublishSources?: TrackSource[] | undefined;
12644
12778
  hidden?: boolean | undefined;
12645
12779
  recorder?: boolean | undefined;
12780
+ canUpdateMetadata?: boolean | undefined;
12646
12781
  } | undefined;
12647
12782
  region?: string | undefined;
12648
12783
  isPublisher?: boolean | undefined;
@@ -12883,6 +13018,7 @@ export declare const ParticipantUpdate: {
12883
13018
  canPublishSources?: TrackSource[] | undefined;
12884
13019
  hidden?: boolean | undefined;
12885
13020
  recorder?: boolean | undefined;
13021
+ canUpdateMetadata?: boolean | undefined;
12886
13022
  } & {
12887
13023
  canSubscribe?: boolean | undefined;
12888
13024
  canPublish?: boolean | undefined;
@@ -12892,6 +13028,7 @@ export declare const ParticipantUpdate: {
12892
13028
  }) | undefined;
12893
13029
  hidden?: boolean | undefined;
12894
13030
  recorder?: boolean | undefined;
13031
+ canUpdateMetadata?: boolean | undefined;
12895
13032
  } & {
12896
13033
  [K_22 in Exclude<keyof I_1["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never;
12897
13034
  }) | undefined;
@@ -12950,6 +13087,7 @@ export declare const ParticipantUpdate: {
12950
13087
  canPublishSources?: TrackSource[] | undefined;
12951
13088
  hidden?: boolean | undefined;
12952
13089
  recorder?: boolean | undefined;
13090
+ canUpdateMetadata?: boolean | undefined;
12953
13091
  } | undefined;
12954
13092
  region?: string | undefined;
12955
13093
  isPublisher?: boolean | undefined;
@@ -13204,17 +13342,21 @@ export declare const UpdateParticipantMetadata: {
13204
13342
  toJSON(message: UpdateParticipantMetadata): unknown;
13205
13343
  create<I extends {
13206
13344
  metadata?: string | undefined;
13345
+ name?: string | undefined;
13207
13346
  } & {
13208
13347
  metadata?: string | undefined;
13348
+ name?: string | undefined;
13209
13349
  } & {
13210
- [K in Exclude<keyof I, "metadata">]: never;
13350
+ [K in Exclude<keyof I, keyof UpdateParticipantMetadata>]: never;
13211
13351
  }>(base?: I | undefined): UpdateParticipantMetadata;
13212
13352
  fromPartial<I_1 extends {
13213
13353
  metadata?: string | undefined;
13354
+ name?: string | undefined;
13214
13355
  } & {
13215
13356
  metadata?: string | undefined;
13357
+ name?: string | undefined;
13216
13358
  } & {
13217
- [K_1 in Exclude<keyof I_1, "metadata">]: never;
13359
+ [K_1 in Exclude<keyof I_1, keyof UpdateParticipantMetadata>]: never;
13218
13360
  }>(object: I_1): UpdateParticipantMetadata;
13219
13361
  };
13220
13362
  export declare const ICEServer: {
@@ -14913,6 +15055,10 @@ export declare const SimulateScenario: {
14913
15055
  switchCandidateProtocol?: CandidateProtocol | undefined;
14914
15056
  } & {
14915
15057
  $case: "switchCandidateProtocol";
15058
+ }) | ({
15059
+ subscriberBandwidth?: number | undefined;
15060
+ } & {
15061
+ $case: "subscriberBandwidth";
14916
15062
  }) | undefined;
14917
15063
  } & {
14918
15064
  scenario?: ({
@@ -14960,9 +15106,18 @@ export declare const SimulateScenario: {
14960
15106
  $case: "switchCandidateProtocol";
14961
15107
  } & {
14962
15108
  [K_4 in Exclude<keyof I["scenario"], "switchCandidateProtocol" | "$case">]: never;
15109
+ }) | ({
15110
+ subscriberBandwidth?: number | undefined;
15111
+ } & {
15112
+ $case: "subscriberBandwidth";
15113
+ } & {
15114
+ subscriberBandwidth?: number | undefined;
15115
+ $case: "subscriberBandwidth";
15116
+ } & {
15117
+ [K_5 in Exclude<keyof I["scenario"], "subscriberBandwidth" | "$case">]: never;
14963
15118
  }) | undefined;
14964
15119
  } & {
14965
- [K_5 in Exclude<keyof I, "scenario">]: never;
15120
+ [K_6 in Exclude<keyof I, "scenario">]: never;
14966
15121
  }>(base?: I | undefined): SimulateScenario;
14967
15122
  fromPartial<I_1 extends {
14968
15123
  scenario?: ({
@@ -14985,6 +15140,10 @@ export declare const SimulateScenario: {
14985
15140
  switchCandidateProtocol?: CandidateProtocol | undefined;
14986
15141
  } & {
14987
15142
  $case: "switchCandidateProtocol";
15143
+ }) | ({
15144
+ subscriberBandwidth?: number | undefined;
15145
+ } & {
15146
+ $case: "subscriberBandwidth";
14988
15147
  }) | undefined;
14989
15148
  } & {
14990
15149
  scenario?: ({
@@ -14995,7 +15154,7 @@ export declare const SimulateScenario: {
14995
15154
  speakerUpdate?: number | undefined;
14996
15155
  $case: "speakerUpdate";
14997
15156
  } & {
14998
- [K_6 in Exclude<keyof I_1["scenario"], "speakerUpdate" | "$case">]: never;
15157
+ [K_7 in Exclude<keyof I_1["scenario"], "speakerUpdate" | "$case">]: never;
14999
15158
  }) | ({
15000
15159
  nodeFailure?: boolean | undefined;
15001
15160
  } & {
@@ -15004,7 +15163,7 @@ export declare const SimulateScenario: {
15004
15163
  nodeFailure?: boolean | undefined;
15005
15164
  $case: "nodeFailure";
15006
15165
  } & {
15007
- [K_7 in Exclude<keyof I_1["scenario"], "nodeFailure" | "$case">]: never;
15166
+ [K_8 in Exclude<keyof I_1["scenario"], "nodeFailure" | "$case">]: never;
15008
15167
  }) | ({
15009
15168
  migration?: boolean | undefined;
15010
15169
  } & {
@@ -15013,7 +15172,7 @@ export declare const SimulateScenario: {
15013
15172
  migration?: boolean | undefined;
15014
15173
  $case: "migration";
15015
15174
  } & {
15016
- [K_8 in Exclude<keyof I_1["scenario"], "migration" | "$case">]: never;
15175
+ [K_9 in Exclude<keyof I_1["scenario"], "migration" | "$case">]: never;
15017
15176
  }) | ({
15018
15177
  serverLeave?: boolean | undefined;
15019
15178
  } & {
@@ -15022,7 +15181,7 @@ export declare const SimulateScenario: {
15022
15181
  serverLeave?: boolean | undefined;
15023
15182
  $case: "serverLeave";
15024
15183
  } & {
15025
- [K_9 in Exclude<keyof I_1["scenario"], "serverLeave" | "$case">]: never;
15184
+ [K_10 in Exclude<keyof I_1["scenario"], "serverLeave" | "$case">]: never;
15026
15185
  }) | ({
15027
15186
  switchCandidateProtocol?: CandidateProtocol | undefined;
15028
15187
  } & {
@@ -15031,10 +15190,19 @@ export declare const SimulateScenario: {
15031
15190
  switchCandidateProtocol?: CandidateProtocol | undefined;
15032
15191
  $case: "switchCandidateProtocol";
15033
15192
  } & {
15034
- [K_10 in Exclude<keyof I_1["scenario"], "switchCandidateProtocol" | "$case">]: never;
15193
+ [K_11 in Exclude<keyof I_1["scenario"], "switchCandidateProtocol" | "$case">]: never;
15194
+ }) | ({
15195
+ subscriberBandwidth?: number | undefined;
15196
+ } & {
15197
+ $case: "subscriberBandwidth";
15198
+ } & {
15199
+ subscriberBandwidth?: number | undefined;
15200
+ $case: "subscriberBandwidth";
15201
+ } & {
15202
+ [K_12 in Exclude<keyof I_1["scenario"], "subscriberBandwidth" | "$case">]: never;
15035
15203
  }) | undefined;
15036
15204
  } & {
15037
- [K_11 in Exclude<keyof I_1, "scenario">]: never;
15205
+ [K_13 in Exclude<keyof I_1, "scenario">]: never;
15038
15206
  }>(object: I_1): SimulateScenario;
15039
15207
  };
15040
15208
  export declare const Ping: {
@@ -15085,6 +15253,102 @@ export declare const Pong: {
15085
15253
  [K_1 in Exclude<keyof I_1, keyof Pong>]: never;
15086
15254
  }>(object: I_1): Pong;
15087
15255
  };
15256
+ export declare const RegionSettings: {
15257
+ encode(message: RegionSettings, writer?: _m0.Writer): _m0.Writer;
15258
+ decode(input: _m0.Reader | Uint8Array, length?: number): RegionSettings;
15259
+ fromJSON(object: any): RegionSettings;
15260
+ toJSON(message: RegionSettings): unknown;
15261
+ create<I extends {
15262
+ regions?: {
15263
+ region?: string | undefined;
15264
+ url?: string | undefined;
15265
+ distance?: number | undefined;
15266
+ }[] | undefined;
15267
+ } & {
15268
+ regions?: ({
15269
+ region?: string | undefined;
15270
+ url?: string | undefined;
15271
+ distance?: number | undefined;
15272
+ }[] & ({
15273
+ region?: string | undefined;
15274
+ url?: string | undefined;
15275
+ distance?: number | undefined;
15276
+ } & {
15277
+ region?: string | undefined;
15278
+ url?: string | undefined;
15279
+ distance?: number | undefined;
15280
+ } & {
15281
+ [K in Exclude<keyof I["regions"][number], keyof RegionInfo>]: never;
15282
+ })[] & {
15283
+ [K_1 in Exclude<keyof I["regions"], keyof {
15284
+ region?: string | undefined;
15285
+ url?: string | undefined;
15286
+ distance?: number | undefined;
15287
+ }[]>]: never;
15288
+ }) | undefined;
15289
+ } & {
15290
+ [K_2 in Exclude<keyof I, "regions">]: never;
15291
+ }>(base?: I | undefined): RegionSettings;
15292
+ fromPartial<I_1 extends {
15293
+ regions?: {
15294
+ region?: string | undefined;
15295
+ url?: string | undefined;
15296
+ distance?: number | undefined;
15297
+ }[] | undefined;
15298
+ } & {
15299
+ regions?: ({
15300
+ region?: string | undefined;
15301
+ url?: string | undefined;
15302
+ distance?: number | undefined;
15303
+ }[] & ({
15304
+ region?: string | undefined;
15305
+ url?: string | undefined;
15306
+ distance?: number | undefined;
15307
+ } & {
15308
+ region?: string | undefined;
15309
+ url?: string | undefined;
15310
+ distance?: number | undefined;
15311
+ } & {
15312
+ [K_3 in Exclude<keyof I_1["regions"][number], keyof RegionInfo>]: never;
15313
+ })[] & {
15314
+ [K_4 in Exclude<keyof I_1["regions"], keyof {
15315
+ region?: string | undefined;
15316
+ url?: string | undefined;
15317
+ distance?: number | undefined;
15318
+ }[]>]: never;
15319
+ }) | undefined;
15320
+ } & {
15321
+ [K_5 in Exclude<keyof I_1, "regions">]: never;
15322
+ }>(object: I_1): RegionSettings;
15323
+ };
15324
+ export declare const RegionInfo: {
15325
+ encode(message: RegionInfo, writer?: _m0.Writer): _m0.Writer;
15326
+ decode(input: _m0.Reader | Uint8Array, length?: number): RegionInfo;
15327
+ fromJSON(object: any): RegionInfo;
15328
+ toJSON(message: RegionInfo): unknown;
15329
+ create<I extends {
15330
+ region?: string | undefined;
15331
+ url?: string | undefined;
15332
+ distance?: number | undefined;
15333
+ } & {
15334
+ region?: string | undefined;
15335
+ url?: string | undefined;
15336
+ distance?: number | undefined;
15337
+ } & {
15338
+ [K in Exclude<keyof I, keyof RegionInfo>]: never;
15339
+ }>(base?: I | undefined): RegionInfo;
15340
+ fromPartial<I_1 extends {
15341
+ region?: string | undefined;
15342
+ url?: string | undefined;
15343
+ distance?: number | undefined;
15344
+ } & {
15345
+ region?: string | undefined;
15346
+ url?: string | undefined;
15347
+ distance?: number | undefined;
15348
+ } & {
15349
+ [K_1 in Exclude<keyof I_1, keyof RegionInfo>]: never;
15350
+ }>(object: I_1): RegionInfo;
15351
+ };
15088
15352
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
15089
15353
  export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
15090
15354
  $case: string;