@livekit/protocol 1.47.0 → 1.48.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +190 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +598 -6
- package/dist/index.d.mts +598 -6
- package/dist/index.d.ts +598 -6
- package/dist/index.mjs +180 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_dev_pb.d.ts +37 -0
- package/src/gen/agent/livekit_agent_dev_pb.js +14 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +88 -0
- package/src/gen/livekit_cloud_agent_pb.js +28 -0
- package/src/gen/livekit_internal_pb.d.ts +4 -2
- package/src/gen/livekit_models_pb.d.ts +352 -0
- package/src/gen/livekit_models_pb.js +118 -0
- package/src/gen/livekit_rtc_pb.d.ts +180 -1
- package/src/gen/livekit_rtc_pb.js +53 -1
- package/src/gen/livekit_sip_pb.d.ts +28 -4
- package/src/gen/livekit_sip_pb.js +4 -0
- package/src/gen/version.js +1 -1
|
@@ -223,6 +223,7 @@ export const PacketTrailerFeature = /*@__PURE__*/ proto3.makeEnum(
|
|
|
223
223
|
[
|
|
224
224
|
{no: 0, name: "PTF_USER_TIMESTAMP"},
|
|
225
225
|
{no: 1, name: "PTF_FRAME_ID"},
|
|
226
|
+
{no: 2, name: "PTF_USER_DATA"},
|
|
226
227
|
],
|
|
227
228
|
);
|
|
228
229
|
|
|
@@ -351,6 +352,7 @@ export const ParticipantInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
351
352
|
{ no: 18, name: "kind_details", kind: "enum", T: proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true },
|
|
352
353
|
{ no: 19, name: "data_tracks", kind: "message", T: DataTrackInfo, repeated: true },
|
|
353
354
|
{ no: 20, name: "client_protocol", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
355
|
+
{ no: 21, name: "capabilities", kind: "enum", T: proto3.getEnumType(ClientInfo_Capability), repeated: true },
|
|
354
356
|
],
|
|
355
357
|
);
|
|
356
358
|
|
|
@@ -472,6 +474,96 @@ export const DataTrackInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
472
474
|
{ no: 2, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
473
475
|
{ no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
474
476
|
{ no: 4, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
|
|
477
|
+
{ no: 5, name: "frame_encoding", kind: "message", T: DataTrackFrameEncoding, opt: true },
|
|
478
|
+
{ no: 6, name: "schema", kind: "message", T: DataTrackSchemaId, opt: true },
|
|
479
|
+
],
|
|
480
|
+
);
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Encoding for frame payloads.
|
|
484
|
+
*
|
|
485
|
+
* @generated from message livekit.DataTrackFrameEncoding
|
|
486
|
+
*/
|
|
487
|
+
export const DataTrackFrameEncoding = /*@__PURE__*/ proto3.makeMessageType(
|
|
488
|
+
"livekit.DataTrackFrameEncoding",
|
|
489
|
+
() => [
|
|
490
|
+
{ no: 1, name: "well_known", kind: "enum", T: proto3.getEnumType(DataTrackFrameEncoding_WellKnownFrameEncoding), oneof: "value" },
|
|
491
|
+
{ no: 2, name: "custom", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "value" },
|
|
492
|
+
],
|
|
493
|
+
);
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* Well-known encoding for frame payloads.
|
|
497
|
+
*
|
|
498
|
+
* Mirrors the well-known message encodings from the MCAP spec:
|
|
499
|
+
* https://mcap.dev/spec/registry#message-encodings
|
|
500
|
+
*
|
|
501
|
+
*
|
|
502
|
+
* @generated from enum livekit.DataTrackFrameEncoding.WellKnownFrameEncoding
|
|
503
|
+
*/
|
|
504
|
+
export const DataTrackFrameEncoding_WellKnownFrameEncoding = /*@__PURE__*/ proto3.makeEnum(
|
|
505
|
+
"livekit.DataTrackFrameEncoding.WellKnownFrameEncoding",
|
|
506
|
+
[
|
|
507
|
+
{no: 0, name: "WELL_KNOWN_FRAME_ENCODING_UNSPECIFIED", localName: "UNSPECIFIED"},
|
|
508
|
+
{no: 1, name: "WELL_KNOWN_FRAME_ENCODING_ROS1", localName: "ROS1"},
|
|
509
|
+
{no: 2, name: "WELL_KNOWN_FRAME_ENCODING_CDR", localName: "CDR"},
|
|
510
|
+
{no: 3, name: "WELL_KNOWN_FRAME_ENCODING_PROTOBUF", localName: "PROTOBUF"},
|
|
511
|
+
{no: 4, name: "WELL_KNOWN_FRAME_ENCODING_FLATBUFFER", localName: "FLATBUFFER"},
|
|
512
|
+
{no: 5, name: "WELL_KNOWN_FRAME_ENCODING_CBOR", localName: "CBOR"},
|
|
513
|
+
{no: 6, name: "WELL_KNOWN_FRAME_ENCODING_MSGPACK", localName: "MSGPACK"},
|
|
514
|
+
{no: 7, name: "WELL_KNOWN_FRAME_ENCODING_JSON", localName: "JSON"},
|
|
515
|
+
],
|
|
516
|
+
);
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Encoding for schema definition.
|
|
520
|
+
*
|
|
521
|
+
* @generated from message livekit.DataTrackSchemaEncoding
|
|
522
|
+
*/
|
|
523
|
+
export const DataTrackSchemaEncoding = /*@__PURE__*/ proto3.makeMessageType(
|
|
524
|
+
"livekit.DataTrackSchemaEncoding",
|
|
525
|
+
() => [
|
|
526
|
+
{ no: 1, name: "well_known", kind: "enum", T: proto3.getEnumType(DataTrackSchemaEncoding_WellKnownSchemaEncoding), oneof: "value" },
|
|
527
|
+
{ no: 2, name: "custom", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "value" },
|
|
528
|
+
],
|
|
529
|
+
);
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Well-known encoding for schema definition.
|
|
533
|
+
*
|
|
534
|
+
* Mirrors the well-known schema encodings from the MCAP spec:
|
|
535
|
+
* https://mcap.dev/spec/registry#schema-encodings
|
|
536
|
+
*
|
|
537
|
+
*
|
|
538
|
+
* @generated from enum livekit.DataTrackSchemaEncoding.WellKnownSchemaEncoding
|
|
539
|
+
*/
|
|
540
|
+
export const DataTrackSchemaEncoding_WellKnownSchemaEncoding = /*@__PURE__*/ proto3.makeEnum(
|
|
541
|
+
"livekit.DataTrackSchemaEncoding.WellKnownSchemaEncoding",
|
|
542
|
+
[
|
|
543
|
+
{no: 0, name: "WELL_KNOWN_SCHEMA_ENCODING_UNSPECIFIED", localName: "UNSPECIFIED"},
|
|
544
|
+
{no: 1, name: "WELL_KNOWN_SCHEMA_ENCODING_PROTOBUF", localName: "PROTOBUF"},
|
|
545
|
+
{no: 2, name: "WELL_KNOWN_SCHEMA_ENCODING_FLATBUFFER", localName: "FLATBUFFER"},
|
|
546
|
+
{no: 3, name: "WELL_KNOWN_SCHEMA_ENCODING_ROS1_MSG", localName: "ROS1_MSG"},
|
|
547
|
+
{no: 4, name: "WELL_KNOWN_SCHEMA_ENCODING_ROS2_MSG", localName: "ROS2_MSG"},
|
|
548
|
+
{no: 5, name: "WELL_KNOWN_SCHEMA_ENCODING_ROS2_IDL", localName: "ROS2_IDL"},
|
|
549
|
+
{no: 6, name: "WELL_KNOWN_SCHEMA_ENCODING_OMG_IDL", localName: "OMG_IDL"},
|
|
550
|
+
{no: 7, name: "WELL_KNOWN_SCHEMA_ENCODING_JSON_SCHEMA", localName: "JSON_SCHEMA"},
|
|
551
|
+
],
|
|
552
|
+
);
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* Identifier for a data track schema.
|
|
556
|
+
*
|
|
557
|
+
* Schemas with the same name but different encodings are distinct.
|
|
558
|
+
*
|
|
559
|
+
*
|
|
560
|
+
* @generated from message livekit.DataTrackSchemaId
|
|
561
|
+
*/
|
|
562
|
+
export const DataTrackSchemaId = /*@__PURE__*/ proto3.makeMessageType(
|
|
563
|
+
"livekit.DataTrackSchemaId",
|
|
564
|
+
() => [
|
|
565
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
566
|
+
{ no: 2, name: "encoding", kind: "message", T: DataTrackSchemaEncoding },
|
|
475
567
|
],
|
|
476
568
|
);
|
|
477
569
|
|
|
@@ -496,6 +588,32 @@ export const DataTrackSubscriptionOptions = /*@__PURE__*/ proto3.makeMessageType
|
|
|
496
588
|
],
|
|
497
589
|
);
|
|
498
590
|
|
|
591
|
+
/**
|
|
592
|
+
* Key used to uniquely identify a data blob for storage and retrieval.
|
|
593
|
+
*
|
|
594
|
+
* @generated from message livekit.DataBlobKey
|
|
595
|
+
*/
|
|
596
|
+
export const DataBlobKey = /*@__PURE__*/ proto3.makeMessageType(
|
|
597
|
+
"livekit.DataBlobKey",
|
|
598
|
+
() => [
|
|
599
|
+
{ no: 1, name: "generic", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "key" },
|
|
600
|
+
{ no: 2, name: "schema_id", kind: "message", T: DataTrackSchemaId, oneof: "key" },
|
|
601
|
+
],
|
|
602
|
+
);
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* A blob of data stored in a room identified by a unique key.
|
|
606
|
+
*
|
|
607
|
+
* @generated from message livekit.DataBlob
|
|
608
|
+
*/
|
|
609
|
+
export const DataBlob = /*@__PURE__*/ proto3.makeMessageType(
|
|
610
|
+
"livekit.DataBlob",
|
|
611
|
+
() => [
|
|
612
|
+
{ no: 1, name: "key", kind: "message", T: DataBlobKey },
|
|
613
|
+
{ no: 2, name: "contents", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
614
|
+
],
|
|
615
|
+
);
|
|
616
|
+
|
|
499
617
|
/**
|
|
500
618
|
* provide information about available spatial layers
|
|
501
619
|
*
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
-
import type { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DataTrackInfo, DataTrackSubscriptionOptions, DisconnectReason, Encryption_Type, PacketTrailerFeature, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
|
|
22
|
+
import type { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DataBlob, DataBlobKey, DataTrackFrameEncoding, DataTrackInfo, DataTrackSchemaId, DataTrackSubscriptionOptions, DisconnectReason, Encryption_Type, PacketTrailerFeature, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @generated from enum livekit.SignalTarget
|
|
@@ -236,6 +236,22 @@ export declare class SignalRequest extends Message<SignalRequest> {
|
|
|
236
236
|
*/
|
|
237
237
|
value: UpdateDataSubscription;
|
|
238
238
|
case: "updateDataSubscription";
|
|
239
|
+
} | {
|
|
240
|
+
/**
|
|
241
|
+
* Store a data blob.
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: livekit.StoreDataBlobRequest store_data_blob_request = 22;
|
|
244
|
+
*/
|
|
245
|
+
value: StoreDataBlobRequest;
|
|
246
|
+
case: "storeDataBlobRequest";
|
|
247
|
+
} | {
|
|
248
|
+
/**
|
|
249
|
+
* Retrieve a stored data blob.
|
|
250
|
+
*
|
|
251
|
+
* @generated from field: livekit.GetDataBlobRequest get_data_blob_request = 23;
|
|
252
|
+
*/
|
|
253
|
+
value: GetDataBlobRequest;
|
|
254
|
+
case: "getDataBlobRequest";
|
|
239
255
|
} | { case: undefined; value?: undefined };
|
|
240
256
|
|
|
241
257
|
constructor(data?: PartialMessage<SignalRequest>);
|
|
@@ -487,6 +503,22 @@ export declare class SignalResponse extends Message<SignalResponse> {
|
|
|
487
503
|
*/
|
|
488
504
|
value: DataTrackSubscriberHandles;
|
|
489
505
|
case: "dataTrackSubscriberHandles";
|
|
506
|
+
} | {
|
|
507
|
+
/**
|
|
508
|
+
* Sent in response to `StoreDataBlobRequest`.
|
|
509
|
+
*
|
|
510
|
+
* @generated from field: livekit.StoreDataBlobResponse store_data_blob_response = 30;
|
|
511
|
+
*/
|
|
512
|
+
value: StoreDataBlobResponse;
|
|
513
|
+
case: "storeDataBlobResponse";
|
|
514
|
+
} | {
|
|
515
|
+
/**
|
|
516
|
+
* Sent in response to `GetDataBlobRequest`.
|
|
517
|
+
*
|
|
518
|
+
* @generated from field: livekit.GetDataBlobResponse get_data_blob_response = 31;
|
|
519
|
+
*/
|
|
520
|
+
value: GetDataBlobResponse;
|
|
521
|
+
case: "getDataBlobResponse";
|
|
490
522
|
} | { case: undefined; value?: undefined };
|
|
491
523
|
|
|
492
524
|
constructor(data?: PartialMessage<SignalResponse>);
|
|
@@ -698,6 +730,21 @@ export declare class PublishDataTrackRequest extends Message<PublishDataTrackReq
|
|
|
698
730
|
*/
|
|
699
731
|
encryption: Encryption_Type;
|
|
700
732
|
|
|
733
|
+
/**
|
|
734
|
+
* Encoding for frame payloads on this track. If unspecified, the track is untyped.
|
|
735
|
+
*
|
|
736
|
+
* @generated from field: optional livekit.DataTrackFrameEncoding frame_encoding = 4;
|
|
737
|
+
*/
|
|
738
|
+
frameEncoding?: DataTrackFrameEncoding;
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* ID of the schema used by frames on this track if the track is typed.
|
|
742
|
+
* If set, the associated schema must be stored with `StoreDataBlobRequest`.
|
|
743
|
+
*
|
|
744
|
+
* @generated from field: optional livekit.DataTrackSchemaId schema = 5;
|
|
745
|
+
*/
|
|
746
|
+
schema?: DataTrackSchemaId;
|
|
747
|
+
|
|
701
748
|
constructor(data?: PartialMessage<PublishDataTrackRequest>);
|
|
702
749
|
|
|
703
750
|
static readonly runtime: typeof proto3;
|
|
@@ -1275,6 +1322,133 @@ export declare class UpdateDataSubscription_Update extends Message<UpdateDataSub
|
|
|
1275
1322
|
static equals(a: UpdateDataSubscription_Update | PlainMessage<UpdateDataSubscription_Update> | undefined, b: UpdateDataSubscription_Update | PlainMessage<UpdateDataSubscription_Update> | undefined): boolean;
|
|
1276
1323
|
}
|
|
1277
1324
|
|
|
1325
|
+
/**
|
|
1326
|
+
* @generated from message livekit.StoreDataBlobRequest
|
|
1327
|
+
*/
|
|
1328
|
+
export declare class StoreDataBlobRequest extends Message<StoreDataBlobRequest> {
|
|
1329
|
+
/**
|
|
1330
|
+
* @generated from field: uint32 request_id = 1;
|
|
1331
|
+
*/
|
|
1332
|
+
requestId: number;
|
|
1333
|
+
|
|
1334
|
+
/**
|
|
1335
|
+
* @generated from field: livekit.DataBlob blob = 2;
|
|
1336
|
+
*/
|
|
1337
|
+
blob?: DataBlob;
|
|
1338
|
+
|
|
1339
|
+
constructor(data?: PartialMessage<StoreDataBlobRequest>);
|
|
1340
|
+
|
|
1341
|
+
static readonly runtime: typeof proto3;
|
|
1342
|
+
static readonly typeName = "livekit.StoreDataBlobRequest";
|
|
1343
|
+
static readonly fields: FieldList;
|
|
1344
|
+
|
|
1345
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StoreDataBlobRequest;
|
|
1346
|
+
|
|
1347
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StoreDataBlobRequest;
|
|
1348
|
+
|
|
1349
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StoreDataBlobRequest;
|
|
1350
|
+
|
|
1351
|
+
static equals(a: StoreDataBlobRequest | PlainMessage<StoreDataBlobRequest> | undefined, b: StoreDataBlobRequest | PlainMessage<StoreDataBlobRequest> | undefined): boolean;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* @generated from message livekit.StoreDataBlobResponse
|
|
1356
|
+
*/
|
|
1357
|
+
export declare class StoreDataBlobResponse extends Message<StoreDataBlobResponse> {
|
|
1358
|
+
/**
|
|
1359
|
+
* @generated from field: uint32 request_id = 1;
|
|
1360
|
+
*/
|
|
1361
|
+
requestId: number;
|
|
1362
|
+
|
|
1363
|
+
/**
|
|
1364
|
+
* Unique key the data blob was stored under.
|
|
1365
|
+
*
|
|
1366
|
+
* @generated from field: livekit.DataBlobKey key = 2;
|
|
1367
|
+
*/
|
|
1368
|
+
key?: DataBlobKey;
|
|
1369
|
+
|
|
1370
|
+
constructor(data?: PartialMessage<StoreDataBlobResponse>);
|
|
1371
|
+
|
|
1372
|
+
static readonly runtime: typeof proto3;
|
|
1373
|
+
static readonly typeName = "livekit.StoreDataBlobResponse";
|
|
1374
|
+
static readonly fields: FieldList;
|
|
1375
|
+
|
|
1376
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StoreDataBlobResponse;
|
|
1377
|
+
|
|
1378
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StoreDataBlobResponse;
|
|
1379
|
+
|
|
1380
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StoreDataBlobResponse;
|
|
1381
|
+
|
|
1382
|
+
static equals(a: StoreDataBlobResponse | PlainMessage<StoreDataBlobResponse> | undefined, b: StoreDataBlobResponse | PlainMessage<StoreDataBlobResponse> | undefined): boolean;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* @generated from message livekit.GetDataBlobRequest
|
|
1387
|
+
*/
|
|
1388
|
+
export declare class GetDataBlobRequest extends Message<GetDataBlobRequest> {
|
|
1389
|
+
/**
|
|
1390
|
+
* @generated from field: uint32 request_id = 1;
|
|
1391
|
+
*/
|
|
1392
|
+
requestId: number;
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* Identity of the participant who owns the blob.
|
|
1396
|
+
*
|
|
1397
|
+
* @generated from field: string participant_identity = 2;
|
|
1398
|
+
*/
|
|
1399
|
+
participantIdentity: string;
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* Unique key of the data blob to retrieve.
|
|
1403
|
+
*
|
|
1404
|
+
* @generated from field: livekit.DataBlobKey key = 3;
|
|
1405
|
+
*/
|
|
1406
|
+
key?: DataBlobKey;
|
|
1407
|
+
|
|
1408
|
+
constructor(data?: PartialMessage<GetDataBlobRequest>);
|
|
1409
|
+
|
|
1410
|
+
static readonly runtime: typeof proto3;
|
|
1411
|
+
static readonly typeName = "livekit.GetDataBlobRequest";
|
|
1412
|
+
static readonly fields: FieldList;
|
|
1413
|
+
|
|
1414
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetDataBlobRequest;
|
|
1415
|
+
|
|
1416
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetDataBlobRequest;
|
|
1417
|
+
|
|
1418
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetDataBlobRequest;
|
|
1419
|
+
|
|
1420
|
+
static equals(a: GetDataBlobRequest | PlainMessage<GetDataBlobRequest> | undefined, b: GetDataBlobRequest | PlainMessage<GetDataBlobRequest> | undefined): boolean;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
/**
|
|
1424
|
+
* @generated from message livekit.GetDataBlobResponse
|
|
1425
|
+
*/
|
|
1426
|
+
export declare class GetDataBlobResponse extends Message<GetDataBlobResponse> {
|
|
1427
|
+
/**
|
|
1428
|
+
* @generated from field: uint32 request_id = 1;
|
|
1429
|
+
*/
|
|
1430
|
+
requestId: number;
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* @generated from field: livekit.DataBlob blob = 2;
|
|
1434
|
+
*/
|
|
1435
|
+
blob?: DataBlob;
|
|
1436
|
+
|
|
1437
|
+
constructor(data?: PartialMessage<GetDataBlobResponse>);
|
|
1438
|
+
|
|
1439
|
+
static readonly runtime: typeof proto3;
|
|
1440
|
+
static readonly typeName = "livekit.GetDataBlobResponse";
|
|
1441
|
+
static readonly fields: FieldList;
|
|
1442
|
+
|
|
1443
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetDataBlobResponse;
|
|
1444
|
+
|
|
1445
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetDataBlobResponse;
|
|
1446
|
+
|
|
1447
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetDataBlobResponse;
|
|
1448
|
+
|
|
1449
|
+
static equals(a: GetDataBlobResponse | PlainMessage<GetDataBlobResponse> | undefined, b: GetDataBlobResponse | PlainMessage<GetDataBlobResponse> | undefined): boolean;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1278
1452
|
/**
|
|
1279
1453
|
* @generated from message livekit.UpdateTrackSettings
|
|
1280
1454
|
*/
|
|
@@ -2541,6 +2715,11 @@ export declare enum RequestResponse_Reason {
|
|
|
2541
2715
|
* @generated from enum value: DUPLICATE_NAME = 10;
|
|
2542
2716
|
*/
|
|
2543
2717
|
DUPLICATE_NAME = 10,
|
|
2718
|
+
|
|
2719
|
+
/**
|
|
2720
|
+
* @generated from enum value: INVALID_REQUEST = 11;
|
|
2721
|
+
*/
|
|
2722
|
+
INVALID_REQUEST = 11,
|
|
2544
2723
|
}
|
|
2545
2724
|
|
|
2546
2725
|
/**
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
20
|
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
-
import { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DataTrackInfo, DataTrackSubscriptionOptions, DisconnectReason, Encryption_Type, PacketTrailerFeature, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
|
|
21
|
+
import { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DataBlob, DataBlobKey, DataTrackFrameEncoding, DataTrackInfo, DataTrackSchemaId, DataTrackSubscriptionOptions, DisconnectReason, Encryption_Type, PacketTrailerFeature, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* @generated from enum livekit.SignalTarget
|
|
@@ -80,6 +80,8 @@ export const SignalRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
80
80
|
{ no: 19, name: "publish_data_track_request", kind: "message", T: PublishDataTrackRequest, oneof: "message" },
|
|
81
81
|
{ no: 20, name: "unpublish_data_track_request", kind: "message", T: UnpublishDataTrackRequest, oneof: "message" },
|
|
82
82
|
{ no: 21, name: "update_data_subscription", kind: "message", T: UpdateDataSubscription, oneof: "message" },
|
|
83
|
+
{ no: 22, name: "store_data_blob_request", kind: "message", T: StoreDataBlobRequest, oneof: "message" },
|
|
84
|
+
{ no: 23, name: "get_data_blob_request", kind: "message", T: GetDataBlobRequest, oneof: "message" },
|
|
83
85
|
],
|
|
84
86
|
);
|
|
85
87
|
|
|
@@ -117,6 +119,8 @@ export const SignalResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
117
119
|
{ no: 27, name: "publish_data_track_response", kind: "message", T: PublishDataTrackResponse, oneof: "message" },
|
|
118
120
|
{ no: 28, name: "unpublish_data_track_response", kind: "message", T: UnpublishDataTrackResponse, oneof: "message" },
|
|
119
121
|
{ no: 29, name: "data_track_subscriber_handles", kind: "message", T: DataTrackSubscriberHandles, oneof: "message" },
|
|
122
|
+
{ no: 30, name: "store_data_blob_response", kind: "message", T: StoreDataBlobResponse, oneof: "message" },
|
|
123
|
+
{ no: 31, name: "get_data_blob_response", kind: "message", T: GetDataBlobResponse, oneof: "message" },
|
|
120
124
|
],
|
|
121
125
|
);
|
|
122
126
|
|
|
@@ -169,6 +173,8 @@ export const PublishDataTrackRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
169
173
|
{ no: 1, name: "pub_handle", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
170
174
|
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
171
175
|
{ no: 3, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
|
|
176
|
+
{ no: 4, name: "frame_encoding", kind: "message", T: DataTrackFrameEncoding, opt: true },
|
|
177
|
+
{ no: 5, name: "schema", kind: "message", T: DataTrackSchemaId, opt: true },
|
|
172
178
|
],
|
|
173
179
|
);
|
|
174
180
|
|
|
@@ -364,6 +370,51 @@ export const UpdateDataSubscription_Update = /*@__PURE__*/ proto3.makeMessageTyp
|
|
|
364
370
|
{localName: "UpdateDataSubscription_Update"},
|
|
365
371
|
);
|
|
366
372
|
|
|
373
|
+
/**
|
|
374
|
+
* @generated from message livekit.StoreDataBlobRequest
|
|
375
|
+
*/
|
|
376
|
+
export const StoreDataBlobRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
377
|
+
"livekit.StoreDataBlobRequest",
|
|
378
|
+
() => [
|
|
379
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
380
|
+
{ no: 2, name: "blob", kind: "message", T: DataBlob },
|
|
381
|
+
],
|
|
382
|
+
);
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* @generated from message livekit.StoreDataBlobResponse
|
|
386
|
+
*/
|
|
387
|
+
export const StoreDataBlobResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
388
|
+
"livekit.StoreDataBlobResponse",
|
|
389
|
+
() => [
|
|
390
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
391
|
+
{ no: 2, name: "key", kind: "message", T: DataBlobKey },
|
|
392
|
+
],
|
|
393
|
+
);
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* @generated from message livekit.GetDataBlobRequest
|
|
397
|
+
*/
|
|
398
|
+
export const GetDataBlobRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
399
|
+
"livekit.GetDataBlobRequest",
|
|
400
|
+
() => [
|
|
401
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
402
|
+
{ no: 2, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
403
|
+
{ no: 3, name: "key", kind: "message", T: DataBlobKey },
|
|
404
|
+
],
|
|
405
|
+
);
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* @generated from message livekit.GetDataBlobResponse
|
|
409
|
+
*/
|
|
410
|
+
export const GetDataBlobResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
411
|
+
"livekit.GetDataBlobResponse",
|
|
412
|
+
() => [
|
|
413
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
414
|
+
{ no: 2, name: "blob", kind: "message", T: DataBlob },
|
|
415
|
+
],
|
|
416
|
+
);
|
|
417
|
+
|
|
367
418
|
/**
|
|
368
419
|
* @generated from message livekit.UpdateTrackSettings
|
|
369
420
|
*/
|
|
@@ -777,6 +828,7 @@ export const RequestResponse_Reason = /*@__PURE__*/ proto3.makeEnum(
|
|
|
777
828
|
{no: 8, name: "INVALID_NAME"},
|
|
778
829
|
{no: 9, name: "DUPLICATE_HANDLE"},
|
|
779
830
|
{no: 10, name: "DUPLICATE_NAME"},
|
|
831
|
+
{no: 11, name: "INVALID_REQUEST"},
|
|
780
832
|
],
|
|
781
833
|
);
|
|
782
834
|
|
|
@@ -1158,10 +1158,16 @@ export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
|
|
|
1158
1158
|
krispEnabled: boolean;
|
|
1159
1159
|
|
|
1160
1160
|
/**
|
|
1161
|
-
* @generated from field: livekit.SIPMediaEncryption media_encryption = 16;
|
|
1161
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 16 [deprecated = true];
|
|
1162
|
+
* @deprecated
|
|
1162
1163
|
*/
|
|
1163
1164
|
mediaEncryption: SIPMediaEncryption;
|
|
1164
1165
|
|
|
1166
|
+
/**
|
|
1167
|
+
* @generated from field: livekit.SIPMediaConfig media = 20;
|
|
1168
|
+
*/
|
|
1169
|
+
media?: SIPMediaConfig;
|
|
1170
|
+
|
|
1165
1171
|
/**
|
|
1166
1172
|
* @generated from field: google.protobuf.Timestamp created_at = 17;
|
|
1167
1173
|
*/
|
|
@@ -1232,10 +1238,16 @@ export declare class SIPInboundTrunkUpdate extends Message<SIPInboundTrunkUpdate
|
|
|
1232
1238
|
metadata?: string;
|
|
1233
1239
|
|
|
1234
1240
|
/**
|
|
1235
|
-
* @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8;
|
|
1241
|
+
* @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8 [deprecated = true];
|
|
1242
|
+
* @deprecated
|
|
1236
1243
|
*/
|
|
1237
1244
|
mediaEncryption?: SIPMediaEncryption;
|
|
1238
1245
|
|
|
1246
|
+
/**
|
|
1247
|
+
* @generated from field: livekit.SIPMediaConfig media = 10;
|
|
1248
|
+
*/
|
|
1249
|
+
media?: SIPMediaConfig;
|
|
1250
|
+
|
|
1239
1251
|
constructor(data?: PartialMessage<SIPInboundTrunkUpdate>);
|
|
1240
1252
|
|
|
1241
1253
|
static readonly runtime: typeof proto3;
|
|
@@ -1420,10 +1432,16 @@ export declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo>
|
|
|
1420
1432
|
includeHeaders: SIPHeaderOptions;
|
|
1421
1433
|
|
|
1422
1434
|
/**
|
|
1423
|
-
* @generated from field: livekit.SIPMediaEncryption media_encryption = 13;
|
|
1435
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 13 [deprecated = true];
|
|
1436
|
+
* @deprecated
|
|
1424
1437
|
*/
|
|
1425
1438
|
mediaEncryption: SIPMediaEncryption;
|
|
1426
1439
|
|
|
1440
|
+
/**
|
|
1441
|
+
* @generated from field: livekit.SIPMediaConfig media = 18;
|
|
1442
|
+
*/
|
|
1443
|
+
media?: SIPMediaConfig;
|
|
1444
|
+
|
|
1427
1445
|
/**
|
|
1428
1446
|
* Optional custom hostname for the 'From' SIP header in outbound INVITEs.
|
|
1429
1447
|
* When set, outbound calls from this trunk will use this host instead of the default project SIP domain.
|
|
@@ -1503,10 +1521,16 @@ export declare class SIPOutboundTrunkUpdate extends Message<SIPOutboundTrunkUpda
|
|
|
1503
1521
|
metadata?: string;
|
|
1504
1522
|
|
|
1505
1523
|
/**
|
|
1506
|
-
* @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8;
|
|
1524
|
+
* @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8 [deprecated = true];
|
|
1525
|
+
* @deprecated
|
|
1507
1526
|
*/
|
|
1508
1527
|
mediaEncryption?: SIPMediaEncryption;
|
|
1509
1528
|
|
|
1529
|
+
/**
|
|
1530
|
+
* @generated from field: livekit.SIPMediaConfig media = 11;
|
|
1531
|
+
*/
|
|
1532
|
+
media?: SIPMediaConfig;
|
|
1533
|
+
|
|
1510
1534
|
/**
|
|
1511
1535
|
* @generated from field: optional string from_host = 10;
|
|
1512
1536
|
*/
|
|
@@ -356,6 +356,7 @@ export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
356
356
|
{ no: 12, name: "max_call_duration", kind: "message", T: Duration },
|
|
357
357
|
{ no: 13, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
358
358
|
{ no: 16, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
359
|
+
{ no: 20, name: "media", kind: "message", T: SIPMediaConfig },
|
|
359
360
|
{ no: 17, name: "created_at", kind: "message", T: Timestamp },
|
|
360
361
|
{ no: 18, name: "updated_at", kind: "message", T: Timestamp },
|
|
361
362
|
],
|
|
@@ -376,6 +377,7 @@ export const SIPInboundTrunkUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
376
377
|
{ no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
377
378
|
{ no: 7, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
378
379
|
{ no: 8, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
380
|
+
{ no: 10, name: "media", kind: "message", T: SIPMediaConfig },
|
|
379
381
|
],
|
|
380
382
|
);
|
|
381
383
|
|
|
@@ -421,6 +423,7 @@ export const SIPOutboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
421
423
|
{ no: 11, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
422
424
|
{ no: 12, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) },
|
|
423
425
|
{ no: 13, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
|
|
426
|
+
{ no: 18, name: "media", kind: "message", T: SIPMediaConfig },
|
|
424
427
|
{ no: 15, name: "from_host", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
425
428
|
{ no: 16, name: "created_at", kind: "message", T: Timestamp },
|
|
426
429
|
{ no: 17, name: "updated_at", kind: "message", T: Timestamp },
|
|
@@ -442,6 +445,7 @@ export const SIPOutboundTrunkUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
442
445
|
{ no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
443
446
|
{ no: 7, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
444
447
|
{ no: 8, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
|
|
448
|
+
{ no: 11, name: "media", kind: "message", T: SIPMediaConfig },
|
|
445
449
|
{ no: 10, name: "from_host", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
446
450
|
],
|
|
447
451
|
);
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.
|
|
2
|
+
export const version = '1.48.1';
|