livekit-client 1.7.1 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. package/README.md +20 -1
  2. package/dist/livekit-client.esm.mjs +2178 -1060
  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/proto/google/protobuf/timestamp.d.ts.map +1 -1
  9. package/dist/src/proto/livekit_models.d.ts +32 -0
  10. package/dist/src/proto/livekit_models.d.ts.map +1 -1
  11. package/dist/src/proto/livekit_rtc.d.ts +315 -75
  12. package/dist/src/proto/livekit_rtc.d.ts.map +1 -1
  13. package/dist/src/room/RTCEngine.d.ts +8 -1
  14. package/dist/src/room/RTCEngine.d.ts.map +1 -1
  15. package/dist/src/room/ReconnectPolicy.d.ts +1 -0
  16. package/dist/src/room/ReconnectPolicy.d.ts.map +1 -1
  17. package/dist/src/room/RegionUrlProvider.d.ts +14 -0
  18. package/dist/src/room/RegionUrlProvider.d.ts.map +1 -0
  19. package/dist/src/room/Room.d.ts +4 -0
  20. package/dist/src/room/Room.d.ts.map +1 -1
  21. package/dist/src/room/errors.d.ts +2 -1
  22. package/dist/src/room/errors.d.ts.map +1 -1
  23. package/dist/src/room/events.d.ts +8 -2
  24. package/dist/src/room/events.d.ts.map +1 -1
  25. package/dist/src/room/track/LocalAudioTrack.d.ts.map +1 -1
  26. package/dist/src/room/track/LocalTrack.d.ts +3 -2
  27. package/dist/src/room/track/LocalTrack.d.ts.map +1 -1
  28. package/dist/src/room/track/LocalVideoTrack.d.ts.map +1 -1
  29. package/dist/src/room/track/RemoteTrackPublication.d.ts +1 -1
  30. package/dist/src/room/track/RemoteTrackPublication.d.ts.map +1 -1
  31. package/dist/src/room/track/RemoteVideoTrack.d.ts +1 -1
  32. package/dist/src/room/track/RemoteVideoTrack.d.ts.map +1 -1
  33. package/dist/src/room/track/Track.d.ts +3 -1
  34. package/dist/src/room/track/Track.d.ts.map +1 -1
  35. package/dist/src/room/types.d.ts +4 -0
  36. package/dist/src/room/types.d.ts.map +1 -1
  37. package/dist/src/room/utils.d.ts +4 -0
  38. package/dist/src/room/utils.d.ts.map +1 -1
  39. package/dist/ts4.2/src/index.d.ts +3 -1
  40. package/dist/ts4.2/src/proto/livekit_models.d.ts +32 -0
  41. package/dist/ts4.2/src/proto/livekit_rtc.d.ts +348 -84
  42. package/dist/ts4.2/src/room/RTCEngine.d.ts +8 -1
  43. package/dist/ts4.2/src/room/ReconnectPolicy.d.ts +1 -0
  44. package/dist/ts4.2/src/room/RegionUrlProvider.d.ts +14 -0
  45. package/dist/ts4.2/src/room/Room.d.ts +4 -0
  46. package/dist/ts4.2/src/room/errors.d.ts +2 -1
  47. package/dist/ts4.2/src/room/events.d.ts +8 -2
  48. package/dist/ts4.2/src/room/track/LocalTrack.d.ts +3 -2
  49. package/dist/ts4.2/src/room/track/RemoteTrackPublication.d.ts +1 -1
  50. package/dist/ts4.2/src/room/track/RemoteVideoTrack.d.ts +1 -1
  51. package/dist/ts4.2/src/room/track/Track.d.ts +3 -1
  52. package/dist/ts4.2/src/room/types.d.ts +4 -0
  53. package/dist/ts4.2/src/room/utils.d.ts +4 -0
  54. package/package.json +19 -19
  55. package/src/api/SignalClient.ts +4 -4
  56. package/src/index.ts +3 -0
  57. package/src/proto/google/protobuf/timestamp.ts +15 -6
  58. package/src/proto/livekit_models.ts +903 -222
  59. package/src/proto/livekit_rtc.ts +1053 -279
  60. package/src/room/RTCEngine.ts +143 -40
  61. package/src/room/ReconnectPolicy.ts +2 -0
  62. package/src/room/RegionUrlProvider.ts +73 -0
  63. package/src/room/Room.ts +201 -132
  64. package/src/room/errors.ts +1 -0
  65. package/src/room/events.ts +7 -0
  66. package/src/room/track/LocalAudioTrack.ts +13 -6
  67. package/src/room/track/LocalTrack.ts +22 -8
  68. package/src/room/track/LocalVideoTrack.ts +12 -6
  69. package/src/room/track/RemoteTrackPublication.ts +4 -3
  70. package/src/room/track/RemoteVideoTrack.ts +5 -4
  71. package/src/room/track/Track.ts +46 -31
  72. package/src/room/types.ts +6 -0
  73. 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";
@@ -1389,6 +1406,10 @@ export declare const SignalRequest: {
1389
1406
  switchCandidateProtocol?: CandidateProtocol | undefined;
1390
1407
  } & {
1391
1408
  $case: "switchCandidateProtocol";
1409
+ }) | ({
1410
+ subscriberBandwidth?: number | undefined;
1411
+ } & {
1412
+ $case: "subscriberBandwidth";
1392
1413
  }) | undefined;
1393
1414
  } | undefined;
1394
1415
  } & {
@@ -1415,6 +1436,10 @@ export declare const SignalRequest: {
1415
1436
  switchCandidateProtocol?: CandidateProtocol | undefined;
1416
1437
  } & {
1417
1438
  $case: "switchCandidateProtocol";
1439
+ }) | ({
1440
+ subscriberBandwidth?: number | undefined;
1441
+ } & {
1442
+ $case: "subscriberBandwidth";
1418
1443
  }) | undefined;
1419
1444
  } & {
1420
1445
  scenario?: ({
@@ -1452,30 +1477,40 @@ export declare const SignalRequest: {
1452
1477
  } & {
1453
1478
  switchCandidateProtocol?: CandidateProtocol | undefined;
1454
1479
  $case: "switchCandidateProtocol";
1455
- } & { [K_58 in Exclude<keyof I["message"]["simulate"]["scenario"], "switchCandidateProtocol" | "$case">]: never; }) | undefined;
1456
- } & { [K_59 in Exclude<keyof I["message"]["simulate"], "scenario">]: never; }) | undefined;
1480
+ } & { [K_58 in Exclude<keyof I["message"]["simulate"]["scenario"], "switchCandidateProtocol" | "$case">]: never; }) | ({
1481
+ subscriberBandwidth?: number | undefined;
1482
+ } & {
1483
+ $case: "subscriberBandwidth";
1484
+ } & {
1485
+ subscriberBandwidth?: number | undefined;
1486
+ $case: "subscriberBandwidth";
1487
+ } & { [K_59 in Exclude<keyof I["message"]["simulate"]["scenario"], "subscriberBandwidth" | "$case">]: never; }) | undefined;
1488
+ } & { [K_60 in Exclude<keyof I["message"]["simulate"], "scenario">]: never; }) | undefined;
1457
1489
  $case: "simulate";
1458
- } & { [K_60 in Exclude<keyof I["message"], "simulate" | "$case">]: never; }) | ({
1490
+ } & { [K_61 in Exclude<keyof I["message"], "simulate" | "$case">]: never; }) | ({
1459
1491
  ping?: number | undefined;
1460
1492
  } & {
1461
1493
  $case: "ping";
1462
1494
  } & {
1463
1495
  ping?: number | undefined;
1464
1496
  $case: "ping";
1465
- } & { [K_61 in Exclude<keyof I["message"], "ping" | "$case">]: never; }) | ({
1497
+ } & { [K_62 in Exclude<keyof I["message"], "ping" | "$case">]: never; }) | ({
1466
1498
  updateMetadata?: {
1467
1499
  metadata?: string | undefined;
1500
+ name?: string | undefined;
1468
1501
  } | undefined;
1469
1502
  } & {
1470
1503
  $case: "updateMetadata";
1471
1504
  } & {
1472
1505
  updateMetadata?: ({
1473
1506
  metadata?: string | undefined;
1507
+ name?: string | undefined;
1474
1508
  } & {
1475
1509
  metadata?: string | undefined;
1476
- } & { [K_62 in Exclude<keyof I["message"]["updateMetadata"], "metadata">]: never; }) | undefined;
1510
+ name?: string | undefined;
1511
+ } & { [K_63 in Exclude<keyof I["message"]["updateMetadata"], keyof UpdateParticipantMetadata>]: never; }) | undefined;
1477
1512
  $case: "updateMetadata";
1478
- } & { [K_63 in Exclude<keyof I["message"], "updateMetadata" | "$case">]: never; }) | ({
1513
+ } & { [K_64 in Exclude<keyof I["message"], "updateMetadata" | "$case">]: never; }) | ({
1479
1514
  pingReq?: {
1480
1515
  timestamp?: number | undefined;
1481
1516
  rtt?: number | undefined;
@@ -1489,10 +1524,10 @@ export declare const SignalRequest: {
1489
1524
  } & {
1490
1525
  timestamp?: number | undefined;
1491
1526
  rtt?: number | undefined;
1492
- } & { [K_64 in Exclude<keyof I["message"]["pingReq"], keyof Ping>]: never; }) | undefined;
1527
+ } & { [K_65 in Exclude<keyof I["message"]["pingReq"], keyof Ping>]: never; }) | undefined;
1493
1528
  $case: "pingReq";
1494
- } & { [K_65 in Exclude<keyof I["message"], "pingReq" | "$case">]: never; }) | undefined;
1495
- } & { [K_66 in Exclude<keyof I, "message">]: never; }>(base?: I | undefined): SignalRequest;
1529
+ } & { [K_66 in Exclude<keyof I["message"], "pingReq" | "$case">]: never; }) | undefined;
1530
+ } & { [K_67 in Exclude<keyof I, "message">]: never; }>(base?: I | undefined): SignalRequest;
1496
1531
  fromPartial<I_1 extends {
1497
1532
  message?: ({
1498
1533
  offer?: {
@@ -1692,6 +1727,10 @@ export declare const SignalRequest: {
1692
1727
  switchCandidateProtocol?: CandidateProtocol | undefined;
1693
1728
  } & {
1694
1729
  $case: "switchCandidateProtocol";
1730
+ }) | ({
1731
+ subscriberBandwidth?: number | undefined;
1732
+ } & {
1733
+ $case: "subscriberBandwidth";
1695
1734
  }) | undefined;
1696
1735
  } | undefined;
1697
1736
  } & {
@@ -1703,6 +1742,7 @@ export declare const SignalRequest: {
1703
1742
  }) | ({
1704
1743
  updateMetadata?: {
1705
1744
  metadata?: string | undefined;
1745
+ name?: string | undefined;
1706
1746
  } | undefined;
1707
1747
  } & {
1708
1748
  $case: "updateMetadata";
@@ -1729,9 +1769,9 @@ export declare const SignalRequest: {
1729
1769
  } & {
1730
1770
  type?: string | undefined;
1731
1771
  sdp?: string | undefined;
1732
- } & { [K_67 in Exclude<keyof I_1["message"]["offer"], keyof SessionDescription>]: never; }) | undefined;
1772
+ } & { [K_68 in Exclude<keyof I_1["message"]["offer"], keyof SessionDescription>]: never; }) | undefined;
1733
1773
  $case: "offer";
