@cc-livekit/protocol 1.39.4 → 1.42.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 +457 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +975 -41
- package/dist/index.d.mts +975 -41
- package/dist/index.d.ts +975 -41
- package/dist/index.mjs +440 -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 +5 -0
- package/src/gen/livekit_temptalk_pb.js +1 -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;
|
|
@@ -8792,6 +9221,11 @@ declare class TTCallRequest extends Message<TTCallRequest> {
|
|
|
8792
9221
|
*/
|
|
8793
9222
|
startCall?: TTStartCall;
|
|
8794
9223
|
|
|
9224
|
+
/**
|
|
9225
|
+
* @generated from field: string userAgent = 3;
|
|
9226
|
+
*/
|
|
9227
|
+
userAgent: string;
|
|
9228
|
+
|
|
8795
9229
|
constructor(data?: PartialMessage<TTCallRequest>);
|
|
8796
9230
|
|
|
8797
9231
|
static readonly runtime: typeof proto3;
|
|
@@ -8882,7 +9316,7 @@ declare class SignalRequest extends Message<SignalRequest> {
|
|
|
8882
9316
|
*/
|
|
8883
9317
|
message: {
|
|
8884
9318
|
/**
|
|
8885
|
-
*
|
|
9319
|
+
* participant offer for publisher
|
|
8886
9320
|
*
|
|
8887
9321
|
* @generated from field: livekit.SessionDescription offer = 1;
|
|
8888
9322
|
*/
|
|
@@ -8890,7 +9324,7 @@ declare class SignalRequest extends Message<SignalRequest> {
|
|
|
8890
9324
|
case: "offer";
|
|
8891
9325
|
} | {
|
|
8892
9326
|
/**
|
|
8893
|
-
* participant answering
|
|
9327
|
+
* participant answering subscriber offer
|
|
8894
9328
|
*
|
|
8895
9329
|
* @generated from field: livekit.SessionDescription answer = 2;
|
|
8896
9330
|
*/
|
|
@@ -9231,6 +9665,22 @@ declare class SignalResponse extends Message<SignalResponse> {
|
|
|
9231
9665
|
*/
|
|
9232
9666
|
value: RoomMovedResponse;
|
|
9233
9667
|
case: "roomMoved";
|
|
9668
|
+
} | {
|
|
9669
|
+
/**
|
|
9670
|
+
* notify number of required media sections to satisfy subscribed tracks
|
|
9671
|
+
*
|
|
9672
|
+
* @generated from field: livekit.MediaSectionsRequirement media_sections_requirement = 25;
|
|
9673
|
+
*/
|
|
9674
|
+
value: MediaSectionsRequirement;
|
|
9675
|
+
case: "mediaSectionsRequirement";
|
|
9676
|
+
} | {
|
|
9677
|
+
/**
|
|
9678
|
+
* when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions
|
|
9679
|
+
*
|
|
9680
|
+
* @generated from field: livekit.SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26;
|
|
9681
|
+
*/
|
|
9682
|
+
value: SubscribedAudioCodecUpdate;
|
|
9683
|
+
case: "subscribedAudioCodecUpdate";
|
|
9234
9684
|
} | { case: undefined; value?: undefined };
|
|
9235
9685
|
|
|
9236
9686
|
constructor(data?: PartialMessage<SignalResponse>);
|
|
@@ -9262,6 +9712,16 @@ declare class SimulcastCodec extends Message<SimulcastCodec> {
|
|
|
9262
9712
|
*/
|
|
9263
9713
|
cid: string;
|
|
9264
9714
|
|
|
9715
|
+
/**
|
|
9716
|
+
* @generated from field: repeated livekit.VideoLayer layers = 4;
|
|
9717
|
+
*/
|
|
9718
|
+
layers: VideoLayer[];
|
|
9719
|
+
|
|
9720
|
+
/**
|
|
9721
|
+
* @generated from field: livekit.VideoLayer.Mode video_layer_mode = 5;
|
|
9722
|
+
*/
|
|
9723
|
+
videoLayerMode: VideoLayer_Mode;
|
|
9724
|
+
|
|
9265
9725
|
constructor(data?: PartialMessage<SimulcastCodec>);
|
|
9266
9726
|
|
|
9267
9727
|
static readonly runtime: typeof proto3;
|
|
@@ -9299,8 +9759,6 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
|
|
|
9299
9759
|
type: TrackType;
|
|
9300
9760
|
|
|
9301
9761
|
/**
|
|
9302
|
-
* to be deprecated in favor of layers
|
|
9303
|
-
*
|
|
9304
9762
|
* @generated from field: uint32 width = 4;
|
|
9305
9763
|
*/
|
|
9306
9764
|
width: number;
|
|
@@ -9694,6 +10152,11 @@ declare class SessionDescription extends Message<SessionDescription> {
|
|
|
9694
10152
|
*/
|
|
9695
10153
|
id: number;
|
|
9696
10154
|
|
|
10155
|
+
/**
|
|
10156
|
+
* @generated from field: map<string, string> mid_to_track_id = 4;
|
|
10157
|
+
*/
|
|
10158
|
+
midToTrackId: { [key: string]: string };
|
|
10159
|
+
|
|
9697
10160
|
constructor(data?: PartialMessage<SessionDescription>);
|
|
9698
10161
|
|
|
9699
10162
|
static readonly runtime: typeof proto3;
|
|
@@ -10336,6 +10799,35 @@ declare class SubscribedQualityUpdate extends Message<SubscribedQualityUpdate> {
|
|
|
10336
10799
|
static equals(a: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined, b: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined): boolean;
|
|
10337
10800
|
}
|
|
10338
10801
|
|
|
10802
|
+
/**
|
|
10803
|
+
* @generated from message livekit.SubscribedAudioCodecUpdate
|
|
10804
|
+
*/
|
|
10805
|
+
declare class SubscribedAudioCodecUpdate extends Message<SubscribedAudioCodecUpdate> {
|
|
10806
|
+
/**
|
|
10807
|
+
* @generated from field: string track_sid = 1;
|
|
10808
|
+
*/
|
|
10809
|
+
trackSid: string;
|
|
10810
|
+
|
|
10811
|
+
/**
|
|
10812
|
+
* @generated from field: repeated livekit.SubscribedAudioCodec subscribed_audio_codecs = 2;
|
|
10813
|
+
*/
|
|
10814
|
+
subscribedAudioCodecs: SubscribedAudioCodec[];
|
|
10815
|
+
|
|
10816
|
+
constructor(data?: PartialMessage<SubscribedAudioCodecUpdate>);
|
|
10817
|
+
|
|
10818
|
+
static readonly runtime: typeof proto3;
|
|
10819
|
+
static readonly typeName = "livekit.SubscribedAudioCodecUpdate";
|
|
10820
|
+
static readonly fields: FieldList;
|
|
10821
|
+
|
|
10822
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscribedAudioCodecUpdate;
|
|
10823
|
+
|
|
10824
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
|
|
10825
|
+
|
|
10826
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
|
|
10827
|
+
|
|
10828
|
+
static equals(a: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined, b: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined): boolean;
|
|
10829
|
+
}
|
|
10830
|
+
|
|
10339
10831
|
/**
|
|
10340
10832
|
* @generated from message livekit.TrackPermission
|
|
10341
10833
|
*/
|
|
@@ -10488,7 +10980,9 @@ declare class RoomMovedResponse extends Message<RoomMovedResponse> {
|
|
|
10488
10980
|
*/
|
|
10489
10981
|
declare class SyncState extends Message<SyncState> {
|
|
10490
10982
|
/**
|
|
10491
|
-
* last subscribe answer before reconnecting
|
|
10983
|
+
* last subscribe/publish answer before reconnecting
|
|
10984
|
+
* subscribe answer if using dual peer connection
|
|
10985
|
+
* publish answer if using single peer connection
|
|
10492
10986
|
*
|
|
10493
10987
|
* @generated from field: livekit.SessionDescription answer = 1;
|
|
10494
10988
|
*/
|
|
@@ -10510,7 +11004,9 @@ declare class SyncState extends Message<SyncState> {
|
|
|
10510
11004
|
dataChannels: DataChannelInfo[];
|
|
10511
11005
|
|
|
10512
11006
|
/**
|
|
10513
|
-
* last received server side offer before reconnecting
|
|
11007
|
+
* last received server side offer/sent client side offer before reconnecting
|
|
11008
|
+
* received server side offer if using dual peer connection
|
|
11009
|
+
* sent client side offer if using single peer connection
|
|
10514
11010
|
*
|
|
10515
11011
|
* @generated from field: livekit.SessionDescription offer = 5;
|
|
10516
11012
|
*/
|
|
@@ -10869,6 +11365,47 @@ declare class RequestResponse extends Message<RequestResponse> {
|
|
|
10869
11365
|
*/
|
|
10870
11366
|
message: string;
|
|
10871
11367
|
|
|
11368
|
+
/**
|
|
11369
|
+
* @generated from oneof livekit.RequestResponse.request
|
|
11370
|
+
*/
|
|
11371
|
+
request: {
|
|
11372
|
+
/**
|
|
11373
|
+
* @generated from field: livekit.TrickleRequest trickle = 4;
|
|
11374
|
+
*/
|
|
11375
|
+
value: TrickleRequest;
|
|
11376
|
+
case: "trickle";
|
|
11377
|
+
} | {
|
|
11378
|
+
/**
|
|
11379
|
+
* @generated from field: livekit.AddTrackRequest add_track = 5;
|
|
11380
|
+
*/
|
|
11381
|
+
value: AddTrackRequest;
|
|
11382
|
+
case: "addTrack";
|
|
11383
|
+
} | {
|
|
11384
|
+
/**
|
|
11385
|
+
* @generated from field: livekit.MuteTrackRequest mute = 6;
|
|
11386
|
+
*/
|
|
11387
|
+
value: MuteTrackRequest;
|
|
11388
|
+
case: "mute";
|
|
11389
|
+
} | {
|
|
11390
|
+
/**
|
|
11391
|
+
* @generated from field: livekit.UpdateParticipantMetadata update_metadata = 7;
|
|
11392
|
+
*/
|
|
11393
|
+
value: UpdateParticipantMetadata;
|
|
11394
|
+
case: "updateMetadata";
|
|
11395
|
+
} | {
|
|
11396
|
+
/**
|
|
11397
|
+
* @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 8;
|
|
11398
|
+
*/
|
|
11399
|
+
value: UpdateLocalAudioTrack;
|
|
11400
|
+
case: "updateAudioTrack";
|
|
11401
|
+
} | {
|
|
11402
|
+
/**
|
|
11403
|
+
* @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 9;
|
|
11404
|
+
*/
|
|
11405
|
+
value: UpdateLocalVideoTrack;
|
|
11406
|
+
case: "updateVideoTrack";
|
|
11407
|
+
} | { case: undefined; value?: undefined };
|
|
11408
|
+
|
|
10872
11409
|
constructor(data?: PartialMessage<RequestResponse>);
|
|
10873
11410
|
|
|
10874
11411
|
static readonly runtime: typeof proto3;
|
|
@@ -10907,6 +11444,21 @@ declare enum RequestResponse_Reason {
|
|
|
10907
11444
|
* @generated from enum value: LIMIT_EXCEEDED = 3;
|
|
10908
11445
|
*/
|
|
10909
11446
|
LIMIT_EXCEEDED = 3,
|
|
11447
|
+
|
|
11448
|
+
/**
|
|
11449
|
+
* @generated from enum value: QUEUED = 4;
|
|
11450
|
+
*/
|
|
11451
|
+
QUEUED = 4,
|
|
11452
|
+
|
|
11453
|
+
/**
|
|
11454
|
+
* @generated from enum value: UNSUPPORTED_TYPE = 5;
|
|
11455
|
+
*/
|
|
11456
|
+
UNSUPPORTED_TYPE = 5,
|
|
11457
|
+
|
|
11458
|
+
/**
|
|
11459
|
+
* @generated from enum value: UNCLASSIFIED_ERROR = 6;
|
|
11460
|
+
*/
|
|
11461
|
+
UNCLASSIFIED_ERROR = 6,
|
|
10910
11462
|
}
|
|
10911
11463
|
|
|
10912
11464
|
/**
|
|
@@ -10933,6 +11485,195 @@ declare class TrackSubscribed extends Message<TrackSubscribed> {
|
|
|
10933
11485
|
static equals(a: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined, b: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined): boolean;
|
|
10934
11486
|
}
|
|
10935
11487
|
|
|
11488
|
+
/**
|
|
11489
|
+
* @generated from message livekit.ConnectionSettings
|
|
11490
|
+
*/
|
|
11491
|
+
declare class ConnectionSettings extends Message<ConnectionSettings> {
|
|
11492
|
+
/**
|
|
11493
|
+
* @generated from field: bool auto_subscribe = 1;
|
|
11494
|
+
*/
|
|
11495
|
+
autoSubscribe: boolean;
|
|
11496
|
+
|
|
11497
|
+
/**
|
|
11498
|
+
* @generated from field: bool adaptive_stream = 2;
|
|
11499
|
+
*/
|
|
11500
|
+
adaptiveStream: boolean;
|
|
11501
|
+
|
|
11502
|
+
/**
|
|
11503
|
+
* @generated from field: optional bool subscriber_allow_pause = 3;
|
|
11504
|
+
*/
|
|
11505
|
+
subscriberAllowPause?: boolean;
|
|
11506
|
+
|
|
11507
|
+
/**
|
|
11508
|
+
* @generated from field: bool disable_ice_lite = 4;
|
|
11509
|
+
*/
|
|
11510
|
+
disableIceLite: boolean;
|
|
11511
|
+
|
|
11512
|
+
constructor(data?: PartialMessage<ConnectionSettings>);
|
|
11513
|
+
|
|
11514
|
+
static readonly runtime: typeof proto3;
|
|
11515
|
+
static readonly typeName = "livekit.ConnectionSettings";
|
|
11516
|
+
static readonly fields: FieldList;
|
|
11517
|
+
|
|
11518
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectionSettings;
|
|
11519
|
+
|
|
11520
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectionSettings;
|
|
11521
|
+
|
|
11522
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectionSettings;
|
|
11523
|
+
|
|
11524
|
+
static equals(a: ConnectionSettings | PlainMessage<ConnectionSettings> | undefined, b: ConnectionSettings | PlainMessage<ConnectionSettings> | undefined): boolean;
|
|
11525
|
+
}
|
|
11526
|
+
|
|
11527
|
+
/**
|
|
11528
|
+
* @generated from message livekit.JoinRequest
|
|
11529
|
+
*/
|
|
11530
|
+
declare class JoinRequest extends Message<JoinRequest> {
|
|
11531
|
+
/**
|
|
11532
|
+
* @generated from field: livekit.ClientInfo client_info = 1;
|
|
11533
|
+
*/
|
|
11534
|
+
clientInfo?: ClientInfo;
|
|
11535
|
+
|
|
11536
|
+
/**
|
|
11537
|
+
* @generated from field: livekit.ConnectionSettings connection_settings = 2;
|
|
11538
|
+
*/
|
|
11539
|
+
connectionSettings?: ConnectionSettings;
|
|
11540
|
+
|
|
11541
|
+
/**
|
|
11542
|
+
* if not empty, will overwrite `metadata` in token
|
|
11543
|
+
*
|
|
11544
|
+
* @generated from field: string metadata = 3;
|
|
11545
|
+
*/
|
|
11546
|
+
metadata: string;
|
|
11547
|
+
|
|
11548
|
+
/**
|
|
11549
|
+
* will set keys provided via this
|
|
11550
|
+
* will overwrite if the same key is in the token
|
|
11551
|
+
* will not delete keys from token if there is a key collision and this sets that key to empty value
|
|
11552
|
+
*
|
|
11553
|
+
* @generated from field: map<string, string> participant_attributes = 4;
|
|
11554
|
+
*/
|
|
11555
|
+
participantAttributes: { [key: string]: string };
|
|
11556
|
+
|
|
11557
|
+
/**
|
|
11558
|
+
* @generated from field: repeated livekit.AddTrackRequest add_track_requests = 5;
|
|
11559
|
+
*/
|
|
11560
|
+
addTrackRequests: AddTrackRequest[];
|
|
11561
|
+
|
|
11562
|
+
/**
|
|
11563
|
+
* @generated from field: livekit.SessionDescription publisher_offer = 6;
|
|
11564
|
+
*/
|
|
11565
|
+
publisherOffer?: SessionDescription;
|
|
11566
|
+
|
|
11567
|
+
/**
|
|
11568
|
+
* @generated from field: bool reconnect = 7;
|
|
11569
|
+
*/
|
|
11570
|
+
reconnect: boolean;
|
|
11571
|
+
|
|
11572
|
+
/**
|
|
11573
|
+
* @generated from field: livekit.ReconnectReason reconnect_reason = 8;
|
|
11574
|
+
*/
|
|
11575
|
+
reconnectReason: ReconnectReason;
|
|
11576
|
+
|
|
11577
|
+
/**
|
|
11578
|
+
* @generated from field: string participant_sid = 9;
|
|
11579
|
+
*/
|
|
11580
|
+
participantSid: string;
|
|
11581
|
+
|
|
11582
|
+
/**
|
|
11583
|
+
* @generated from field: livekit.SyncState sync_state = 10;
|
|
11584
|
+
*/
|
|
11585
|
+
syncState?: SyncState;
|
|
11586
|
+
|
|
11587
|
+
constructor(data?: PartialMessage<JoinRequest>);
|
|
11588
|
+
|
|
11589
|
+
static readonly runtime: typeof proto3;
|
|
11590
|
+
static readonly typeName = "livekit.JoinRequest";
|
|
11591
|
+
static readonly fields: FieldList;
|
|
11592
|
+
|
|
11593
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JoinRequest;
|
|
11594
|
+
|
|
11595
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JoinRequest;
|
|
11596
|
+
|
|
11597
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JoinRequest;
|
|
11598
|
+
|
|
11599
|
+
static equals(a: JoinRequest | PlainMessage<JoinRequest> | undefined, b: JoinRequest | PlainMessage<JoinRequest> | undefined): boolean;
|
|
11600
|
+
}
|
|
11601
|
+
|
|
11602
|
+
/**
|
|
11603
|
+
* @generated from message livekit.WrappedJoinRequest
|
|
11604
|
+
*/
|
|
11605
|
+
declare class WrappedJoinRequest extends Message<WrappedJoinRequest> {
|
|
11606
|
+
/**
|
|
11607
|
+
* @generated from field: livekit.WrappedJoinRequest.Compression compression = 1;
|
|
11608
|
+
*/
|
|
11609
|
+
compression: WrappedJoinRequest_Compression;
|
|
11610
|
+
|
|
11611
|
+
/**
|
|
11612
|
+
* marshalled JoinRequest + potentially compressed
|
|
11613
|
+
*
|
|
11614
|
+
* @generated from field: bytes join_request = 2;
|
|
11615
|
+
*/
|
|
11616
|
+
joinRequest: Uint8Array;
|
|
11617
|
+
|
|
11618
|
+
constructor(data?: PartialMessage<WrappedJoinRequest>);
|
|
11619
|
+
|
|
11620
|
+
static readonly runtime: typeof proto3;
|
|
11621
|
+
static readonly typeName = "livekit.WrappedJoinRequest";
|
|
11622
|
+
static readonly fields: FieldList;
|
|
11623
|
+
|
|
11624
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WrappedJoinRequest;
|
|
11625
|
+
|
|
11626
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WrappedJoinRequest;
|
|
11627
|
+
|
|
11628
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WrappedJoinRequest;
|
|
11629
|
+
|
|
11630
|
+
static equals(a: WrappedJoinRequest | PlainMessage<WrappedJoinRequest> | undefined, b: WrappedJoinRequest | PlainMessage<WrappedJoinRequest> | undefined): boolean;
|
|
11631
|
+
}
|
|
11632
|
+
|
|
11633
|
+
/**
|
|
11634
|
+
* @generated from enum livekit.WrappedJoinRequest.Compression
|
|
11635
|
+
*/
|
|
11636
|
+
declare enum WrappedJoinRequest_Compression {
|
|
11637
|
+
/**
|
|
11638
|
+
* @generated from enum value: NONE = 0;
|
|
11639
|
+
*/
|
|
11640
|
+
NONE = 0,
|
|
11641
|
+
|
|
11642
|
+
/**
|
|
11643
|
+
* @generated from enum value: GZIP = 1;
|
|
11644
|
+
*/
|
|
11645
|
+
GZIP = 1,
|
|
11646
|
+
}
|
|
11647
|
+
|
|
11648
|
+
/**
|
|
11649
|
+
* @generated from message livekit.MediaSectionsRequirement
|
|
11650
|
+
*/
|
|
11651
|
+
declare class MediaSectionsRequirement extends Message<MediaSectionsRequirement> {
|
|
11652
|
+
/**
|
|
11653
|
+
* @generated from field: uint32 num_audios = 1;
|
|
11654
|
+
*/
|
|
11655
|
+
numAudios: number;
|
|
11656
|
+
|
|
11657
|
+
/**
|
|
11658
|
+
* @generated from field: uint32 num_videos = 2;
|
|
11659
|
+
*/
|
|
11660
|
+
numVideos: number;
|
|
11661
|
+
|
|
11662
|
+
constructor(data?: PartialMessage<MediaSectionsRequirement>);
|
|
11663
|
+
|
|
11664
|
+
static readonly runtime: typeof proto3;
|
|
11665
|
+
static readonly typeName = "livekit.MediaSectionsRequirement";
|
|
11666
|
+
static readonly fields: FieldList;
|
|
11667
|
+
|
|
11668
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaSectionsRequirement;
|
|
11669
|
+
|
|
11670
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaSectionsRequirement;
|
|
11671
|
+
|
|
11672
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaSectionsRequirement;
|
|
11673
|
+
|
|
11674
|
+
static equals(a: MediaSectionsRequirement | PlainMessage<MediaSectionsRequirement> | undefined, b: MediaSectionsRequirement | PlainMessage<MediaSectionsRequirement> | undefined): boolean;
|
|
11675
|
+
}
|
|
11676
|
+
|
|
10936
11677
|
// Copyright 2023 LiveKit, Inc.
|
|
10937
11678
|
//
|
|
10938
11679
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -11276,6 +12017,30 @@ declare enum SIPMediaEncryption {
|
|
|
11276
12017
|
SIP_MEDIA_ENCRYPT_REQUIRE = 2,
|
|
11277
12018
|
}
|
|
11278
12019
|
|
|
12020
|
+
/**
|
|
12021
|
+
* @generated from enum livekit.ProviderType
|
|
12022
|
+
*/
|
|
12023
|
+
declare enum ProviderType {
|
|
12024
|
+
/**
|
|
12025
|
+
* @generated from enum value: PROVIDER_TYPE_UNKNOWN = 0;
|
|
12026
|
+
*/
|
|
12027
|
+
UNKNOWN = 0,
|
|
12028
|
+
|
|
12029
|
+
/**
|
|
12030
|
+
* Internally implemented
|
|
12031
|
+
*
|
|
12032
|
+
* @generated from enum value: PROVIDER_TYPE_INTERNAL = 1;
|
|
12033
|
+
*/
|
|
12034
|
+
INTERNAL = 1,
|
|
12035
|
+
|
|
12036
|
+
/**
|
|
12037
|
+
* Vendor provided
|
|
12038
|
+
*
|
|
12039
|
+
* @generated from enum value: PROVIDER_TYPE_EXTERNAL = 2;
|
|
12040
|
+
*/
|
|
12041
|
+
EXTERNAL = 2,
|
|
12042
|
+
}
|
|
12043
|
+
|
|
11279
12044
|
/**
|
|
11280
12045
|
* @generated from enum livekit.SIPCallStatus
|
|
11281
12046
|
*/
|
|
@@ -11496,6 +12261,40 @@ declare class CreateSIPTrunkRequest extends Message<CreateSIPTrunkRequest> {
|
|
|
11496
12261
|
static equals(a: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined, b: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined): boolean;
|
|
11497
12262
|
}
|
|
11498
12263
|
|
|
12264
|
+
/**
|
|
12265
|
+
* @generated from message livekit.ProviderInfo
|
|
12266
|
+
*/
|
|
12267
|
+
declare class ProviderInfo extends Message<ProviderInfo> {
|
|
12268
|
+
/**
|
|
12269
|
+
* @generated from field: string id = 1;
|
|
12270
|
+
*/
|
|
12271
|
+
id: string;
|
|
12272
|
+
|
|
12273
|
+
/**
|
|
12274
|
+
* @generated from field: string name = 2;
|
|
12275
|
+
*/
|
|
12276
|
+
name: string;
|
|
12277
|
+
|
|
12278
|
+
/**
|
|
12279
|
+
* @generated from field: livekit.ProviderType type = 3;
|
|
12280
|
+
*/
|
|
12281
|
+
type: ProviderType;
|
|
12282
|
+
|
|
12283
|
+
constructor(data?: PartialMessage<ProviderInfo>);
|
|
12284
|
+
|
|
12285
|
+
static readonly runtime: typeof proto3;
|
|
12286
|
+
static readonly typeName = "livekit.ProviderInfo";
|
|
12287
|
+
static readonly fields: FieldList;
|
|
12288
|
+
|
|
12289
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProviderInfo;
|
|
12290
|
+
|
|
12291
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProviderInfo;
|
|
12292
|
+
|
|
12293
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProviderInfo;
|
|
12294
|
+
|
|
12295
|
+
static equals(a: ProviderInfo | PlainMessage<ProviderInfo> | undefined, b: ProviderInfo | PlainMessage<ProviderInfo> | undefined): boolean;
|
|
12296
|
+
}
|
|
12297
|
+
|
|
11499
12298
|
/**
|
|
11500
12299
|
* @generated from message livekit.SIPTrunkInfo
|
|
11501
12300
|
* @deprecated
|
|
@@ -13182,12 +13981,24 @@ declare class CreateSIPParticipantRequest extends Message<CreateSIPParticipantRe
|
|
|
13182
13981
|
/**
|
|
13183
13982
|
* Wait for the answer for the call before returning.
|
|
13184
13983
|
*
|
|
13185
|
-
* NEXT ID: 21
|
|
13186
|
-
*
|
|
13187
13984
|
* @generated from field: bool wait_until_answered = 19;
|
|
13188
13985
|
*/
|
|
13189
13986
|
waitUntilAnswered: boolean;
|
|
13190
13987
|
|
|
13988
|
+
/**
|
|
13989
|
+
* Optional display name for the 'From' SIP header.
|
|
13990
|
+
*
|
|
13991
|
+
* Cases:
|
|
13992
|
+
* 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number.
|
|
13993
|
+
* 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream.
|
|
13994
|
+
* 3) Non-empty: Use the specified value as the display name.
|
|
13995
|
+
*
|
|
13996
|
+
* NEXT ID: 22
|
|
13997
|
+
*
|
|
13998
|
+
* @generated from field: optional string display_name = 21;
|
|
13999
|
+
*/
|
|
14000
|
+
displayName?: string;
|
|
14001
|
+
|
|
13191
14002
|
constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
|
|
13192
14003
|
|
|
13193
14004
|
static readonly runtime: typeof proto3;
|
|
@@ -13426,6 +14237,21 @@ declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
13426
14237
|
*/
|
|
13427
14238
|
mediaEncryption: string;
|
|
13428
14239
|
|
|
14240
|
+
/**
|
|
14241
|
+
* @generated from field: string pcap_file_link = 25;
|
|
14242
|
+
*/
|
|
14243
|
+
pcapFileLink: string;
|
|
14244
|
+
|
|
14245
|
+
/**
|
|
14246
|
+
* @generated from field: repeated google.protobuf.Any call_context = 26;
|
|
14247
|
+
*/
|
|
14248
|
+
callContext: Any[];
|
|
14249
|
+
|
|
14250
|
+
/**
|
|
14251
|
+
* @generated from field: livekit.ProviderInfo provider_info = 27;
|
|
14252
|
+
*/
|
|
14253
|
+
providerInfo?: ProviderInfo;
|
|
14254
|
+
|
|
13429
14255
|
constructor(data?: PartialMessage<SIPCallInfo>);
|
|
13430
14256
|
|
|
13431
14257
|
static readonly runtime: typeof proto3;
|
|
@@ -13544,6 +14370,114 @@ declare class SIPUri extends Message<SIPUri> {
|
|
|
13544
14370
|
static equals(a: SIPUri | PlainMessage<SIPUri> | undefined, b: SIPUri | PlainMessage<SIPUri> | undefined): boolean;
|
|
13545
14371
|
}
|
|
13546
14372
|
|
|
14373
|
+
// Copyright 2025 LiveKit, Inc.
|
|
14374
|
+
//
|
|
14375
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
14376
|
+
// you may not use this file except in compliance with the License.
|
|
14377
|
+
// You may obtain a copy of the License at
|
|
14378
|
+
//
|
|
14379
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
14380
|
+
//
|
|
14381
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
14382
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
14383
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14384
|
+
// See the License for the specific language governing permissions and
|
|
14385
|
+
// limitations under the License.
|
|
14386
|
+
|
|
14387
|
+
|
|
14388
|
+
|
|
14389
|
+
/**
|
|
14390
|
+
* @generated from message livekit.TokenSourceRequest
|
|
14391
|
+
*/
|
|
14392
|
+
declare class TokenSourceRequest extends Message<TokenSourceRequest> {
|
|
14393
|
+
/**
|
|
14394
|
+
* The name of the room being requested when generating credentials
|
|
14395
|
+
*
|
|
14396
|
+
* @generated from field: optional string room_name = 1;
|
|
14397
|
+
*/
|
|
14398
|
+
roomName?: string;
|
|
14399
|
+
|
|
14400
|
+
/**
|
|
14401
|
+
* The name of the participant being requested for this client when generating credentials
|
|
14402
|
+
*
|
|
14403
|
+
* @generated from field: optional string participant_name = 2;
|
|
14404
|
+
*/
|
|
14405
|
+
participantName?: string;
|
|
14406
|
+
|
|
14407
|
+
/**
|
|
14408
|
+
* The identity of the participant being requested for this client when generating credentials
|
|
14409
|
+
*
|
|
14410
|
+
* @generated from field: optional string participant_identity = 3;
|
|
14411
|
+
*/
|
|
14412
|
+
participantIdentity?: string;
|
|
14413
|
+
|
|
14414
|
+
/**
|
|
14415
|
+
* Any participant metadata being included along with the credentials generation operation
|
|
14416
|
+
*
|
|
14417
|
+
* @generated from field: optional string participant_metadata = 4;
|
|
14418
|
+
*/
|
|
14419
|
+
participantMetadata?: string;
|
|
14420
|
+
|
|
14421
|
+
/**
|
|
14422
|
+
* Any participant attributes being included along with the credentials generation operation
|
|
14423
|
+
*
|
|
14424
|
+
* @generated from field: map<string, string> participant_attributes = 5;
|
|
14425
|
+
*/
|
|
14426
|
+
participantAttributes: { [key: string]: string };
|
|
14427
|
+
|
|
14428
|
+
/**
|
|
14429
|
+
* A RoomConfiguration object can be passed to request extra parameters should be included when
|
|
14430
|
+
* generating connection credentials - dispatching agents, defining egress settings, etc
|
|
14431
|
+
* More info: https://docs.livekit.io/home/get-started/authentication/#room-configuration
|
|
14432
|
+
*
|
|
14433
|
+
* @generated from field: optional livekit.RoomConfiguration room_config = 6;
|
|
14434
|
+
*/
|
|
14435
|
+
roomConfig?: RoomConfiguration;
|
|
14436
|
+
|
|
14437
|
+
constructor(data?: PartialMessage<TokenSourceRequest>);
|
|
14438
|
+
|
|
14439
|
+
static readonly runtime: typeof proto3;
|
|
14440
|
+
static readonly typeName = "livekit.TokenSourceRequest";
|
|
14441
|
+
static readonly fields: FieldList;
|
|
14442
|
+
|
|
14443
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenSourceRequest;
|
|
14444
|
+
|
|
14445
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenSourceRequest;
|
|
14446
|
+
|
|
14447
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenSourceRequest;
|
|
14448
|
+
|
|
14449
|
+
static equals(a: TokenSourceRequest | PlainMessage<TokenSourceRequest> | undefined, b: TokenSourceRequest | PlainMessage<TokenSourceRequest> | undefined): boolean;
|
|
14450
|
+
}
|
|
14451
|
+
|
|
14452
|
+
/**
|
|
14453
|
+
* @generated from message livekit.TokenSourceResponse
|
|
14454
|
+
*/
|
|
14455
|
+
declare class TokenSourceResponse extends Message<TokenSourceResponse> {
|
|
14456
|
+
/**
|
|
14457
|
+
* @generated from field: string server_url = 1;
|
|
14458
|
+
*/
|
|
14459
|
+
serverUrl: string;
|
|
14460
|
+
|
|
14461
|
+
/**
|
|
14462
|
+
* @generated from field: string participant_token = 2;
|
|
14463
|
+
*/
|
|
14464
|
+
participantToken: string;
|
|
14465
|
+
|
|
14466
|
+
constructor(data?: PartialMessage<TokenSourceResponse>);
|
|
14467
|
+
|
|
14468
|
+
static readonly runtime: typeof proto3;
|
|
14469
|
+
static readonly typeName = "livekit.TokenSourceResponse";
|
|
14470
|
+
static readonly fields: FieldList;
|
|
14471
|
+
|
|
14472
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenSourceResponse;
|
|
14473
|
+
|
|
14474
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenSourceResponse;
|
|
14475
|
+
|
|
14476
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenSourceResponse;
|
|
14477
|
+
|
|
14478
|
+
static equals(a: TokenSourceResponse | PlainMessage<TokenSourceResponse> | undefined, b: TokenSourceResponse | PlainMessage<TokenSourceResponse> | undefined): boolean;
|
|
14479
|
+
}
|
|
14480
|
+
|
|
13547
14481
|
// Copyright 2023 LiveKit, Inc.
|
|
13548
14482
|
//
|
|
13549
14483
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -13565,7 +14499,7 @@ declare class SIPUri extends Message<SIPUri> {
|
|
|
13565
14499
|
*/
|
|
13566
14500
|
declare class WebhookEvent extends Message<WebhookEvent> {
|
|
13567
14501
|
/**
|
|
13568
|
-
* one of room_started, room_finished, participant_joined, participant_left,
|
|
14502
|
+
* one of room_started, room_finished, participant_joined, participant_left, participant_connection_aborted,
|
|
13569
14503
|
* track_published, track_unpublished, egress_started, egress_updated, egress_ended,
|
|
13570
14504
|
* ingress_started, ingress_ended
|
|
13571
14505
|
*
|
|
@@ -13643,4 +14577,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
|
|
|
13643
14577
|
|
|
13644
14578
|
declare const version: string;
|
|
13645
14579
|
|
|
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 };
|
|
14580
|
+
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, 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 };
|