@livekit/protocol 1.43.2 → 1.43.4
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 +196 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +455 -1
- package/dist/index.d.mts +455 -1
- package/dist/index.d.ts +455 -1
- package/dist/index.mjs +185 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_analytics_pb.d.ts +5 -0
- package/src/gen/livekit_analytics_pb.js +1 -0
- package/src/gen/livekit_internal_pb.d.ts +30 -0
- package/src/gen/livekit_internal_pb.js +6 -0
- package/src/gen/livekit_metrics_pb.d.ts +5 -0
- package/src/gen/livekit_metrics_pb.js +1 -0
- package/src/gen/livekit_models_pb.d.ts +123 -0
- package/src/gen/livekit_models_pb.js +46 -0
- package/src/gen/livekit_phone_number_pb.d.ts +24 -2
- package/src/gen/livekit_phone_number_pb.js +3 -0
- package/src/gen/livekit_rtc_pb.d.ts +327 -1
- package/src/gen/livekit_rtc_pb.js +102 -1
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -1078,6 +1078,11 @@ export declare enum FeatureUsageInfo_Feature {
|
|
|
1078
1078
|
* @generated from enum value: KRISP_BACKGROUND_VOICE_CANCELLATION = 1;
|
|
1079
1079
|
*/
|
|
1080
1080
|
KRISP_BACKGROUND_VOICE_CANCELLATION = 1,
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* @generated from enum value: AIC_AUDIO_ENHANCEMENT = 2;
|
|
1084
|
+
*/
|
|
1085
|
+
AIC_AUDIO_ENHANCEMENT = 2,
|
|
1081
1086
|
}
|
|
1082
1087
|
|
|
1083
1088
|
/**
|
|
@@ -226,6 +226,11 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
226
226
|
*/
|
|
227
227
|
trackPublishSuccessPerSec: number;
|
|
228
228
|
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: int32 num_track_publish_cancels = 51;
|
|
231
|
+
*/
|
|
232
|
+
numTrackPublishCancels: number;
|
|
233
|
+
|
|
229
234
|
/**
|
|
230
235
|
* @generated from field: int32 num_track_subscribe_attempts = 40;
|
|
231
236
|
*/
|
|
@@ -248,6 +253,11 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
248
253
|
*/
|
|
249
254
|
trackSubscribeSuccessPerSec: number;
|
|
250
255
|
|
|
256
|
+
/**
|
|
257
|
+
* @generated from field: int32 num_track_subscribe_cancels = 52;
|
|
258
|
+
*/
|
|
259
|
+
numTrackSubscribeCancels: number;
|
|
260
|
+
|
|
251
261
|
/**
|
|
252
262
|
* packet
|
|
253
263
|
*
|
|
@@ -434,6 +444,11 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
434
444
|
*/
|
|
435
445
|
participantRtcInitPerSec: number;
|
|
436
446
|
|
|
447
|
+
/**
|
|
448
|
+
* @generated from field: uint64 participant_rtc_canceled = 53;
|
|
449
|
+
*/
|
|
450
|
+
participantRtcCanceled: bigint;
|
|
451
|
+
|
|
437
452
|
/**
|
|
438
453
|
* forward metrics
|
|
439
454
|
*
|
|
@@ -497,6 +512,11 @@ export declare class NodeStatsRate extends Message<NodeStatsRate> {
|
|
|
497
512
|
*/
|
|
498
513
|
trackPublishSuccess: number;
|
|
499
514
|
|
|
515
|
+
/**
|
|
516
|
+
* @generated from field: float track_publish_cancels = 24;
|
|
517
|
+
*/
|
|
518
|
+
trackPublishCancels: number;
|
|
519
|
+
|
|
500
520
|
/**
|
|
501
521
|
* @generated from field: float track_subscribe_attempts = 6;
|
|
502
522
|
*/
|
|
@@ -507,6 +527,11 @@ export declare class NodeStatsRate extends Message<NodeStatsRate> {
|
|
|
507
527
|
*/
|
|
508
528
|
trackSubscribeSuccess: number;
|
|
509
529
|
|
|
530
|
+
/**
|
|
531
|
+
* @generated from field: float track_subscribe_cancels = 25;
|
|
532
|
+
*/
|
|
533
|
+
trackSubscribeCancels: number;
|
|
534
|
+
|
|
510
535
|
/**
|
|
511
536
|
* @generated from field: float bytes_in = 8;
|
|
512
537
|
*/
|
|
@@ -567,6 +592,11 @@ export declare class NodeStatsRate extends Message<NodeStatsRate> {
|
|
|
567
592
|
*/
|
|
568
593
|
participantRtcInit: number;
|
|
569
594
|
|
|
595
|
+
/**
|
|
596
|
+
* @generated from field: float participant_rtc_canceled = 26;
|
|
597
|
+
*/
|
|
598
|
+
participantRtcCanceled: number;
|
|
599
|
+
|
|
570
600
|
/**
|
|
571
601
|
* time weighted averages across stats windows forming part of a rate measurement interval
|
|
572
602
|
*
|
|
@@ -97,10 +97,12 @@ export const NodeStats = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
97
97
|
{ no: 37, name: "track_publish_attempts_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
98
98
|
{ no: 38, name: "num_track_publish_success", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
99
99
|
{ no: 39, name: "track_publish_success_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
100
|
+
{ no: 51, name: "num_track_publish_cancels", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
100
101
|
{ no: 40, name: "num_track_subscribe_attempts", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
101
102
|
{ no: 41, name: "track_subscribe_attempts_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
102
103
|
{ no: 42, name: "num_track_subscribe_success", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
103
104
|
{ no: 43, name: "track_subscribe_success_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
105
|
+
{ no: 52, name: "num_track_subscribe_cancels", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
104
106
|
{ no: 7, name: "bytes_in", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
105
107
|
{ no: 8, name: "bytes_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
106
108
|
{ no: 9, name: "packets_in", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -134,6 +136,7 @@ export const NodeStats = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
134
136
|
{ no: 45, name: "participant_rtc_connected_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
135
137
|
{ no: 46, name: "participant_rtc_init", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
136
138
|
{ no: 47, name: "participant_rtc_init_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
139
|
+
{ no: 53, name: "participant_rtc_canceled", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
137
140
|
{ no: 48, name: "forward_latency", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
138
141
|
{ no: 49, name: "forward_jitter", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
139
142
|
{ no: 50, name: "rates", kind: "message", T: NodeStatsRate, repeated: true },
|
|
@@ -153,8 +156,10 @@ export const NodeStatsRate = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
153
156
|
{ no: 3, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
154
157
|
{ no: 4, name: "track_publish_attempts", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
155
158
|
{ no: 5, name: "track_publish_success", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
159
|
+
{ no: 24, name: "track_publish_cancels", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
156
160
|
{ no: 6, name: "track_subscribe_attempts", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
157
161
|
{ no: 7, name: "track_subscribe_success", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
162
|
+
{ no: 25, name: "track_subscribe_cancels", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
158
163
|
{ no: 8, name: "bytes_in", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
159
164
|
{ no: 9, name: "bytes_out", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
160
165
|
{ no: 10, name: "packets_in", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
@@ -167,6 +172,7 @@ export const NodeStatsRate = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
167
172
|
{ no: 17, name: "participant_signal_connected", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
168
173
|
{ no: 18, name: "participant_rtc_connected", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
169
174
|
{ no: 19, name: "participant_rtc_init", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
175
|
+
{ no: 26, name: "participant_rtc_canceled", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
170
176
|
{ no: 20, name: "cpu_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
171
177
|
{ no: 21, name: "memory_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
172
178
|
{ no: 22, name: "memory_used", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
@@ -395,6 +395,11 @@ export declare class MetricsRecordingHeader extends Message<MetricsRecordingHead
|
|
|
395
395
|
*/
|
|
396
396
|
startTime?: Timestamp;
|
|
397
397
|
|
|
398
|
+
/**
|
|
399
|
+
* @generated from field: map<string, string> room_tags = 5;
|
|
400
|
+
*/
|
|
401
|
+
roomTags: { [key: string]: string };
|
|
402
|
+
|
|
398
403
|
constructor(data?: PartialMessage<MetricsRecordingHeader>);
|
|
399
404
|
|
|
400
405
|
static readonly runtime: typeof proto3;
|
|
@@ -104,6 +104,7 @@ export const MetricsRecordingHeader = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
104
104
|
{ no: 1, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
105
105
|
{ no: 3, name: "duration", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
106
106
|
{ no: 4, name: "start_time", kind: "message", T: Timestamp },
|
|
107
|
+
{ no: 5, name: "room_tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
107
108
|
],
|
|
108
109
|
);
|
|
109
110
|
|
|
@@ -170,6 +170,21 @@ export declare enum TrackSource {
|
|
|
170
170
|
SCREEN_SHARE_AUDIO = 4,
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
+
/**
|
|
174
|
+
* @generated from enum livekit.DataTrackExtensionID
|
|
175
|
+
*/
|
|
176
|
+
export declare enum DataTrackExtensionID {
|
|
177
|
+
/**
|
|
178
|
+
* @generated from enum value: DTEI_INVALID = 0;
|
|
179
|
+
*/
|
|
180
|
+
DTEI_INVALID = 0,
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from enum value: DTEI_PARTICIPANT_SID = 1;
|
|
184
|
+
*/
|
|
185
|
+
DTEI_PARTICIPANT_SID = 1,
|
|
186
|
+
}
|
|
187
|
+
|
|
173
188
|
/**
|
|
174
189
|
* @generated from enum livekit.VideoQuality
|
|
175
190
|
*/
|
|
@@ -880,6 +895,11 @@ export declare class ParticipantInfo extends Message<ParticipantInfo> {
|
|
|
880
895
|
*/
|
|
881
896
|
kindDetails: ParticipantInfo_KindDetail[];
|
|
882
897
|
|
|
898
|
+
/**
|
|
899
|
+
* @generated from field: repeated livekit.DataTrackInfo data_tracks = 19;
|
|
900
|
+
*/
|
|
901
|
+
dataTracks: DataTrackInfo[];
|
|
902
|
+
|
|
883
903
|
constructor(data?: PartialMessage<ParticipantInfo>);
|
|
884
904
|
|
|
885
905
|
static readonly runtime: typeof proto3;
|
|
@@ -1241,6 +1261,109 @@ export declare class TrackInfo extends Message<TrackInfo> {
|
|
|
1241
1261
|
static equals(a: TrackInfo | PlainMessage<TrackInfo> | undefined, b: TrackInfo | PlainMessage<TrackInfo> | undefined): boolean;
|
|
1242
1262
|
}
|
|
1243
1263
|
|
|
1264
|
+
/**
|
|
1265
|
+
* @generated from message livekit.DataTrackInfo
|
|
1266
|
+
*/
|
|
1267
|
+
export declare class DataTrackInfo extends Message<DataTrackInfo> {
|
|
1268
|
+
/**
|
|
1269
|
+
* Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
|
|
1270
|
+
*
|
|
1271
|
+
* @generated from field: uint32 pub_handle = 1;
|
|
1272
|
+
*/
|
|
1273
|
+
pubHandle: number;
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* Server-assigned track identifier.
|
|
1277
|
+
*
|
|
1278
|
+
* @generated from field: string sid = 2;
|
|
1279
|
+
*/
|
|
1280
|
+
sid: string;
|
|
1281
|
+
|
|
1282
|
+
/**
|
|
1283
|
+
* Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
|
|
1284
|
+
*
|
|
1285
|
+
* @generated from field: string name = 3;
|
|
1286
|
+
*/
|
|
1287
|
+
name: string;
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* Method used for end-to-end encryption (E2EE) on packet payloads.
|
|
1291
|
+
*
|
|
1292
|
+
* @generated from field: livekit.Encryption.Type encryption = 4;
|
|
1293
|
+
*/
|
|
1294
|
+
encryption: Encryption_Type;
|
|
1295
|
+
|
|
1296
|
+
constructor(data?: PartialMessage<DataTrackInfo>);
|
|
1297
|
+
|
|
1298
|
+
static readonly runtime: typeof proto3;
|
|
1299
|
+
static readonly typeName = "livekit.DataTrackInfo";
|
|
1300
|
+
static readonly fields: FieldList;
|
|
1301
|
+
|
|
1302
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackInfo;
|
|
1303
|
+
|
|
1304
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackInfo;
|
|
1305
|
+
|
|
1306
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackInfo;
|
|
1307
|
+
|
|
1308
|
+
static equals(a: DataTrackInfo | PlainMessage<DataTrackInfo> | undefined, b: DataTrackInfo | PlainMessage<DataTrackInfo> | undefined): boolean;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
/**
|
|
1312
|
+
* @generated from message livekit.DataTrackExtensionParticipantSid
|
|
1313
|
+
*/
|
|
1314
|
+
export declare class DataTrackExtensionParticipantSid extends Message<DataTrackExtensionParticipantSid> {
|
|
1315
|
+
/**
|
|
1316
|
+
* @generated from field: livekit.DataTrackExtensionID id = 1;
|
|
1317
|
+
*/
|
|
1318
|
+
id: DataTrackExtensionID;
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* @generated from field: string participant_sid = 2;
|
|
1322
|
+
*/
|
|
1323
|
+
participantSid: string;
|
|
1324
|
+
|
|
1325
|
+
constructor(data?: PartialMessage<DataTrackExtensionParticipantSid>);
|
|
1326
|
+
|
|
1327
|
+
static readonly runtime: typeof proto3;
|
|
1328
|
+
static readonly typeName = "livekit.DataTrackExtensionParticipantSid";
|
|
1329
|
+
static readonly fields: FieldList;
|
|
1330
|
+
|
|
1331
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackExtensionParticipantSid;
|
|
1332
|
+
|
|
1333
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackExtensionParticipantSid;
|
|
1334
|
+
|
|
1335
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackExtensionParticipantSid;
|
|
1336
|
+
|
|
1337
|
+
static equals(a: DataTrackExtensionParticipantSid | PlainMessage<DataTrackExtensionParticipantSid> | undefined, b: DataTrackExtensionParticipantSid | PlainMessage<DataTrackExtensionParticipantSid> | undefined): boolean;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* @generated from message livekit.DataTrackSubscriptionOptions
|
|
1342
|
+
*/
|
|
1343
|
+
export declare class DataTrackSubscriptionOptions extends Message<DataTrackSubscriptionOptions> {
|
|
1344
|
+
/**
|
|
1345
|
+
* Rate in frames per second (FPS) the subscriber wants to receive frames at.
|
|
1346
|
+
* If omitted, the subscriber defaults to the publisher's fps
|
|
1347
|
+
*
|
|
1348
|
+
* @generated from field: optional uint32 target_fps = 1;
|
|
1349
|
+
*/
|
|
1350
|
+
targetFps?: number;
|
|
1351
|
+
|
|
1352
|
+
constructor(data?: PartialMessage<DataTrackSubscriptionOptions>);
|
|
1353
|
+
|
|
1354
|
+
static readonly runtime: typeof proto3;
|
|
1355
|
+
static readonly typeName = "livekit.DataTrackSubscriptionOptions";
|
|
1356
|
+
static readonly fields: FieldList;
|
|
1357
|
+
|
|
1358
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackSubscriptionOptions;
|
|
1359
|
+
|
|
1360
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackSubscriptionOptions;
|
|
1361
|
+
|
|
1362
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackSubscriptionOptions;
|
|
1363
|
+
|
|
1364
|
+
static equals(a: DataTrackSubscriptionOptions | PlainMessage<DataTrackSubscriptionOptions> | undefined, b: DataTrackSubscriptionOptions | PlainMessage<DataTrackSubscriptionOptions> | undefined): boolean;
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1244
1367
|
/**
|
|
1245
1368
|
* provide information about available spatial layers
|
|
1246
1369
|
*
|
|
@@ -98,6 +98,17 @@ export const TrackSource = /*@__PURE__*/ proto3.makeEnum(
|
|
|
98
98
|
],
|
|
99
99
|
);
|
|
100
100
|
|
|
101
|
+
/**
|
|
102
|
+
* @generated from enum livekit.DataTrackExtensionID
|
|
103
|
+
*/
|
|
104
|
+
export const DataTrackExtensionID = /*@__PURE__*/ proto3.makeEnum(
|
|
105
|
+
"livekit.DataTrackExtensionID",
|
|
106
|
+
[
|
|
107
|
+
{no: 0, name: "DTEI_INVALID"},
|
|
108
|
+
{no: 1, name: "DTEI_PARTICIPANT_SID"},
|
|
109
|
+
],
|
|
110
|
+
);
|
|
111
|
+
|
|
101
112
|
/**
|
|
102
113
|
* @generated from enum livekit.VideoQuality
|
|
103
114
|
*/
|
|
@@ -325,6 +336,7 @@ export const ParticipantInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
325
336
|
{ no: 15, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
326
337
|
{ no: 16, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
|
|
327
338
|
{ no: 18, name: "kind_details", kind: "enum", T: proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true },
|
|
339
|
+
{ no: 19, name: "data_tracks", kind: "message", T: DataTrackInfo, repeated: true },
|
|
328
340
|
],
|
|
329
341
|
);
|
|
330
342
|
|
|
@@ -433,6 +445,40 @@ export const TrackInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
433
445
|
],
|
|
434
446
|
);
|
|
435
447
|
|
|
448
|
+
/**
|
|
449
|
+
* @generated from message livekit.DataTrackInfo
|
|
450
|
+
*/
|
|
451
|
+
export const DataTrackInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
452
|
+
"livekit.DataTrackInfo",
|
|
453
|
+
() => [
|
|
454
|
+
{ no: 1, name: "pub_handle", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
455
|
+
{ no: 2, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
456
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
457
|
+
{ no: 4, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
|
|
458
|
+
],
|
|
459
|
+
);
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* @generated from message livekit.DataTrackExtensionParticipantSid
|
|
463
|
+
*/
|
|
464
|
+
export const DataTrackExtensionParticipantSid = /*@__PURE__*/ proto3.makeMessageType(
|
|
465
|
+
"livekit.DataTrackExtensionParticipantSid",
|
|
466
|
+
() => [
|
|
467
|
+
{ no: 1, name: "id", kind: "enum", T: proto3.getEnumType(DataTrackExtensionID) },
|
|
468
|
+
{ no: 2, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
469
|
+
],
|
|
470
|
+
);
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* @generated from message livekit.DataTrackSubscriptionOptions
|
|
474
|
+
*/
|
|
475
|
+
export const DataTrackSubscriptionOptions = /*@__PURE__*/ proto3.makeMessageType(
|
|
476
|
+
"livekit.DataTrackSubscriptionOptions",
|
|
477
|
+
() => [
|
|
478
|
+
{ no: 1, name: "target_fps", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
479
|
+
],
|
|
480
|
+
);
|
|
481
|
+
|
|
436
482
|
/**
|
|
437
483
|
* provide information about available spatial layers
|
|
438
484
|
*
|
|
@@ -40,6 +40,13 @@ export declare enum PhoneNumberStatus {
|
|
|
40
40
|
* @generated from enum value: PHONE_NUMBER_STATUS_RELEASED = 3;
|
|
41
41
|
*/
|
|
42
42
|
RELEASED = 3,
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Number is offline (not associated with any dispatch rule)
|
|
46
|
+
*
|
|
47
|
+
* @generated from enum value: PHONE_NUMBER_STATUS_OFFLINE = 4;
|
|
48
|
+
*/
|
|
49
|
+
OFFLINE = 4,
|
|
43
50
|
}
|
|
44
51
|
|
|
45
52
|
/**
|
|
@@ -300,6 +307,13 @@ export declare class ListPhoneNumbersResponse extends Message<ListPhoneNumbersRe
|
|
|
300
307
|
*/
|
|
301
308
|
totalCount: number;
|
|
302
309
|
|
|
310
|
+
/**
|
|
311
|
+
* Total number of offline phone numbers
|
|
312
|
+
*
|
|
313
|
+
* @generated from field: int32 offline_count = 4;
|
|
314
|
+
*/
|
|
315
|
+
offlineCount: number;
|
|
316
|
+
|
|
303
317
|
constructor(data?: PartialMessage<ListPhoneNumbersResponse>);
|
|
304
318
|
|
|
305
319
|
static readonly runtime: typeof proto3;
|
|
@@ -611,12 +625,20 @@ export declare class PhoneNumber extends Message<PhoneNumber> {
|
|
|
611
625
|
releasedAt?: Timestamp;
|
|
612
626
|
|
|
613
627
|
/**
|
|
614
|
-
* Associated SIP dispatch rule ID
|
|
628
|
+
* Associated SIP dispatch rule ID (deprecated: use sip_dispatch_rule_ids instead)
|
|
615
629
|
*
|
|
616
|
-
* @generated from field: string sip_dispatch_rule_id = 15;
|
|
630
|
+
* @generated from field: string sip_dispatch_rule_id = 15 [deprecated = true];
|
|
631
|
+
* @deprecated
|
|
617
632
|
*/
|
|
618
633
|
sipDispatchRuleId: string;
|
|
619
634
|
|
|
635
|
+
/**
|
|
636
|
+
* Associated SIP dispatch rule IDs
|
|
637
|
+
*
|
|
638
|
+
* @generated from field: repeated string sip_dispatch_rule_ids = 16;
|
|
639
|
+
*/
|
|
640
|
+
sipDispatchRuleIds: string[];
|
|
641
|
+
|
|
620
642
|
constructor(data?: PartialMessage<PhoneNumber>);
|
|
621
643
|
|
|
622
644
|
static readonly runtime: typeof proto3;
|
|
@@ -18,6 +18,7 @@ export const PhoneNumberStatus = /*@__PURE__*/ proto3.makeEnum(
|
|
|
18
18
|
{no: 1, name: "PHONE_NUMBER_STATUS_ACTIVE", localName: "ACTIVE"},
|
|
19
19
|
{no: 2, name: "PHONE_NUMBER_STATUS_PENDING", localName: "PENDING"},
|
|
20
20
|
{no: 3, name: "PHONE_NUMBER_STATUS_RELEASED", localName: "RELEASED"},
|
|
21
|
+
{no: 4, name: "PHONE_NUMBER_STATUS_OFFLINE", localName: "OFFLINE"},
|
|
21
22
|
],
|
|
22
23
|
);
|
|
23
24
|
|
|
@@ -115,6 +116,7 @@ export const ListPhoneNumbersResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
115
116
|
{ no: 1, name: "items", kind: "message", T: PhoneNumber, repeated: true },
|
|
116
117
|
{ no: 2, name: "next_page_token", kind: "message", T: TokenPagination },
|
|
117
118
|
{ no: 3, name: "total_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
119
|
+
{ no: 4, name: "offline_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
118
120
|
],
|
|
119
121
|
);
|
|
120
122
|
|
|
@@ -217,6 +219,7 @@ export const PhoneNumber = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
217
219
|
{ no: 13, name: "assigned_at", kind: "message", T: Timestamp },
|
|
218
220
|
{ no: 14, name: "released_at", kind: "message", T: Timestamp },
|
|
219
221
|
{ no: 15, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
222
|
+
{ no: 16, name: "sip_dispatch_rule_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
220
223
|
],
|
|
221
224
|
);
|
|
222
225
|
|