1734
- } & { [K_68 in Exclude<keyof I_1["message"], "offer" | "$case">]: never; }) | ({
1774
+ } & { [K_69 in Exclude<keyof I_1["message"], "offer" | "$case">]: never; }) | ({
1735
1775
  answer?: {
1736
1776
  type?: string | undefined;
1737
1777
  sdp?: string | undefined;
@@ -1745,9 +1785,9 @@ export declare const SignalRequest: {
1745
1785
  } & {
1746
1786
  type?: string | undefined;
1747
1787
  sdp?: string | undefined;
1748
- } & { [K_69 in Exclude<keyof I_1["message"]["answer"], keyof SessionDescription>]: never; }) | undefined;
1788
+ } & { [K_70 in Exclude<keyof I_1["message"]["answer"], keyof SessionDescription>]: never; }) | undefined;
1749
1789
  $case: "answer";
1750
- } & { [K_70 in Exclude<keyof I_1["message"], "answer" | "$case">]: never; }) | ({
1790
+ } & { [K_71 in Exclude<keyof I_1["message"], "answer" | "$case">]: never; }) | ({
1751
1791
  trickle?: {
1752
1792
  candidateInit?: string | undefined;
1753
1793
  target?: SignalTarget | undefined;
@@ -1761,9 +1801,9 @@ export declare const SignalRequest: {
1761
1801
  } & {
1762
1802
  candidateInit?: string | undefined;
1763
1803
  target?: SignalTarget | undefined;
1764
- } & { [K_71 in Exclude<keyof I_1["message"]["trickle"], keyof TrickleRequest>]: never; }) | undefined;
1804
+ } & { [K_72 in Exclude<keyof I_1["message"]["trickle"], keyof TrickleRequest>]: never; }) | undefined;
1765
1805
  $case: "trickle";
1766
- } & { [K_72 in Exclude<keyof I_1["message"], "trickle" | "$case">]: never; }) | ({
1806
+ } & { [K_73 in Exclude<keyof I_1["message"], "trickle" | "$case">]: never; }) | ({
1767
1807
  addTrack?: {
1768
1808
  cid?: string | undefined;
1769
1809
  name?: string | undefined;
@@ -1845,7 +1885,7 @@ export declare const SignalRequest: {
1845
1885
  height?: number | undefined;
1846
1886
  bitrate?: number | undefined;
1847
1887
  ssrc?: number | undefined;
1848
- } & { [K_73 in Exclude<keyof I_1["message"]["addTrack"]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_74 in Exclude<keyof I_1["message"]["addTrack"]["layers"], keyof {
1888
+ } & { [K_74 in Exclude<keyof I_1["message"]["addTrack"]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_75 in Exclude<keyof I_1["message"]["addTrack"]["layers"], keyof {
1849
1889
  quality?: VideoQuality | undefined;
1850
1890
  width?: number | undefined;
1851
1891
  height?: number | undefined;
@@ -1864,7 +1904,7 @@ export declare const SignalRequest: {
1864
1904
  codec?: string | undefined;
1865
1905
  cid?: string | undefined;
1866
1906
  enableSimulcastLayers?: boolean | undefined;
1867
- } & { [K_75 in Exclude<keyof I_1["message"]["addTrack"]["simulcastCodecs"][number], keyof SimulcastCodec>]: never; })[] & { [K_76 in Exclude<keyof I_1["message"]["addTrack"]["simulcastCodecs"], keyof {
1907
+ } & { [K_76 in Exclude<keyof I_1["message"]["addTrack"]["simulcastCodecs"][number], keyof SimulcastCodec>]: never; })[] & { [K_77 in Exclude<keyof I_1["message"]["addTrack"]["simulcastCodecs"], keyof {
1868
1908
  codec?: string | undefined;
1869
1909
  cid?: string | undefined;
1870
1910
  enableSimulcastLayers?: boolean | undefined;
@@ -1873,9 +1913,9 @@ export declare const SignalRequest: {
1873
1913
  stereo?: boolean | undefined;
1874
1914
  disableRed?: boolean | undefined;
1875
1915
  encryption?: Encryption_Type | undefined;
1876
- } & { [K_77 in Exclude<keyof I_1["message"]["addTrack"], keyof AddTrackRequest>]: never; }) | undefined;
1916
+ } & { [K_78 in Exclude<keyof I_1["message"]["addTrack"], keyof AddTrackRequest>]: never; }) | undefined;
1877
1917
  $case: "addTrack";
1878
- } & { [K_78 in Exclude<keyof I_1["message"], "addTrack" | "$case">]: never; }) | ({
1918
+ } & { [K_79 in Exclude<keyof I_1["message"], "addTrack" | "$case">]: never; }) | ({
1879
1919
  mute?: {
1880
1920
  sid?: string | undefined;
1881
1921
  muted?: boolean | undefined;
@@ -1889,9 +1929,9 @@ export declare const SignalRequest: {
1889
1929
  } & {
1890
1930
  sid?: string | undefined;
1891
1931
  muted?: boolean | undefined;
1892
- } & { [K_79 in Exclude<keyof I_1["message"]["mute"], keyof MuteTrackRequest>]: never; }) | undefined;
1932
+ } & { [K_80 in Exclude<keyof I_1["message"]["mute"], keyof MuteTrackRequest>]: never; }) | undefined;
1893
1933
  $case: "mute";
1894
- } & { [K_80 in Exclude<keyof I_1["message"], "mute" | "$case">]: never; }) | ({
1934
+ } & { [K_81 in Exclude<keyof I_1["message"], "mute" | "$case">]: never; }) | ({
1895
1935
  subscription?: {
1896
1936
  trackSids?: string[] | undefined;
1897
1937
  subscribe?: boolean | undefined;
@@ -1911,7 +1951,7 @@ export declare const SignalRequest: {
1911
1951
  trackSids?: string[] | undefined;
1912
1952
  }[] | undefined;
1913
1953
  } & {
1914
- trackSids?: (string[] & string[] & { [K_81 in Exclude<keyof I_1["message"]["subscription"]["trackSids"], keyof string[]>]: never; }) | undefined;
1954
+ trackSids?: (string[] & string[] & { [K_82 in Exclude<keyof I_1["message"]["subscription"]["trackSids"], keyof string[]>]: never; }) | undefined;
1915
1955
  subscribe?: boolean | undefined;
1916
1956
  participantTracks?: ({
1917
1957
  participantSid?: string | undefined;
@@ -1921,14 +1961,14 @@ export declare const SignalRequest: {
1921
1961
  trackSids?: string[] | undefined;
1922
1962
  } & {
1923
1963
  participantSid?: string | undefined;
1924
- trackSids?: (string[] & string[] & { [K_82 in Exclude<keyof I_1["message"]["subscription"]["participantTracks"][number]["trackSids"], keyof string[]>]: never; }) | undefined;
1925
- } & { [K_83 in Exclude<keyof I_1["message"]["subscription"]["participantTracks"][number], keyof ParticipantTracks>]: never; })[] & { [K_84 in Exclude<keyof I_1["message"]["subscription"]["participantTracks"], keyof {
1964
+ trackSids?: (string[] & string[] & { [K_83 in Exclude<keyof I_1["message"]["subscription"]["participantTracks"][number]["trackSids"], keyof string[]>]: never; }) | undefined;
1965
+ } & { [K_84 in Exclude<keyof I_1["message"]["subscription"]["participantTracks"][number], keyof ParticipantTracks>]: never; })[] & { [K_85 in Exclude<keyof I_1["message"]["subscription"]["participantTracks"], keyof {
1926
1966
  participantSid?: string | undefined;
1927
1967
  trackSids?: string[] | undefined;
1928
1968
  }[]>]: never; }) | undefined;
1929
- } & { [K_85 in Exclude<keyof I_1["message"]["subscription"], keyof UpdateSubscription>]: never; }) | undefined;
1969
+ } & { [K_86 in Exclude<keyof I_1["message"]["subscription"], keyof UpdateSubscription>]: never; }) | undefined;
1930
1970
  $case: "subscription";
1931
- } & { [K_86 in Exclude<keyof I_1["message"], "subscription" | "$case">]: never; }) | ({
1971
+ } & { [K_87 in Exclude<keyof I_1["message"], "subscription" | "$case">]: never; }) | ({
1932
1972
  trackSetting?: {
1933
1973
  trackSids?: string[] | undefined;
1934
1974
  disabled?: boolean | undefined;
@@ -1950,16 +1990,16 @@ export declare const SignalRequest: {
1950
1990
  fps?: number | undefined;
1951
1991
  priority?: number | undefined;
1952
1992
  } & {
1953
- trackSids?: (string[] & string[] & { [K_87 in Exclude<keyof I_1["message"]["trackSetting"]["trackSids"], keyof string[]>]: never; }) | undefined;
1993
+ trackSids?: (string[] & string[] & { [K_88 in Exclude<keyof I_1["message"]["trackSetting"]["trackSids"], keyof string[]>]: never; }) | undefined;
1954
1994
  disabled?: boolean | undefined;
1955
1995
  quality?: VideoQuality | undefined;
1956
1996
  width?: number | undefined;
1957
1997
  height?: number | undefined;
1958
1998
  fps?: number | undefined;
1959
1999
  priority?: number | undefined;
1960
- } & { [K_88 in Exclude<keyof I_1["message"]["trackSetting"], keyof UpdateTrackSettings>]: never; }) | undefined;
2000
+ } & { [K_89 in Exclude<keyof I_1["message"]["trackSetting"], keyof UpdateTrackSettings>]: never; }) | undefined;
1961
2001
  $case: "trackSetting";
1962
- } & { [K_89 in Exclude<keyof I_1["message"], "trackSetting" | "$case">]: never; }) | ({
2002
+ } & { [K_90 in Exclude<keyof I_1["message"], "trackSetting" | "$case">]: never; }) | ({
1963
2003
  leave?: {
1964
2004
  canReconnect?: boolean | undefined;
1965
2005
  reason?: DisconnectReason | undefined;
@@ -1973,9 +2013,9 @@ export declare const SignalRequest: {
1973
2013
  } & {
1974
2014
  canReconnect?: boolean | undefined;
1975
2015
  reason?: DisconnectReason | undefined;
1976
- } & { [K_90 in Exclude<keyof I_1["message"]["leave"], keyof LeaveRequest>]: never; }) | undefined;
2016
+ } & { [K_91 in Exclude<keyof I_1["message"]["leave"], keyof LeaveRequest>]: never; }) | undefined;
1977
2017
  $case: "leave";
