@livekit/protocol 1.39.3 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -844,6 +844,30 @@ declare class Pagination extends Message<Pagination> {
844
844
  static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean;
845
845
  }
846
846
 
847
+ /**
848
+ * @generated from message livekit.TokenPagination
849
+ */
850
+ declare class TokenPagination extends Message<TokenPagination> {
851
+ /**
852
+ * @generated from field: string token = 1;
853
+ */
854
+ token: string;
855
+
856
+ constructor(data?: PartialMessage<TokenPagination>);
857
+
858
+ static readonly runtime: typeof proto3;
859
+ static readonly typeName = "livekit.TokenPagination";
860
+ static readonly fields: FieldList;
861
+
862
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenPagination;
863
+
864
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenPagination;
865
+
866
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenPagination;
867
+
868
+ static equals(a: TokenPagination | PlainMessage<TokenPagination> | undefined, b: TokenPagination | PlainMessage<TokenPagination> | undefined): boolean;
869
+ }
870
+
847
871
  /**
848
872
  * ListUpdate is used for updated APIs where 'repeated string' field is modified.
849
873
  *
@@ -857,6 +881,27 @@ declare class ListUpdate extends Message<ListUpdate> {
857
881
  */
858
882
  set: string[];
859
883
 
884
+ /**
885
+ * append items to a list, avoiding duplicates
886
+ *
887
+ * @generated from field: repeated string add = 2;
888
+ */
889
+ add: string[];
890
+
891
+ /**
892
+ * delete items from a list
893
+ *
894
+ * @generated from field: repeated string del = 3;
895
+ */
896
+ del: string[];
897
+
898
+ /**
899
+ * sets the list to an empty list
900
+ *
901
+ * @generated from field: bool clear = 4;
902
+ */
903
+ clear: boolean;
904
+
860
905
  constructor(data?: PartialMessage<ListUpdate>);
861
906
 
862
907
  static readonly runtime: typeof proto3;
