@cc-livekit/protocol 1.39.4 → 1.42.2-1
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.cjs +472 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1004 -41
- package/dist/index.d.mts +1004 -41
- package/dist/index.d.ts +1004 -41
- package/dist/index.mjs +454 -18
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/gen/livekit_agent_pb.d.ts +10 -0
- package/src/gen/livekit_agent_pb.js +2 -0
- package/src/gen/livekit_analytics_pb.d.ts +10 -0
- package/src/gen/livekit_analytics_pb.js +2 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +152 -0
- package/src/gen/livekit_cloud_agent_pb.js +54 -0
- package/src/gen/livekit_connector_twilio_pb.d.ts +139 -0
- package/src/gen/livekit_connector_twilio_pb.js +60 -0
- package/src/gen/livekit_connector_whatsapp_pb.d.ts +434 -0
- package/src/gen/livekit_connector_whatsapp_pb.js +144 -0
- package/src/gen/livekit_egress_pb.d.ts +19 -0
- package/src/gen/livekit_egress_pb.js +3 -0
- package/src/gen/livekit_internal_pb.d.ts +30 -2
- package/src/gen/livekit_internal_pb.js +6 -0
- package/src/gen/livekit_metrics_pb.d.ts +30 -1
- package/src/gen/livekit_metrics_pb.js +11 -0
- package/src/gen/livekit_models_pb.d.ts +305 -9
- package/src/gen/livekit_models_pb.js +85 -0
- package/src/gen/livekit_phone_number_pb.d.ts +634 -0
- package/src/gen/livekit_phone_number_pb.js +222 -0
- package/src/gen/livekit_room_pb.d.ts +75 -0
- package/src/gen/livekit_room_pb.js +25 -0
- package/src/gen/livekit_rtc_pb.d.ts +314 -7
- package/src/gen/livekit_rtc_pb.js +91 -1
- package/src/gen/livekit_sip_pb.d.ts +88 -3
- package/src/gen/livekit_sip_pb.js +29 -1
- package/src/gen/livekit_temptalk_pb.d.ts +34 -0
- package/src/gen/livekit_temptalk_pb.js +12 -0
- package/src/gen/livekit_token_source_pb.d.ts +115 -0
- package/src/gen/livekit_token_source_pb.js +48 -0
- package/src/gen/livekit_webhook_pb.d.ts +1 -1
- package/src/gen/version.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Duration } from '@bufbuild/protobuf';
|
|
1
|
+
import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Duration, Any } from '@bufbuild/protobuf';
|
|
2
2
|
export { protoInt64 } from '@bufbuild/protobuf';
|
|
3
3
|
|
|
4
4
|
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
@@ -181,7 +181,7 @@ declare class MetricsBatch extends Message<MetricsBatch> {
|
|
|
181
181
|
* This is useful for storing participant identities, track names, etc.
|
|
182
182
|
* There is also a predefined list of labels that can be used to reference common metrics.
|
|
183
183
|
* They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1).
|
|
184
|
-
* Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE,
|
|
184
|
+
* Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE,
|
|
185
185
|
* such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.
|
|
186
186
|
*
|
|
187
187
|
* @generated from field: repeated string str_data = 3;
|
|
@@ -376,6 +376,35 @@ declare class EventMetric extends Message<EventMetric> {
|
|
|
376
376
|
static equals(a: EventMetric | PlainMessage<EventMetric> | undefined, b: EventMetric | PlainMessage<EventMetric> | undefined): boolean;
|
|
377
377
|
}
|
|
378
378
|
|
|
379
|
+
/**
|
|
380
|
+
* @generated from message livekit.MetricsRecordingHeader
|
|
381
|
+
*/
|
|
382
|
+
declare class MetricsRecordingHeader extends Message<MetricsRecordingHeader> {
|
|
383
|
+
/**
|
|
384
|
+
* @generated from field: string room_id = 1;
|
|
385
|
+
*/
|
|
386
|
+
roomId: string;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* @generated from field: optional bool enable_user_data_training = 2;
|
|
390
|
+
*/
|
|
391
|
+
enableUserDataTraining?: boolean;
|
|
392
|
+
|
|
393
|
+
constructor(data?: PartialMessage<MetricsRecordingHeader>);
|
|
394
|
+
|
|
395
|
+
static readonly runtime: typeof proto3;
|
|
396
|
+
static readonly typeName = "livekit.MetricsRecordingHeader";
|
|
397
|
+
static readonly fields: FieldList;
|
|
398
|
+
|
|
399
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetricsRecordingHeader;
|
|
400
|
+
|
|
401
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetricsRecordingHeader;
|
|
402
|
+
|
|
403
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetricsRecordingHeader;
|
|
404
|
+
|
|
405
|
+
static equals(a: MetricsRecordingHeader | PlainMessage<MetricsRecordingHeader> | undefined, b: MetricsRecordingHeader | PlainMessage<MetricsRecordingHeader> | undefined): boolean;
|
|
406
|
+
}
|
|
407
|
+
|
|
379
408
|
// Copyright 2023 LiveKit, Inc.
|
|
380
409
|
//
|
|
381
410
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -410,6 +439,11 @@ declare enum AudioCodec {
|
|
|
410
439
|
* @generated from enum value: AAC = 2;
|
|
411
440
|
*/
|
|
412
441
|
AAC = 2,
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* @generated from enum value: AC_MP3 = 3;
|
|
445
|
+
*/
|
|
446
|
+
AC_MP3 = 3,
|
|
413
447
|
}
|
|
414
448
|
|
|
415
449
|
/**
|
|
@@ -844,6 +878,30 @@ declare class Pagination extends Message<Pagination> {
|
|
|
844
878
|
static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean;
|
|
845
879
|
}
|
|
846
880
|
|
|
881
|
+
/**
|
|
882
|
+
* @generated from message livekit.TokenPagination
|
|
883
|
+
*/
|
|
884
|
+
declare class TokenPagination extends Message<TokenPagination> {
|
|
885
|
+
/**
|
|
886
|
+
* @generated from field: string token = 1;
|
|
887
|
+
*/
|
|
888
|
+
token: string;
|
|
889
|
+
|
|
890
|
+
constructor(data?: PartialMessage<TokenPagination>);
|
|
891
|
+
|
|
892
|
+
static readonly runtime: typeof proto3;
|
|
893
|
+
static readonly typeName = "livekit.TokenPagination";
|
|
894
|
+
static readonly fields: FieldList;
|
|
895
|
+
|
|
896
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenPagination;
|
|
897
|
+
|
|
898
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenPagination;
|
|
899
|
+
|
|
900
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenPagination;
|
|
901
|
+
|
|
902
|
+
static equals(a: TokenPagination | PlainMessage<TokenPagination> | undefined, b: TokenPagination | PlainMessage<TokenPagination> | undefined): boolean;
|
|
903
|
+
}
|
|
904
|
+
|
|
847
905
|
/**
|
|
848
906
|
* ListUpdate is used for updated APIs where 'repeated string' field is modified.
|
|
849
907
|
*
|
|
@@ -857,6 +915,27 @@ declare class ListUpdate extends Message<ListUpdate> {
|
|
|
857
915
|
*/
|
|
858
916
|
set: string[];
|
|
859
917
|
|
|
918
|
+
/**
|
|
919
|
+
* append items to a list, avoiding duplicates
|
|
920
|
+
*
|
|
921
|
+
* @generated from field: repeated string add = 2;
|
|
922
|
+
*/
|
|
923
|
+
add: string[];
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* delete items from a list
|
|
927
|
+
*
|
|
928
|
+
* @generated from field: repeated string remove = 3;
|
|
929
|
+
*/
|
|
930
|
+
remove: string[];
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* sets the list to an empty list
|
|
934
|
+
*
|
|
935
|
+
* @generated from field: bool clear = 4;
|
|
936
|
+
*/
|
|
937
|
+
clear: boolean;
|
|
938
|
+
|
|
860
939
|
constructor(data?: PartialMessage<ListUpdate>);
|
|
861
940
|
|
|
862
941
|
static readonly runtime: typeof proto3;
|
|
@@ -1287,6 +1366,15 @@ declare enum ParticipantInfo_Kind {
|
|
|
1287
1366
|
* @generated from enum value: AGENT = 4;
|
|
1288
1367
|
*/
|
|
1289
1368
|
AGENT = 4,
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* Connectors participants
|
|
1372
|
+
*
|
|
1373
|
+
* NEXT_ID: 8
|
|
1374
|
+
*
|
|
1375
|
+
* @generated from enum value: CONNECTOR = 7;
|
|
1376
|
+
*/
|
|
1377
|
+
CONNECTOR = 7,
|
|
1290
1378
|
}
|
|
1291
1379
|
|
|
1292
1380
|
/**
|
|
@@ -1367,6 +1455,21 @@ declare class SimulcastCodecInfo extends Message<SimulcastCodecInfo> {
|
|
|
1367
1455
|
*/
|
|
1368
1456
|
layers: VideoLayer[];
|
|
1369
1457
|
|
|
1458
|
+
/**
|
|
1459
|
+
* @generated from field: livekit.VideoLayer.Mode video_layer_mode = 5;
|
|
1460
|
+
*/
|
|
1461
|
+
videoLayerMode: VideoLayer_Mode;
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* cid (client side id for track) could be different between
|
|
1465
|
+
* signalling (AddTrackRequest) and SDP offer. This field
|
|
1466
|
+
* will be populated only if it is different to avoid
|
|
1467
|
+
* duplication and keep the representation concise.
|
|
1468
|
+
*
|
|
1469
|
+
* @generated from field: string sdp_cid = 6;
|
|
1470
|
+
*/
|
|
1471
|
+
sdpCid: string;
|
|
1472
|
+
|
|
1370
1473
|
constructor(data?: PartialMessage<SimulcastCodecInfo>);
|
|
1371
1474
|
|
|
1372
1475
|
static readonly runtime: typeof proto3;
|
|
@@ -1424,14 +1527,20 @@ declare class TrackInfo extends Message<TrackInfo> {
|
|
|
1424
1527
|
/**
|
|
1425
1528
|
* true if track is simulcasted
|
|
1426
1529
|
*
|
|
1427
|
-
*
|
|
1530
|
+
* see `video_layer_mode` in `codecs`
|
|
1531
|
+
*
|
|
1532
|
+
* @generated from field: bool simulcast = 7 [deprecated = true];
|
|
1533
|
+
* @deprecated
|
|
1428
1534
|
*/
|
|
1429
1535
|
simulcast: boolean;
|
|
1430
1536
|
|
|
1431
1537
|
/**
|
|
1432
1538
|
* true if DTX (Discontinuous Transmission) is disabled for audio
|
|
1433
1539
|
*
|
|
1434
|
-
*
|
|
1540
|
+
* deprecated in favor of `audio_features`
|
|
1541
|
+
*
|
|
1542
|
+
* @generated from field: bool disable_dtx = 8 [deprecated = true];
|
|
1543
|
+
* @deprecated
|
|
1435
1544
|
*/
|
|
1436
1545
|
disableDtx: boolean;
|
|
1437
1546
|
|
|
@@ -1443,7 +1552,10 @@ declare class TrackInfo extends Message<TrackInfo> {
|
|
|
1443
1552
|
source: TrackSource;
|
|
1444
1553
|
|
|
1445
1554
|
/**
|
|
1446
|
-
*
|
|
1555
|
+
* see `codecs` for layers of individual codec
|
|
1556
|
+
*
|
|
1557
|
+
* @generated from field: repeated livekit.VideoLayer layers = 10 [deprecated = true];
|
|
1558
|
+
* @deprecated
|
|
1447
1559
|
*/
|
|
1448
1560
|
layers: VideoLayer[];
|
|
1449
1561
|
|
|
@@ -1465,7 +1577,10 @@ declare class TrackInfo extends Message<TrackInfo> {
|
|
|
1465
1577
|
codecs: SimulcastCodecInfo[];
|
|
1466
1578
|
|
|
1467
1579
|
/**
|
|
1468
|
-
*
|
|
1580
|
+
* deprecated in favor of `audio_features`
|
|
1581
|
+
*
|
|
1582
|
+
* @generated from field: bool stereo = 14 [deprecated = true];
|
|
1583
|
+
* @deprecated
|
|
1469
1584
|
*/
|
|
1470
1585
|
stereo: boolean;
|
|
1471
1586
|
|
|
@@ -1576,6 +1691,31 @@ declare class VideoLayer extends Message<VideoLayer> {
|
|
|
1576
1691
|
static equals(a: VideoLayer | PlainMessage<VideoLayer> | undefined, b: VideoLayer | PlainMessage<VideoLayer> | undefined): boolean;
|
|
1577
1692
|
}
|
|
1578
1693
|
|
|
1694
|
+
/**
|
|
1695
|
+
* @generated from enum livekit.VideoLayer.Mode
|
|
1696
|
+
*/
|
|
1697
|
+
declare enum VideoLayer_Mode {
|
|
1698
|
+
/**
|
|
1699
|
+
* @generated from enum value: MODE_UNUSED = 0;
|
|
1700
|
+
*/
|
|
1701
|
+
MODE_UNUSED = 0,
|
|
1702
|
+
|
|
1703
|
+
/**
|
|
1704
|
+
* @generated from enum value: ONE_SPATIAL_LAYER_PER_STREAM = 1;
|
|
1705
|
+
*/
|
|
1706
|
+
ONE_SPATIAL_LAYER_PER_STREAM = 1,
|
|
1707
|
+
|
|
1708
|
+
/**
|
|
1709
|
+
* @generated from enum value: MULTIPLE_SPATIAL_LAYERS_PER_STREAM = 2;
|
|
1710
|
+
*/
|
|
1711
|
+
MULTIPLE_SPATIAL_LAYERS_PER_STREAM = 2,
|
|
1712
|
+
|
|
1713
|
+
/**
|
|
1714
|
+
* @generated from enum value: ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR = 3;
|
|
1715
|
+
*/
|
|
1716
|
+
ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR = 3,
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1579
1719
|
/**
|
|
1580
1720
|
* new DataPacket API
|
|
1581
1721
|
*
|
|
@@ -1678,6 +1818,12 @@ declare class DataPacket extends Message<DataPacket> {
|
|
|
1678
1818
|
*/
|
|
1679
1819
|
value: DataStream_Trailer;
|
|
1680
1820
|
case: "streamTrailer";
|
|
1821
|
+
} | {
|
|
1822
|
+
/**
|
|
1823
|
+
* @generated from field: livekit.EncryptedPacket encrypted_packet = 18;
|
|
1824
|
+
*/
|
|
1825
|
+
value: EncryptedPacket;
|
|
1826
|
+
case: "encryptedPacket";
|
|
1681
1827
|
} | { case: undefined; value?: undefined };
|
|
1682
1828
|
|
|
1683
1829
|
/**
|
|
@@ -1724,8 +1870,122 @@ declare enum DataPacket_Kind {
|
|
|
1724
1870
|
LOSSY = 1,
|
|
1725
1871
|
}
|
|
1726
1872
|
|
|
1873
|
+
/**
|
|
1874
|
+
* @generated from message livekit.EncryptedPacket
|
|
1875
|
+
*/
|
|
1876
|
+
declare class EncryptedPacket extends Message<EncryptedPacket> {
|
|
1877
|
+
/**
|
|
1878
|
+
* @generated from field: livekit.Encryption.Type encryption_type = 1;
|
|
1879
|
+
*/
|
|
1880
|
+
encryptionType: Encryption_Type;
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* @generated from field: bytes iv = 2;
|
|
1884
|
+
*/
|
|
1885
|
+
iv: Uint8Array;
|
|
1886
|
+
|
|
1887
|
+
/**
|
|
1888
|
+
* @generated from field: uint32 key_index = 3;
|
|
1889
|
+
*/
|
|
1890
|
+
keyIndex: number;
|
|
1891
|
+
|
|
1892
|
+
/**
|
|
1893
|
+
* This is an encrypted EncryptedPacketPayload message representation
|
|
1894
|
+
*
|
|
1895
|
+
* @generated from field: bytes encrypted_value = 4;
|
|
1896
|
+
*/
|
|
1897
|
+
encryptedValue: Uint8Array;
|
|
1898
|
+
|
|
1899
|
+
constructor(data?: PartialMessage<EncryptedPacket>);
|
|
1900
|
+
|
|
1901
|
+
static readonly runtime: typeof proto3;
|
|
1902
|
+
static readonly typeName = "livekit.EncryptedPacket";
|
|
1903
|
+
static readonly fields: FieldList;
|
|
1904
|
+
|
|
1905
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncryptedPacket;
|
|
1906
|
+
|
|
1907
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncryptedPacket;
|
|
1908
|
+
|
|
1909
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncryptedPacket;
|
|
1910
|
+
|
|
1911
|
+
static equals(a: EncryptedPacket | PlainMessage<EncryptedPacket> | undefined, b: EncryptedPacket | PlainMessage<EncryptedPacket> | undefined): boolean;
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* @generated from message livekit.EncryptedPacketPayload
|
|
1916
|
+
*/
|
|
1917
|
+
declare class EncryptedPacketPayload extends Message<EncryptedPacketPayload> {
|
|
1918
|
+
/**
|
|
1919
|
+
* @generated from oneof livekit.EncryptedPacketPayload.value
|
|
1920
|
+
*/
|
|
1921
|
+
value: {
|
|
1922
|
+
/**
|
|
1923
|
+
* @generated from field: livekit.UserPacket user = 1;
|
|
1924
|
+
*/
|
|
1925
|
+
value: UserPacket;
|
|
1926
|
+
case: "user";
|
|
1927
|
+
} | {
|
|
1928
|
+
/**
|
|
1929
|
+
* @generated from field: livekit.ChatMessage chat_message = 3;
|
|
1930
|
+
*/
|
|
1931
|
+
value: ChatMessage;
|
|
1932
|
+
case: "chatMessage";
|
|
1933
|
+
} | {
|
|
1934
|
+
/**
|
|
1935
|
+
* @generated from field: livekit.RpcRequest rpc_request = 4;
|
|
1936
|
+
*/
|
|
1937
|
+
value: RpcRequest;
|
|
1938
|
+
case: "rpcRequest";
|
|
1939
|
+
} | {
|
|
1940
|
+
/**
|
|
1941
|
+
* @generated from field: livekit.RpcAck rpc_ack = 5;
|
|
1942
|
+
*/
|
|
1943
|
+
value: RpcAck;
|
|
1944
|
+
case: "rpcAck";
|
|
1945
|
+
} | {
|
|
1946
|
+
/**
|
|
1947
|
+
* @generated from field: livekit.RpcResponse rpc_response = 6;
|
|
1948
|
+
*/
|
|
1949
|
+
value: RpcResponse;
|
|
1950
|
+
case: "rpcResponse";
|
|
1951
|
+
} | {
|
|
1952
|
+
/**
|
|
1953
|
+
* @generated from field: livekit.DataStream.Header stream_header = 7;
|
|
1954
|
+
*/
|
|
1955
|
+
value: DataStream_Header;
|
|
1956
|
+
case: "streamHeader";
|
|
1957
|
+
} | {
|
|
1958
|
+
/**
|
|
1959
|
+
* @generated from field: livekit.DataStream.Chunk stream_chunk = 8;
|
|
1960
|
+
*/
|
|
1961
|
+
value: DataStream_Chunk;
|
|
1962
|
+
case: "streamChunk";
|
|
1963
|
+
} | {
|
|
1964
|
+
/**
|
|
1965
|
+
* @generated from field: livekit.DataStream.Trailer stream_trailer = 9;
|
|
1966
|
+
*/
|
|
1967
|
+
value: DataStream_Trailer;
|
|
1968
|
+
case: "streamTrailer";
|
|
1969
|
+
} | { case: undefined; value?: undefined };
|
|
1970
|
+
|
|
1971
|
+
constructor(data?: PartialMessage<EncryptedPacketPayload>);
|
|
1972
|
+
|
|
1973
|
+
static readonly runtime: typeof proto3;
|
|
1974
|
+
static readonly typeName = "livekit.EncryptedPacketPayload";
|
|
1975
|
+
static readonly fields: FieldList;
|
|
1976
|
+
|
|
1977
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncryptedPacketPayload;
|
|
1978
|
+
|
|
1979
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncryptedPacketPayload;
|
|
1980
|
+
|
|
1981
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncryptedPacketPayload;
|
|
1982
|
+
|
|
1983
|
+
static equals(a: EncryptedPacketPayload | PlainMessage<EncryptedPacketPayload> | undefined, b: EncryptedPacketPayload | PlainMessage<EncryptedPacketPayload> | undefined): boolean;
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1727
1986
|
/**
|
|
1728
1987
|
* @generated from message livekit.ActiveSpeakerUpdate
|
|
1988
|
+
* @deprecated
|
|
1729
1989
|
*/
|
|
1730
1990
|
declare class ActiveSpeakerUpdate extends Message<ActiveSpeakerUpdate> {
|
|
1731
1991
|
/**
|
|
@@ -1835,7 +2095,7 @@ declare class UserPacket extends Message<UserPacket> {
|
|
|
1835
2095
|
topic?: string;
|
|
1836
2096
|
|
|
1837
2097
|
/**
|
|
1838
|
-
* Unique ID to
|
|
2098
|
+
* Unique ID to identify the message
|
|
1839
2099
|
*
|
|
1840
2100
|
* @generated from field: optional string id = 8;
|
|
1841
2101
|
*/
|
|
@@ -3284,9 +3544,10 @@ declare class DataStream_Header extends Message<DataStream_Header> {
|
|
|
3284
3544
|
totalLength?: bigint;
|
|
3285
3545
|
|
|
3286
3546
|
/**
|
|
3287
|
-
*
|
|
3547
|
+
* this is set on the DataPacket
|
|
3288
3548
|
*
|
|
3289
|
-
* @generated from field: livekit.Encryption.Type encryption_type = 7;
|
|
3549
|
+
* @generated from field: livekit.Encryption.Type encryption_type = 7 [deprecated = true];
|
|
3550
|
+
* @deprecated
|
|
3290
3551
|
*/
|
|
3291
3552
|
encryptionType: Encryption_Type;
|
|
3292
3553
|
|
|
@@ -3362,9 +3623,10 @@ declare class DataStream_Chunk extends Message<DataStream_Chunk> {
|
|
|
3362
3623
|
version: number;
|
|
3363
3624
|
|
|
3364
3625
|
/**
|
|
3365
|
-
*
|
|
3626
|
+
* this is set on the DataPacket
|
|
3366
3627
|
*
|
|
3367
|
-
* @generated from field: optional bytes iv = 5;
|
|
3628
|
+
* @generated from field: optional bytes iv = 5 [deprecated = true];
|
|
3629
|
+
* @deprecated
|
|
3368
3630
|
*/
|
|
3369
3631
|
iv?: Uint8Array;
|
|
3370
3632
|
|
|
@@ -3423,6 +3685,35 @@ declare class DataStream_Trailer extends Message<DataStream_Trailer> {
|
|
|
3423
3685
|
static equals(a: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined, b: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined): boolean;
|
|
3424
3686
|
}
|
|
3425
3687
|
|
|
3688
|
+
/**
|
|
3689
|
+
* @generated from message livekit.FilterParams
|
|
3690
|
+
*/
|
|
3691
|
+
declare class FilterParams extends Message<FilterParams> {
|
|
3692
|
+
/**
|
|
3693
|
+
* @generated from field: repeated string include_events = 1;
|
|
3694
|
+
*/
|
|
3695
|
+
includeEvents: string[];
|
|
3696
|
+
|
|
3697
|
+
/**
|
|
3698
|
+
* @generated from field: repeated string exclude_events = 2;
|
|
3699
|
+
*/
|
|
3700
|
+
excludeEvents: string[];
|
|
3701
|
+
|
|
3702
|
+
constructor(data?: PartialMessage<FilterParams>);
|
|
3703
|
+
|
|
3704
|
+
static readonly runtime: typeof proto3;
|
|
3705
|
+
static readonly typeName = "livekit.FilterParams";
|
|
3706
|
+
static readonly fields: FieldList;
|
|
3707
|
+
|
|
3708
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FilterParams;
|
|
3709
|
+
|
|
3710
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FilterParams;
|
|
3711
|
+
|
|
3712
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FilterParams;
|
|
3713
|
+
|
|
3714
|
+
static equals(a: FilterParams | PlainMessage<FilterParams> | undefined, b: FilterParams | PlainMessage<FilterParams> | undefined): boolean;
|
|
3715
|
+
}
|
|
3716
|
+
|
|
3426
3717
|
/**
|
|
3427
3718
|
* @generated from message livekit.WebhookConfig
|
|
3428
3719
|
*/
|
|
@@ -3437,6 +3728,11 @@ declare class WebhookConfig extends Message<WebhookConfig> {
|
|
|
3437
3728
|
*/
|
|
3438
3729
|
signingKey: string;
|
|
3439
3730
|
|
|
3731
|
+
/**
|
|
3732
|
+
* @generated from field: livekit.FilterParams filter_params = 3;
|
|
3733
|
+
*/
|
|
3734
|
+
filterParams?: FilterParams;
|
|
3735
|
+
|
|
3440
3736
|
constructor(data?: PartialMessage<WebhookConfig>);
|
|
3441
3737
|
|
|
3442
3738
|
static readonly runtime: typeof proto3;
|
|
@@ -3452,6 +3748,35 @@ declare class WebhookConfig extends Message<WebhookConfig> {
|
|
|
3452
3748
|
static equals(a: WebhookConfig | PlainMessage<WebhookConfig> | undefined, b: WebhookConfig | PlainMessage<WebhookConfig> | undefined): boolean;
|
|
3453
3749
|
}
|
|
3454
3750
|
|
|
3751
|
+
/**
|
|
3752
|
+
* @generated from message livekit.SubscribedAudioCodec
|
|
3753
|
+
*/
|
|
3754
|
+
declare class SubscribedAudioCodec extends Message<SubscribedAudioCodec> {
|
|
3755
|
+
/**
|
|
3756
|
+
* @generated from field: string codec = 1;
|
|
3757
|
+
*/
|
|
3758
|
+
codec: string;
|
|
3759
|
+
|
|
3760
|
+
/**
|
|
3761
|
+
* @generated from field: bool enabled = 2;
|
|
3762
|
+
*/
|
|
3763
|
+
enabled: boolean;
|
|
3764
|
+
|
|
3765
|
+
constructor(data?: PartialMessage<SubscribedAudioCodec>);
|
|
3766
|
+
|
|
3767
|
+
static readonly runtime: typeof proto3;
|
|
3768
|
+
static readonly typeName = "livekit.SubscribedAudioCodec";
|
|
3769
|
+
static readonly fields: FieldList;
|
|
3770
|
+
|
|
3771
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscribedAudioCodec;
|
|
3772
|
+
|
|
3773
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscribedAudioCodec;
|
|
3774
|
+
|
|
3775
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscribedAudioCodec;
|
|
3776
|
+
|
|
3777
|
+
static equals(a: SubscribedAudioCodec | PlainMessage<SubscribedAudioCodec> | undefined, b: SubscribedAudioCodec | PlainMessage<SubscribedAudioCodec> | undefined): boolean;
|
|
3778
|
+
}
|
|
3779
|
+
|
|
3455
3780
|
// Copyright 2023 LiveKit, Inc.
|
|
3456
3781
|
//
|
|
3457
3782
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -3578,6 +3903,11 @@ declare class Job extends Message<Job> {
|
|
|
3578
3903
|
*/
|
|
3579
3904
|
state?: JobState;
|
|
3580
3905
|
|
|
3906
|
+
/**
|
|
3907
|
+
* @generated from field: bool enable_recording = 10;
|
|
3908
|
+
*/
|
|
3909
|
+
enableRecording: boolean;
|
|
3910
|
+
|
|
3581
3911
|
constructor(data?: PartialMessage<Job>);
|
|
3582
3912
|
|
|
3583
3913
|
static readonly runtime: typeof proto3;
|
|
@@ -3632,6 +3962,11 @@ declare class JobState extends Message<JobState> {
|
|
|
3632
3962
|
*/
|
|
3633
3963
|
workerId: string;
|
|
3634
3964
|
|
|
3965
|
+
/**
|
|
3966
|
+
* @generated from field: string agent_id = 8;
|
|
3967
|
+
*/
|
|
3968
|
+
agentId: string;
|
|
3969
|
+
|
|
3635
3970
|
constructor(data?: PartialMessage<JobState>);
|
|
3636
3971
|
|
|
3637
3972
|
static readonly runtime: typeof proto3;
|
|
@@ -4485,6 +4820,11 @@ declare enum EncodedFileType {
|
|
|
4485
4820
|
* @generated from enum value: OGG = 2;
|
|
4486
4821
|
*/
|
|
4487
4822
|
OGG = 2,
|
|
4823
|
+
|
|
4824
|
+
/**
|
|
4825
|
+
* @generated from enum value: MP3 = 3;
|
|
4826
|
+
*/
|
|
4827
|
+
MP3 = 3,
|
|
4488
4828
|
}
|
|
4489
4829
|
|
|
4490
4830
|
/**
|
|
@@ -5574,6 +5914,20 @@ declare class S3Upload extends Message<S3Upload> {
|
|
|
5574
5914
|
*/
|
|
5575
5915
|
sessionToken: string;
|
|
5576
5916
|
|
|
5917
|
+
/**
|
|
5918
|
+
* 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
|
|
5919
|
+
*
|
|
5920
|
+
* @generated from field: string assume_role_arn = 12;
|
|
5921
|
+
*/
|
|
5922
|
+
assumeRoleArn: string;
|
|
5923
|
+
|
|
5924
|
+
/**
|
|
5925
|
+
* ExternalID to use when assuming role for upload
|
|
5926
|
+
*
|
|
5927
|
+
* @generated from field: string assume_role_external_id = 13;
|
|
5928
|
+
*/
|
|
5929
|
+
assumeRoleExternalId: string;
|
|
5930
|
+
|
|
5577
5931
|
/**
|
|
5578
5932
|
* @generated from field: string region = 3;
|
|
5579
5933
|
*/
|
|
@@ -8173,6 +8527,13 @@ declare class RoomConfiguration extends Message<RoomConfiguration> {
|
|
|
8173
8527
|
*/
|
|
8174
8528
|
maxParticipants: number;
|
|
8175
8529
|
|
|
8530
|
+
/**
|
|
8531
|
+
* metadata of room
|
|
8532
|
+
*
|
|
8533
|
+
* @generated from field: string metadata = 11;
|
|
8534
|
+
*/
|
|
8535
|
+
metadata: string;
|
|
8536
|
+
|
|
8176
8537
|
/**
|
|
8177
8538
|
* egress
|
|
8178
8539
|
*
|
|
@@ -8340,30 +8701,98 @@ declare class MoveParticipantResponse extends Message<MoveParticipantResponse> {
|
|
|
8340
8701
|
static equals(a: MoveParticipantResponse | PlainMessage<MoveParticipantResponse> | undefined, b: MoveParticipantResponse | PlainMessage<MoveParticipantResponse> | undefined): boolean;
|
|
8341
8702
|
}
|
|
8342
8703
|
|
|
8343
|
-
// Copyright 2025 LiveKit, Inc.
|
|
8344
|
-
//
|
|
8345
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
8346
|
-
// you may not use this file except in compliance with the License.
|
|
8347
|
-
// You may obtain a copy of the License at
|
|
8348
|
-
//
|
|
8349
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8350
|
-
//
|
|
8351
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
8352
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
8353
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
8354
|
-
// See the License for the specific language governing permissions and
|
|
8355
|
-
// limitations under the License.
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
8704
|
/**
|
|
8360
|
-
* @generated from message livekit.
|
|
8705
|
+
* @generated from message livekit.PerformRpcRequest
|
|
8361
8706
|
*/
|
|
8362
|
-
declare class
|
|
8707
|
+
declare class PerformRpcRequest extends Message<PerformRpcRequest> {
|
|
8363
8708
|
/**
|
|
8364
|
-
* @generated from field: string
|
|
8709
|
+
* @generated from field: string room = 1;
|
|
8365
8710
|
*/
|
|
8366
|
-
|
|
8711
|
+
room: string;
|
|
8712
|
+
|
|
8713
|
+
/**
|
|
8714
|
+
* @generated from field: string destination_identity = 2;
|
|
8715
|
+
*/
|
|
8716
|
+
destinationIdentity: string;
|
|
8717
|
+
|
|
8718
|
+
/**
|
|
8719
|
+
* @generated from field: string method = 3;
|
|
8720
|
+
*/
|
|
8721
|
+
method: string;
|
|
8722
|
+
|
|
8723
|
+
/**
|
|
8724
|
+
* @generated from field: string payload = 4;
|
|
8725
|
+
*/
|
|
8726
|
+
payload: string;
|
|
8727
|
+
|
|
8728
|
+
/**
|
|
8729
|
+
* @generated from field: uint32 response_timeout_ms = 5;
|
|
8730
|
+
*/
|
|
8731
|
+
responseTimeoutMs: number;
|
|
8732
|
+
|
|
8733
|
+
constructor(data?: PartialMessage<PerformRpcRequest>);
|
|
8734
|
+
|
|
8735
|
+
static readonly runtime: typeof proto3;
|
|
8736
|
+
static readonly typeName = "livekit.PerformRpcRequest";
|
|
8737
|
+
static readonly fields: FieldList;
|
|
8738
|
+
|
|
8739
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcRequest;
|
|
8740
|
+
|
|
8741
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcRequest;
|
|
8742
|
+
|
|
8743
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcRequest;
|
|
8744
|
+
|
|
8745
|
+
static equals(a: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined, b: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined): boolean;
|
|
8746
|
+
}
|
|
8747
|
+
|
|
8748
|
+
/**
|
|
8749
|
+
* @generated from message livekit.PerformRpcResponse
|
|
8750
|
+
*/
|
|
8751
|
+
declare class PerformRpcResponse extends Message<PerformRpcResponse> {
|
|
8752
|
+
/**
|
|
8753
|
+
* @generated from field: string payload = 1;
|
|
8754
|
+
*/
|
|
8755
|
+
payload: string;
|
|
8756
|
+
|
|
8757
|
+
constructor(data?: PartialMessage<PerformRpcResponse>);
|
|
8758
|
+
|
|
8759
|
+
static readonly runtime: typeof proto3;
|
|
8760
|
+
static readonly typeName = "livekit.PerformRpcResponse";
|
|
8761
|
+
static readonly fields: FieldList;
|
|
8762
|
+
|
|
8763
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcResponse;
|
|
8764
|
+
|
|
8765
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcResponse;
|
|
8766
|
+
|
|
8767
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcResponse;
|
|
8768
|
+
|
|
8769
|
+
static equals(a: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined, b: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined): boolean;
|
|
8770
|
+
}
|
|
8771
|
+
|
|
8772
|
+
// Copyright 2025 LiveKit, Inc.
|
|
8773
|
+
//
|
|
8774
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
8775
|
+
// you may not use this file except in compliance with the License.
|
|
8776
|
+
// You may obtain a copy of the License at
|
|
8777
|
+
//
|
|
8778
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8779
|
+
//
|
|
8780
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
8781
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
8782
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
8783
|
+
// See the License for the specific language governing permissions and
|
|
8784
|
+
// limitations under the License.
|
|
8785
|
+
|
|
8786
|
+
|
|
8787
|
+
|
|
8788
|
+
/**
|
|
8789
|
+
* @generated from message livekit.TTCaller
|
|
8790
|
+
*/
|
|
8791
|
+
declare class TTCaller extends Message<TTCaller> {
|
|
8792
|
+
/**
|
|
8793
|
+
* @generated from field: string uid = 1;
|
|
8794
|
+
*/
|
|
8795
|
+
uid: string;
|
|
8367
8796
|
|
|
8368
8797
|
/**
|
|
8369
8798
|
* @generated from field: int32 did = 2;
|
|
@@ -8556,6 +8985,30 @@ declare class TTCallResponseBody extends Message<TTCallResponseBody> {
|
|
|
8556
8985
|
static equals(a: TTCallResponseBody | PlainMessage<TTCallResponseBody> | undefined, b: TTCallResponseBody | PlainMessage<TTCallResponseBody> | undefined): boolean;
|
|
8557
8986
|
}
|
|
8558
8987
|
|
|
8988
|
+
/**
|
|
8989
|
+
* @generated from message livekit.TTCallOptions
|
|
8990
|
+
*/
|
|
8991
|
+
declare class TTCallOptions extends Message<TTCallOptions> {
|
|
8992
|
+
/**
|
|
8993
|
+
* @generated from field: bool publish_silence_audio = 1;
|
|
8994
|
+
*/
|
|
8995
|
+
publishSilenceAudio: boolean;
|
|
8996
|
+
|
|
8997
|
+
constructor(data?: PartialMessage<TTCallOptions>);
|
|
8998
|
+
|
|
8999
|
+
static readonly runtime: typeof proto3;
|
|
9000
|
+
static readonly typeName = "livekit.TTCallOptions";
|
|
9001
|
+
static readonly fields: FieldList;
|
|
9002
|
+
|
|
9003
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TTCallOptions;
|
|
9004
|
+
|
|
9005
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TTCallOptions;
|
|
9006
|
+
|
|
9007
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TTCallOptions;
|
|
9008
|
+
|
|
9009
|
+
static equals(a: TTCallOptions | PlainMessage<TTCallOptions> | undefined, b: TTCallOptions | PlainMessage<TTCallOptions> | undefined): boolean;
|
|
9010
|
+
}
|
|
9011
|
+
|
|
8559
9012
|
/**
|
|
8560
9013
|
* @generated from message livekit.TTCallResponse
|
|
8561
9014
|
*/
|
|
@@ -8570,6 +9023,11 @@ declare class TTCallResponse extends Message<TTCallResponse> {
|
|
|
8570
9023
|
*/
|
|
8571
9024
|
body?: TTCallResponseBody;
|
|
8572
9025
|
|
|
9026
|
+
/**
|
|
9027
|
+
* @generated from field: optional livekit.TTCallOptions call_options = 100;
|
|
9028
|
+
*/
|
|
9029
|
+
callOptions?: TTCallOptions;
|
|
9030
|
+
|
|
8573
9031
|
constructor(data?: PartialMessage<TTCallResponse>);
|
|
8574
9032
|
|
|
8575
9033
|
static readonly runtime: typeof proto3;
|
|
@@ -8792,6 +9250,11 @@ declare class TTCallRequest extends Message<TTCallRequest> {
|
|
|
8792
9250
|
*/
|
|
8793
9251
|
startCall?: TTStartCall;
|
|
8794
9252
|
|
|
9253
|
+
/**
|
|
9254
|
+
* @generated from field: string userAgent = 3;
|
|
9255
|
+
*/
|
|
9256
|
+
userAgent: string;
|
|
9257
|
+
|
|
8795
9258
|
constructor(data?: PartialMessage<TTCallRequest>);
|
|
8796
9259
|
|
|
8797
9260
|
static readonly runtime: typeof proto3;
|
|
@@ -8882,7 +9345,7 @@ declare class SignalRequest extends Message<SignalRequest> {
|
|
|
8882
9345
|
*/
|
|
8883
9346
|
message: {
|
|
8884
9347
|
/**
|
|
8885
|
-
*
|
|
9348
|
+
* participant offer for publisher
|
|
8886
9349
|
*
|
|
8887
9350
|
* @generated from field: livekit.SessionDescription offer = 1;
|
|
8888
9351
|
*/
|
|
@@ -8890,7 +9353,7 @@ declare class SignalRequest extends Message<SignalRequest> {
|
|
|
8890
9353
|
case: "offer";
|
|
8891
9354
|
} | {
|
|
8892
9355
|
/**
|
|
8893
|
-
* participant answering
|
|
9356
|
+
* participant answering subscriber offer
|
|
8894
9357
|
*
|
|
8895
9358
|
* @generated from field: livekit.SessionDescription answer = 2;
|
|
8896
9359
|
*/
|
|
@@ -9231,6 +9694,22 @@ declare class SignalResponse extends Message<SignalResponse> {
|
|
|
9231
9694
|
*/
|
|
9232
9695
|
value: RoomMovedResponse;
|
|
9233
9696
|
case: "roomMoved";
|
|
9697
|
+
} | {
|
|
9698
|
+
/**
|
|
9699
|
+
* notify number of required media sections to satisfy subscribed tracks
|
|
9700
|
+
*
|
|
9701
|
+
* @generated from field: livekit.MediaSectionsRequirement media_sections_requirement = 25;
|
|
9702
|
+
*/
|
|
9703
|
+
value: MediaSectionsRequirement;
|
|
9704
|
+
case: "mediaSectionsRequirement";
|
|
9705
|
+
} | {
|
|
9706
|
+
/**
|
|
9707
|
+
* when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions
|
|
9708
|
+
*
|
|
9709
|
+
* @generated from field: livekit.SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26;
|
|
9710
|
+
*/
|
|
9711
|
+
value: SubscribedAudioCodecUpdate;
|
|
9712
|
+
case: "subscribedAudioCodecUpdate";
|
|
9234
9713
|
} | { case: undefined; value?: undefined };
|
|
9235
9714
|
|
|
9236
9715
|
constructor(data?: PartialMessage<SignalResponse>);
|
|
@@ -9262,6 +9741,16 @@ declare class SimulcastCodec extends Message<SimulcastCodec> {
|
|
|
9262
9741
|
*/
|
|
9263
9742
|
cid: string;
|
|
9264
9743
|
|
|
9744
|
+
/**
|
|
9745
|
+
* @generated from field: repeated livekit.VideoLayer layers = 4;
|
|
9746
|
+
*/
|
|
9747
|
+
layers: VideoLayer[];
|
|
9748
|
+
|
|
9749
|
+
/**
|
|
9750
|
+
* @generated from field: livekit.VideoLayer.Mode video_layer_mode = 5;
|
|
9751
|
+
*/
|
|
9752
|
+
videoLayerMode: VideoLayer_Mode;
|
|
9753
|
+
|
|
9265
9754
|
constructor(data?: PartialMessage<SimulcastCodec>);
|
|
9266
9755
|
|
|
9267
9756
|
static readonly runtime: typeof proto3;
|
|
@@ -9299,8 +9788,6 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
|
|
|
9299
9788
|
type: TrackType;
|
|
9300
9789
|
|
|
9301
9790
|
/**
|
|
9302
|
-
* to be deprecated in favor of layers
|
|
9303
|
-
*
|
|
9304
9791
|
* @generated from field: uint32 width = 4;
|
|
9305
9792
|
*/
|
|
9306
9793
|
width: number;
|
|
@@ -9694,6 +10181,11 @@ declare class SessionDescription extends Message<SessionDescription> {
|
|
|
9694
10181
|
*/
|
|
9695
10182
|
id: number;
|
|
9696
10183
|
|
|
10184
|
+
/**
|
|
10185
|
+
* @generated from field: map<string, string> mid_to_track_id = 4;
|
|
10186
|
+
*/
|
|
10187
|
+
midToTrackId: { [key: string]: string };
|
|
10188
|
+
|
|
9697
10189
|
constructor(data?: PartialMessage<SessionDescription>);
|
|
9698
10190
|
|
|
9699
10191
|
static readonly runtime: typeof proto3;
|
|
@@ -10336,6 +10828,35 @@ declare class SubscribedQualityUpdate extends Message<SubscribedQualityUpdate> {
|
|
|
10336
10828
|
static equals(a: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined, b: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined): boolean;
|
|
10337
10829
|
}
|
|
10338
10830
|
|
|
10831
|
+
/**
|
|
10832
|
+
* @generated from message livekit.SubscribedAudioCodecUpdate
|
|
10833
|
+
*/
|
|
10834
|
+
declare class SubscribedAudioCodecUpdate extends Message<SubscribedAudioCodecUpdate> {
|
|
10835
|
+
/**
|
|
10836
|
+
* @generated from field: string track_sid = 1;
|
|
10837
|
+
*/
|
|
10838
|
+
trackSid: string;
|
|
10839
|
+
|
|
10840
|
+
/**
|
|
10841
|
+
* @generated from field: repeated livekit.SubscribedAudioCodec subscribed_audio_codecs = 2;
|
|
10842
|
+
*/
|
|
10843
|
+
subscribedAudioCodecs: SubscribedAudioCodec[];
|
|
10844
|
+
|
|
10845
|
+
constructor(data?: PartialMessage<SubscribedAudioCodecUpdate>);
|
|
10846
|
+
|
|
10847
|
+
static readonly runtime: typeof proto3;
|
|
10848
|
+
static readonly typeName = "livekit.SubscribedAudioCodecUpdate";
|
|
10849
|
+
static readonly fields: FieldList;
|
|
10850
|
+
|
|
10851
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscribedAudioCodecUpdate;
|
|
10852
|
+
|
|
10853
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
|
|
10854
|
+
|
|
10855
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
|
|
10856
|
+
|
|
10857
|
+
static equals(a: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined, b: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined): boolean;
|
|
10858
|
+
}
|
|
10859
|
+
|
|
10339
10860
|
/**
|
|
10340
10861
|
* @generated from message livekit.TrackPermission
|
|
10341
10862
|
*/
|
|
@@ -10488,7 +11009,9 @@ declare class RoomMovedResponse extends Message<RoomMovedResponse> {
|
|
|
10488
11009
|
*/
|
|
10489
11010
|
declare class SyncState extends Message<SyncState> {
|
|
10490
11011
|
/**
|
|
10491
|
-
* last subscribe answer before reconnecting
|
|
11012
|
+
* last subscribe/publish answer before reconnecting
|
|
11013
|
+
* subscribe answer if using dual peer connection
|
|
11014
|
+
* publish answer if using single peer connection
|
|
10492
11015
|
*
|
|
10493
11016
|
* @generated from field: livekit.SessionDescription answer = 1;
|
|
10494
11017
|
*/
|
|
@@ -10510,7 +11033,9 @@ declare class SyncState extends Message<SyncState> {
|
|
|
10510
11033
|
dataChannels: DataChannelInfo[];
|
|
10511
11034
|
|
|
10512
11035
|
/**
|
|
10513
|
-
* last received server side offer before reconnecting
|
|
11036
|
+
* last received server side offer/sent client side offer before reconnecting
|
|
11037
|
+
* received server side offer if using dual peer connection
|
|
11038
|
+
* sent client side offer if using single peer connection
|
|
10514
11039
|
*
|
|
10515
11040
|
* @generated from field: livekit.SessionDescription offer = 5;
|
|
10516
11041
|
*/
|
|
@@ -10869,6 +11394,47 @@ declare class RequestResponse extends Message<RequestResponse> {
|
|
|
10869
11394
|
*/
|
|
10870
11395
|
message: string;
|
|
10871
11396
|
|
|
11397
|
+
/**
|
|
11398
|
+
* @generated from oneof livekit.RequestResponse.request
|
|
11399
|
+
*/
|
|
11400
|
+
request: {
|
|
11401
|
+
/**
|
|
11402
|
+
* @generated from field: livekit.TrickleRequest trickle = 4;
|
|
11403
|
+
*/
|
|
11404
|
+
value: TrickleRequest;
|
|
11405
|
+
case: "trickle";
|
|
11406
|
+
} | {
|
|
11407
|
+
/**
|
|
11408
|
+
* @generated from field: livekit.AddTrackRequest add_track = 5;
|
|
11409
|
+
*/
|
|
11410
|
+
value: AddTrackRequest;
|
|
11411
|
+
case: "addTrack";
|
|
11412
|
+
} | {
|
|
11413
|
+
/**
|
|
11414
|
+
* @generated from field: livekit.MuteTrackRequest mute = 6;
|
|
11415
|
+
*/
|
|
11416
|
+
value: MuteTrackRequest;
|
|
11417
|
+
case: "mute";
|
|
11418
|
+
} | {
|
|
11419
|
+
/**
|
|
11420
|
+
* @generated from field: livekit.UpdateParticipantMetadata update_metadata = 7;
|
|
11421
|
+
*/
|
|
11422
|
+
value: UpdateParticipantMetadata;
|
|
11423
|
+
case: "updateMetadata";
|
|
11424
|
+
} | {
|
|
11425
|
+
/**
|
|
11426
|
+
* @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 8;
|
|
11427
|
+
*/
|
|
11428
|
+
value: UpdateLocalAudioTrack;
|
|
11429
|
+
case: "updateAudioTrack";
|
|
11430
|
+
} | {
|
|
11431
|
+
/**
|
|
11432
|
+
* @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 9;
|
|
11433
|
+
*/
|
|
11434
|
+
value: UpdateLocalVideoTrack;
|
|
11435
|
+
case: "updateVideoTrack";
|
|
11436
|
+
} | { case: undefined; value?: undefined };
|
|
11437
|
+
|
|
10872
11438
|
constructor(data?: PartialMessage<RequestResponse>);
|
|
10873
11439
|
|
|
10874
11440
|
static readonly runtime: typeof proto3;
|
|
@@ -10907,6 +11473,21 @@ declare enum RequestResponse_Reason {
|
|
|
10907
11473
|
* @generated from enum value: LIMIT_EXCEEDED = 3;
|
|
10908
11474
|
*/
|
|
10909
11475
|
LIMIT_EXCEEDED = 3,
|
|
11476
|
+
|
|
11477
|
+
/**
|
|
11478
|
+
* @generated from enum value: QUEUED = 4;
|
|
11479
|
+
*/
|
|
11480
|
+
QUEUED = 4,
|
|
11481
|
+
|
|
11482
|
+
/**
|
|
11483
|
+
* @generated from enum value: UNSUPPORTED_TYPE = 5;
|
|
11484
|
+
*/
|
|
11485
|
+
UNSUPPORTED_TYPE = 5,
|
|
11486
|
+
|
|
11487
|
+
/**
|
|
11488
|
+
* @generated from enum value: UNCLASSIFIED_ERROR = 6;
|
|
11489
|
+
*/
|
|
11490
|
+
UNCLASSIFIED_ERROR = 6,
|
|
10910
11491
|
}
|
|
10911
11492
|
|
|
10912
11493
|
/**
|
|
@@ -10933,6 +11514,195 @@ declare class TrackSubscribed extends Message<TrackSubscribed> {
|
|
|
10933
11514
|
static equals(a: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined, b: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined): boolean;
|
|
10934
11515
|
}
|
|
10935
11516
|
|
|
11517
|
+
/**
|
|
11518
|
+
* @generated from message livekit.ConnectionSettings
|
|
11519
|
+
*/
|
|
11520
|
+
declare class ConnectionSettings extends Message<ConnectionSettings> {
|
|
11521
|
+
/**
|
|
11522
|
+
* @generated from field: bool auto_subscribe = 1;
|
|
11523
|
+
*/
|
|
11524
|
+
autoSubscribe: boolean;
|
|
11525
|
+
|
|
11526
|
+
/**
|
|
11527
|
+
* @generated from field: bool adaptive_stream = 2;
|
|
11528
|
+
*/
|
|
11529
|
+
adaptiveStream: boolean;
|
|
11530
|
+
|
|
11531
|
+
/**
|
|
11532
|
+
* @generated from field: optional bool subscriber_allow_pause = 3;
|
|
11533
|
+
*/
|
|
11534
|
+
subscriberAllowPause?: boolean;
|
|
11535
|
+
|
|
11536
|
+
/**
|
|
11537
|
+
* @generated from field: bool disable_ice_lite = 4;
|
|
11538
|
+
*/
|
|
11539
|
+
disableIceLite: boolean;
|
|
11540
|
+
|
|
11541
|
+
constructor(data?: PartialMessage<ConnectionSettings>);
|
|
11542
|
+
|
|
11543
|
+
static readonly runtime: typeof proto3;
|
|
11544
|
+
static readonly typeName = "livekit.ConnectionSettings";
|
|
11545
|
+
static readonly fields: FieldList;
|
|
11546
|
+
|
|
11547
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectionSettings;
|
|
11548
|
+
|
|
11549
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectionSettings;
|
|
11550
|
+
|
|
11551
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectionSettings;
|
|
11552
|
+
|
|
11553
|
+
static equals(a: ConnectionSettings | PlainMessage<ConnectionSettings> | undefined, b: ConnectionSettings | PlainMessage<ConnectionSettings> | undefined): boolean;
|
|
11554
|
+
}
|
|
11555
|
+
|
|
11556
|
+
/**
|
|
11557
|
+
* @generated from message livekit.JoinRequest
|
|
11558
|
+
*/
|
|
11559
|
+
declare class JoinRequest extends Message<JoinRequest> {
|
|
11560
|
+
/**
|
|
11561
|
+
* @generated from field: livekit.ClientInfo client_info = 1;
|
|
11562
|
+
*/
|
|
11563
|
+
clientInfo?: ClientInfo;
|
|
11564
|
+
|
|
11565
|
+
/**
|
|
11566
|
+
* @generated from field: livekit.ConnectionSettings connection_settings = 2;
|
|
11567
|
+
*/
|
|
11568
|
+
connectionSettings?: ConnectionSettings;
|
|
11569
|
+
|
|
11570
|
+
/**
|
|
11571
|
+
* if not empty, will overwrite `metadata` in token
|
|
11572
|
+
*
|
|
11573
|
+
* @generated from field: string metadata = 3;
|
|
11574
|
+
*/
|
|
11575
|
+
metadata: string;
|
|
11576
|
+
|
|
11577
|
+
/**
|
|
11578
|
+
* will set keys provided via this
|
|
11579
|
+
* will overwrite if the same key is in the token
|
|
11580
|
+
* will not delete keys from token if there is a key collision and this sets that key to empty value
|
|
11581
|
+
*
|
|
11582
|
+
* @generated from field: map<string, string> participant_attributes = 4;
|
|
11583
|
+
*/
|
|
11584
|
+
participantAttributes: { [key: string]: string };
|
|
11585
|
+
|
|
11586
|
+
/**
|
|
11587
|
+
* @generated from field: repeated livekit.AddTrackRequest add_track_requests = 5;
|
|
11588
|
+
*/
|
|
11589
|
+
addTrackRequests: AddTrackRequest[];
|
|
11590
|
+
|
|
11591
|
+
/**
|
|
11592
|
+
* @generated from field: livekit.SessionDescription publisher_offer = 6;
|
|
11593
|
+
*/
|
|
11594
|
+
publisherOffer?: SessionDescription;
|
|
11595
|
+
|
|
11596
|
+
/**
|
|
11597
|
+
* @generated from field: bool reconnect = 7;
|
|
11598
|
+
*/
|
|
11599
|
+
reconnect: boolean;
|
|
11600
|
+
|
|
11601
|
+
/**
|
|
11602
|
+
* @generated from field: livekit.ReconnectReason reconnect_reason = 8;
|
|
11603
|
+
*/
|
|
11604
|
+
reconnectReason: ReconnectReason;
|
|
11605
|
+
|
|
11606
|
+
/**
|
|
11607
|
+
* @generated from field: string participant_sid = 9;
|
|
11608
|
+
*/
|
|
11609
|
+
participantSid: string;
|
|
11610
|
+
|
|
11611
|
+
/**
|
|
11612
|
+
* @generated from field: livekit.SyncState sync_state = 10;
|
|
11613
|
+
*/
|
|
11614
|
+
syncState?: SyncState;
|
|
11615
|
+
|
|
11616
|
+
constructor(data?: PartialMessage<JoinRequest>);
|
|
11617
|
+
|
|
11618
|
+
static readonly runtime: typeof proto3;
|
|
11619
|
+
static readonly typeName = "livekit.JoinRequest";
|
|
11620
|
+
static readonly fields: FieldList;
|
|
11621
|
+
|
|
11622
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JoinRequest;
|
|
11623
|
+
|
|
11624
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JoinRequest;
|
|
11625
|
+
|
|
11626
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JoinRequest;
|
|
11627
|
+
|
|
11628
|
+
static equals(a: JoinRequest | PlainMessage<JoinRequest> | undefined, b: JoinRequest | PlainMessage<JoinRequest> | undefined): boolean;
|
|
11629
|
+
}
|
|
11630
|
+
|
|
11631
|
+
/**
|
|
11632
|
+
* @generated from message livekit.WrappedJoinRequest
|
|
11633
|
+
*/
|
|
11634
|
+
declare class WrappedJoinRequest extends Message<WrappedJoinRequest> {
|
|
11635
|
+
/**
|
|
11636
|
+
* @generated from field: livekit.WrappedJoinRequest.Compression compression = 1;
|
|
11637
|
+
*/
|
|
11638
|
+
compression: WrappedJoinRequest_Compression;
|
|
11639
|
+
|
|
11640
|
+
/**
|
|
11641
|
+
* marshalled JoinRequest + potentially compressed
|
|
11642
|
+
*
|
|
11643
|
+
* @generated from field: bytes join_request = 2;
|
|
11644
|
+
*/
|
|
11645
|
+
joinRequest: Uint8Array;
|
|
11646
|
+
|
|
11647
|
+
constructor(data?: PartialMessage<WrappedJoinRequest>);
|
|
11648
|
+
|
|
11649
|
+
static readonly runtime: typeof proto3;
|
|
11650
|
+
static readonly typeName = "livekit.WrappedJoinRequest";
|
|
11651
|
+
static readonly fields: FieldList;
|
|
11652
|
+
|
|
11653
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WrappedJoinRequest;
|
|
11654
|
+
|
|
11655
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WrappedJoinRequest;
|
|
11656
|
+
|
|
11657
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WrappedJoinRequest;
|
|
11658
|
+
|
|
11659
|
+
static equals(a: WrappedJoinRequest | PlainMessage<WrappedJoinRequest> | undefined, b: WrappedJoinRequest | PlainMessage<WrappedJoinRequest> | undefined): boolean;
|
|
11660
|
+
}
|
|
11661
|
+
|
|
11662
|
+
/**
|
|
11663
|
+
* @generated from enum livekit.WrappedJoinRequest.Compression
|
|
11664
|
+
*/
|
|
11665
|
+
declare enum WrappedJoinRequest_Compression {
|
|
11666
|
+
/**
|
|
11667
|
+
* @generated from enum value: NONE = 0;
|
|
11668
|
+
*/
|
|
11669
|
+
NONE = 0,
|
|
11670
|
+
|
|
11671
|
+
/**
|
|
11672
|
+
* @generated from enum value: GZIP = 1;
|
|
11673
|
+
*/
|
|
11674
|
+
GZIP = 1,
|
|
11675
|
+
}
|
|
11676
|
+
|
|
11677
|
+
/**
|
|
11678
|
+
* @generated from message livekit.MediaSectionsRequirement
|
|
11679
|
+
*/
|
|
11680
|
+
declare class MediaSectionsRequirement extends Message<MediaSectionsRequirement> {
|
|
11681
|
+
/**
|
|
11682
|
+
* @generated from field: uint32 num_audios = 1;
|
|
11683
|
+
*/
|
|
11684
|
+
numAudios: number;
|
|
11685
|
+
|
|
11686
|
+
/**
|
|
11687
|
+
* @generated from field: uint32 num_videos = 2;
|
|
11688
|
+
*/
|
|
11689
|
+
numVideos: number;
|
|
11690
|
+
|
|
11691
|
+
constructor(data?: PartialMessage<MediaSectionsRequirement>);
|
|
11692
|
+
|
|
11693
|
+
static readonly runtime: typeof proto3;
|
|
11694
|
+
static readonly typeName = "livekit.MediaSectionsRequirement";
|
|
11695
|
+
static readonly fields: FieldList;
|
|
11696
|
+
|
|
11697
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaSectionsRequirement;
|
|
11698
|
+
|
|
11699
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaSectionsRequirement;
|
|
11700
|
+
|
|
11701
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaSectionsRequirement;
|
|
11702
|
+
|
|
11703
|
+
static equals(a: MediaSectionsRequirement | PlainMessage<MediaSectionsRequirement> | undefined, b: MediaSectionsRequirement | PlainMessage<MediaSectionsRequirement> | undefined): boolean;
|
|
11704
|
+
}
|
|
11705
|
+
|
|
10936
11706
|
// Copyright 2023 LiveKit, Inc.
|
|
10937
11707
|
//
|
|
10938
11708
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -11276,6 +12046,30 @@ declare enum SIPMediaEncryption {
|
|
|
11276
12046
|
SIP_MEDIA_ENCRYPT_REQUIRE = 2,
|
|
11277
12047
|
}
|
|
11278
12048
|
|
|
12049
|
+
/**
|
|
12050
|
+
* @generated from enum livekit.ProviderType
|
|
12051
|
+
*/
|
|
12052
|
+
declare enum ProviderType {
|
|
12053
|
+
/**
|
|
12054
|
+
* @generated from enum value: PROVIDER_TYPE_UNKNOWN = 0;
|
|
12055
|
+
*/
|
|
12056
|
+
UNKNOWN = 0,
|
|
12057
|
+
|
|
12058
|
+
/**
|
|
12059
|
+
* Internally implemented
|
|
12060
|
+
*
|
|
12061
|
+
* @generated from enum value: PROVIDER_TYPE_INTERNAL = 1;
|
|
12062
|
+
*/
|
|
12063
|
+
INTERNAL = 1,
|
|
12064
|
+
|
|
12065
|
+
/**
|
|
12066
|
+
* Vendor provided
|
|
12067
|
+
*
|
|
12068
|
+
* @generated from enum value: PROVIDER_TYPE_EXTERNAL = 2;
|
|
12069
|
+
*/
|
|
12070
|
+
EXTERNAL = 2,
|
|
12071
|
+
}
|
|
12072
|
+
|
|
11279
12073
|
/**
|
|
11280
12074
|
* @generated from enum livekit.SIPCallStatus
|
|
11281
12075
|
*/
|
|
@@ -11496,6 +12290,40 @@ declare class CreateSIPTrunkRequest extends Message<CreateSIPTrunkRequest> {
|
|
|
11496
12290
|
static equals(a: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined, b: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined): boolean;
|
|
11497
12291
|
}
|
|
11498
12292
|
|
|
12293
|
+
/**
|
|
12294
|
+
* @generated from message livekit.ProviderInfo
|
|
12295
|
+
*/
|
|
12296
|
+
declare class ProviderInfo extends Message<ProviderInfo> {
|
|
12297
|
+
/**
|
|
12298
|
+
* @generated from field: string id = 1;
|
|
12299
|
+
*/
|
|
12300
|
+
id: string;
|
|
12301
|
+
|
|
12302
|
+
/**
|
|
12303
|
+
* @generated from field: string name = 2;
|
|
12304
|
+
*/
|
|
12305
|
+
name: string;
|
|
12306
|
+
|
|
12307
|
+
/**
|
|
12308
|
+
* @generated from field: livekit.ProviderType type = 3;
|
|
12309
|
+
*/
|
|
12310
|
+
type: ProviderType;
|
|
12311
|
+
|
|
12312
|
+
constructor(data?: PartialMessage<ProviderInfo>);
|
|
12313
|
+
|
|
12314
|
+
static readonly runtime: typeof proto3;
|
|
12315
|
+
static readonly typeName = "livekit.ProviderInfo";
|
|
12316
|
+
static readonly fields: FieldList;
|
|
12317
|
+
|
|
12318
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProviderInfo;
|
|
12319
|
+
|
|
12320
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProviderInfo;
|
|
12321
|
+
|
|
12322
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProviderInfo;
|
|
12323
|
+
|
|
12324
|
+
static equals(a: ProviderInfo | PlainMessage<ProviderInfo> | undefined, b: ProviderInfo | PlainMessage<ProviderInfo> | undefined): boolean;
|
|
12325
|
+
}
|
|
12326
|
+
|
|
11499
12327
|
/**
|
|
11500
12328
|
* @generated from message livekit.SIPTrunkInfo
|
|
11501
12329
|
* @deprecated
|
|
@@ -13182,12 +14010,24 @@ declare class CreateSIPParticipantRequest extends Message<CreateSIPParticipantRe
|
|
|
13182
14010
|
/**
|
|
13183
14011
|
* Wait for the answer for the call before returning.
|
|
13184
14012
|
*
|
|
13185
|
-
* NEXT ID: 21
|
|
13186
|
-
*
|
|
13187
14013
|
* @generated from field: bool wait_until_answered = 19;
|
|
13188
14014
|
*/
|
|
13189
14015
|
waitUntilAnswered: boolean;
|
|
13190
14016
|
|
|
14017
|
+
/**
|
|
14018
|
+
* Optional display name for the 'From' SIP header.
|
|
14019
|
+
*
|
|
14020
|
+
* Cases:
|
|
14021
|
+
* 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number.
|
|
14022
|
+
* 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream.
|
|
14023
|
+
* 3) Non-empty: Use the specified value as the display name.
|
|
14024
|
+
*
|
|
14025
|
+
* NEXT ID: 22
|
|
14026
|
+
*
|
|
14027
|
+
* @generated from field: optional string display_name = 21;
|
|
14028
|
+
*/
|
|
14029
|
+
displayName?: string;
|
|
14030
|
+
|
|
13191
14031
|
constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
|
|
13192
14032
|
|
|
13193
14033
|
static readonly runtime: typeof proto3;
|
|
@@ -13426,6 +14266,21 @@ declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
13426
14266
|
*/
|
|
13427
14267
|
mediaEncryption: string;
|
|
13428
14268
|
|
|
14269
|
+
/**
|
|
14270
|
+
* @generated from field: string pcap_file_link = 25;
|
|
14271
|
+
*/
|
|
14272
|
+
pcapFileLink: string;
|
|
14273
|
+
|
|
14274
|
+
/**
|
|
14275
|
+
* @generated from field: repeated google.protobuf.Any call_context = 26;
|
|
14276
|
+
*/
|
|
14277
|
+
callContext: Any[];
|
|
14278
|
+
|
|
14279
|
+
/**
|
|
14280
|
+
* @generated from field: livekit.ProviderInfo provider_info = 27;
|
|
14281
|
+
*/
|
|
14282
|
+
providerInfo?: ProviderInfo;
|
|
14283
|
+
|
|
13429
14284
|
constructor(data?: PartialMessage<SIPCallInfo>);
|
|
13430
14285
|
|
|
13431
14286
|
static readonly runtime: typeof proto3;
|
|
@@ -13544,6 +14399,114 @@ declare class SIPUri extends Message<SIPUri> {
|
|
|
13544
14399
|
static equals(a: SIPUri | PlainMessage<SIPUri> | undefined, b: SIPUri | PlainMessage<SIPUri> | undefined): boolean;
|
|
13545
14400
|
}
|
|
13546
14401
|
|
|
14402
|
+
// Copyright 2025 LiveKit, Inc.
|
|
14403
|
+
//
|
|
14404
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
14405
|
+
// you may not use this file except in compliance with the License.
|
|
14406
|
+
// You may obtain a copy of the License at
|
|
14407
|
+
//
|
|
14408
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
14409
|
+
//
|
|
14410
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
14411
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
14412
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14413
|
+
// See the License for the specific language governing permissions and
|
|
14414
|
+
// limitations under the License.
|
|
14415
|
+
|
|
14416
|
+
|
|
14417
|
+
|
|
14418
|
+
/**
|
|
14419
|
+
* @generated from message livekit.TokenSourceRequest
|
|
14420
|
+
*/
|
|
14421
|
+
declare class TokenSourceRequest extends Message<TokenSourceRequest> {
|
|
14422
|
+
/**
|
|
14423
|
+
* The name of the room being requested when generating credentials
|
|
14424
|
+
*
|
|
14425
|
+
* @generated from field: optional string room_name = 1;
|
|
14426
|
+
*/
|
|
14427
|
+
roomName?: string;
|
|
14428
|
+
|
|
14429
|
+
/**
|
|
14430
|
+
* The name of the participant being requested for this client when generating credentials
|
|
14431
|
+
*
|
|
14432
|
+
* @generated from field: optional string participant_name = 2;
|
|
14433
|
+
*/
|
|
14434
|
+
participantName?: string;
|
|
14435
|
+
|
|
14436
|
+
/**
|
|
14437
|
+
* The identity of the participant being requested for this client when generating credentials
|
|
14438
|
+
*
|
|
14439
|
+
* @generated from field: optional string participant_identity = 3;
|
|
14440
|
+
*/
|
|
14441
|
+
participantIdentity?: string;
|
|
14442
|
+
|
|
14443
|
+
/**
|
|
14444
|
+
* Any participant metadata being included along with the credentials generation operation
|
|
14445
|
+
*
|
|
14446
|
+
* @generated from field: optional string participant_metadata = 4;
|
|
14447
|
+
*/
|
|
14448
|
+
participantMetadata?: string;
|
|
14449
|
+
|
|
14450
|
+
/**
|
|
14451
|
+
* Any participant attributes being included along with the credentials generation operation
|
|
14452
|
+
*
|
|
14453
|
+
* @generated from field: map<string, string> participant_attributes = 5;
|
|
14454
|
+
*/
|
|
14455
|
+
participantAttributes: { [key: string]: string };
|
|
14456
|
+
|
|
14457
|
+
/**
|
|
14458
|
+
* A RoomConfiguration object can be passed to request extra parameters should be included when
|
|
14459
|
+
* generating connection credentials - dispatching agents, defining egress settings, etc
|
|
14460
|
+
* More info: https://docs.livekit.io/home/get-started/authentication/#room-configuration
|
|
14461
|
+
*
|
|
14462
|
+
* @generated from field: optional livekit.RoomConfiguration room_config = 6;
|
|
14463
|
+
*/
|
|
14464
|
+
roomConfig?: RoomConfiguration;
|
|
14465
|
+
|
|
14466
|
+
constructor(data?: PartialMessage<TokenSourceRequest>);
|
|
14467
|
+
|
|
14468
|
+
static readonly runtime: typeof proto3;
|
|
14469
|
+
static readonly typeName = "livekit.TokenSourceRequest";
|
|
14470
|
+
static readonly fields: FieldList;
|
|
14471
|
+
|
|
14472
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenSourceRequest;
|
|
14473
|
+
|
|
14474
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenSourceRequest;
|
|
14475
|
+
|
|
14476
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenSourceRequest;
|
|
14477
|
+
|
|
14478
|
+
static equals(a: TokenSourceRequest | PlainMessage<TokenSourceRequest> | undefined, b: TokenSourceRequest | PlainMessage<TokenSourceRequest> | undefined): boolean;
|
|
14479
|
+
}
|
|
14480
|
+
|
|
14481
|
+
/**
|
|
14482
|
+
* @generated from message livekit.TokenSourceResponse
|
|
14483
|
+
*/
|
|
14484
|
+
declare class TokenSourceResponse extends Message<TokenSourceResponse> {
|
|
14485
|
+
/**
|
|
14486
|
+
* @generated from field: string server_url = 1;
|
|
14487
|
+
*/
|
|
14488
|
+
serverUrl: string;
|
|
14489
|
+
|
|
14490
|
+
/**
|
|
14491
|
+
* @generated from field: string participant_token = 2;
|
|
14492
|
+
*/
|
|
14493
|
+
participantToken: string;
|
|
14494
|
+
|
|
14495
|
+
constructor(data?: PartialMessage<TokenSourceResponse>);
|
|
14496
|
+
|
|
14497
|
+
static readonly runtime: typeof proto3;
|
|
14498
|
+
static readonly typeName = "livekit.TokenSourceResponse";
|
|
14499
|
+
static readonly fields: FieldList;
|
|
14500
|
+
|
|
14501
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenSourceResponse;
|
|
14502
|
+
|
|
14503
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenSourceResponse;
|
|
14504
|
+
|
|
14505
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenSourceResponse;
|
|
14506
|
+
|
|
14507
|
+
static equals(a: TokenSourceResponse | PlainMessage<TokenSourceResponse> | undefined, b: TokenSourceResponse | PlainMessage<TokenSourceResponse> | undefined): boolean;
|
|
14508
|
+
}
|
|
14509
|
+
|
|
13547
14510
|
// Copyright 2023 LiveKit, Inc.
|
|
13548
14511
|
//
|
|
13549
14512
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -13565,7 +14528,7 @@ declare class SIPUri extends Message<SIPUri> {
|
|
|
13565
14528
|
*/
|
|
13566
14529
|
declare class WebhookEvent extends Message<WebhookEvent> {
|
|
13567
14530
|
/**
|
|
13568
|
-
* one of room_started, room_finished, participant_joined, participant_left,
|
|
14531
|
+
* one of room_started, room_finished, participant_joined, participant_left, participant_connection_aborted,
|
|
13569
14532
|
* track_published, track_unpublished, egress_started, egress_updated, egress_ended,
|
|
13570
14533
|
* ingress_started, ingress_ended
|
|
13571
14534
|
*
|
|
@@ -13643,4 +14606,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
|
|
|
13643
14606
|
|
|
13644
14607
|
declare const version: string;
|
|
13645
14608
|
|
|
13646
|
-
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, TTBaseResponse, TTCallRequest, TTCallResponse, TTCallResponseBody, TTCaller, TTCipherMessages, TTEncInfo, TTExceptionRecipient, TTNotification, TTNotification_TTArgs, TTStartCall, 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 };
|
|
14609
|
+
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, FilterParams, 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, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, 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, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TTBaseResponse, TTCallOptions, TTCallRequest, TTCallResponse, TTCallResponseBody, TTCaller, TTCipherMessages, TTEncInfo, TTExceptionRecipient, TTNotification, TTNotification_TTArgs, TTStartCall, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, 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 };
|