@livekit/protocol 1.41.0 → 1.42.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 +234 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +522 -12
- package/dist/index.d.mts +522 -12
- package/dist/index.d.ts +522 -12
- package/dist/index.mjs +225 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_agent_pb.d.ts +5 -0
- package/src/gen/livekit_agent_pb.js +1 -0
- package/src/gen/livekit_analytics_pb.d.ts +5 -0
- package/src/gen/livekit_analytics_pb.js +1 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +89 -0
- package/src/gen/livekit_cloud_agent_pb.js +31 -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 +5 -0
- package/src/gen/livekit_egress_pb.js +1 -0
- package/src/gen/livekit_internal_pb.d.ts +5 -0
- package/src/gen/livekit_internal_pb.js +1 -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 +87 -7
- package/src/gen/livekit_models_pb.js +27 -1
- package/src/gen/livekit_phone_number_pb.d.ts +283 -226
- package/src/gen/livekit_phone_number_pb.js +104 -80
- package/src/gen/livekit_room_pb.d.ts +68 -0
- package/src/gen/livekit_room_pb.js +24 -0
- package/src/gen/livekit_rtc_pb.d.ts +131 -1
- package/src/gen/livekit_rtc_pb.js +34 -1
- package/src/gen/livekit_sip_pb.d.ts +88 -3
- package/src/gen/livekit_sip_pb.js +29 -1
- package/src/gen/livekit_token_source_pb.d.ts +115 -0
- package/src/gen/livekit_token_source_pb.js +48 -0
- package/src/gen/version.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
// Copyright 2025 LiveKit, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
|
+
// @generated from file livekit_connector_whatsapp.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
+
import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
|
|
22
|
+
import { SessionDescription } from "./livekit_rtc_pb.js";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum livekit.WhatsAppCallDirection
|
|
26
|
+
*/
|
|
27
|
+
export const WhatsAppCallDirection = /*@__PURE__*/ proto3.makeEnum(
|
|
28
|
+
"livekit.WhatsAppCallDirection",
|
|
29
|
+
[
|
|
30
|
+
{no: 0, name: "WHATSAPP_CALL_DIRECTION_INBOUND"},
|
|
31
|
+
{no: 2, name: "WHATSAPP_CALL_DIRECTION_OUTBOUND"},
|
|
32
|
+
],
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @generated from message livekit.DialWhatsAppCallRequest
|
|
37
|
+
*/
|
|
38
|
+
export const DialWhatsAppCallRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
39
|
+
"livekit.DialWhatsAppCallRequest",
|
|
40
|
+
() => [
|
|
41
|
+
{ no: 1, name: "whatsapp_phone_number_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
42
|
+
{ no: 2, name: "whatsapp_to_phone_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
43
|
+
{ no: 3, name: "whatsapp_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
44
|
+
{ no: 4, name: "whatsapp_biz_opaque_callback_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
45
|
+
{ no: 5, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
46
|
+
{ no: 6, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true },
|
|
47
|
+
{ no: 7, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
48
|
+
{ no: 8, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
49
|
+
{ no: 9, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
50
|
+
{ no: 10, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
51
|
+
{ no: 11, name: "destination_country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
52
|
+
],
|
|
53
|
+
);
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from message livekit.DialWhatsAppCallResponse
|
|
57
|
+
*/
|
|
58
|
+
export const DialWhatsAppCallResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
59
|
+
"livekit.DialWhatsAppCallResponse",
|
|
60
|
+
() => [
|
|
61
|
+
{ no: 1, name: "whatsapp_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
62
|
+
],
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from message livekit.DisconnectWhatsAppCallRequest
|
|
67
|
+
*/
|
|
68
|
+
export const DisconnectWhatsAppCallRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
69
|
+
"livekit.DisconnectWhatsAppCallRequest",
|
|
70
|
+
() => [
|
|
71
|
+
{ no: 1, name: "whatsapp_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
72
|
+
{ no: 2, name: "whatsapp_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
73
|
+
],
|
|
74
|
+
);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from message livekit.DisconnectWhatsAppCallResponse
|
|
78
|
+
*/
|
|
79
|
+
export const DisconnectWhatsAppCallResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
80
|
+
"livekit.DisconnectWhatsAppCallResponse",
|
|
81
|
+
[],
|
|
82
|
+
);
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @generated from message livekit.ConnectWhatsAppCallRequest
|
|
86
|
+
*/
|
|
87
|
+
export const ConnectWhatsAppCallRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
88
|
+
"livekit.ConnectWhatsAppCallRequest",
|
|
89
|
+
() => [
|
|
90
|
+
{ no: 1, name: "whatsapp_phone_number_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
91
|
+
{ no: 2, name: "whatsapp_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
92
|
+
{ no: 3, name: "whatsapp_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
93
|
+
{ no: 4, name: "sdp", kind: "message", T: SessionDescription },
|
|
94
|
+
],
|
|
95
|
+
);
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* @generated from message livekit.ConnectWhatsAppCallResponse
|
|
99
|
+
*/
|
|
100
|
+
export const ConnectWhatsAppCallResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
101
|
+
"livekit.ConnectWhatsAppCallResponse",
|
|
102
|
+
[],
|
|
103
|
+
);
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @generated from message livekit.AcceptWhatsAppCallRequest
|
|
107
|
+
*/
|
|
108
|
+
export const AcceptWhatsAppCallRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
109
|
+
"livekit.AcceptWhatsAppCallRequest",
|
|
110
|
+
() => [
|
|
111
|
+
{ no: 1, name: "whatsapp_phone_number_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
112
|
+
{ no: 2, name: "whatsapp_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
113
|
+
{ no: 3, name: "whatsapp_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
114
|
+
{ no: 4, name: "whatsapp_biz_opaque_callback_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
115
|
+
{ no: 5, name: "sdp", kind: "message", T: SessionDescription },
|
|
116
|
+
{ no: 6, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
117
|
+
{ no: 7, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true },
|
|
118
|
+
{ no: 8, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
119
|
+
{ no: 9, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
120
|
+
{ no: 10, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
121
|
+
{ no: 11, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
122
|
+
{ no: 12, name: "destination_country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
123
|
+
],
|
|
124
|
+
);
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from message livekit.AcceptWhatsAppCallResponse
|
|
128
|
+
*/
|
|
129
|
+
export const AcceptWhatsAppCallResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
130
|
+
"livekit.AcceptWhatsAppCallResponse",
|
|
131
|
+
[],
|
|
132
|
+
);
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @generated from message livekit.WhatsAppCall
|
|
136
|
+
*/
|
|
137
|
+
export const WhatsAppCall = /*@__PURE__*/ proto3.makeMessageType(
|
|
138
|
+
"livekit.WhatsAppCall",
|
|
139
|
+
() => [
|
|
140
|
+
{ no: 1, name: "whatsapp_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
141
|
+
{ no: 2, name: "direction", kind: "enum", T: proto3.getEnumType(WhatsAppCallDirection) },
|
|
142
|
+
],
|
|
143
|
+
);
|
|
144
|
+
|
|
@@ -179,7 +179,7 @@ export declare class MetricsBatch extends Message<MetricsBatch> {
|
|
|
179
179
|
* This is useful for storing participant identities, track names, etc.
|
|
180
180
|
* There is also a predefined list of labels that can be used to reference common metrics.
|
|
181
181
|
* They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1).
|
|
182
|
-
* Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE,
|
|
182
|
+
* Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE,
|
|
183
183
|
* such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.
|
|
184
184
|
*
|
|
185
185
|
* @generated from field: repeated string str_data = 3;
|
|
@@ -374,3 +374,32 @@ export declare class EventMetric extends Message<EventMetric> {
|
|
|
374
374
|
static equals(a: EventMetric | PlainMessage<EventMetric> | undefined, b: EventMetric | PlainMessage<EventMetric> | undefined): boolean;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
+
/**
|
|
378
|
+
* @generated from message livekit.MetricsRecordingHeader
|
|
379
|
+
*/
|
|
380
|
+
export declare class MetricsRecordingHeader extends Message<MetricsRecordingHeader> {
|
|
381
|
+
/**
|
|
382
|
+
* @generated from field: string room_id = 1;
|
|
383
|
+
*/
|
|
384
|
+
roomId: string;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* @generated from field: optional bool enable_user_data_training = 2;
|
|
388
|
+
*/
|
|
389
|
+
enableUserDataTraining?: boolean;
|
|
390
|
+
|
|
391
|
+
constructor(data?: PartialMessage<MetricsRecordingHeader>);
|
|
392
|
+
|
|
393
|
+
static readonly runtime: typeof proto3;
|
|
394
|
+
static readonly typeName = "livekit.MetricsRecordingHeader";
|
|
395
|
+
static readonly fields: FieldList;
|
|
396
|
+
|
|
397
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetricsRecordingHeader;
|
|
398
|
+
|
|
399
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetricsRecordingHeader;
|
|
400
|
+
|
|
401
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetricsRecordingHeader;
|
|
402
|
+
|
|
403
|
+
static equals(a: MetricsRecordingHeader | PlainMessage<MetricsRecordingHeader> | undefined, b: MetricsRecordingHeader | PlainMessage<MetricsRecordingHeader> | undefined): boolean;
|
|
404
|
+
}
|
|
405
|
+
|
|
@@ -95,3 +95,14 @@ export const EventMetric = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
95
95
|
],
|
|
96
96
|
);
|
|
97
97
|
|
|
98
|
+
/**
|
|
99
|
+
* @generated from message livekit.MetricsRecordingHeader
|
|
100
|
+
*/
|
|
101
|
+
export const MetricsRecordingHeader = /*@__PURE__*/ proto3.makeMessageType(
|
|
102
|
+
"livekit.MetricsRecordingHeader",
|
|
103
|
+
() => [
|
|
104
|
+
{ no: 1, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
105
|
+
{ no: 2, name: "enable_user_data_training", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
106
|
+
],
|
|
107
|
+
);
|
|
108
|
+
|
|
@@ -39,6 +39,11 @@ export declare enum AudioCodec {
|
|
|
39
39
|
* @generated from enum value: AAC = 2;
|
|
40
40
|
*/
|
|
41
41
|
AAC = 2,
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from enum value: AC_MP3 = 3;
|
|
45
|
+
*/
|
|
46
|
+
AC_MP3 = 3,
|
|
42
47
|
}
|
|
43
48
|
|
|
44
49
|
/**
|
|
@@ -520,9 +525,9 @@ export declare class ListUpdate extends Message<ListUpdate> {
|
|
|
520
525
|
/**
|
|
521
526
|
* delete items from a list
|
|
522
527
|
*
|
|
523
|
-
* @generated from field: repeated string
|
|
528
|
+
* @generated from field: repeated string remove = 3;
|
|
524
529
|
*/
|
|
525
|
-
|
|
530
|
+
remove: string[];
|
|
526
531
|
|
|
527
532
|
/**
|
|
528
533
|
* sets the list to an empty list
|
|
@@ -961,6 +966,15 @@ export declare enum ParticipantInfo_Kind {
|
|
|
961
966
|
* @generated from enum value: AGENT = 4;
|
|
962
967
|
*/
|
|
963
968
|
AGENT = 4,
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* Connectors participants
|
|
972
|
+
*
|
|
973
|
+
* NEXT_ID: 8
|
|
974
|
+
*
|
|
975
|
+
* @generated from enum value: CONNECTOR = 7;
|
|
976
|
+
*/
|
|
977
|
+
CONNECTOR = 7,
|
|
964
978
|
}
|
|
965
979
|
|
|
966
980
|
/**
|
|
@@ -1099,16 +1113,14 @@ export declare class TrackInfo extends Message<TrackInfo> {
|
|
|
1099
1113
|
* original width of video (unset for audio)
|
|
1100
1114
|
* clients may receive a lower resolution version with simulcast
|
|
1101
1115
|
*
|
|
1102
|
-
* @generated from field: uint32 width = 5
|
|
1103
|
-
* @deprecated
|
|
1116
|
+
* @generated from field: uint32 width = 5;
|
|
1104
1117
|
*/
|
|
1105
1118
|
width: number;
|
|
1106
1119
|
|
|
1107
1120
|
/**
|
|
1108
1121
|
* original height of video (unset for audio)
|
|
1109
1122
|
*
|
|
1110
|
-
* @generated from field: uint32 height = 6
|
|
1111
|
-
* @deprecated
|
|
1123
|
+
* @generated from field: uint32 height = 6;
|
|
1112
1124
|
*/
|
|
1113
1125
|
height: number;
|
|
1114
1126
|
|
|
@@ -1297,6 +1309,11 @@ export declare enum VideoLayer_Mode {
|
|
|
1297
1309
|
* @generated from enum value: MULTIPLE_SPATIAL_LAYERS_PER_STREAM = 2;
|
|
1298
1310
|
*/
|
|
1299
1311
|
MULTIPLE_SPATIAL_LAYERS_PER_STREAM = 2,
|
|
1312
|
+
|
|
1313
|
+
/**
|
|
1314
|
+
* @generated from enum value: ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR = 3;
|
|
1315
|
+
*/
|
|
1316
|
+
ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR = 3,
|
|
1300
1317
|
}
|
|
1301
1318
|
|
|
1302
1319
|
/**
|
|
@@ -1473,7 +1490,7 @@ export declare class EncryptedPacket extends Message<EncryptedPacket> {
|
|
|
1473
1490
|
keyIndex: number;
|
|
1474
1491
|
|
|
1475
1492
|
/**
|
|
1476
|
-
* This is an encrypted EncryptedPacketPayload message representation
|
|
1493
|
+
* This is an encrypted EncryptedPacketPayload message representation
|
|
1477
1494
|
*
|
|
1478
1495
|
* @generated from field: bytes encrypted_value = 4;
|
|
1479
1496
|
*/
|
|
@@ -3268,6 +3285,35 @@ export declare class DataStream_Trailer extends Message<DataStream_Trailer> {
|
|
|
3268
3285
|
static equals(a: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined, b: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined): boolean;
|
|
3269
3286
|
}
|
|
3270
3287
|
|
|
3288
|
+
/**
|
|
3289
|
+
* @generated from message livekit.FilterParams
|
|
3290
|
+
*/
|
|
3291
|
+
export declare class FilterParams extends Message<FilterParams> {
|
|
3292
|
+
/**
|
|
3293
|
+
* @generated from field: repeated string include_events = 1;
|
|
3294
|
+
*/
|
|
3295
|
+
includeEvents: string[];
|
|
3296
|
+
|
|
3297
|
+
/**
|
|
3298
|
+
* @generated from field: repeated string exclude_events = 2;
|
|
3299
|
+
*/
|
|
3300
|
+
excludeEvents: string[];
|
|
3301
|
+
|
|
3302
|
+
constructor(data?: PartialMessage<FilterParams>);
|
|
3303
|
+
|
|
3304
|
+
static readonly runtime: typeof proto3;
|
|
3305
|
+
static readonly typeName = "livekit.FilterParams";
|
|
3306
|
+
static readonly fields: FieldList;
|
|
3307
|
+
|
|
3308
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FilterParams;
|
|
3309
|
+
|
|
3310
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FilterParams;
|
|
3311
|
+
|
|
3312
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FilterParams;
|
|
3313
|
+
|
|
3314
|
+
static equals(a: FilterParams | PlainMessage<FilterParams> | undefined, b: FilterParams | PlainMessage<FilterParams> | undefined): boolean;
|
|
3315
|
+
}
|
|
3316
|
+
|
|
3271
3317
|
/**
|
|
3272
3318
|
* @generated from message livekit.WebhookConfig
|
|
3273
3319
|
*/
|
|
@@ -3282,6 +3328,11 @@ export declare class WebhookConfig extends Message<WebhookConfig> {
|
|
|
3282
3328
|
*/
|
|
3283
3329
|
signingKey: string;
|
|
3284
3330
|
|
|
3331
|
+
/**
|
|
3332
|
+
* @generated from field: livekit.FilterParams filter_params = 3;
|
|
3333
|
+
*/
|
|
3334
|
+
filterParams?: FilterParams;
|
|
3335
|
+
|
|
3285
3336
|
constructor(data?: PartialMessage<WebhookConfig>);
|
|
3286
3337
|
|
|
3287
3338
|
static readonly runtime: typeof proto3;
|
|
@@ -3297,3 +3348,32 @@ export declare class WebhookConfig extends Message<WebhookConfig> {
|
|
|
3297
3348
|
static equals(a: WebhookConfig | PlainMessage<WebhookConfig> | undefined, b: WebhookConfig | PlainMessage<WebhookConfig> | undefined): boolean;
|
|
3298
3349
|
}
|
|
3299
3350
|
|
|
3351
|
+
/**
|
|
3352
|
+
* @generated from message livekit.SubscribedAudioCodec
|
|
3353
|
+
*/
|
|
3354
|
+
export declare class SubscribedAudioCodec extends Message<SubscribedAudioCodec> {
|
|
3355
|
+
/**
|
|
3356
|
+
* @generated from field: string codec = 1;
|
|
3357
|
+
*/
|
|
3358
|
+
codec: string;
|
|
3359
|
+
|
|
3360
|
+
/**
|
|
3361
|
+
* @generated from field: bool enabled = 2;
|
|
3362
|
+
*/
|
|
3363
|
+
enabled: boolean;
|
|
3364
|
+
|
|
3365
|
+
constructor(data?: PartialMessage<SubscribedAudioCodec>);
|
|
3366
|
+
|
|
3367
|
+
static readonly runtime: typeof proto3;
|
|
3368
|
+
static readonly typeName = "livekit.SubscribedAudioCodec";
|
|
3369
|
+
static readonly fields: FieldList;
|
|
3370
|
+
|
|
3371
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscribedAudioCodec;
|
|
3372
|
+
|
|
3373
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscribedAudioCodec;
|
|
3374
|
+
|
|
3375
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscribedAudioCodec;
|
|
3376
|
+
|
|
3377
|
+
static equals(a: SubscribedAudioCodec | PlainMessage<SubscribedAudioCodec> | undefined, b: SubscribedAudioCodec | PlainMessage<SubscribedAudioCodec> | undefined): boolean;
|
|
3378
|
+
}
|
|
3379
|
+
|
|
@@ -29,6 +29,7 @@ export const AudioCodec = /*@__PURE__*/ proto3.makeEnum(
|
|
|
29
29
|
{no: 0, name: "DEFAULT_AC"},
|
|
30
30
|
{no: 1, name: "OPUS"},
|
|
31
31
|
{no: 2, name: "AAC"},
|
|
32
|
+
{no: 3, name: "AC_MP3"},
|
|
32
33
|
],
|
|
33
34
|
);
|
|
34
35
|
|
|
@@ -233,7 +234,7 @@ export const ListUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
233
234
|
() => [
|
|
234
235
|
{ no: 1, name: "set", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
235
236
|
{ no: 2, name: "add", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
236
|
-
{ no: 3, name: "
|
|
237
|
+
{ no: 3, name: "remove", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
237
238
|
{ no: 4, name: "clear", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
238
239
|
],
|
|
239
240
|
);
|
|
@@ -351,6 +352,7 @@ export const ParticipantInfo_Kind = /*@__PURE__*/ proto3.makeEnum(
|
|
|
351
352
|
{no: 2, name: "EGRESS"},
|
|
352
353
|
{no: 3, name: "SIP"},
|
|
353
354
|
{no: 4, name: "AGENT"},
|
|
355
|
+
{no: 7, name: "CONNECTOR"},
|
|
354
356
|
],
|
|
355
357
|
);
|
|
356
358
|
|
|
@@ -456,6 +458,7 @@ export const VideoLayer_Mode = /*@__PURE__*/ proto3.makeEnum(
|
|
|
456
458
|
{no: 0, name: "MODE_UNUSED"},
|
|
457
459
|
{no: 1, name: "ONE_SPATIAL_LAYER_PER_STREAM"},
|
|
458
460
|
{no: 2, name: "MULTIPLE_SPATIAL_LAYERS_PER_STREAM"},
|
|
461
|
+
{no: 3, name: "ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR"},
|
|
459
462
|
],
|
|
460
463
|
);
|
|
461
464
|
|
|
@@ -1044,6 +1047,17 @@ export const DataStream_Trailer = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
1044
1047
|
{localName: "DataStream_Trailer"},
|
|
1045
1048
|
);
|
|
1046
1049
|
|
|
1050
|
+
/**
|
|
1051
|
+
* @generated from message livekit.FilterParams
|
|
1052
|
+
*/
|
|
1053
|
+
export const FilterParams = /*@__PURE__*/ proto3.makeMessageType(
|
|
1054
|
+
"livekit.FilterParams",
|
|
1055
|
+
() => [
|
|
1056
|
+
{ no: 1, name: "include_events", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1057
|
+
{ no: 2, name: "exclude_events", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1058
|
+
],
|
|
1059
|
+
);
|
|
1060
|
+
|
|
1047
1061
|
/**
|
|
1048
1062
|
* @generated from message livekit.WebhookConfig
|
|
1049
1063
|
*/
|
|
@@ -1052,6 +1066,18 @@ export const WebhookConfig = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
1052
1066
|
() => [
|
|
1053
1067
|
{ no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1054
1068
|
{ no: 2, name: "signing_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1069
|
+
{ no: 3, name: "filter_params", kind: "message", T: FilterParams },
|
|
1070
|
+
],
|
|
1071
|
+
);
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* @generated from message livekit.SubscribedAudioCodec
|
|
1075
|
+
*/
|
|
1076
|
+
export const SubscribedAudioCodec = /*@__PURE__*/ proto3.makeMessageType(
|
|
1077
|
+
"livekit.SubscribedAudioCodec",
|
|
1078
|
+
() => [
|
|
1079
|
+
{ no: 1, name: "codec", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1080
|
+
{ no: 2, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1055
1081
|
],
|
|
1056
1082
|
);
|
|
1057
1083
|
|