1978
- } & { [K_91 in Exclude<keyof I_1["message"], "leave" | "$case">]: never; }) | ({
2018
+ } & { [K_92 in Exclude<keyof I_1["message"], "leave" | "$case">]: never; }) | ({
1979
2019
  updateLayers?: {
1980
2020
  trackSid?: string | undefined;
1981
2021
  layers?: {
@@ -2018,16 +2058,16 @@ export declare const SignalRequest: {
2018
2058
  height?: number | undefined;
2019
2059
  bitrate?: number | undefined;
2020
2060
  ssrc?: number | undefined;
2021
- } & { [K_92 in Exclude<keyof I_1["message"]["updateLayers"]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_93 in Exclude<keyof I_1["message"]["updateLayers"]["layers"], keyof {
2061
+ } & { [K_93 in Exclude<keyof I_1["message"]["updateLayers"]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_94 in Exclude<keyof I_1["message"]["updateLayers"]["layers"], keyof {
2022
2062
  quality?: VideoQuality | undefined;
2023
2063
  width?: number | undefined;
2024
2064
  height?: number | undefined;
2025
2065
  bitrate?: number | undefined;
2026
2066
  ssrc?: number | undefined;
2027
2067
  }[]>]: never; }) | undefined;
2028
- } & { [K_94 in Exclude<keyof I_1["message"]["updateLayers"], keyof UpdateVideoLayers>]: never; }) | undefined;
2068
+ } & { [K_95 in Exclude<keyof I_1["message"]["updateLayers"], keyof UpdateVideoLayers>]: never; }) | undefined;
2029
2069
  $case: "updateLayers";
2030
- } & { [K_95 in Exclude<keyof I_1["message"], "updateLayers" | "$case">]: never; }) | ({
2070
+ } & { [K_96 in Exclude<keyof I_1["message"], "updateLayers" | "$case">]: never; }) | ({
2031
2071
  subscriptionPermission?: {
2032
2072
  allParticipants?: boolean | undefined;
2033
2073
  trackPermissions?: {
@@ -2063,17 +2103,17 @@ export declare const SignalRequest: {
2063
2103
  } & {
2064
2104
  participantSid?: string | undefined;
2065
2105
  allTracks?: boolean | undefined;
2066
- trackSids?: (string[] & string[] & { [K_96 in Exclude<keyof I_1["message"]["subscriptionPermission"]["trackPermissions"][number]["trackSids"], keyof string[]>]: never; }) | undefined;
2106
+ trackSids?: (string[] & string[] & { [K_97 in Exclude<keyof I_1["message"]["subscriptionPermission"]["trackPermissions"][number]["trackSids"], keyof string[]>]: never; }) | undefined;
2067
2107
  participantIdentity?: string | undefined;
2068
- } & { [K_97 in Exclude<keyof I_1["message"]["subscriptionPermission"]["trackPermissions"][number], keyof TrackPermission>]: never; })[] & { [K_98 in Exclude<keyof I_1["message"]["subscriptionPermission"]["trackPermissions"], keyof {
2108
+ } & { [K_98 in Exclude<keyof I_1["message"]["subscriptionPermission"]["trackPermissions"][number], keyof TrackPermission>]: never; })[] & { [K_99 in Exclude<keyof I_1["message"]["subscriptionPermission"]["trackPermissions"], keyof {
2069
2109
  participantSid?: string | undefined;
2070
2110
  allTracks?: boolean | undefined;
2071
2111
  trackSids?: string[] | undefined;
2072
2112
  participantIdentity?: string | undefined;
2073
2113
  }[]>]: never; }) | undefined;
2074
- } & { [K_99 in Exclude<keyof I_1["message"]["subscriptionPermission"], keyof SubscriptionPermission>]: never; }) | undefined;
2114
+ } & { [K_100 in Exclude<keyof I_1["message"]["subscriptionPermission"], keyof SubscriptionPermission>]: never; }) | undefined;
2075
2115
  $case: "subscriptionPermission";
2076
- } & { [K_100 in Exclude<keyof I_1["message"], "subscriptionPermission" | "$case">]: never; }) | ({
2116
+ } & { [K_101 in Exclude<keyof I_1["message"], "subscriptionPermission" | "$case">]: never; }) | ({
2077
2117
  syncState?: {
2078
2118
  answer?: {
2079
2119
  type?: string | undefined;
@@ -2205,7 +2245,7 @@ export declare const SignalRequest: {
2205
2245
  } & {
2206
2246
  type?: string | undefined;
2207
2247
  sdp?: string | undefined;
2208
- } & { [K_101 in Exclude<keyof I_1["message"]["syncState"]["answer"], keyof SessionDescription>]: never; }) | undefined;
2248
+ } & { [K_102 in Exclude<keyof I_1["message"]["syncState"]["answer"], keyof SessionDescription>]: never; }) | undefined;
2209
2249
  subscription?: ({
2210
2250
  trackSids?: string[] | undefined;
2211
2251
  subscribe?: boolean | undefined;
@@ -2214,7 +2254,7 @@ export declare const SignalRequest: {
2214
2254
  trackSids?: string[] | undefined;
2215
2255
  }[] | undefined;
2216
2256
  } & {
2217
- trackSids?: (string[] & string[] & { [K_102 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["trackSids"], keyof string[]>]: never; }) | undefined;
2257
+ trackSids?: (string[] & string[] & { [K_103 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["trackSids"], keyof string[]>]: never; }) | undefined;
2218
2258
  subscribe?: boolean | undefined;
2219
2259
  participantTracks?: ({
2220
2260
  participantSid?: string | undefined;
@@ -2224,12 +2264,12 @@ export declare const SignalRequest: {
2224
2264
  trackSids?: string[] | undefined;
2225
2265
  } & {
2226
2266
  participantSid?: string | undefined;
2227
- trackSids?: (string[] & string[] & { [K_103 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["participantTracks"][number]["trackSids"], keyof string[]>]: never; }) | undefined;
2228
- } & { [K_104 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["participantTracks"][number], keyof ParticipantTracks>]: never; })[] & { [K_105 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["participantTracks"], keyof {
2267
+ trackSids?: (string[] & string[] & { [K_104 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["participantTracks"][number]["trackSids"], keyof string[]>]: never; }) | undefined;
2268
+ } & { [K_105 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["participantTracks"][number], keyof ParticipantTracks>]: never; })[] & { [K_106 in Exclude<keyof I_1["message"]["syncState"]["subscription"]["participantTracks"], keyof {
2229
2269
  participantSid?: string | undefined;
2230
2270
  trackSids?: string[] | undefined;
2231
2271
  }[]>]: never; }) | undefined;
2232
- } & { [K_106 in Exclude<keyof I_1["message"]["syncState"]["subscription"], keyof UpdateSubscription>]: never; }) | undefined;
2272
+ } & { [K_107 in Exclude<keyof I_1["message"]["syncState"]["subscription"], keyof UpdateSubscription>]: never; }) | undefined;
2233
2273
  publishTracks?: ({
2234
2274
  cid?: string | undefined;
2235
2275
  track?: {
@@ -2368,7 +2408,7 @@ export declare const SignalRequest: {
2368
2408
  height?: number | undefined;
2369
2409
  bitrate?: number | undefined;
2370
2410
  ssrc?: number | undefined;
2371
- } & { [K_107 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_108 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["layers"], keyof {
2411
+ } & { [K_108 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_109 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["layers"], keyof {
2372
2412
  quality?: VideoQuality | undefined;
2373
2413
  width?: number | undefined;
2374
2414
  height?: number | undefined;
@@ -2421,14 +2461,14 @@ export declare const SignalRequest: {
2421
2461
  height?: number | undefined;
2422
2462
  bitrate?: number | undefined;
2423
2463
  ssrc?: number | undefined;
2424
- } & { [K_109 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_110 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"][number]["layers"], keyof {
2464
+ } & { [K_110 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"][number]["layers"][number], keyof VideoLayer>]: never; })[] & { [K_111 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"][number]["layers"], keyof {
2425
2465
  quality?: VideoQuality | undefined;
2426
2466
  width?: number | undefined;
2427
2467
  height?: number | undefined;
2428
2468
  bitrate?: number | undefined;
2429
2469
  ssrc?: number | undefined;
2430
2470
  }[]>]: never; }) | undefined;
2431
- } & { [K_111 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_112 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"], keyof {
2471
+ } & { [K_112 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"][number], keyof import("./livekit_models").SimulcastCodecInfo>]: never; })[] & { [K_113 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"]["codecs"], keyof {
2432
2472
  mimeType?: string | undefined;
2433
2473
  mid?: string | undefined;
2434
2474
  cid?: string | undefined;
@@ -2443,8 +2483,8 @@ export declare const SignalRequest: {
2443
2483
  stereo?: boolean | undefined;
2444
2484
  disableRed?: boolean | undefined;
2445
2485
  encryption?: Encryption_Type | undefined;
2446
- } & { [K_113 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"], keyof TrackInfo>]: never; }) | undefined;
2447
- } & { [K_114 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number], keyof TrackPublishedResponse>]: never; })[] & { [K_115 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"], keyof {
2486
+ } & { [K_114 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number]["track"], keyof TrackInfo>]: never; }) | undefined;
2487
+ } & { [K_115 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"][number], keyof TrackPublishedResponse>]: never; })[] & { [K_116 in Exclude<keyof I_1["message"]["syncState"]["publishTracks"], keyof {
2448
2488
  cid?: string | undefined;
2449
2489
  track?: {
2450
2490
  sid?: string | undefined;
@@ -2494,7 +2534,7 @@ export declare const SignalRequest: {
2494
2534
  label?: string | undefined;
2495
2535
  id?: number | undefined;
2496
2536
  target?: SignalTarget | undefined;
2497
- } & { [K_116 in Exclude<keyof I_1["message"]["syncState"]["dataChannels"][number], keyof DataChannelInfo>]: never; })[] & { [K_117 in Exclude<keyof I_1["message"]["syncState"]["dataChannels"], keyof {
2537
+ } & { [K_117 in Exclude<keyof I_1["message"]["syncState"]["dataChannels"][number], keyof DataChannelInfo>]: never; })[] & { [K_118 in Exclude<keyof I_1["message"]["syncState"]["dataChannels"], keyof {
2498
2538
  label?: string | undefined;
2499
2539
  id?: number | undefined;
2500
2540
  target?: SignalTarget | undefined;
@@ -2505,10 +2545,10 @@ export declare const SignalRequest: {
2505
2545
  } & {
2506
2546
  type?: string | undefined;
2507
2547
  sdp?: string | undefined;
2508
- } & { [K_118 in Exclude<keyof I_1["message"]["syncState"]["offer"], keyof SessionDescription>]: never; }) | undefined;
2509
- } & { [K_119 in Exclude<keyof I_1["message"]["syncState"], keyof SyncState>]: never; }) | undefined;
2548
+ } & { [K_119 in Exclude<keyof I_1["message"]["syncState"]["offer"], keyof SessionDescription>]: never; }) | undefined;
2549
+ } & { [K_120 in Exclude<keyof I_1["message"]["syncState"], keyof SyncState>]: never; }) | undefined;
2510
2550
  $case: "syncState";
2511
- } & { [K_120 in Exclude<keyof I_1["message"], "syncState" | "$case">]: never; }) | ({
2551
+ } & { [K_121 in Exclude<keyof I_1["message"], "syncState" | "$case">]: never; }) | ({
2512
2552
  simulate?: {
2513
2553
  scenario?: ({
2514
2554
  speakerUpdate?: number | undefined;
@@ -2530,6 +2570,10 @@ export declare const SignalRequest: {
2530
2570
  switchCandidateProtocol?: CandidateProtocol | undefined;
2531
2571
  } & {
2532
2572
  $case: "switchCandidateProtocol";
2573
+ }) | ({
2574
+ subscriberBandwidth?: number | undefined;
2575
+ } & {
2576
+ $case: "subscriberBandwidth";
2533
2577
  }) | undefined;
2534
2578
  } | undefined;
2535
2579
  } & {
@@ -2556,6 +2600,10 @@ export declare const SignalRequest: {
2556
2600
  switchCandidateProtocol?: CandidateProtocol | undefined;
2557
2601
  } & {
2558
2602
  $case: "switchCandidateProtocol";
2603
+ }) | ({
2604
+ subscriberBandwidth?: number | undefined;
2605
+ } & {
2606
+ $case: "subscriberBandwidth";
2559
2607
  }) | undefined;
2560
2608
  } & {
2561
2609
  scenario?: ({
@@ -2565,58 +2613,68 @@ export declare const SignalRequest: {
2565
2613
  } & {
2566
2614
  speakerUpdate?: number | undefined;
2567
2615
  $case: "speakerUpdate";
2568
- } & { [K_121 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "speakerUpdate" | "$case">]: never; }) | ({
2616
+ } & { [K_122 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "speakerUpdate" | "$case">]: never; }) | ({
2569
2617
  nodeFailure?: boolean | undefined;
2570
2618
  } & {
2571
2619
  $case: "nodeFailure";
2572
2620
  } & {
2573
2621
  nodeFailure?: boolean | undefined;
2574
2622
  $case: "nodeFailure";
2575
- } & { [K_122 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "nodeFailure" | "$case">]: never; }) | ({
2623
+ } & { [K_123 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "nodeFailure" | "$case">]: never; }) | ({
2576
2624
  migration?: boolean | undefined;
2577
2625
  } & {
2578
2626
  $case: "migration";
2579
2627
  } & {
2580
2628
  migration?: boolean | undefined;
2581
2629
  $case: "migration";
2582
- } & { [K_123 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "migration" | "$case">]: never; }) | ({
2630
+ } & { [K_124 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "migration" | "$case">]: never; }) | ({
2583
2631
  serverLeave?: boolean | undefined;
2584
2632
  } & {
2585
2633
  $case: "serverLeave";
2586
2634
  } & {
2587
2635
  serverLeave?: boolean | undefined;
2588
2636
  $case: "serverLeave";
2589
- } & { [K_124 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "serverLeave" | "$case">]: never; }) | ({
2637
+ } & { [K_125 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "serverLeave" | "$case">]: never; }) | ({
2590
2638
  switchCandidateProtocol?: CandidateProtocol | undefined;
2591
2639
  } & {
2592
2640
  $case: "switchCandidateProtocol";
2593
2641
  } & {
2594
2642
  switchCandidateProtocol?: CandidateProtocol | undefined;
2595
2643
  $case: "switchCandidateProtocol";
2596
- } & { [K_125 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "switchCandidateProtocol" | "$case">]: never; }) | undefined;
2597
- } & { [K_126 in Exclude<keyof I_1["message"]["simulate"], "scenario">]: never; }) | undefined;
2644
+ } & { [K_126 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "switchCandidateProtocol" | "$case">]: never; }) | ({
2645
+ subscriberBandwidth?: number | undefined;
2646
+ } & {
2647
+ $case: "subscriberBandwidth";
2648
+ } & {
2649
+ subscriberBandwidth?: number | undefined;
2650
+ $case: "subscriberBandwidth";
2651
+ } & { [K_127 in Exclude<keyof I_1["message"]["simulate"]["scenario"], "subscriberBandwidth" | "$case">]: never; }) | undefined;
2652
+ } & { [K_128 in Exclude<keyof I_1["message"]["simulate"], "scenario">]: never; }) | undefined;
2598
2653
  $case: "simulate";