@@ -1367,6 +1412,21 @@ declare class SimulcastCodecInfo extends Message<SimulcastCodecInfo> {
1367
1412
  */
1368
1413
  layers: VideoLayer[];
1369
1414
 
1415
+ /**
1416
+ * @generated from field: livekit.VideoLayer.Mode video_layer_mode = 5;
1417
+ */
1418
+ videoLayerMode: VideoLayer_Mode;
1419
+
1420
+ /**
1421
+ * cid (client side id for track) could be different between
1422
+ * signalling (AddTrackRequest) and SDP offer. This field
1423
+ * will be populated only if it is different to avoid
1424
+ * duplication and keep the representation concise.
1425
+ *
1426
+ * @generated from field: string sdp_cid = 6;
1427
+ */
1428
+ sdpCid: string;
1429
+
1370
1430
  constructor(data?: PartialMessage<SimulcastCodecInfo>);
1371
1431
 
1372
1432
  static readonly runtime: typeof proto3;
@@ -1410,28 +1470,36 @@ declare class TrackInfo extends Message<TrackInfo> {
1410
1470
  * original width of video (unset for audio)
1411
1471
  * clients may receive a lower resolution version with simulcast
1412
1472
  *
1413
- * @generated from field: uint32 width = 5;
1473
+ * @generated from field: uint32 width = 5 [deprecated = true];
1474
+ * @deprecated
1414
1475
  */
1415
1476
  width: number;
1416
1477
 
1417
1478
  /**
1418
1479
  * original height of video (unset for audio)
1419
1480
  *
1420
- * @generated from field: uint32 height = 6;
1481
+ * @generated from field: uint32 height = 6 [deprecated = true];
1482
+ * @deprecated
1421
1483
  */
1422
1484
  height: number;
1423
1485
 
1424
1486
  /**
1425
1487
  * true if track is simulcasted
1426
1488
  *
1427
- * @generated from field: bool simulcast = 7;
1489
+ * see `video_layer_mode` in `codecs`
1490
+ *
1491
+ * @generated from field: bool simulcast = 7 [deprecated = true];
1492
+ * @deprecated
1428
1493
  */
1429
1494
  simulcast: boolean;
1430
1495
 
1431
1496
  /**
1432
1497
  * true if DTX (Discontinuous Transmission) is disabled for audio
1433
1498
  *
1434
- * @generated from field: bool disable_dtx = 8;
1499
+ * deprecated in favor of `audio_features`
1500
+ *
1501
+ * @generated from field: bool disable_dtx = 8 [deprecated = true];
1502
+ * @deprecated
1435
1503
  */
1436
1504
  disableDtx: boolean;
1437
1505
 
@@ -1443,7 +1511,10 @@ declare class TrackInfo extends Message<TrackInfo> {
1443
1511
  source: TrackSource;
1444
1512
 
1445
1513
  /**
1446
- * @generated from field: repeated livekit.VideoLayer layers = 10;
1514
+ * see `codecs` for layers of individual codec
1515
+ *
1516
+ * @generated from field: repeated livekit.VideoLayer layers = 10 [deprecated = true];
1517
+ * @deprecated
1447
1518
  */
1448
1519
  layers: VideoLayer[];
1449
1520
 
@@ -1465,7 +1536,10 @@ declare class TrackInfo extends Message<TrackInfo> {
1465
1536
  codecs: SimulcastCodecInfo[];
1466
1537
 
1467
1538
  /**
1468
- * @generated from field: bool stereo = 14;
1539
+ * deprecated in favor of `audio_features`
1540
+ *
1541
+ * @generated from field: bool stereo = 14 [deprecated = true];
1542
+ * @deprecated
1469
1543
  */
1470
1544
  stereo: boolean;
1471
1545
 
@@ -1576,6 +1650,26 @@ declare class VideoLayer extends Message<VideoLayer> {
1576
1650
  static equals(a: VideoLayer | PlainMessage<VideoLayer> | undefined, b: VideoLayer | PlainMessage<VideoLayer> | undefined): boolean;
1577
1651
  }
1578
1652
 
1653
+ /**
1654
+ * @generated from enum livekit.VideoLayer.Mode
1655
+ */
1656
+ declare enum VideoLayer_Mode {
1657
+ /**
1658
+ * @generated from enum value: MODE_UNUSED = 0;
1659
+ */
1660
+ MODE_UNUSED = 0,
1661
+
1662
+ /**
1663
+ * @generated from enum value: ONE_SPATIAL_LAYER_PER_STREAM = 1;
1664
+ */
1665
+ ONE_SPATIAL_LAYER_PER_STREAM = 1,
1666
+
1667
+ /**
1668
+ * @generated from enum value: MULTIPLE_SPATIAL_LAYERS_PER_STREAM = 2;
1669
+ */
1670
+ MULTIPLE_SPATIAL_LAYERS_PER_STREAM = 2,
1671
+ }
1672
+
1579
1673
  /**
1580
1674
  * new DataPacket API
1581
1675
  *
@@ -1678,6 +1772,12 @@ declare class DataPacket extends Message<DataPacket> {
1678
1772
  */
1679
1773
  value: DataStream_Trailer;
1680
1774
  case: "streamTrailer";
1775
+ } | {
1776
+ /**
1777
+ * @generated from field: livekit.EncryptedPacket encrypted_packet = 18;
1778
+ */
1779
+ value: EncryptedPacket;
1780
+ case: "encryptedPacket";
1681
1781
  } | { case: undefined; value?: undefined };
1682
1782
 
1683
1783
  /**
@@ -1724,8 +1824,122 @@ declare enum DataPacket_Kind {
1724
1824
  LOSSY = 1,
1725
1825
  }
1726
1826
 
1827
+ /**
1828
+ * @generated from message livekit.EncryptedPacket
1829
+ */
1830
+ declare class EncryptedPacket extends Message<EncryptedPacket> {
1831
+ /**
1832
+ * @generated from field: livekit.Encryption.Type encryption_type = 1;
1833
+ */
1834
+ encryptionType: Encryption_Type;
1835
+
1836
+ /**
1837
+ * @generated from field: bytes iv = 2;
1838
+ */
1839
+ iv: Uint8Array;
1840
+
1841
+ /**
1842
+ * @generated from field: uint32 key_index = 3;
1843
+ */
1844
+ keyIndex: number;
1845
+
1846
+ /**
1847
+ * This is an encrypted EncryptedPacketPayload message representation
1848
+ *
1849
+ * @generated from field: bytes encrypted_value = 4;
1850
+ */
1851
+ encryptedValue: Uint8Array;
1852
+
1853
+ constructor(data?: PartialMessage<EncryptedPacket>);
1854
+
1855
+ static readonly runtime: typeof proto3;
1856
+ static readonly typeName = "livekit.EncryptedPacket";
1857
+ static readonly fields: FieldList;
1858
+
1859
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncryptedPacket;
1860
+
1861
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncryptedPacket;
1862
+
1863
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncryptedPacket;
1864
+
1865
+ static equals(a: EncryptedPacket | PlainMessage<EncryptedPacket> | undefined, b: EncryptedPacket | PlainMessage<EncryptedPacket> | undefined): boolean;
1866
+ }
1867
+
1868
+ /**
1869
+ * @generated from message livekit.EncryptedPacketPayload
1870
+ */
1871
+ declare class EncryptedPacketPayload extends Message<EncryptedPacketPayload> {
1872
+ /**
1873
+ * @generated from oneof livekit.EncryptedPacketPayload.value
1874
+ */
1875
+ value: {
1876
+ /**
1877
+ * @generated from field: livekit.UserPacket user = 1;
1878
+ */
1879
+ value: UserPacket;
1880
+ case: "user";
1881
+ } | {
1882
+ /**
1883
+ * @generated from field: livekit.ChatMessage chat_message = 3;
1884
+ */
1885
+ value: ChatMessage;
1886
+ case: "chatMessage";
1887
+ } | {
1888
+ /**
1889
+ * @generated from field: livekit.RpcRequest rpc_request = 4;
1890
+ */
1891
+ value: RpcRequest;
1892
+ case: "rpcRequest";
1893
+ } | {
1894
+ /**
1895
+ * @generated from field: livekit.RpcAck rpc_ack = 5;
1896
+ */
1897
+ value: RpcAck;
1898
+ case: "rpcAck";
1899
+ } | {
1900
+ /**
1901
+ * @generated from field: livekit.RpcResponse rpc_response = 6;
1902
+ */
1903
+ value: RpcResponse;
1904
+ case: "rpcResponse";
1905
+ } | {
1906
+ /**
1907
+ * @generated from field: livekit.DataStream.Header stream_header = 7;
1908
+ */
1909
+ value: DataStream_Header;
1910
+ case: "streamHeader";
1911
+ } | {
1912
+ /**
1913
+ * @generated from field: livekit.DataStream.Chunk stream_chunk = 8;
1914
+ */
1915
+ value: DataStream_Chunk;
1916
+ case: "streamChunk";
1917
+ } | {
1918
+ /**
1919
+ * @generated from field: livekit.DataStream.Trailer stream_trailer = 9;
1920
+ */
1921
+ value: DataStream_Trailer;
1922
+ case: "streamTrailer";
1923
+ } | { case: undefined; value?: undefined };
1924
+
1925
+ constructor(data?: PartialMessage<EncryptedPacketPayload>);
1926
+
1927
+ static readonly runtime: typeof proto3;
1928
+ static readonly typeName = "livekit.EncryptedPacketPayload";
1929
+ static readonly fields: FieldList;
1930
+
1931
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncryptedPacketPayload;
1932
+
1933
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncryptedPacketPayload;
1934
+
1935
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncryptedPacketPayload;
1936
+
1937
+ static equals(a: EncryptedPacketPayload | PlainMessage<EncryptedPacketPayload> | undefined, b: EncryptedPacketPayload | PlainMessage<EncryptedPacketPayload> | undefined): boolean;
1938
+ }
1939
+
1727
1940
  /**
1728
1941
  * @generated from message livekit.ActiveSpeakerUpdate
1942
+ * @deprecated
1729
1943
  */
1730
1944
  declare class ActiveSpeakerUpdate extends Message<ActiveSpeakerUpdate> {
1731
1945
  /**
@@ -1835,7 +2049,7 @@ declare class UserPacket extends Message<UserPacket> {
1835
2049
  topic?: string;
1836
2050
 
1837
2051
  /**
1838
- * Unique ID to indentify the message
2052
+ * Unique ID to identify the message
1839
2053
  *
1840
2054
  * @generated from field: optional string id = 8;
1841
2055
  */
@@ -3284,9 +3498,10 @@ declare class DataStream_Header extends Message<DataStream_Header> {
3284
3498
  totalLength?: bigint;
3285
3499
 
3286
3500
  /**
3287
- * defaults to NONE
3501
+ * this is set on the DataPacket
3288
3502
  *
3289
- * @generated from field: livekit.Encryption.Type encryption_type = 7;
3503
+ * @generated from field: livekit.Encryption.Type encryption_type = 7 [deprecated = true];
3504
+ * @deprecated
3290
3505
  */
3291
3506
  encryptionType: Encryption_Type;
3292
3507
 
@@ -3362,9 +3577,10 @@ declare class DataStream_Chunk extends Message<DataStream_Chunk> {
3362
3577
  version: number;
3363
3578
 
3364
3579
  /**
3365
- * optional, initialization vector for AES-GCM encryption
3580
+ * this is set on the DataPacket
3366
3581
  *
3367
- * @generated from field: optional bytes iv = 5;
3582
+ * @generated from field: optional bytes iv = 5 [deprecated = true];
3583
+ * @deprecated
3368
3584
  */
3369
3585
  iv?: Uint8Array;
3370
3586
 
@@ -3632,6 +3848,11 @@ declare class JobState extends Message<JobState> {
3632
3848
  */
3633
3849
  workerId: string;
3634
3850
 
3851
+ /**
3852
+ * @generated from field: string agent_id = 8;
3853
+ */
3854
+ agentId: string;
3855
+
3635
3856
  constructor(data?: PartialMessage<JobState>);
3636
3857
 
3637
3858
  static readonly runtime: typeof proto3;
@@ -5574,6 +5795,20 @@ declare class S3Upload extends Message<S3Upload> {
5574
5795
  */
5575
5796
  sessionToken: string;
5576
5797
 
5798
+ /**
5799
+ * ARN of the role to assume for file upload. Egress will make an AssumeRole API call using the provided access_key and secret to assume that role. On LiveKit cloud, this is only available on accounts that have the feature enabled
5800
+ *
5801
+ * @generated from field: string assume_role_arn = 12;
5802
+ */
5803
+ assumeRoleArn: string;
5804
+
5805
+ /**
5806
+ * ExternalID to use when assuming role for upload
5807
+ *
5808
+ * @generated from field: string assume_role_external_id = 13;
5809
+ */
5810
+ assumeRoleExternalId: string;
5811
+
5577
5812
  /**
5578
5813
  * @generated from field: string region = 3;
5579
5814
  */
@@ -8173,6 +8408,13 @@ declare class RoomConfiguration extends Message<RoomConfiguration> {
8173
8408
  */
8174
8409
  maxParticipants: number;
8175
8410
 
8411
+ /**
8412
+ * metadata of room
8413
+ *
8414
+ * @generated from field: string metadata = 11;
8415
+ */
8416
+ metadata: string;
8417
+
8176
8418
  /**
8177
8419
  * egress
8178
8420
  *
@@ -8415,7 +8657,7 @@ declare class SignalRequest extends Message<SignalRequest> {
8415
8657
  */
8416
8658
  message: {
8417
8659
  /**
8418
- * initial join exchange, for publisher
8660
+ * participant offer for publisher
8419
8661
  *
8420
8662
  * @generated from field: livekit.SessionDescription offer = 1;
8421
8663
  */
@@ -8423,7 +8665,7 @@ declare class SignalRequest extends Message<SignalRequest> {
8423
8665
  case: "offer";
8424
8666
  } | {
8425
8667
  /**
8426
- * participant answering publisher offer
8668
+ * participant answering subscriber offer
8427
8669
  *
8428
8670
  * @generated from field: livekit.SessionDescription answer = 2;
8429
8671
  */
@@ -8758,6 +9000,14 @@ declare class SignalResponse extends Message<SignalResponse> {
8758
9000
  */
8759
9001
  value: RoomMovedResponse;
8760
9002
  case: "roomMoved";
9003
+ } | {
9004
+ /**
9005
+ * notify number of required media sections to satisfy subscribed tracks
9006
+ *
9007
+ * @generated from field: livekit.MediaSectionsRequirement media_sections_requirement = 25;
9008
+ */
9009
+ value: MediaSectionsRequirement;
9010
+ case: "mediaSectionsRequirement";
8761
9011
  } | { case: undefined; value?: undefined };
8762
9012
 
8763
9013
  constructor(data?: PartialMessage<SignalResponse>);
@@ -8789,6 +9039,16 @@ declare class SimulcastCodec extends Message<SimulcastCodec> {
8789
9039
  */
8790
9040
  cid: string;
8791
9041
 
9042
+ /**
9043
+ * @generated from field: repeated livekit.VideoLayer layers = 4;
9044
+ */
9045
+ layers: VideoLayer[];
9046
+
9047
+ /**
9048
+ * @generated from field: livekit.VideoLayer.Mode video_layer_mode = 5;
9049
+ */
9050
+ videoLayerMode: VideoLayer_Mode;
9051
+
8792
9052
  constructor(data?: PartialMessage<SimulcastCodec>);
8793
9053
 
8794
9054
  static readonly runtime: typeof proto3;
@@ -8826,8 +9086,6 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
8826
9086
  type: TrackType;
8827
9087
 
8828
9088
  /**
8829
- * to be deprecated in favor of layers
8830
- *
8831
9089
  * @generated from field: uint32 width = 4;
8832
9090
  */
8833
9091
  width: number;
@@ -10008,7 +10266,9 @@ declare class RoomMovedResponse extends Message<RoomMovedResponse> {
10008
10266
  */
10009
10267
  declare class SyncState extends Message<SyncState> {
10010
10268
  /**
10011
- * last subscribe answer before reconnecting
10269
+ * last subscribe/publish answer before reconnecting
10270
+ * subscribe answer if using dual peer connection
10271
+ * publish answer if using single peer connection
10012
10272
  *
10013
10273
  * @generated from field: livekit.SessionDescription answer = 1;
10014
10274
  */
@@ -10030,7 +10290,9 @@ declare class SyncState extends Message<SyncState> {
10030
10290
  dataChannels: DataChannelInfo[];
10031
10291
 
10032
10292
  /**
10033
- * last received server side offer before reconnecting
10293
+ * last received server side offer/sent client side offer before reconnecting
10294
+ * received server side offer if using dual peer connection
10295
+ * sent client side offer if using single peer connection
10034
10296
  *
10035
10297
  * @generated from field: livekit.SessionDescription offer = 5;
10036
10298
  */
@@ -10453,6 +10715,195 @@ declare class TrackSubscribed extends Message<TrackSubscribed> {
10453
10715
  static equals(a: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined, b: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined): boolean;
10454
10716
  }
10455
10717
 
10718
+ /**
10719
+ * @generated from message livekit.ConnectionSettings
10720
+ */
10721
+ declare class ConnectionSettings extends Message<ConnectionSettings> {
10722
+ /**
10723
+ * @generated from field: bool auto_subscribe = 1;
10724
+ */
10725
+ autoSubscribe: boolean;
10726
+
10727
+ /**
10728
+ * @generated from field: bool adaptive_stream = 2;
10729
+ */
10730
+ adaptiveStream: boolean;
10731
+
10732
+ /**
10733
+ * @generated from field: optional bool subscriber_allow_pause = 3;
10734
+ */
10735
+ subscriberAllowPause?: boolean;
10736
+
10737
+ /**
10738
+ * @generated from field: bool disable_ice_lite = 4;
10739
+ */
10740
+ disableIceLite: boolean;
10741
+
10742
+ constructor(data?: PartialMessage<ConnectionSettings>);
10743
+
10744
+ static readonly runtime: typeof proto3;
10745
+ static readonly typeName = "livekit.ConnectionSettings";
10746
+ static readonly fields: FieldList;
10747
+
10748
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectionSettings;
10749
+
10750
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectionSettings;
10751
+
10752
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectionSettings;
10753
+
10754
+ static equals(a: ConnectionSettings | PlainMessage<ConnectionSettings> | undefined, b: ConnectionSettings | PlainMessage<ConnectionSettings> | undefined): boolean;
10755
+ }
10756
+
10757
+ /**
10758
+ * @generated from message livekit.JoinRequest
10759
+ */
10760
+ declare class JoinRequest extends Message<JoinRequest> {
10761
+ /**
10762
+ * @generated from field: livekit.ClientInfo client_info = 1;
10763
+ */
10764
+ clientInfo?: ClientInfo;
10765
+
10766
+ /**
10767
+ * @generated from field: livekit.ConnectionSettings connection_settings = 2;
10768
+ */
10769
+ connectionSettings?: ConnectionSettings;
10770
+
10771
+ /**
10772
+ * if not empty, will overwrite `metadata` in token
10773
+ *
10774
+ * @generated from field: string metadata = 3;
10775
+ */
10776
+ metadata: string;
10777
+
10778
+ /**
10779
+ * will set keys provided via this
10780
+ * will overwrite if the same key is in the token
10781
+ * will not delete keys from token if there is a key collision and this sets that key to empty value
10782
+ *
10783
+ * @generated from field: map<string, string> participant_attributes = 4;
10784
+ */
10785
+ participantAttributes: { [key: string]: string };
10786
+
10787
+ /**
10788
+ * @generated from field: repeated livekit.AddTrackRequest add_track_requests = 5;
10789
+ */
10790
+ addTrackRequests: AddTrackRequest[];
10791
+
10792
+ /**
10793
+ * @generated from field: livekit.SessionDescription publisher_offer = 6;
10794
+ */
10795
+ publisherOffer?: SessionDescription;
10796
+
10797
+ /**
10798
+ * @generated from field: bool reconnect = 7;
10799
+ */
10800
+ reconnect: boolean;
10801
+
10802
+ /**
10803
+ * @generated from field: livekit.ReconnectReason reconnect_reason = 8;
10804
+ */
10805
+ reconnectReason: ReconnectReason;
10806
+
10807
+ /**
10808
+ * @generated from field: string participant_sid = 9;
10809
+ */
10810
+ participantSid: string;
10811
+
10812
+ /**
10813
+ * @generated from field: livekit.SyncState sync_state = 10;
10814
+ */
10815
+ syncState?: SyncState;
10816
+
10817
+ constructor(data?: PartialMessage<JoinRequest>);
10818
+
10819
+ static readonly runtime: typeof proto3;
10820
+ static readonly typeName = "livekit.JoinRequest";
10821
+ static readonly fields: FieldList;
10822
+
10823
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JoinRequest;
10824
+
10825
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JoinRequest;
10826
+
10827
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JoinRequest;
10828
+
10829
+ static equals(a: JoinRequest | PlainMessage<JoinRequest> | undefined, b: JoinRequest | PlainMessage<JoinRequest> | undefined): boolean;
10830
+ }
10831
+
10832
+ /**
10833
+ * @generated from message livekit.WrappedJoinRequest
10834
+ */
10835
+ declare class WrappedJoinRequest extends Message<WrappedJoinRequest> {
10836
+ /**
10837
+ * @generated from field: livekit.WrappedJoinRequest.Compression compression = 1;
10838
+ */
10839
+ compression: WrappedJoinRequest_Compression;
10840
+
10841
+ /**
10842
+ * marshalled JoinRequest + potentially compressed
10843
+ *
10844
+ * @generated from field: bytes join_request = 2;
10845
+ */
10846
+ joinRequest: Uint8Array;
10847
+
10848
+ constructor(data?: PartialMessage<WrappedJoinRequest>);
10849
+
10850
+ static readonly runtime: typeof proto3;
10851
+ static readonly typeName = "livekit.WrappedJoinRequest";
10852
+ static readonly fields: FieldList;
10853
+
10854
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WrappedJoinRequest;
10855
+
10856
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WrappedJoinRequest;
10857
+
10858
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WrappedJoinRequest;
10859
+
10860
+ static equals(a: WrappedJoinRequest | PlainMessage<WrappedJoinRequest> | undefined, b: WrappedJoinRequest | PlainMessage<WrappedJoinRequest> | undefined): boolean;
10861
+ }
10862
+
10863
+ /**
10864
+ * @generated from enum livekit.WrappedJoinRequest.Compression
10865
+ */
10866
+ declare enum WrappedJoinRequest_Compression {
10867
+ /**
10868
+ * @generated from enum value: NONE = 0;
10869
+ */
10870
+ NONE = 0,
10871
+
10872
+ /**
10873
+ * @generated from enum value: GZIP = 1;
10874
+ */
10875
+ GZIP = 1,
10876
+ }
10877
+
10878
+ /**
10879
+ * @generated from message livekit.MediaSectionsRequirement
10880
+ */
10881
+ declare class MediaSectionsRequirement extends Message<MediaSectionsRequirement> {
10882
+ /**
10883
+ * @generated from field: uint32 num_audios = 1;
10884
+ */
10885
+ numAudios: number;
10886
+
10887
+ /**
10888
+ * @generated from field: uint32 num_videos = 2;
10889
+ */
10890
+ numVideos: number;
10891
+
10892
+ constructor(data?: PartialMessage<MediaSectionsRequirement>);
10893
+
10894
+ static readonly runtime: typeof proto3;
10895
+ static readonly typeName = "livekit.MediaSectionsRequirement";
10896
+ static readonly fields: FieldList;
10897
+
10898
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaSectionsRequirement;
10899
+
10900
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaSectionsRequirement;
10901
+
10902
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaSectionsRequirement;
10903
+
10904
+ static equals(a: MediaSectionsRequirement | PlainMessage<MediaSectionsRequirement> | undefined, b: MediaSectionsRequirement | PlainMessage<MediaSectionsRequirement> | undefined): boolean;
10905
+ }
10906
+
10456
10907
  // Copyright 2023 LiveKit, Inc.
10457
10908
  //
10458
10909
  // Licensed under the Apache License, Version 2.0 (the "License");
@@ -13085,7 +13536,7 @@ declare class SIPUri extends Message<SIPUri> {
13085
13536
  */
13086
13537
  declare class WebhookEvent extends Message<WebhookEvent> {
13087
13538
  /**
13088
- * one of room_started, room_finished, participant_joined, participant_left,
13539
+ * one of room_started, room_finished, participant_joined, participant_left, participant_connection_aborted,
13089
13540
  * track_published, track_unpublished, egress_started, egress_updated, egress_ended,
13090
13541
  * ingress_started, ingress_ended
13091
13542
  *
@@ -13163,4 +13614,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
13163
13614
 
13164
13615
  declare const version: string;
13165
13616
 
13166
- export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, Encryption, Encryption_Type, EventMetric, FileInfo, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MetricLabel, MetricSample, MetricsBatch, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, Ping, PlayoutDelay, Pong, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, version };
13617
+ export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MetricLabel, MetricSample, MetricsBatch, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, Ping, PlayoutDelay, Pong, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TokenPagination, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };