@cc-livekit/protocol 1.39.5 → 1.42.2-2
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 +471 -15
- 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 +453 -17
- 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.cts
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,35 @@ 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
|
+
/**
|
|
8998
|
+
* @generated from field: bool disable_silence_on_raise_hand = 2;
|
|
8999
|
+
*/
|
|
9000
|
+
disableSilenceOnRaiseHand: boolean;
|
|
9001
|
+
|
|
9002
|
+
constructor(data?: PartialMessage<TTCallOptions>);
|
|
9003
|
+
|
|
9004
|
+
static readonly runtime: typeof proto3;
|
|
9005
|
+
static readonly typeName = "livekit.TTCallOptions";
|
|
9006
|
+
static readonly fields: FieldList;
|
|
9007
|
+
|
|
9008
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TTCallOptions;
|
|
9009
|
+
|
|
9010
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TTCallOptions;
|
|
9011
|
+
|
|
9012
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TTCallOptions;
|
|
9013
|
+
|
|
9014
|
+
static equals(a: TTCallOptions | PlainMessage<TTCallOptions> | undefined, b: TTCallOptions | PlainMessage<TTCallOptions> | undefined): boolean;
|
|
9015
|
+
}
|
|
9016
|
+
|
|
8559
9017
|
/**
|
|
8560
9018
|
* @generated from message livekit.TTCallResponse
|
|
8561
9019
|
*/
|
|
@@ -8570,6 +9028,11 @@ declare class TTCallResponse extends Message<TTCallResponse> {
|
|
|
8570
9028
|
*/
|
|
8571
9029
|
body?: TTCallResponseBody;
|
|
8572
9030
|
|
|
9031
|
+
/**
|
|
9032
|
+
* @generated from field: optional livekit.TTCallOptions call_options = 100;
|
|
9033
|
+
*/
|
|
9034
|
+
callOptions?: TTCallOptions;
|
|
9035
|
+
|
|
8573
9036
|
constructor(data?: PartialMessage<TTCallResponse>);
|
|
8574
9037
|
|
|
8575
9038
|
static readonly runtime: typeof proto3;
|
|
@@ -8887,7 +9350,7 @@ declare class SignalRequest extends Message<SignalRequest> {
|
|
|
8887
9350
|
*/
|
|
8888
9351
|
message: {
|
|
8889
9352
|
/**
|
|
8890
|
-
*
|
|
9353
|
+
* participant offer for publisher
|
|
8891
9354
|
*
|
|
8892
9355
|
* @generated from field: livekit.SessionDescription offer = 1;
|
|
8893
9356
|
*/
|
|
@@ -8895,7 +9358,7 @@ declare class SignalRequest extends Message<SignalRequest> {
|
|
|
8895
9358
|
case: "offer";
|
|
8896
9359
|
} | {
|
|
8897
9360
|
/**
|
|
8898
|
-
* participant answering
|
|
9361
|
+
* participant answering subscriber offer
|
|
8899
9362
|
*
|
|
8900
9363
|
* @generated from field: livekit.SessionDescription answer = 2;
|
|
8901
9364
|
*/
|
|
@@ -9236,6 +9699,22 @@ declare class SignalResponse extends Message<SignalResponse> {
|
|
|
9236
9699
|
*/
|
|
9237
9700
|
value: RoomMovedResponse;
|
|
9238
9701
|
case: "roomMoved";
|
|
9702
|
+
} | {
|
|
9703
|
+
/**
|
|
9704
|
+
* notify number of required media sections to satisfy subscribed tracks
|
|
9705
|
+
*
|
|
9706
|
+
* @generated from field: livekit.MediaSectionsRequirement media_sections_requirement = 25;
|
|
9707
|
+
*/
|
|
9708
|
+
value: MediaSectionsRequirement;
|
|
9709
|
+
case: "mediaSectionsRequirement";
|
|
9710
|
+
} | {
|
|
9711
|
+
/**
|
|
9712
|
+
* when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions
|
|
9713
|
+
*
|
|
9714
|
+
* @generated from field: livekit.SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26;
|
|
9715
|
+
*/
|
|
9716
|
+
value: SubscribedAudioCodecUpdate;
|
|
9717
|
+
case: "subscribedAudioCodecUpdate";
|
|
9239
9718
|
} | { case: undefined; value?: undefined };
|
|
9240
9719
|
|
|
9241
9720
|
constructor(data?: PartialMessage<SignalResponse>);
|
|
@@ -9267,6 +9746,16 @@ declare class SimulcastCodec extends Message<SimulcastCodec> {
|
|
|
9267
9746
|
*/
|
|
9268
9747
|
cid: string;
|
|
9269
9748
|
|
|
9749
|
+
/**
|
|
9750
|
+
* @generated from field: repeated livekit.VideoLayer layers = 4;
|
|
9751
|
+
*/
|
|
9752
|
+
layers: VideoLayer[];
|
|
9753
|
+
|
|
9754
|
+
/**
|
|
9755
|
+
* @generated from field: livekit.VideoLayer.Mode video_layer_mode = 5;
|
|
9756
|
+
*/
|
|
9757
|
+
videoLayerMode: VideoLayer_Mode;
|
|
9758
|
+
|
|
9270
9759
|
constructor(data?: PartialMessage<SimulcastCodec>);
|
|
9271
9760
|
|
|
9272
9761
|
static readonly runtime: typeof proto3;
|
|
@@ -9304,8 +9793,6 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
|
|
|
9304
9793
|
type: TrackType;
|
|
9305
9794
|
|
|
9306
9795
|
/**
|
|
9307
|
-
* to be deprecated in favor of layers
|
|
9308
|
-
*
|
|
9309
9796
|
* @generated from field: uint32 width = 4;
|
|
9310
9797
|
*/
|
|
9311
9798
|
width: number;
|
|
@@ -9699,6 +10186,11 @@ declare class SessionDescription extends Message<SessionDescription> {
|
|
|
9699
10186
|
*/
|
|
9700
10187
|
id: number;
|
|
9701
10188
|
|
|
10189
|
+
/**
|
|
10190
|
+
* @generated from field: map<string, string> mid_to_track_id = 4;
|
|
10191
|
+
*/
|
|
10192
|
+
midToTrackId: { [key: string]: string };
|
|
10193
|
+
|
|
9702
10194
|
constructor(data?: PartialMessage<SessionDescription>);
|
|
9703
10195
|
|
|
9704
10196
|
static readonly runtime: typeof proto3;
|
|
@@ -10341,6 +10833,35 @@ declare class SubscribedQualityUpdate extends Message<SubscribedQualityUpdate> {
|
|
|
10341
10833
|
static equals(a: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined, b: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined): boolean;
|
|
10342
10834
|
}
|
|
10343
10835
|
|
|
10836
|
+
/**
|
|
10837
|
+
* @generated from message livekit.SubscribedAudioCodecUpdate
|
|
10838
|
+
*/
|
|
10839
|
+
declare class SubscribedAudioCodecUpdate extends Message<SubscribedAudioCodecUpdate> {
|
|
10840
|
+
/**
|
|
10841
|
+
* @generated from field: string track_sid = 1;
|
|
10842
|
+
*/
|
|
10843
|
+
trackSid: string;
|
|
10844
|
+
|
|
10845
|
+
/**
|
|
10846
|
+
* @generated from field: repeated livekit.SubscribedAudioCodec subscribed_audio_codecs = 2;
|
|
10847
|
+
*/
|
|
10848
|
+
subscribedAudioCodecs: SubscribedAudioCodec[];
|
|
10849
|
+
|
|
10850
|
+
constructor(data?: PartialMessage<SubscribedAudioCodecUpdate>);
|
|
10851
|
+
|
|
10852
|
+
static readonly runtime: typeof proto3;
|
|
10853
|
+
static readonly typeName = "livekit.SubscribedAudioCodecUpdate";
|
|
10854
|
+
static readonly fields: FieldList;
|
|
10855
|
+
|
|
10856
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscribedAudioCodecUpdate;
|
|
10857
|
+
|
|
10858
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
|
|
10859
|
+
|
|
10860
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
|
|
10861
|
+
|
|
10862
|
+
static equals(a: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined, b: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined): boolean;
|
|
10863
|
+
}
|
|
10864
|
+
|
|
10344
10865
|
/**
|
|
10345
10866
|
* @generated from message livekit.TrackPermission
|
|
10346
10867
|
*/
|
|
@@ -10493,7 +11014,9 @@ declare class RoomMovedResponse extends Message<RoomMovedResponse> {
|
|
|
10493
11014
|
*/
|
|
10494
11015
|
declare class SyncState extends Message<SyncState> {
|
|
10495
11016
|
/**
|
|
10496
|
-
* last subscribe answer before reconnecting
|
|
11017
|
+
* last subscribe/publish answer before reconnecting
|
|
11018
|
+
* subscribe answer if using dual peer connection
|
|
11019
|
+
* publish answer if using single peer connection
|
|
10497
11020
|
*
|
|
10498
11021
|
* @generated from field: livekit.SessionDescription answer = 1;
|
|
10499
11022
|
*/
|
|
@@ -10515,7 +11038,9 @@ declare class SyncState extends Message<SyncState> {
|
|
|
10515
11038
|
dataChannels: DataChannelInfo[];
|
|
10516
11039
|
|
|
10517
11040
|
/**
|
|
10518
|
-
* last received server side offer before reconnecting
|
|
11041
|
+
* last received server side offer/sent client side offer before reconnecting
|
|
11042
|
+
* received server side offer if using dual peer connection
|
|
11043
|
+
* sent client side offer if using single peer connection
|
|
10519
11044
|
*
|
|
10520
11045
|
* @generated from field: livekit.SessionDescription offer = 5;
|
|
10521
11046
|
*/
|
|
@@ -10874,6 +11399,47 @@ declare class RequestResponse extends Message<RequestResponse> {
|
|
|
10874
11399
|
*/
|
|
10875
11400
|
message: string;
|
|
10876
11401
|
|
|
11402
|
+
/**
|
|
11403
|
+
* @generated from oneof livekit.RequestResponse.request
|
|
11404
|
+
*/
|
|
11405
|
+
request: {
|
|
11406
|
+
/**
|
|
11407
|
+
* @generated from field: livekit.TrickleRequest trickle = 4;
|
|
11408
|
+
*/
|
|
11409
|
+
value: TrickleRequest;
|
|
11410
|
+
case: "trickle";
|
|
11411
|
+
} | {
|
|
11412
|
+
/**
|
|
11413
|
+
* @generated from field: livekit.AddTrackRequest add_track = 5;
|
|
11414
|
+
*/
|
|
11415
|
+
value: AddTrackRequest;
|
|
11416
|
+
case: "addTrack";
|
|
11417
|
+
} | {
|
|
11418
|
+
/**
|
|
11419
|
+
* @generated from field: livekit.MuteTrackRequest mute = 6;
|
|
11420
|
+
*/
|
|
11421
|
+
value: MuteTrackRequest;
|
|
11422
|
+
case: "mute";
|
|
11423
|
+
} | {
|
|
11424
|
+
/**
|
|
11425
|
+
* @generated from field: livekit.UpdateParticipantMetadata update_metadata = 7;
|
|
11426
|
+
*/
|
|
11427
|
+
value: UpdateParticipantMetadata;
|
|
11428
|
+
case: "updateMetadata";
|
|
11429
|
+
} | {
|
|
11430
|
+
/**
|
|
11431
|
+
* @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 8;
|
|
11432
|
+
*/
|
|
11433
|
+
value: UpdateLocalAudioTrack;
|
|
11434
|
+
case: "updateAudioTrack";
|
|
11435
|
+
} | {
|
|
11436
|
+
/**
|
|
11437
|
+
* @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 9;
|
|
11438
|
+
*/
|
|
11439
|
+
value: UpdateLocalVideoTrack;
|
|
11440
|
+
case: "updateVideoTrack";
|
|
11441
|
+
} | { case: undefined; value?: undefined };
|
|
11442
|
+
|
|
10877
11443
|
constructor(data?: PartialMessage<RequestResponse>);
|
|
10878
11444
|
|
|
10879
11445
|
static readonly runtime: typeof proto3;
|
|
@@ -10912,6 +11478,21 @@ declare enum RequestResponse_Reason {
|
|
|
10912
11478
|
* @generated from enum value: LIMIT_EXCEEDED = 3;
|
|
10913
11479
|
*/
|
|
10914
11480
|
LIMIT_EXCEEDED = 3,
|
|
11481
|
+
|
|
11482
|
+
/**
|
|
11483
|
+
* @generated from enum value: QUEUED = 4;
|
|
11484
|
+
*/
|
|
11485
|
+
QUEUED = 4,
|
|
11486
|
+
|
|
11487
|
+
/**
|
|
11488
|
+
* @generated from enum value: UNSUPPORTED_TYPE = 5;
|
|
11489
|
+
*/
|
|
11490
|
+
UNSUPPORTED_TYPE = 5,
|
|
11491
|
+
|
|
11492
|
+
/**
|
|
11493
|
+
* @generated from enum value: UNCLASSIFIED_ERROR = 6;
|
|
11494
|
+
*/
|
|
11495
|
+
UNCLASSIFIED_ERROR = 6,
|
|
10915
11496
|
}
|
|
10916
11497
|
|
|
10917
11498
|
/**
|
|
@@ -10938,6 +11519,195 @@ declare class TrackSubscribed extends Message<TrackSubscribed> {
|
|
|
10938
11519
|
static equals(a: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined, b: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined): boolean;
|
|
10939
11520
|
}
|
|
10940
11521
|
|
|
11522
|
+
/**
|
|
11523
|
+
* @generated from message livekit.ConnectionSettings
|
|
11524
|
+
*/
|
|
11525
|
+
declare class ConnectionSettings extends Message<ConnectionSettings> {
|
|
11526
|
+
/**
|
|
11527
|
+
* @generated from field: bool auto_subscribe = 1;
|
|
11528
|
+
*/
|
|
11529
|
+
autoSubscribe: boolean;
|
|
11530
|
+
|
|
11531
|
+
/**
|
|
11532
|
+
* @generated from field: bool adaptive_stream = 2;
|
|
11533
|
+
*/
|
|
11534
|
+
adaptiveStream: boolean;
|
|
11535
|
+
|
|
11536
|
+
/**
|
|
11537
|
+
* @generated from field: optional bool subscriber_allow_pause = 3;
|
|
11538
|
+
*/
|
|
11539
|
+
subscriberAllowPause?: boolean;
|
|
11540
|
+
|
|
11541
|
+
/**
|
|
11542
|
+
* @generated from field: bool disable_ice_lite = 4;
|
|
11543
|
+
*/
|
|
11544
|
+
disableIceLite: boolean;
|
|
11545
|
+
|
|
11546
|
+
constructor(data?: PartialMessage<ConnectionSettings>);
|
|
11547
|
+
|
|
11548
|
+
static readonly runtime: typeof proto3;
|
|
11549
|
+
static readonly typeName = "livekit.ConnectionSettings";
|
|
11550
|
+
static readonly fields: FieldList;
|
|
11551
|
+
|
|
11552
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectionSettings;
|
|
11553
|
+
|
|
11554
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectionSettings;
|
|
11555
|
+
|
|
11556
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectionSettings;
|
|
11557
|
+
|
|
11558
|
+
static equals(a: ConnectionSettings | PlainMessage<ConnectionSettings> | undefined, b: ConnectionSettings | PlainMessage<ConnectionSettings> | undefined): boolean;
|
|
11559
|
+
}
|
|
11560
|
+
|
|
11561
|
+
/**
|
|
11562
|
+
* @generated from message livekit.JoinRequest
|
|
11563
|
+
*/
|
|
11564
|
+
declare class JoinRequest extends Message<JoinRequest> {
|
|
11565
|
+
/**
|
|
11566
|
+
* @generated from field: livekit.ClientInfo client_info = 1;
|
|
11567
|
+
*/
|
|
11568
|
+
clientInfo?: ClientInfo;
|
|
11569
|
+
|
|
11570
|
+
/**
|
|
11571
|
+
* @generated from field: livekit.ConnectionSettings connection_settings = 2;
|
|
11572
|
+
*/
|
|
11573
|
+
connectionSettings?: ConnectionSettings;
|
|
11574
|
+
|
|
11575
|
+
/**
|
|
11576
|
+
* if not empty, will overwrite `metadata` in token
|
|
11577
|
+
*
|
|
11578
|
+
* @generated from field: string metadata = 3;
|
|
11579
|
+
*/
|
|
11580
|
+
metadata: string;
|
|
11581
|
+
|
|
11582
|
+
/**
|
|
11583
|
+
* will set keys provided via this
|
|
11584
|
+
* will overwrite if the same key is in the token
|
|
11585
|
+
* will not delete keys from token if there is a key collision and this sets that key to empty value
|
|
11586
|
+
*
|
|
11587
|
+
* @generated from field: map<string, string> participant_attributes = 4;
|
|
11588
|
+
*/
|
|
11589
|
+
participantAttributes: { [key: string]: string };
|
|
11590
|
+
|
|
11591
|
+
/**
|
|
11592
|
+
* @generated from field: repeated livekit.AddTrackRequest add_track_requests = 5;
|
|
11593
|
+
*/
|
|
11594
|
+
addTrackRequests: AddTrackRequest[];
|
|
11595
|
+
|
|
11596
|
+
/**
|
|
11597
|
+
* @generated from field: livekit.SessionDescription publisher_offer = 6;
|
|
11598
|
+
*/
|
|
11599
|
+
publisherOffer?: SessionDescription;
|
|
11600
|
+
|
|
11601
|
+
/**
|
|
11602
|
+
* @generated from field: bool reconnect = 7;
|
|
11603
|
+
*/
|
|
11604
|
+
reconnect: boolean;
|
|
11605
|
+
|
|
11606
|
+
/**
|
|
11607
|
+
* @generated from field: livekit.ReconnectReason reconnect_reason = 8;
|
|
11608
|
+
*/
|
|
11609
|
+
reconnectReason: ReconnectReason;
|
|
11610
|
+
|
|
11611
|
+
/**
|
|
11612
|
+
* @generated from field: string participant_sid = 9;
|
|
11613
|
+
*/
|
|
11614
|
+
participantSid: string;
|
|
11615
|
+
|
|
11616
|
+
/**
|
|
11617
|
+
* @generated from field: livekit.SyncState sync_state = 10;
|
|
11618
|
+
*/
|
|
11619
|
+
syncState?: SyncState;
|
|
11620
|
+
|
|
11621
|
+
constructor(data?: PartialMessage<JoinRequest>);
|
|
11622
|
+
|
|
11623
|
+
static readonly runtime: typeof proto3;
|
|
11624
|
+
static readonly typeName = "livekit.JoinRequest";
|
|
11625
|
+
static readonly fields: FieldList;
|
|
11626
|
+
|
|
11627
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JoinRequest;
|
|
11628
|
+
|
|
11629
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JoinRequest;
|
|
11630
|
+
|
|
11631
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JoinRequest;
|
|
11632
|
+
|
|
11633
|
+
static equals(a: JoinRequest | PlainMessage<JoinRequest> | undefined, b: JoinRequest | PlainMessage<JoinRequest> | undefined): boolean;
|
|
11634
|
+
}
|
|
11635
|
+
|
|
11636
|
+
/**
|
|
11637
|
+
* @generated from message livekit.WrappedJoinRequest
|
|
11638
|
+
*/
|
|
11639
|
+
declare class WrappedJoinRequest extends Message<WrappedJoinRequest> {
|
|
11640
|
+
/**
|
|
11641
|
+
* @generated from field: livekit.WrappedJoinRequest.Compression compression = 1;
|
|
11642
|
+
*/
|
|
11643
|
+
compression: WrappedJoinRequest_Compression;
|
|
11644
|
+
|
|
11645
|
+
/**
|
|
11646
|
+
* marshalled JoinRequest + potentially compressed
|
|
11647
|
+
*
|
|
11648
|
+
* @generated from field: bytes join_request = 2;
|
|
11649
|
+
*/
|
|
11650
|
+
joinRequest: Uint8Array;
|
|
11651
|
+
|
|
11652
|
+
constructor(data?: PartialMessage<WrappedJoinRequest>);
|
|
11653
|
+
|
|
11654
|
+
static readonly runtime: typeof proto3;
|
|
11655
|
+
static readonly typeName = "livekit.WrappedJoinRequest";
|
|
11656
|
+
static readonly fields: FieldList;
|
|
11657
|
+
|
|
11658
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WrappedJoinRequest;
|
|
11659
|
+
|
|
11660
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WrappedJoinRequest;
|
|
11661
|
+
|
|
11662
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WrappedJoinRequest;
|
|
11663
|
+
|
|
11664
|
+
static equals(a: WrappedJoinRequest | PlainMessage<WrappedJoinRequest> | undefined, b: WrappedJoinRequest | PlainMessage<WrappedJoinRequest> | undefined): boolean;
|
|
11665
|
+
}
|
|
11666
|
+
|
|
11667
|
+
/**
|
|
11668
|
+
* @generated from enum livekit.WrappedJoinRequest.Compression
|
|
11669
|
+
*/
|
|
11670
|
+
declare enum WrappedJoinRequest_Compression {
|
|
11671
|
+
/**
|
|
11672
|
+
* @generated from enum value: NONE = 0;
|
|
11673
|
+
*/
|
|
11674
|
+
NONE = 0,
|
|
11675
|
+
|
|
11676
|
+
/**
|
|
11677
|
+
* @generated from enum value: GZIP = 1;
|
|
11678
|
+
*/
|
|
11679
|
+
GZIP = 1,
|
|
11680
|
+
}
|
|
11681
|
+
|
|
11682
|
+
/**
|
|
11683
|
+
* @generated from message livekit.MediaSectionsRequirement
|
|
11684
|
+
*/
|
|
11685
|
+
declare class MediaSectionsRequirement extends Message<MediaSectionsRequirement> {
|
|
11686
|
+
/**
|
|
11687
|
+
* @generated from field: uint32 num_audios = 1;
|
|
11688
|
+
*/
|
|
11689
|
+
numAudios: number;
|
|
11690
|
+
|
|
11691
|
+
/**
|
|
11692
|
+
* @generated from field: uint32 num_videos = 2;
|
|
11693
|
+
*/
|
|
11694
|
+
numVideos: number;
|
|
11695
|
+
|
|
11696
|
+
constructor(data?: PartialMessage<MediaSectionsRequirement>);
|
|
11697
|
+
|
|
11698
|
+
static readonly runtime: typeof proto3;
|
|
11699
|
+
static readonly typeName = "livekit.MediaSectionsRequirement";
|
|
11700
|
+
static readonly fields: FieldList;
|
|
11701
|
+
|
|
11702
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaSectionsRequirement;
|
|
11703
|
+
|
|
11704
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaSectionsRequirement;
|
|
11705
|
+
|
|
11706
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaSectionsRequirement;
|
|
11707
|
+
|
|
11708
|
+
static equals(a: MediaSectionsRequirement | PlainMessage<MediaSectionsRequirement> | undefined, b: MediaSectionsRequirement | PlainMessage<MediaSectionsRequirement> | undefined): boolean;
|
|
11709
|
+
}
|
|
11710
|
+
|
|
10941
11711
|
// Copyright 2023 LiveKit, Inc.
|
|
10942
11712
|
//
|
|
10943
11713
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -11281,6 +12051,30 @@ declare enum SIPMediaEncryption {
|
|
|
11281
12051
|
SIP_MEDIA_ENCRYPT_REQUIRE = 2,
|
|
11282
12052
|
}
|
|
11283
12053
|
|
|
12054
|
+
/**
|
|
12055
|
+
* @generated from enum livekit.ProviderType
|
|
12056
|
+
*/
|
|
12057
|
+
declare enum ProviderType {
|
|
12058
|
+
/**
|
|
12059
|
+
* @generated from enum value: PROVIDER_TYPE_UNKNOWN = 0;
|
|
12060
|
+
*/
|
|
12061
|
+
UNKNOWN = 0,
|
|
12062
|
+
|
|
12063
|
+
/**
|
|
12064
|
+
* Internally implemented
|
|
12065
|
+
*
|
|
12066
|
+
* @generated from enum value: PROVIDER_TYPE_INTERNAL = 1;
|
|
12067
|
+
*/
|
|
12068
|
+
INTERNAL = 1,
|
|
12069
|
+
|
|
12070
|
+
/**
|
|
12071
|
+
* Vendor provided
|
|
12072
|
+
*
|
|
12073
|
+
* @generated from enum value: PROVIDER_TYPE_EXTERNAL = 2;
|
|
12074
|
+
*/
|
|
12075
|
+
EXTERNAL = 2,
|
|
12076
|
+
}
|
|
12077
|
+
|
|
11284
12078
|
/**
|
|
11285
12079
|
* @generated from enum livekit.SIPCallStatus
|
|
11286
12080
|
*/
|
|
@@ -11501,6 +12295,40 @@ declare class CreateSIPTrunkRequest extends Message<CreateSIPTrunkRequest> {
|
|
|
11501
12295
|
static equals(a: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined, b: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined): boolean;
|
|
11502
12296
|
}
|
|
11503
12297
|
|
|
12298
|
+
/**
|
|
12299
|
+
* @generated from message livekit.ProviderInfo
|
|
12300
|
+
*/
|
|
12301
|
+
declare class ProviderInfo extends Message<ProviderInfo> {
|
|
12302
|
+
/**
|
|
12303
|
+
* @generated from field: string id = 1;
|
|
12304
|
+
*/
|
|
12305
|
+
id: string;
|
|
12306
|
+
|
|
12307
|
+
/**
|
|
12308
|
+
* @generated from field: string name = 2;
|
|
12309
|
+
*/
|
|
12310
|
+
name: string;
|
|
12311
|
+
|
|
12312
|
+
/**
|
|
12313
|
+
* @generated from field: livekit.ProviderType type = 3;
|
|
12314
|
+
*/
|
|
12315
|
+
type: ProviderType;
|
|
12316
|
+
|
|
12317
|
+
constructor(data?: PartialMessage<ProviderInfo>);
|
|
12318
|
+
|
|
12319
|
+
static readonly runtime: typeof proto3;
|
|
12320
|
+
static readonly typeName = "livekit.ProviderInfo";
|
|
12321
|
+
static readonly fields: FieldList;
|
|
12322
|
+
|
|
12323
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProviderInfo;
|
|
12324
|
+
|
|
12325
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProviderInfo;
|
|
12326
|
+
|
|
12327
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProviderInfo;
|
|
12328
|
+
|
|
12329
|
+
static equals(a: ProviderInfo | PlainMessage<ProviderInfo> | undefined, b: ProviderInfo | PlainMessage<ProviderInfo> | undefined): boolean;
|
|
12330
|
+
}
|
|
12331
|
+
|
|
11504
12332
|
/**
|
|
11505
12333
|
* @generated from message livekit.SIPTrunkInfo
|
|
11506
12334
|
* @deprecated
|
|
@@ -13187,12 +14015,24 @@ declare class CreateSIPParticipantRequest extends Message<CreateSIPParticipantRe
|
|
|
13187
14015
|
/**
|
|
13188
14016
|
* Wait for the answer for the call before returning.
|
|
13189
14017
|
*
|
|
13190
|
-
* NEXT ID: 21
|
|
13191
|
-
*
|
|
13192
14018
|
* @generated from field: bool wait_until_answered = 19;
|
|
13193
14019
|
*/
|
|
13194
14020
|
waitUntilAnswered: boolean;
|
|
13195
14021
|
|
|
14022
|
+
/**
|
|
14023
|
+
* Optional display name for the 'From' SIP header.
|
|
14024
|
+
*
|
|
14025
|
+
* Cases:
|
|
14026
|
+
* 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number.
|
|
14027
|
+
* 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream.
|
|
14028
|
+
* 3) Non-empty: Use the specified value as the display name.
|
|
14029
|
+
*
|
|
14030
|
+
* NEXT ID: 22
|
|
14031
|
+
*
|
|
14032
|
+
* @generated from field: optional string display_name = 21;
|
|
14033
|
+
*/
|
|
14034
|
+
displayName?: string;
|
|
14035
|
+
|
|
13196
14036
|
constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
|
|
13197
14037
|
|
|
13198
14038
|
static readonly runtime: typeof proto3;
|
|
@@ -13431,6 +14271,21 @@ declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
13431
14271
|
*/
|
|
13432
14272
|
mediaEncryption: string;
|
|
13433
14273
|
|
|
14274
|
+
/**
|
|
14275
|
+
* @generated from field: string pcap_file_link = 25;
|
|
14276
|
+
*/
|
|
14277
|
+
pcapFileLink: string;
|
|
14278
|
+
|
|
14279
|
+
/**
|
|
14280
|
+
* @generated from field: repeated google.protobuf.Any call_context = 26;
|
|
14281
|
+
*/
|
|
14282
|
+
callContext: Any[];
|
|
14283
|
+
|
|
14284
|
+
/**
|
|
14285
|
+
* @generated from field: livekit.ProviderInfo provider_info = 27;
|
|
14286
|
+
*/
|
|
14287
|
+
providerInfo?: ProviderInfo;
|
|
14288
|
+
|
|
13434
14289
|
constructor(data?: PartialMessage<SIPCallInfo>);
|
|
13435
14290
|
|
|
13436
14291
|
static readonly runtime: typeof proto3;
|
|
@@ -13549,6 +14404,114 @@ declare class SIPUri extends Message<SIPUri> {
|
|
|
13549
14404
|
static equals(a: SIPUri | PlainMessage<SIPUri> | undefined, b: SIPUri | PlainMessage<SIPUri> | undefined): boolean;
|
|
13550
14405
|
}
|
|
13551
14406
|
|
|
14407
|
+
// Copyright 2025 LiveKit, Inc.
|
|
14408
|
+
//
|
|
14409
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
14410
|
+
// you may not use this file except in compliance with the License.
|
|
14411
|
+
// You may obtain a copy of the License at
|
|
14412
|
+
//
|
|
14413
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
14414
|
+
//
|
|
14415
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
14416
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
14417
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14418
|
+
// See the License for the specific language governing permissions and
|
|
14419
|
+
// limitations under the License.
|
|
14420
|
+
|
|
14421
|
+
|
|
14422
|
+
|
|
14423
|
+
/**
|
|
14424
|
+
* @generated from message livekit.TokenSourceRequest
|
|
14425
|
+
*/
|
|
14426
|
+
declare class TokenSourceRequest extends Message<TokenSourceRequest> {
|
|
14427
|
+
/**
|
|
14428
|
+
* The name of the room being requested when generating credentials
|
|
14429
|
+
*
|
|
14430
|
+
* @generated from field: optional string room_name = 1;
|
|
14431
|
+
*/
|
|
14432
|
+
roomName?: string;
|
|
14433
|
+
|
|
14434
|
+
/**
|
|
14435
|
+
* The name of the participant being requested for this client when generating credentials
|
|
14436
|
+
*
|
|
14437
|
+
* @generated from field: optional string participant_name = 2;
|
|
14438
|
+
*/
|
|
14439
|
+
participantName?: string;
|
|
14440
|
+
|
|
14441
|
+
/**
|
|
14442
|
+
* The identity of the participant being requested for this client when generating credentials
|
|
14443
|
+
*
|
|
14444
|
+
* @generated from field: optional string participant_identity = 3;
|
|
14445
|
+
*/
|
|
14446
|
+
participantIdentity?: string;
|
|
14447
|
+
|
|
14448
|
+
/**
|
|
14449
|
+
* Any participant metadata being included along with the credentials generation operation
|
|
14450
|
+
*
|
|
14451
|
+
* @generated from field: optional string participant_metadata = 4;
|
|
14452
|
+
*/
|
|
14453
|
+
participantMetadata?: string;
|
|
14454
|
+
|
|
14455
|
+
/**
|
|
14456
|
+
* Any participant attributes being included along with the credentials generation operation
|
|
14457
|
+
*
|
|
14458
|
+
* @generated from field: map<string, string> participant_attributes = 5;
|
|
14459
|
+
*/
|
|
14460
|
+
participantAttributes: { [key: string]: string };
|
|
14461
|
+
|
|
14462
|
+
/**
|
|
14463
|
+
* A RoomConfiguration object can be passed to request extra parameters should be included when
|
|
14464
|
+
* generating connection credentials - dispatching agents, defining egress settings, etc
|
|
14465
|
+
* More info: https://docs.livekit.io/home/get-started/authentication/#room-configuration
|
|
14466
|
+
*
|
|
14467
|
+
* @generated from field: optional livekit.RoomConfiguration room_config = 6;
|
|
14468
|
+
*/
|
|
14469
|
+
roomConfig?: RoomConfiguration;
|
|
14470
|
+
|
|
14471
|
+
constructor(data?: PartialMessage<TokenSourceRequest>);
|
|
14472
|
+
|
|
14473
|
+
static readonly runtime: typeof proto3;
|
|
14474
|
+
static readonly typeName = "livekit.TokenSourceRequest";
|
|
14475
|
+
static readonly fields: FieldList;
|
|
14476
|
+
|
|
14477
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenSourceRequest;
|
|
14478
|
+
|
|
14479
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenSourceRequest;
|
|
14480
|
+
|
|
14481
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenSourceRequest;
|
|
14482
|
+
|
|
14483
|
+
static equals(a: TokenSourceRequest | PlainMessage<TokenSourceRequest> | undefined, b: TokenSourceRequest | PlainMessage<TokenSourceRequest> | undefined): boolean;
|
|
14484
|
+
}
|
|
14485
|
+
|
|
14486
|
+
/**
|
|
14487
|
+
* @generated from message livekit.TokenSourceResponse
|
|
14488
|
+
*/
|
|
14489
|
+
declare class TokenSourceResponse extends Message<TokenSourceResponse> {
|
|
14490
|
+
/**
|
|
14491
|
+
* @generated from field: string server_url = 1;
|
|
14492
|
+
*/
|
|
14493
|
+
serverUrl: string;
|
|
14494
|
+
|
|
14495
|
+
/**
|
|
14496
|
+
* @generated from field: string participant_token = 2;
|
|
14497
|
+
*/
|
|
14498
|
+
participantToken: string;
|
|
14499
|
+
|
|
14500
|
+
constructor(data?: PartialMessage<TokenSourceResponse>);
|
|
14501
|
+
|
|
14502
|
+
static readonly runtime: typeof proto3;
|
|
14503
|
+
static readonly typeName = "livekit.TokenSourceResponse";
|
|
14504
|
+
static readonly fields: FieldList;
|
|
14505
|
+
|
|
14506
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenSourceResponse;
|
|
14507
|
+
|
|
14508
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenSourceResponse;
|
|
14509
|
+
|
|
14510
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenSourceResponse;
|
|
14511
|
+
|
|
14512
|
+
static equals(a: TokenSourceResponse | PlainMessage<TokenSourceResponse> | undefined, b: TokenSourceResponse | PlainMessage<TokenSourceResponse> | undefined): boolean;
|
|
14513
|
+
}
|
|
14514
|
+
|
|
13552
14515
|
// Copyright 2023 LiveKit, Inc.
|
|
13553
14516
|
//
|
|
13554
14517
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -13570,7 +14533,7 @@ declare class SIPUri extends Message<SIPUri> {
|
|
|
13570
14533
|
*/
|
|
13571
14534
|
declare class WebhookEvent extends Message<WebhookEvent> {
|
|
13572
14535
|
/**
|
|
13573
|
-
* one of room_started, room_finished, participant_joined, participant_left,
|
|
14536
|
+
* one of room_started, room_finished, participant_joined, participant_left, participant_connection_aborted,
|
|
13574
14537
|
* track_published, track_unpublished, egress_started, egress_updated, egress_ended,
|
|
13575
14538
|
* ingress_started, ingress_ended
|
|
13576
14539
|
*
|
|
@@ -13648,4 +14611,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
|
|
|
13648
14611
|
|
|
13649
14612
|
declare const version: string;
|
|
13650
14613
|
|
|
13651
|
-
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 };
|
|
14614
|
+
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 };
|