2599
- } & { [K_127 in Exclude<keyof I_1["message"], "simulate" | "$case">]: never; }) | ({
2654
+ } & { [K_129 in Exclude<keyof I_1["message"], "simulate" | "$case">]: never; }) | ({
2600
2655
  ping?: number | undefined;
2601
2656
  } & {
2602
2657
  $case: "ping";
2603
2658
  } & {
2604
2659
  ping?: number | undefined;
2605
2660
  $case: "ping";
2606
- } & { [K_128 in Exclude<keyof I_1["message"], "ping" | "$case">]: never; }) | ({
2661
+ } & { [K_130 in Exclude<keyof I_1["message"], "ping" | "$case">]: never; }) | ({
2607
2662
  updateMetadata?: {
2608
2663
  metadata?: string | undefined;
2664
+ name?: string | undefined;
2609
2665
  } | undefined;
2610
2666
  } & {
2611
2667
  $case: "updateMetadata";
2612
2668
  } & {
2613
2669
  updateMetadata?: ({
2614
2670
  metadata?: string | undefined;
2671
+ name?: string | undefined;
2615
2672
  } & {
2616
2673
  metadata?: string | undefined;
2617
- } & { [K_129 in Exclude<keyof I_1["message"]["updateMetadata"], "metadata">]: never; }) | undefined;
2674
+ name?: string | undefined;
2675
+ } & { [K_131 in Exclude<keyof I_1["message"]["updateMetadata"], keyof UpdateParticipantMetadata>]: never; }) | undefined;
2618
2676
  $case: "updateMetadata";
2619
- } & { [K_130 in Exclude<keyof I_1["message"], "updateMetadata" | "$case">]: never; }) | ({
2677
+ } & { [K_132 in Exclude<keyof I_1["message"], "updateMetadata" | "$case">]: never; }) | ({
2620
2678
  pingReq?: {
2621
2679
  timestamp?: number | undefined;
2622
2680
  rtt?: number | undefined;
@@ -2630,10 +2688,10 @@ export declare const SignalRequest: {
2630
2688
  } & {
2631
2689
  timestamp?: number | undefined;
2632
2690
  rtt?: number | undefined;
2633
- } & { [K_131 in Exclude<keyof I_1["message"]["pingReq"], keyof Ping>]: never; }) | undefined;
2691
+ } & { [K_133 in Exclude<keyof I_1["message"]["pingReq"], keyof Ping>]: never; }) | undefined;
2634
2692
  $case: "pingReq";
2635
- } & { [K_132 in Exclude<keyof I_1["message"], "pingReq" | "$case">]: never; }) | undefined;
2636
- } & { [K_133 in Exclude<keyof I_1, "message">]: never; }>(object: I_1): SignalRequest;
2693
+ } & { [K_134 in Exclude<keyof I_1["message"], "pingReq" | "$case">]: never; }) | undefined;
2694
+ } & { [K_135 in Exclude<keyof I_1, "message">]: never; }>(object: I_1): SignalRequest;
2637
2695
  };
2638
2696
  export declare const SignalResponse: {
2639
2697
  encode(message: SignalResponse, writer?: _m0.Writer): _m0.Writer;
@@ -2708,6 +2766,7 @@ export declare const SignalResponse: {
2708
2766
  canPublishSources?: TrackSource[] | undefined;
2709
2767
  hidden?: boolean | undefined;
2710
2768
  recorder?: boolean | undefined;
2769
+ canUpdateMetadata?: boolean | undefined;
2711
2770
  } | undefined;
2712
2771
  region?: string | undefined;
2713
2772
  isPublisher?: boolean | undefined;
@@ -2762,6 +2821,7 @@ export declare const SignalResponse: {
2762
2821
  canPublishSources?: TrackSource[] | undefined;
2763
2822
  hidden?: boolean | undefined;
2764
2823
  recorder?: boolean | undefined;
2824
+ canUpdateMetadata?: boolean | undefined;
2765
2825
  } | undefined;
2766
2826
  region?: string | undefined;
2767
2827
  isPublisher?: boolean | undefined;
@@ -2877,6 +2937,7 @@ export declare const SignalResponse: {
2877
2937
  canPublishSources?: TrackSource[] | undefined;
2878
2938
  hidden?: boolean | undefined;
2879
2939
  recorder?: boolean | undefined;
2940
+ canUpdateMetadata?: boolean | undefined;
2880
2941
  } | undefined;
2881
2942
  region?: string | undefined;
2882
2943
  isPublisher?: boolean | undefined;
@@ -3130,6 +3191,7 @@ export declare const SignalResponse: {
3130
3191
  canPublishSources?: TrackSource[] | undefined;
3131
3192
  hidden?: boolean | undefined;
3132
3193
  recorder?: boolean | undefined;
3194
+ canUpdateMetadata?: boolean | undefined;
3133
3195
  } | undefined;
3134
3196
  region?: string | undefined;
3135
3197
  isPublisher?: boolean | undefined;
@@ -3184,6 +3246,7 @@ export declare const SignalResponse: {
3184
3246
  canPublishSources?: TrackSource[] | undefined;
3185
3247
  hidden?: boolean | undefined;
3186
3248
  recorder?: boolean | undefined;
3249
+ canUpdateMetadata?: boolean | undefined;
3187
3250
  } | undefined;
3188
3251
  region?: string | undefined;
3189
3252
  isPublisher?: boolean | undefined;
@@ -3293,6 +3356,7 @@ export declare const SignalResponse: {
3293
3356
  canPublishSources?: TrackSource[] | undefined;
3294
3357
  hidden?: boolean | undefined;
3295
3358
  recorder?: boolean | undefined;
3359
+ canUpdateMetadata?: boolean | undefined;
3296
3360
  } | undefined;
3297
3361
  region?: string | undefined;
3298
3362
  isPublisher?: boolean | undefined;
@@ -3347,6 +3411,7 @@ export declare const SignalResponse: {
3347
3411
  canPublishSources?: TrackSource[] | undefined;
3348
3412
  hidden?: boolean | undefined;
3349
3413
  recorder?: boolean | undefined;
3414
+ canUpdateMetadata?: boolean | undefined;
3350
3415
  } | undefined;
3351
3416
  region?: string | undefined;
3352
3417
  isPublisher?: boolean | undefined;
@@ -3475,6 +3540,7 @@ export declare const SignalResponse: {
3475
3540
  canPublishSources?: TrackSource[] | undefined;
3476
3541
  hidden?: boolean | undefined;
3477
3542
  recorder?: boolean | undefined;
3543
+ canUpdateMetadata?: boolean | undefined;
3478
3544
  } | undefined;
3479
3545
  region?: string | undefined;
3480
3546
  isPublisher?: boolean | undefined;
@@ -3699,6 +3765,7 @@ export declare const SignalResponse: {
3699
3765
  canPublishSources?: TrackSource[] | undefined;
3700
3766
  hidden?: boolean | undefined;
3701
3767
  recorder?: boolean | undefined;
3768
+ canUpdateMetadata?: boolean | undefined;
3702
3769
  } & {
3703
3770
  canSubscribe?: boolean | undefined;
3704
3771
  canPublish?: boolean | undefined;
@@ -3706,6 +3773,7 @@ export declare const SignalResponse: {
3706
3773
  canPublishSources?: (TrackSource[] & TrackSource[] & { [K_11 in Exclude<keyof I["message"]["join"]["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
3707
3774
  hidden?: boolean | undefined;
3708
3775
  recorder?: boolean | undefined;
3776
+ canUpdateMetadata?: boolean | undefined;
3709
3777
  } & { [K_12 in Exclude<keyof I["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
3710
3778
  region?: string | undefined;
3711
3779
  isPublisher?: boolean | undefined;
@@ -3760,6 +3828,7 @@ export declare const SignalResponse: {
3760
3828
  canPublishSources?: TrackSource[] | undefined;
3761
3829
  hidden?: boolean | undefined;
3762
3830
  recorder?: boolean | undefined;
3831
+ canUpdateMetadata?: boolean | undefined;
3763
3832
  } | undefined;
3764
3833
  region?: string | undefined;
3765
3834
  isPublisher?: boolean | undefined;
@@ -3813,6 +3882,7 @@ export declare const SignalResponse: {
3813
3882
  canPublishSources?: TrackSource[] | undefined;
3814
3883
  hidden?: boolean | undefined;
3815
3884
  recorder?: boolean | undefined;
3885
+ canUpdateMetadata?: boolean | undefined;
3816
3886
  } | undefined;
3817
3887
  region?: string | undefined;
3818
3888
  isPublisher?: boolean | undefined;
@@ -4037,6 +4107,7 @@ export declare const SignalResponse: {
4037
4107
  canPublishSources?: TrackSource[] | undefined;
4038
4108
  hidden?: boolean | undefined;
4039
4109
  recorder?: boolean | undefined;
4110
+ canUpdateMetadata?: boolean | undefined;
4040
4111
  } & {
4041
4112
  canSubscribe?: boolean | undefined;
4042
4113
  canPublish?: boolean | undefined;
@@ -4044,6 +4115,7 @@ export declare const SignalResponse: {
4044
4115
  canPublishSources?: (TrackSource[] & TrackSource[] & { [K_22 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
4045
4116
  hidden?: boolean | undefined;
4046
4117
  recorder?: boolean | undefined;
4118
+ canUpdateMetadata?: boolean | undefined;
4047
4119
  } & { [K_23 in Exclude<keyof I["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
4048
4120
  region?: string | undefined;
4049
4121
  isPublisher?: boolean | undefined;
@@ -4097,6 +4169,7 @@ export declare const SignalResponse: {
4097
4169
  canPublishSources?: TrackSource[] | undefined;
4098
4170
  hidden?: boolean | undefined;
4099
4171
  recorder?: boolean | undefined;
4172
+ canUpdateMetadata?: boolean | undefined;
4100
4173
  } | undefined;
4101
4174
  region?: string | undefined;
4102
4175
  isPublisher?: boolean | undefined;
@@ -4290,6 +4363,7 @@ export declare const SignalResponse: {
4290
4363
  canPublishSources?: TrackSource[] | undefined;
4291
4364
  hidden?: boolean | undefined;
4292
4365
  recorder?: boolean | undefined;
4366
+ canUpdateMetadata?: boolean | undefined;
4293
4367
  } | undefined;
4294
4368
  region?: string | undefined;
4295
4369
  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
  } | undefined;
4353
4428
  region?: string | undefined;
4354
4429
  isPublisher?: boolean | undefined;
@@ -4404,6 +4479,7 @@ export declare const SignalResponse: {
4404
4479
  canPublishSources?: TrackSource[] | undefined;
4405
4480
  hidden?: boolean | undefined;
4406
4481
  recorder?: boolean | undefined;
4482
+ canUpdateMetadata?: boolean | undefined;
4407
4483
  } | undefined;
4408
4484
  region?: string | undefined;
4409
4485
  isPublisher?: boolean | undefined;
@@ -4457,6 +4533,7 @@ export declare const SignalResponse: {
4457
4533
  canPublishSources?: TrackSource[] | undefined;
4458
4534
  hidden?: boolean | undefined;
4459
4535
  recorder?: boolean | undefined;
4536
+ canUpdateMetadata?: boolean | undefined;
4460
4537
  } | undefined;
4461
4538
  region?: string | undefined;
4462
4539
  isPublisher?: boolean | undefined;
@@ -4681,6 +4758,7 @@ export declare const SignalResponse: {
4681
4758
  canPublishSources?: TrackSource[] | undefined;
4682
4759
  hidden?: boolean | undefined;
4683
4760
  recorder?: boolean | undefined;
4761
+ canUpdateMetadata?: boolean | undefined;
4684
4762
  } & {
4685
4763
  canSubscribe?: boolean | undefined;
4686
4764
  canPublish?: boolean | undefined;
@@ -4688,6 +4766,7 @@ export declare const SignalResponse: {
4688
4766
  canPublishSources?: (TrackSource[] & TrackSource[] & { [K_52 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
4689
4767
  hidden?: boolean | undefined;
4690
4768
  recorder?: boolean | undefined;
4769
+ canUpdateMetadata?: boolean | undefined;
4691
4770
  } & { [K_53 in Exclude<keyof I["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
4692
4771
  region?: string | undefined;
4693
4772
  isPublisher?: boolean | undefined;
@@ -4741,6 +4820,7 @@ export declare const SignalResponse: {
4741
4820
  canPublishSources?: TrackSource[] | undefined;
4742
4821
  hidden?: boolean | undefined;
4743
4822
  recorder?: boolean | undefined;
4823
+ canUpdateMetadata?: boolean | undefined;
4744
4824
  } | undefined;
4745
4825
  region?: string | undefined;
4746
4826
  isPublisher?: boolean | undefined;
@@ -5521,6 +5601,7 @@ export declare const SignalResponse: {
5521
5601
  canPublishSources?: TrackSource[] | undefined;
5522
5602
  hidden?: boolean | undefined;
5523
5603
  recorder?: boolean | undefined;
5604
+ canUpdateMetadata?: boolean | undefined;
5524
5605
  } | undefined;
5525
5606
  region?: string | undefined;
5526
5607
  isPublisher?: boolean | undefined;
@@ -5575,6 +5656,7 @@ export declare const SignalResponse: {
5575
5656
  canPublishSources?: TrackSource[] | undefined;
5576
5657
  hidden?: boolean | undefined;
5577
5658
  recorder?: boolean | undefined;
5659
+ canUpdateMetadata?: boolean | undefined;
5578
5660
  } | undefined;
5579
5661
  region?: string | undefined;
5580
5662
  isPublisher?: boolean | undefined;
@@ -5690,6 +5772,7 @@ export declare const SignalResponse: {
5690
5772
  canPublishSources?: TrackSource[] | undefined;
5691
5773
  hidden?: boolean | undefined;
5692
5774
  recorder?: boolean | undefined;
5775
+ canUpdateMetadata?: boolean | undefined;
5693
5776
  } | undefined;
5694
5777
  region?: string | undefined;
5695
5778
  isPublisher?: boolean | undefined;
@@ -5943,6 +6026,7 @@ export declare const SignalResponse: {
5943
6026
  canPublishSources?: TrackSource[] | undefined;
5944
6027
  hidden?: boolean | undefined;
5945
6028
  recorder?: boolean | undefined;
6029
+ canUpdateMetadata?: boolean | undefined;
5946
6030
  } | undefined;
5947
6031
  region?: string | undefined;
5948
6032
  isPublisher?: boolean | undefined;
@@ -5997,6 +6081,7 @@ export declare const SignalResponse: {
5997
6081
  canPublishSources?: TrackSource[] | undefined;
5998
6082
  hidden?: boolean | undefined;
5999
6083
  recorder?: boolean | undefined;
6084
+ canUpdateMetadata?: boolean | undefined;
6000
6085
  } | undefined;
6001
6086
  region?: string | undefined;
6002
6087
  isPublisher?: boolean | undefined;
@@ -6106,6 +6191,7 @@ export declare const SignalResponse: {
6106
6191
  canPublishSources?: TrackSource[] | undefined;
6107
6192
  hidden?: boolean | undefined;
6108
6193
  recorder?: boolean | undefined;
6194
+ canUpdateMetadata?: boolean | undefined;
6109
6195
  } | undefined;
6110
6196
  region?: string | undefined;
6111
6197
  isPublisher?: boolean | undefined;
@@ -6160,6 +6246,7 @@ export declare const SignalResponse: {
6160
6246
  canPublishSources?: TrackSource[] | undefined;
6161
6247
  hidden?: boolean | undefined;
6162
6248
  recorder?: boolean | undefined;
6249
+ canUpdateMetadata?: boolean | undefined;
6163
6250
  } | undefined;
6164
6251
  region?: string | undefined;
6165
6252
  isPublisher?: boolean | undefined;
@@ -6288,6 +6375,7 @@ export declare const SignalResponse: {
6288
6375
  canPublishSources?: TrackSource[] | undefined;
6289
6376
  hidden?: boolean | undefined;
6290
6377
  recorder?: boolean | undefined;
6378
+ canUpdateMetadata?: boolean | undefined;
6291
6379
  } | undefined;
6292
6380
  region?: string | undefined;
6293
6381
  isPublisher?: boolean | undefined;
@@ -6512,6 +6600,7 @@ export declare const SignalResponse: {
6512
6600
  canPublishSources?: TrackSource[] | undefined;
6513
6601
  hidden?: boolean | undefined;
6514
6602
  recorder?: boolean | undefined;
6603
+ canUpdateMetadata?: boolean | undefined;
6515
6604
  } & {
6516
6605
  canSubscribe?: boolean | undefined;
6517
6606
  canPublish?: boolean | undefined;
@@ -6519,6 +6608,7 @@ export declare const SignalResponse: {
6519
6608
  canPublishSources?: (TrackSource[] & TrackSource[] & { [K_127 in Exclude<keyof I_1["message"]["join"]["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
6520
6609
  hidden?: boolean | undefined;
6521
6610
  recorder?: boolean | undefined;
6611
+ canUpdateMetadata?: boolean | undefined;
6522
6612
  } & { [K_128 in Exclude<keyof I_1["message"]["join"]["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
6523
6613
  region?: string | undefined;
6524
6614
  isPublisher?: boolean | undefined;
@@ -6573,6 +6663,7 @@ export declare const SignalResponse: {
6573
6663
  canPublishSources?: TrackSource[] | undefined;
6574
6664
  hidden?: boolean | undefined;
6575
6665
  recorder?: boolean | undefined;
6666
+ canUpdateMetadata?: boolean | undefined;
6576
6667
  } | undefined;
6577
6668
  region?: string | undefined;
6578
6669
  isPublisher?: boolean | undefined;
@@ -6626,6 +6717,7 @@ export declare const SignalResponse: {
6626
6717
  canPublishSources?: TrackSource[] | undefined;
6627
6718
  hidden?: boolean | undefined;
6628
6719
  recorder?: boolean | undefined;
6720
+ canUpdateMetadata?: boolean | undefined;
6629
6721
  } | undefined;
6630
6722
  region?: string | undefined;
6631
6723
  isPublisher?: boolean | undefined;
@@ -6850,6 +6942,7 @@ export declare const SignalResponse: {
6850
6942
  canPublishSources?: TrackSource[] | undefined;
6851
6943
  hidden?: boolean | undefined;
6852
6944
  recorder?: boolean | undefined;
6945
+ canUpdateMetadata?: boolean | undefined;
6853
6946
  } & {
6854
6947
  canSubscribe?: boolean | undefined;
6855
6948
  canPublish?: boolean | undefined;
@@ -6857,6 +6950,7 @@ export declare const SignalResponse: {
6857
6950
  canPublishSources?: (TrackSource[] & TrackSource[] & { [K_138 in Exclude<keyof I_1["message"]["join"]["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
6858
6951
  hidden?: boolean | undefined;
6859
6952
  recorder?: boolean | undefined;
6953
+ canUpdateMetadata?: boolean | undefined;
6860
6954
  } & { [K_139 in Exclude<keyof I_1["message"]["join"]["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
6861
6955
  region?: string | undefined;
6862
6956
  isPublisher?: boolean | undefined;
@@ -6910,6 +7004,7 @@ export declare const SignalResponse: {
6910
7004
  canPublishSources?: TrackSource[] | undefined;
6911
7005
  hidden?: boolean | undefined;
6912
7006
  recorder?: boolean | undefined;
7007
+ canUpdateMetadata?: boolean | undefined;
6913
7008
  } | undefined;
6914
7009
  region?: string | undefined;
6915
7010
  isPublisher?: boolean | undefined;
@@ -7103,6 +7198,7 @@ export declare const SignalResponse: {
7103
7198
  canPublishSources?: TrackSource[] | undefined;
7104
7199
  hidden?: boolean | undefined;
7105
7200
  recorder?: boolean | undefined;
7201
+ canUpdateMetadata?: boolean | undefined;
7106
7202
  } | undefined;
7107
7203
  region?: string | undefined;
7108
7204
  isPublisher?: boolean | undefined;
@@ -7162,6 +7258,7 @@ export declare const SignalResponse: {
7162
7258
  canPublishSources?: TrackSource[] | undefined;
7163
7259
  hidden?: boolean | undefined;
7164
7260
  recorder?: boolean | undefined;
7261
+ canUpdateMetadata?: boolean | undefined;
7165
7262
  } | undefined;
7166
7263
  region?: string | undefined;
7167
7264
  isPublisher?: boolean | undefined;
@@ -7217,6 +7314,7 @@ export declare const SignalResponse: {
7217
7314
  canPublishSources?: TrackSource[] | undefined;
7218
7315
  hidden?: boolean | undefined;
7219
7316
  recorder?: boolean | undefined;
7317
+ canUpdateMetadata?: boolean | undefined;
7220
7318
  } | undefined;
7221
7319
  region?: string | undefined;
7222
7320
  isPublisher?: boolean | undefined;
@@ -7270,6 +7368,7 @@ export declare const SignalResponse: {
7270
7368
  canPublishSources?: TrackSource[] | undefined;
7271
7369
  hidden?: boolean | undefined;
7272
7370
  recorder?: boolean | undefined;
7371
+ canUpdateMetadata?: boolean | undefined;
7273
7372
  } | undefined;
7274
7373
  region?: string | undefined;
7275
7374
  isPublisher?: boolean | undefined;
@@ -7494,6 +7593,7 @@ export declare const SignalResponse: {
7494
7593
  canPublishSources?: TrackSource[] | undefined;
7495
7594
  hidden?: boolean | undefined;
7496
7595
  recorder?: boolean | undefined;
7596
+ canUpdateMetadata?: boolean | undefined;
7497
7597
  } & {
7498
7598
  canSubscribe?: boolean | undefined;
7499
7599
  canPublish?: boolean | undefined;
@@ -7501,6 +7601,7 @@ export declare const SignalResponse: {
7501
7601
  canPublishSources?: (TrackSource[] & TrackSource[] & { [K_168 in Exclude<keyof I_1["message"]["update"]["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
7502
7602
  hidden?: boolean | undefined;
7503
7603
  recorder?: boolean | undefined;
7604
+ canUpdateMetadata?: boolean | undefined;
7504
7605
  } & { [K_169 in Exclude<keyof I_1["message"]["update"]["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
7505
7606
  region?: string | undefined;
7506
7607
  isPublisher?: boolean | undefined;
@@ -7554,6 +7655,7 @@ export declare const SignalResponse: {
7554
7655
  canPublishSources?: TrackSource[] | undefined;
7555
7656
  hidden?: boolean | undefined;
7556
7657
  recorder?: boolean | undefined;
7658
+ canUpdateMetadata?: boolean | undefined;
7557
7659
  } | undefined;
7558
7660
  region?: string | undefined;
7559
7661
  isPublisher?: boolean | undefined;
@@ -8570,6 +8672,7 @@ export declare const JoinResponse: {
8570
8672
  canPublishSources?: TrackSource[] | undefined;
8571
8673
  hidden?: boolean | undefined;
8572
8674
  recorder?: boolean | undefined;
8675
+ canUpdateMetadata?: boolean | undefined;
8573
8676
  } | undefined;
8574
8677
  region?: string | undefined;
8575
8678
  isPublisher?: boolean | undefined;
@@ -8624,6 +8727,7 @@ export declare const JoinResponse: {
8624
8727
  canPublishSources?: TrackSource[] | undefined;
8625
8728
  hidden?: boolean | undefined;
8626
8729
  recorder?: boolean | undefined;
8730
+ canUpdateMetadata?: boolean | undefined;
8627
8731
  } | undefined;
8628
8732
  region?: string | undefined;
8629
8733
  isPublisher?: boolean | undefined;
@@ -8752,6 +8856,7 @@ export declare const JoinResponse: {
8752
8856
  canPublishSources?: TrackSource[] | undefined;
8753
8857
  hidden?: boolean | undefined;
8754
8858
  recorder?: boolean | undefined;
8859
+ canUpdateMetadata?: boolean | undefined;
8755
8860
  } | undefined;
8756
8861
  region?: string | undefined;
8757
8862
  isPublisher?: boolean | undefined;
@@ -8976,6 +9081,7 @@ export declare const JoinResponse: {
8976
9081
  canPublishSources?: TrackSource[] | undefined;
8977
9082
  hidden?: boolean | undefined;
8978
9083
  recorder?: boolean | undefined;
9084
+ canUpdateMetadata?: boolean | undefined;
8979
9085
  } & {
8980
9086
  canSubscribe?: boolean | undefined;
8981
9087
  canPublish?: boolean | undefined;
@@ -8983,6 +9089,7 @@ export declare const JoinResponse: {
8983
9089
  canPublishSources?: (TrackSource[] & TrackSource[] & { [K_11 in Exclude<keyof I["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
8984
9090
  hidden?: boolean | undefined;
8985
9091
  recorder?: boolean | undefined;
9092
+ canUpdateMetadata?: boolean | undefined;
8986
9093
  } & { [K_12 in Exclude<keyof I["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
8987
9094
  region?: string | undefined;
8988
9095
  isPublisher?: boolean | undefined;
@@ -9037,6 +9144,7 @@ export declare const JoinResponse: {
9037
9144
  canPublishSources?: TrackSource[] | undefined;
9038
9145
  hidden?: boolean | undefined;
9039
9146
  recorder?: boolean | undefined;
9147
+ canUpdateMetadata?: boolean | undefined;
9040
9148
  } | undefined;
9041
9149
  region?: string | undefined;
9042
9150
  isPublisher?: boolean | undefined;
@@ -9090,6 +9198,7 @@ export declare const JoinResponse: {
9090
9198
  canPublishSources?: TrackSource[] | undefined;
9091
9199
  hidden?: boolean | undefined;
9092
9200
  recorder?: boolean | undefined;
9201
+ canUpdateMetadata?: boolean | undefined;
9093
9202
  } | undefined;
9094
9203
  region?: string | undefined;
9095
9204
  isPublisher?: boolean | undefined;
@@ -9314,6 +9423,7 @@ export declare const JoinResponse: {
9314
9423
  canPublishSources?: TrackSource[] | undefined;
9315
9424
  hidden?: boolean | undefined;
9316
9425
  recorder?: boolean | undefined;
9426
+ canUpdateMetadata?: boolean | undefined;
9317
9427
  } & {
9318
9428
  canSubscribe?: boolean | undefined;
9319
9429
  canPublish?: boolean | undefined;
@@ -9321,6 +9431,7 @@ export declare const JoinResponse: {
9321
9431
  canPublishSources?: (TrackSource[] & TrackSource[] & { [K_22 in Exclude<keyof I["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
9322
9432
  hidden?: boolean | undefined;
9323
9433
  recorder?: boolean | undefined;
9434
+ canUpdateMetadata?: boolean | undefined;
9324
9435
  } & { [K_23 in Exclude<keyof I["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
9325
9436
  region?: string | undefined;
9326
9437
  isPublisher?: boolean | undefined;
@@ -9374,6 +9485,7 @@ export declare const JoinResponse: {
9374
9485
  canPublishSources?: TrackSource[] | undefined;
9375
9486
  hidden?: boolean | undefined;
9376
9487
  recorder?: boolean | undefined;
9488
+ canUpdateMetadata?: boolean | undefined;
9377
9489
  } | undefined;
9378
9490
  region?: string | undefined;
9379
9491
  isPublisher?: boolean | undefined;
@@ -9532,6 +9644,7 @@ export declare const JoinResponse: {
9532
9644
  canPublishSources?: TrackSource[] | undefined;
9533
9645
  hidden?: boolean | undefined;
9534
9646
  recorder?: boolean | undefined;
9647
+ canUpdateMetadata?: boolean | undefined;
9535
9648
  } | undefined;
9536
9649
  region?: string | undefined;
9537
9650
  isPublisher?: boolean | undefined;
@@ -9586,6 +9699,7 @@ export declare const JoinResponse: {
9586
9699
  canPublishSources?: TrackSource[] | undefined;
9587
9700
  hidden?: boolean | undefined;
9588
9701
  recorder?: boolean | undefined;
9702
+ canUpdateMetadata?: boolean | undefined;
9589
9703
  } | undefined;
9590
9704
  region?: string | undefined;
9591
9705
  isPublisher?: boolean | undefined;
@@ -9714,6 +9828,7 @@ export declare const JoinResponse: {
9714
9828
  canPublishSources?: TrackSource[] | undefined;
9715
9829
  hidden?: boolean | undefined;
9716
9830
  recorder?: boolean | undefined;
9831
+ canUpdateMetadata?: boolean | undefined;
9717
9832
  } | undefined;
9718
9833
  region?: string | undefined;
9719
9834
  isPublisher?: boolean | undefined;
@@ -9938,6 +10053,7 @@ export declare const JoinResponse: {
9938
10053
  canPublishSources?: TrackSource[] | undefined;
9939
10054
  hidden?: boolean | undefined;
9940
10055
  recorder?: boolean | undefined;
10056
+ canUpdateMetadata?: boolean | undefined;
9941
10057
  } & {
9942
10058
  canSubscribe?: boolean | undefined;
9943
10059
  canPublish?: boolean | undefined;
@@ -9945,6 +10061,7 @@ export declare const JoinResponse: {
9945
10061
  canPublishSources?: (TrackSource[] & TrackSource[] & { [K_48 in Exclude<keyof I_1["participant"]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
9946
10062
  hidden?: boolean | undefined;
9947
10063
  recorder?: boolean | undefined;
10064
+ canUpdateMetadata?: boolean | undefined;
9948
10065
  } & { [K_49 in Exclude<keyof I_1["participant"]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
9949
10066
  region?: string | undefined;
9950
10067
  isPublisher?: boolean | undefined;
@@ -9999,6 +10116,7 @@ export declare const JoinResponse: {
9999
10116
  canPublishSources?: TrackSource[] | undefined;
10000
10117
  hidden?: boolean | undefined;
10001
10118
  recorder?: boolean | undefined;
10119
+ canUpdateMetadata?: boolean | undefined;
10002
10120
  } | undefined;
10003
10121
  region?: string | undefined;
10004
10122
  isPublisher?: boolean | undefined;
@@ -10052,6 +10170,7 @@ export declare const JoinResponse: {
10052
10170
  canPublishSources?: TrackSource[] | undefined;
10053
10171
  hidden?: boolean | undefined;
10054
10172
  recorder?: boolean | undefined;
10173
+ canUpdateMetadata?: boolean | undefined;
10055
10174
  } | undefined;
10056
10175
  region?: string | undefined;
10057
10176
  isPublisher?: boolean | undefined;
@@ -10276,6 +10395,7 @@ export declare const JoinResponse: {
10276
10395
  canPublishSources?: TrackSource[] | undefined;
10277
10396
  hidden?: boolean | undefined;
10278
10397
  recorder?: boolean | undefined;
10398
+ canUpdateMetadata?: boolean | undefined;
10279
10399
  } & {
10280
10400
  canSubscribe?: boolean | undefined;
10281
10401
  canPublish?: boolean | undefined;
@@ -10283,6 +10403,7 @@ export declare const JoinResponse: {
10283
10403
  canPublishSources?: (TrackSource[] & TrackSource[] & { [K_59 in Exclude<keyof I_1["otherParticipants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
10284
10404
  hidden?: boolean | undefined;
10285
10405
  recorder?: boolean | undefined;
10406
+ canUpdateMetadata?: boolean | undefined;
10286
10407
  } & { [K_60 in Exclude<keyof I_1["otherParticipants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
10287
10408
  region?: string | undefined;
10288
10409
  isPublisher?: boolean | undefined;
@@ -10336,6 +10457,7 @@ export declare const JoinResponse: {
10336
10457
  canPublishSources?: TrackSource[] | undefined;
10337
10458
  hidden?: boolean | undefined;
10338
10459
  recorder?: boolean | undefined;
10460
+ canUpdateMetadata?: boolean | undefined;
10339
10461
  } | undefined;
10340
10462
  region?: string | undefined;
10341
10463
  isPublisher?: boolean | undefined;
@@ -11069,6 +11191,7 @@ export declare const ParticipantUpdate: {
11069
11191
  canPublishSources?: TrackSource[] | undefined;
11070
11192
  hidden?: boolean | undefined;
11071
11193
  recorder?: boolean | undefined;
11194
+ canUpdateMetadata?: boolean | undefined;
11072
11195
  } | undefined;
11073
11196
  region?: string | undefined;
11074
11197
  isPublisher?: boolean | undefined;
@@ -11124,6 +11247,7 @@ export declare const ParticipantUpdate: {
11124
11247
  canPublishSources?: TrackSource[] | undefined;
11125
11248
  hidden?: boolean | undefined;
11126
11249
  recorder?: boolean | undefined;
11250
+ canUpdateMetadata?: boolean | undefined;
11127
11251
  } | undefined;
11128
11252
  region?: string | undefined;
11129
11253
  isPublisher?: boolean | undefined;
@@ -11177,6 +11301,7 @@ export declare const ParticipantUpdate: {
11177
11301
  canPublishSources?: TrackSource[] | undefined;
11178
11302
  hidden?: boolean | undefined;
11179
11303
  recorder?: boolean | undefined;
11304
+ canUpdateMetadata?: boolean | undefined;
11180
11305
  } | undefined;
11181
11306
  region?: string | undefined;
11182
11307
  isPublisher?: boolean | undefined;
@@ -11401,6 +11526,7 @@ export declare const ParticipantUpdate: {
11401
11526
  canPublishSources?: TrackSource[] | undefined;
11402
11527
  hidden?: boolean | undefined;
11403
11528
  recorder?: boolean | undefined;
11529
+ canUpdateMetadata?: boolean | undefined;
11404
11530
  } & {
11405
11531
  canSubscribe?: boolean | undefined;
11406
11532
  canPublish?: boolean | undefined;
@@ -11408,6 +11534,7 @@ export declare const ParticipantUpdate: {
11408
11534
  canPublishSources?: (TrackSource[] & TrackSource[] & { [K_8 in Exclude<keyof I["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
11409
11535
  hidden?: boolean | undefined;
11410
11536
  recorder?: boolean | undefined;
11537
+ canUpdateMetadata?: boolean | undefined;
11411
11538
  } & { [K_9 in Exclude<keyof I["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
11412
11539
  region?: string | undefined;
11413
11540
  isPublisher?: boolean | undefined;
@@ -11461,6 +11588,7 @@ export declare const ParticipantUpdate: {
11461
11588
  canPublishSources?: TrackSource[] | undefined;
11462
11589
  hidden?: boolean | undefined;
11463
11590
  recorder?: boolean | undefined;
11591
+ canUpdateMetadata?: boolean | undefined;
11464
11592
  } | undefined;
11465
11593
  region?: string | undefined;
11466
11594
  isPublisher?: boolean | undefined;
@@ -11517,6 +11645,7 @@ export declare const ParticipantUpdate: {
11517
11645
  canPublishSources?: TrackSource[] | undefined;
11518
11646
  hidden?: boolean | undefined;
11519
11647
  recorder?: boolean | undefined;
11648
+ canUpdateMetadata?: boolean | undefined;
11520
11649
  } | undefined;
11521
11650
  region?: string | undefined;
11522
11651
  isPublisher?: boolean | undefined;
@@ -11572,6 +11701,7 @@ export declare const ParticipantUpdate: {
11572
11701
  canPublishSources?: TrackSource[] | undefined;
11573
11702
  hidden?: boolean | undefined;
11574
11703
  recorder?: boolean | undefined;
11704
+ canUpdateMetadata?: boolean | undefined;
11575
11705
  } | undefined;
11576
11706
  region?: string | undefined;
11577
11707
  isPublisher?: boolean | undefined;
@@ -11625,6 +11755,7 @@ export declare const ParticipantUpdate: {
11625
11755
  canPublishSources?: TrackSource[] | undefined;
11626
11756
  hidden?: boolean | undefined;
11627
11757
  recorder?: boolean | undefined;
11758
+ canUpdateMetadata?: boolean | undefined;
11628
11759
  } | undefined;
11629
11760
  region?: string | undefined;
11630
11761
  isPublisher?: boolean | undefined;
@@ -11849,6 +11980,7 @@ export declare const ParticipantUpdate: {
11849
11980
  canPublishSources?: TrackSource[] | undefined;
11850
11981
  hidden?: boolean | undefined;
11851
11982
  recorder?: boolean | undefined;
11983
+ canUpdateMetadata?: boolean | undefined;
11852
11984
  } & {
11853
11985
  canSubscribe?: boolean | undefined;
11854
11986
  canPublish?: boolean | undefined;
@@ -11856,6 +11988,7 @@ export declare const ParticipantUpdate: {
11856
11988
  canPublishSources?: (TrackSource[] & TrackSource[] & { [K_21 in Exclude<keyof I_1["participants"][number]["permission"]["canPublishSources"], keyof TrackSource[]>]: never; }) | undefined;
11857
11989
  hidden?: boolean | undefined;
11858
11990
  recorder?: boolean | undefined;
11991
+ canUpdateMetadata?: boolean | undefined;
11859
11992
  } & { [K_22 in Exclude<keyof I_1["participants"][number]["permission"], keyof import("./livekit_models").ParticipantPermission>]: never; }) | undefined;
11860
11993
  region?: string | undefined;
11861
11994
  isPublisher?: boolean | undefined;
@@ -11909,6 +12042,7 @@ export declare const ParticipantUpdate: {
11909
12042
  canPublishSources?: TrackSource[] | undefined;
11910
12043
  hidden?: boolean | undefined;
11911
12044
  recorder?: boolean | undefined;
12045
+ canUpdateMetadata?: boolean | undefined;
11912
12046
  } | undefined;
11913
12047
  region?: string | undefined;
11914
12048
  isPublisher?: boolean | undefined;
@@ -12116,14 +12250,18 @@ export declare const UpdateParticipantMetadata: {
12116
12250
  toJSON(message: UpdateParticipantMetadata): unknown;
12117
12251
  create<I extends {
12118
12252
  metadata?: string | undefined;
12253
+ name?: string | undefined;
12119
12254
  } & {
12120
12255
  metadata?: string | undefined;
12121
- } & { [K in Exclude<keyof I, "metadata">]: never; }>(base?: I | undefined): UpdateParticipantMetadata;
12256
+ name?: string | undefined;
12257
+ } & { [K in Exclude<keyof I, keyof UpdateParticipantMetadata>]: never; }>(base?: I | undefined): UpdateParticipantMetadata;
12122
12258
  fromPartial<I_1 extends {
12123
12259
  metadata?: string | undefined;
12260
+ name?: string | undefined;
12124
12261
  } & {
12125
12262
  metadata?: string | undefined;
12126
- } & { [K_1 in Exclude<keyof I_1, "metadata">]: never; }>(object: I_1): UpdateParticipantMetadata;
12263
+ name?: string | undefined;
12264
+ } & { [K_1 in Exclude<keyof I_1, keyof UpdateParticipantMetadata>]: never; }>(object: I_1): UpdateParticipantMetadata;
12127
12265
  };
12128
12266
  export declare const ICEServer: {
12129
12267
  encode(message: ICEServer, writer?: _m0.Writer): _m0.Writer;
@@ -13601,6 +13739,10 @@ export declare const SimulateScenario: {
13601
13739
  switchCandidateProtocol?: CandidateProtocol | undefined;
13602
13740
  } & {
13603
13741
  $case: "switchCandidateProtocol";
13742
+ }) | ({
13743
+ subscriberBandwidth?: number | undefined;
13744
+ } & {
13745
+ $case: "subscriberBandwidth";
13604
13746
  }) | undefined;
13605
13747
  } & {
13606
13748
  scenario?: ({
@@ -13638,8 +13780,15 @@ export declare const SimulateScenario: {
13638
13780
  } & {
13639
13781
  switchCandidateProtocol?: CandidateProtocol | undefined;
13640
13782
  $case: "switchCandidateProtocol";
13641
- } & { [K_4 in Exclude<keyof I["scenario"], "switchCandidateProtocol" | "$case">]: never; }) | undefined;
13642
- } & { [K_5 in Exclude<keyof I, "scenario">]: never; }>(base?: I | undefined): SimulateScenario;
13783
+ } & { [K_4 in Exclude<keyof I["scenario"], "switchCandidateProtocol" | "$case">]: never; }) | ({
13784
+ subscriberBandwidth?: number | undefined;
13785
+ } & {
13786
+ $case: "subscriberBandwidth";
13787
+ } & {
13788
+ subscriberBandwidth?: number | undefined;
13789
+ $case: "subscriberBandwidth";
13790
+ } & { [K_5 in Exclude<keyof I["scenario"], "subscriberBandwidth" | "$case">]: never; }) | undefined;
13791
+ } & { [K_6 in Exclude<keyof I, "scenario">]: never; }>(base?: I | undefined): SimulateScenario;
13643
13792
  fromPartial<I_1 extends {
13644
13793
  scenario?: ({
13645
13794
  speakerUpdate?: number | undefined;
@@ -13661,6 +13810,10 @@ export declare const SimulateScenario: {
13661
13810
  switchCandidateProtocol?: CandidateProtocol | undefined;
13662
13811
  } & {
13663
13812
  $case: "switchCandidateProtocol";
13813
+ }) | ({
13814
+ subscriberBandwidth?: number | undefined;
13815
+ } & {
13816
+ $case: "subscriberBandwidth";
13664
13817
  }) | undefined;
13665
13818
  } & {
13666
13819
  scenario?: ({
@@ -13670,36 +13823,43 @@ export declare const SimulateScenario: {
13670
13823
  } & {
13671
13824
  speakerUpdate?: number | undefined;
13672
13825
  $case: "speakerUpdate";
13673
- } & { [K_6 in Exclude<keyof I_1["scenario"], "speakerUpdate" | "$case">]: never; }) | ({
13826
+ } & { [K_7 in Exclude<keyof I_1["scenario"], "speakerUpdate" | "$case">]: never; }) | ({
13674
13827
  nodeFailure?: boolean | undefined;
13675
13828
  } & {
13676
13829
  $case: "nodeFailure";
13677
13830
  } & {
13678
13831
  nodeFailure?: boolean | undefined;
13679
13832
  $case: "nodeFailure";
13680
- } & { [K_7 in Exclude<keyof I_1["scenario"], "nodeFailure" | "$case">]: never; }) | ({
13833
+ } & { [K_8 in Exclude<keyof I_1["scenario"], "nodeFailure" | "$case">]: never; }) | ({
13681
13834
  migration?: boolean | undefined;
13682
13835
  } & {
13683
13836
  $case: "migration";
13684
13837
  } & {
13685
13838
  migration?: boolean | undefined;
13686
13839
  $case: "migration";
13687
- } & { [K_8 in Exclude<keyof I_1["scenario"], "migration" | "$case">]: never; }) | ({
13840
+ } & { [K_9 in Exclude<keyof I_1["scenario"], "migration" | "$case">]: never; }) | ({
13688
13841
  serverLeave?: boolean | undefined;
13689
13842
  } & {
13690
13843
  $case: "serverLeave";
13691
13844
  } & {
13692
13845
  serverLeave?: boolean | undefined;
13693
13846
  $case: "serverLeave";
13694
- } & { [K_9 in Exclude<keyof I_1["scenario"], "serverLeave" | "$case">]: never; }) | ({
13847
+ } & { [K_10 in Exclude<keyof I_1["scenario"], "serverLeave" | "$case">]: never; }) | ({
13695
13848
  switchCandidateProtocol?: CandidateProtocol | undefined;
13696
13849
  } & {
13697
13850
  $case: "switchCandidateProtocol";
13698
13851
  } & {
13699
13852
  switchCandidateProtocol?: CandidateProtocol | undefined;
13700
13853
  $case: "switchCandidateProtocol";
13701
- } & { [K_10 in Exclude<keyof I_1["scenario"], "switchCandidateProtocol" | "$case">]: never; }) | undefined;
13702
- } & { [K_11 in Exclude<keyof I_1, "scenario">]: never; }>(object: I_1): SimulateScenario;
13854
+ } & { [K_11 in Exclude<keyof I_1["scenario"], "switchCandidateProtocol" | "$case">]: never; }) | ({
13855
+ subscriberBandwidth?: number | undefined;
13856
+ } & {
13857
+ $case: "subscriberBandwidth";
13858
+ } & {
13859
+ subscriberBandwidth?: number | undefined;
13860
+ $case: "subscriberBandwidth";
13861
+ } & { [K_12 in Exclude<keyof I_1["scenario"], "subscriberBandwidth" | "$case">]: never; }) | undefined;
13862
+ } & { [K_13 in Exclude<keyof I_1, "scenario">]: never; }>(object: I_1): SimulateScenario;
13703
13863
  };
13704
13864
  export declare const Ping: {
13705
13865
  encode(message: Ping, writer?: _m0.Writer): _m0.Writer;
@@ -13741,6 +13901,86 @@ export declare const Pong: {
13741
13901
  timestamp?: number | undefined;
13742
13902
  } & { [K_1 in Exclude<keyof I_1, keyof Pong>]: never; }>(object: I_1): Pong;
13743
13903
  };
13904
+ export declare const RegionSettings: {
13905
+ encode(message: RegionSettings, writer?: _m0.Writer): _m0.Writer;
13906
+ decode(input: _m0.Reader | Uint8Array, length?: number): RegionSettings;
13907
+ fromJSON(object: any): RegionSettings;
13908
+ toJSON(message: RegionSettings): unknown;
13909
+ create<I extends {
13910
+ regions?: {
13911
+ region?: string | undefined;
13912
+ url?: string | undefined;
13913
+ distance?: number | undefined;
13914
+ }[] | undefined;
13915
+ } & {
13916
+ regions?: ({
13917
+ region?: string | undefined;
13918
+ url?: string | undefined;
13919
+ distance?: number | undefined;
13920
+ }[] & ({
13921
+ region?: string | undefined;
13922
+ url?: string | undefined;
13923
+ distance?: number | undefined;
13924
+ } & {
13925
+ region?: string | undefined;
13926
+ url?: string | undefined;
13927
+ distance?: number | undefined;
13928
+ } & { [K in Exclude<keyof I["regions"][number], keyof RegionInfo>]: never; })[] & { [K_1 in Exclude<keyof I["regions"], keyof {
13929
+ region?: string | undefined;
13930
+ url?: string | undefined;
13931
+ distance?: number | undefined;
13932
+ }[]>]: never; }) | undefined;
13933
+ } & { [K_2 in Exclude<keyof I, "regions">]: never; }>(base?: I | undefined): RegionSettings;
13934
+ fromPartial<I_1 extends {
13935
+ regions?: {
13936
+ region?: string | undefined;
13937
+ url?: string | undefined;
13938
+ distance?: number | undefined;
13939
+ }[] | undefined;
13940
+ } & {
13941
+ regions?: ({
13942
+ region?: string | undefined;
13943
+ url?: string | undefined;
13944
+ distance?: number | undefined;
13945
+ }[] & ({
13946
+ region?: string | undefined;
13947
+ url?: string | undefined;
13948
+ distance?: number | undefined;
13949
+ } & {
13950
+ region?: string | undefined;
13951
+ url?: string | undefined;
13952
+ distance?: number | undefined;
13953
+ } & { [K_3 in Exclude<keyof I_1["regions"][number], keyof RegionInfo>]: never; })[] & { [K_4 in Exclude<keyof I_1["regions"], keyof {
13954
+ region?: string | undefined;
13955
+ url?: string | undefined;
13956
+ distance?: number | undefined;
13957
+ }[]>]: never; }) | undefined;
13958
+ } & { [K_5 in Exclude<keyof I_1, "regions">]: never; }>(object: I_1): RegionSettings;
13959
+ };
13960
+ export declare const RegionInfo: {
13961
+ encode(message: RegionInfo, writer?: _m0.Writer): _m0.Writer;
13962
+ decode(input: _m0.Reader | Uint8Array, length?: number): RegionInfo;
13963
+ fromJSON(object: any): RegionInfo;
13964
+ toJSON(message: RegionInfo): unknown;
13965
+ create<I extends {
13966
+ region?: string | undefined;
13967
+ url?: string | undefined;
13968
+ distance?: number | undefined;
13969
+ } & {
13970
+ region?: string | undefined;
13971
+ url?: string | undefined;
13972
+ distance?: number | undefined;
13973
+ } & { [K in Exclude<keyof I, keyof RegionInfo>]: never; }>(base?: I | undefined): RegionInfo;
13974
+ fromPartial<I_1 extends {
13975
+ region?: string | undefined;
13976
+ url?: string | undefined;
13977
+ distance?: number | undefined;
13978
+ } & {
13979
+ region?: string | undefined;
13980
+ url?: string | undefined;
13981
+ distance?: number | undefined;
13982
+ } & { [K_1 in Exclude<keyof I_1, keyof RegionInfo>]: never; }>(object: I_1): RegionInfo;
13983
+ };
13744
13984
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
13745
13985
  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 {
13746
13986
  $case: string;