@livekit/protocol 1.22.0 → 1.24.0
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/package.json +1 -1
- package/src/gen/livekit_agent_pb.d.ts +1 -1
- package/src/gen/livekit_agent_pb.js +1 -1
- package/src/gen/livekit_metrics_pb.d.ts +115 -1
- package/src/gen/livekit_metrics_pb.js +16 -0
- package/src/gen/livekit_models_pb.d.ts +183 -0
- package/src/gen/livekit_models_pb.js +54 -0
- package/src/gen/livekit_sip_pb.d.ts +34 -0
- package/src/gen/livekit_sip_pb.js +12 -0
- package/src/gen/version.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
package/package.json
CHANGED
|
@@ -238,7 +238,7 @@ export const UpdateWorkerStatus = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
238
238
|
() => [
|
|
239
239
|
{ no: 1, name: "status", kind: "enum", T: proto3.getEnumType(WorkerStatus), opt: true },
|
|
240
240
|
{ no: 3, name: "load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
241
|
-
{ no: 4, name: "job_count", kind: "scalar", T:
|
|
241
|
+
{ no: 4, name: "job_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
242
242
|
],
|
|
243
243
|
);
|
|
244
244
|
|
|
@@ -33,6 +33,104 @@ export declare enum MetricLabel {
|
|
|
33
33
|
*/
|
|
34
34
|
AGENTS_TTS_TTFB = 2,
|
|
35
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Number of video freezes
|
|
38
|
+
*
|
|
39
|
+
* @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3;
|
|
40
|
+
*/
|
|
41
|
+
CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3,
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* total duration of freezes
|
|
45
|
+
*
|
|
46
|
+
* @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4;
|
|
47
|
+
*/
|
|
48
|
+
CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4,
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* number of video pauses
|
|
52
|
+
*
|
|
53
|
+
* @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5;
|
|
54
|
+
*/
|
|
55
|
+
CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5,
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* total duration of pauses
|
|
59
|
+
*
|
|
60
|
+
* @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6;
|
|
61
|
+
*/
|
|
62
|
+
CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6,
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* number of concealed (synthesized) audio samples
|
|
66
|
+
*
|
|
67
|
+
* @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7;
|
|
68
|
+
*/
|
|
69
|
+
CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7,
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* number of silent concealed samples
|
|
73
|
+
*
|
|
74
|
+
* @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8;
|
|
75
|
+
*/
|
|
76
|
+
CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8,
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* number of concealment events
|
|
80
|
+
*
|
|
81
|
+
* @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9;
|
|
82
|
+
*/
|
|
83
|
+
CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9,
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* number of interruptions
|
|
87
|
+
*
|
|
88
|
+
* @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10;
|
|
89
|
+
*/
|
|
90
|
+
CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10,
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* total duration of interruptions
|
|
94
|
+
*
|
|
95
|
+
* @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11;
|
|
96
|
+
*/
|
|
97
|
+
CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11,
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* total time spent in jitter buffer
|
|
101
|
+
*
|
|
102
|
+
* @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12;
|
|
103
|
+
*/
|
|
104
|
+
CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12,
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* total time spent in jitter buffer
|
|
108
|
+
*
|
|
109
|
+
* @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13;
|
|
110
|
+
*/
|
|
111
|
+
CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13,
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* total duration spent in bandwidth quality limitation
|
|
115
|
+
*
|
|
116
|
+
* @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14;
|
|
117
|
+
*/
|
|
118
|
+
CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14,
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* total duration spent in cpu quality limitation
|
|
122
|
+
*
|
|
123
|
+
* @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15;
|
|
124
|
+
*/
|
|
125
|
+
CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15,
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* total duration spent in other quality limitation
|
|
129
|
+
*
|
|
130
|
+
* @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16;
|
|
131
|
+
*/
|
|
132
|
+
CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16,
|
|
133
|
+
|
|
36
134
|
/**
|
|
37
135
|
* @generated from enum value: METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096;
|
|
38
136
|
*/
|
|
@@ -59,7 +157,9 @@ export declare class MetricsBatch extends Message<MetricsBatch> {
|
|
|
59
157
|
* To avoid repeating string values, we store them in a separate list and reference them by index
|
|
60
158
|
* This is useful for storing participant identities, track names, etc.
|
|
61
159
|
* There is also a predefined list of labels that can be used to reference common metrics.
|
|
62
|
-
* They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1)
|
|
160
|
+
* They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1).
|
|
161
|
+
* Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE,
|
|
162
|
+
* such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.
|
|
63
163
|
*
|
|
64
164
|
* @generated from field: repeated string str_data = 3;
|
|
65
165
|
*/
|
|
@@ -121,6 +221,13 @@ export declare class TimeSeriesMetric extends Message<TimeSeriesMetric> {
|
|
|
121
221
|
*/
|
|
122
222
|
samples: MetricSample[];
|
|
123
223
|
|
|
224
|
+
/**
|
|
225
|
+
* index into 'str_data'
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: uint32 rid = 5;
|
|
228
|
+
*/
|
|
229
|
+
rid: number;
|
|
230
|
+
|
|
124
231
|
constructor(data?: PartialMessage<TimeSeriesMetric>);
|
|
125
232
|
|
|
126
233
|
static readonly runtime: typeof proto3;
|
|
@@ -224,6 +331,13 @@ export declare class EventMetric extends Message<EventMetric> {
|
|
|
224
331
|
*/
|
|
225
332
|
metadata: string;
|
|
226
333
|
|
|
334
|
+
/**
|
|
335
|
+
* index into 'str_data'
|
|
336
|
+
*
|
|
337
|
+
* @generated from field: uint32 rid = 9;
|
|
338
|
+
*/
|
|
339
|
+
rid: number;
|
|
340
|
+
|
|
227
341
|
constructor(data?: PartialMessage<EventMetric>);
|
|
228
342
|
|
|
229
343
|
static readonly runtime: typeof proto3;
|
|
@@ -16,6 +16,20 @@ export const MetricLabel = /*@__PURE__*/ proto3.makeEnum(
|
|
|
16
16
|
{no: 0, name: "AGENTS_LLM_TTFT"},
|
|
17
17
|
{no: 1, name: "AGENTS_STT_TTFT"},
|
|
18
18
|
{no: 2, name: "AGENTS_TTS_TTFB"},
|
|
19
|
+
{no: 3, name: "CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT"},
|
|
20
|
+
{no: 4, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION"},
|
|
21
|
+
{no: 5, name: "CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT"},
|
|
22
|
+
{no: 6, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION"},
|
|
23
|
+
{no: 7, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES"},
|
|
24
|
+
{no: 8, name: "CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES"},
|
|
25
|
+
{no: 9, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS"},
|
|
26
|
+
{no: 10, name: "CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT"},
|
|
27
|
+
{no: 11, name: "CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION"},
|
|
28
|
+
{no: 12, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY"},
|
|
29
|
+
{no: 13, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT"},
|
|
30
|
+
{no: 14, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH"},
|
|
31
|
+
{no: 15, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU"},
|
|
32
|
+
{no: 16, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER"},
|
|
19
33
|
{no: 4096, name: "METRIC_LABEL_PREDEFINED_MAX_VALUE"},
|
|
20
34
|
],
|
|
21
35
|
);
|
|
@@ -44,6 +58,7 @@ export const TimeSeriesMetric = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
44
58
|
{ no: 2, name: "participant_identity", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
45
59
|
{ no: 3, name: "track_sid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
46
60
|
{ no: 4, name: "samples", kind: "message", T: MetricSample, repeated: true },
|
|
61
|
+
{ no: 5, name: "rid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
47
62
|
],
|
|
48
63
|
);
|
|
49
64
|
|
|
@@ -73,6 +88,7 @@ export const EventMetric = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
73
88
|
{ no: 6, name: "normalized_start_timestamp", kind: "message", T: Timestamp },
|
|
74
89
|
{ no: 7, name: "normalized_end_timestamp", kind: "message", T: Timestamp, opt: true },
|
|
75
90
|
{ no: 8, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
91
|
+
{ no: 9, name: "rid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
76
92
|
],
|
|
77
93
|
);
|
|
78
94
|
|
|
@@ -284,6 +284,20 @@ export declare enum DisconnectReason {
|
|
|
284
284
|
* @generated from enum value: ROOM_CLOSED = 10;
|
|
285
285
|
*/
|
|
286
286
|
ROOM_CLOSED = 10,
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* SIP callee did not respond in time
|
|
290
|
+
*
|
|
291
|
+
* @generated from enum value: USER_UNAVAILABLE = 11;
|
|
292
|
+
*/
|
|
293
|
+
USER_UNAVAILABLE = 11,
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* SIP callee rejected the call (busy)
|
|
297
|
+
*
|
|
298
|
+
* @generated from enum value: USER_REJECTED = 12;
|
|
299
|
+
*/
|
|
300
|
+
USER_REJECTED = 12,
|
|
287
301
|
}
|
|
288
302
|
|
|
289
303
|
/**
|
|
@@ -1094,6 +1108,24 @@ export declare class DataPacket extends Message<DataPacket> {
|
|
|
1094
1108
|
*/
|
|
1095
1109
|
value: ChatMessage;
|
|
1096
1110
|
case: "chatMessage";
|
|
1111
|
+
} | {
|
|
1112
|
+
/**
|
|
1113
|
+
* @generated from field: livekit.RpcRequest rpc_request = 10;
|
|
1114
|
+
*/
|
|
1115
|
+
value: RpcRequest;
|
|
1116
|
+
case: "rpcRequest";
|
|
1117
|
+
} | {
|
|
1118
|
+
/**
|
|
1119
|
+
* @generated from field: livekit.RpcAck rpc_ack = 11;
|
|
1120
|
+
*/
|
|
1121
|
+
value: RpcAck;
|
|
1122
|
+
case: "rpcAck";
|
|
1123
|
+
} | {
|
|
1124
|
+
/**
|
|
1125
|
+
* @generated from field: livekit.RpcResponse rpc_response = 12;
|
|
1126
|
+
*/
|
|
1127
|
+
value: RpcResponse;
|
|
1128
|
+
case: "rpcResponse";
|
|
1097
1129
|
} | { case: undefined; value?: undefined };
|
|
1098
1130
|
|
|
1099
1131
|
constructor(data?: PartialMessage<DataPacket>);
|
|
@@ -1441,6 +1473,149 @@ export declare class ChatMessage extends Message<ChatMessage> {
|
|
|
1441
1473
|
static equals(a: ChatMessage | PlainMessage<ChatMessage> | undefined, b: ChatMessage | PlainMessage<ChatMessage> | undefined): boolean;
|
|
1442
1474
|
}
|
|
1443
1475
|
|
|
1476
|
+
/**
|
|
1477
|
+
* @generated from message livekit.RpcRequest
|
|
1478
|
+
*/
|
|
1479
|
+
export declare class RpcRequest extends Message<RpcRequest> {
|
|
1480
|
+
/**
|
|
1481
|
+
* @generated from field: string id = 1;
|
|
1482
|
+
*/
|
|
1483
|
+
id: string;
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* @generated from field: string method = 2;
|
|
1487
|
+
*/
|
|
1488
|
+
method: string;
|
|
1489
|
+
|
|
1490
|
+
/**
|
|
1491
|
+
* @generated from field: string payload = 3;
|
|
1492
|
+
*/
|
|
1493
|
+
payload: string;
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* @generated from field: uint32 response_timeout_ms = 4;
|
|
1497
|
+
*/
|
|
1498
|
+
responseTimeoutMs: number;
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* @generated from field: uint32 version = 5;
|
|
1502
|
+
*/
|
|
1503
|
+
version: number;
|
|
1504
|
+
|
|
1505
|
+
constructor(data?: PartialMessage<RpcRequest>);
|
|
1506
|
+
|
|
1507
|
+
static readonly runtime: typeof proto3;
|
|
1508
|
+
static readonly typeName = "livekit.RpcRequest";
|
|
1509
|
+
static readonly fields: FieldList;
|
|
1510
|
+
|
|
1511
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcRequest;
|
|
1512
|
+
|
|
1513
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcRequest;
|
|
1514
|
+
|
|
1515
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcRequest;
|
|
1516
|
+
|
|
1517
|
+
static equals(a: RpcRequest | PlainMessage<RpcRequest> | undefined, b: RpcRequest | PlainMessage<RpcRequest> | undefined): boolean;
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
/**
|
|
1521
|
+
* @generated from message livekit.RpcAck
|
|
1522
|
+
*/
|
|
1523
|
+
export declare class RpcAck extends Message<RpcAck> {
|
|
1524
|
+
/**
|
|
1525
|
+
* @generated from field: string request_id = 1;
|
|
1526
|
+
*/
|
|
1527
|
+
requestId: string;
|
|
1528
|
+
|
|
1529
|
+
constructor(data?: PartialMessage<RpcAck>);
|
|
1530
|
+
|
|
1531
|
+
static readonly runtime: typeof proto3;
|
|
1532
|
+
static readonly typeName = "livekit.RpcAck";
|
|
1533
|
+
static readonly fields: FieldList;
|
|
1534
|
+
|
|
1535
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcAck;
|
|
1536
|
+
|
|
1537
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcAck;
|
|
1538
|
+
|
|
1539
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcAck;
|
|
1540
|
+
|
|
1541
|
+
static equals(a: RpcAck | PlainMessage<RpcAck> | undefined, b: RpcAck | PlainMessage<RpcAck> | undefined): boolean;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
/**
|
|
1545
|
+
* @generated from message livekit.RpcResponse
|
|
1546
|
+
*/
|
|
1547
|
+
export declare class RpcResponse extends Message<RpcResponse> {
|
|
1548
|
+
/**
|
|
1549
|
+
* @generated from field: string request_id = 1;
|
|
1550
|
+
*/
|
|
1551
|
+
requestId: string;
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* @generated from oneof livekit.RpcResponse.value
|
|
1555
|
+
*/
|
|
1556
|
+
value: {
|
|
1557
|
+
/**
|
|
1558
|
+
* @generated from field: string payload = 2;
|
|
1559
|
+
*/
|
|
1560
|
+
value: string;
|
|
1561
|
+
case: "payload";
|
|
1562
|
+
} | {
|
|
1563
|
+
/**
|
|
1564
|
+
* @generated from field: livekit.RpcError error = 3;
|
|
1565
|
+
*/
|
|
1566
|
+
value: RpcError;
|
|
1567
|
+
case: "error";
|
|
1568
|
+
} | { case: undefined; value?: undefined };
|
|
1569
|
+
|
|
1570
|
+
constructor(data?: PartialMessage<RpcResponse>);
|
|
1571
|
+
|
|
1572
|
+
static readonly runtime: typeof proto3;
|
|
1573
|
+
static readonly typeName = "livekit.RpcResponse";
|
|
1574
|
+
static readonly fields: FieldList;
|
|
1575
|
+
|
|
1576
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcResponse;
|
|
1577
|
+
|
|
1578
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcResponse;
|
|
1579
|
+
|
|
1580
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcResponse;
|
|
1581
|
+
|
|
1582
|
+
static equals(a: RpcResponse | PlainMessage<RpcResponse> | undefined, b: RpcResponse | PlainMessage<RpcResponse> | undefined): boolean;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* @generated from message livekit.RpcError
|
|
1587
|
+
*/
|
|
1588
|
+
export declare class RpcError extends Message<RpcError> {
|
|
1589
|
+
/**
|
|
1590
|
+
* @generated from field: uint32 code = 1;
|
|
1591
|
+
*/
|
|
1592
|
+
code: number;
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* @generated from field: string message = 2;
|
|
1596
|
+
*/
|
|
1597
|
+
message: string;
|
|
1598
|
+
|
|
1599
|
+
/**
|
|
1600
|
+
* @generated from field: string data = 3;
|
|
1601
|
+
*/
|
|
1602
|
+
data: string;
|
|
1603
|
+
|
|
1604
|
+
constructor(data?: PartialMessage<RpcError>);
|
|
1605
|
+
|
|
1606
|
+
static readonly runtime: typeof proto3;
|
|
1607
|
+
static readonly typeName = "livekit.RpcError";
|
|
1608
|
+
static readonly fields: FieldList;
|
|
1609
|
+
|
|
1610
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcError;
|
|
1611
|
+
|
|
1612
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcError;
|
|
1613
|
+
|
|
1614
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcError;
|
|
1615
|
+
|
|
1616
|
+
static equals(a: RpcError | PlainMessage<RpcError> | undefined, b: RpcError | PlainMessage<RpcError> | undefined): boolean;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1444
1619
|
/**
|
|
1445
1620
|
* @generated from message livekit.ParticipantTracks
|
|
1446
1621
|
*/
|
|
@@ -1603,6 +1778,14 @@ export declare class ClientInfo extends Message<ClientInfo> {
|
|
|
1603
1778
|
*/
|
|
1604
1779
|
network: string;
|
|
1605
1780
|
|
|
1781
|
+
/**
|
|
1782
|
+
* comma separated list of additional LiveKit SDKs in use of this client, with versions
|
|
1783
|
+
* e.g. "components-js:1.2.3,track-processors-js:1.2.3"
|
|
1784
|
+
*
|
|
1785
|
+
* @generated from field: string other_sdks = 11;
|
|
1786
|
+
*/
|
|
1787
|
+
otherSdks: string;
|
|
1788
|
+
|
|
1606
1789
|
constructor(data?: PartialMessage<ClientInfo>);
|
|
1607
1790
|
|
|
1608
1791
|
static readonly runtime: typeof proto3;
|
|
@@ -138,6 +138,8 @@ export const DisconnectReason = /*@__PURE__*/ proto3.makeEnum(
|
|
|
138
138
|
{no: 8, name: "MIGRATION"},
|
|
139
139
|
{no: 9, name: "SIGNAL_CLOSE"},
|
|
140
140
|
{no: 10, name: "ROOM_CLOSED"},
|
|
141
|
+
{no: 11, name: "USER_UNAVAILABLE"},
|
|
142
|
+
{no: 12, name: "USER_REJECTED"},
|
|
141
143
|
],
|
|
142
144
|
);
|
|
143
145
|
|
|
@@ -389,6 +391,9 @@ export const DataPacket = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
389
391
|
{ no: 7, name: "transcription", kind: "message", T: Transcription, oneof: "value" },
|
|
390
392
|
{ no: 8, name: "metrics", kind: "message", T: MetricsBatch, oneof: "value" },
|
|
391
393
|
{ no: 9, name: "chat_message", kind: "message", T: ChatMessage, oneof: "value" },
|
|
394
|
+
{ no: 10, name: "rpc_request", kind: "message", T: RpcRequest, oneof: "value" },
|
|
395
|
+
{ no: 11, name: "rpc_ack", kind: "message", T: RpcAck, oneof: "value" },
|
|
396
|
+
{ no: 12, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" },
|
|
392
397
|
],
|
|
393
398
|
);
|
|
394
399
|
|
|
@@ -496,6 +501,54 @@ export const ChatMessage = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
496
501
|
],
|
|
497
502
|
);
|
|
498
503
|
|
|
504
|
+
/**
|
|
505
|
+
* @generated from message livekit.RpcRequest
|
|
506
|
+
*/
|
|
507
|
+
export const RpcRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
508
|
+
"livekit.RpcRequest",
|
|
509
|
+
() => [
|
|
510
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
511
|
+
{ no: 2, name: "method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
512
|
+
{ no: 3, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
513
|
+
{ no: 4, name: "response_timeout_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
514
|
+
{ no: 5, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
515
|
+
],
|
|
516
|
+
);
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* @generated from message livekit.RpcAck
|
|
520
|
+
*/
|
|
521
|
+
export const RpcAck = /*@__PURE__*/ proto3.makeMessageType(
|
|
522
|
+
"livekit.RpcAck",
|
|
523
|
+
() => [
|
|
524
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
525
|
+
],
|
|
526
|
+
);
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* @generated from message livekit.RpcResponse
|
|
530
|
+
*/
|
|
531
|
+
export const RpcResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
532
|
+
"livekit.RpcResponse",
|
|
533
|
+
() => [
|
|
534
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
535
|
+
{ no: 2, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "value" },
|
|
536
|
+
{ no: 3, name: "error", kind: "message", T: RpcError, oneof: "value" },
|
|
537
|
+
],
|
|
538
|
+
);
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* @generated from message livekit.RpcError
|
|
542
|
+
*/
|
|
543
|
+
export const RpcError = /*@__PURE__*/ proto3.makeMessageType(
|
|
544
|
+
"livekit.RpcError",
|
|
545
|
+
() => [
|
|
546
|
+
{ no: 1, name: "code", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
547
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
548
|
+
{ no: 3, name: "data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
549
|
+
],
|
|
550
|
+
);
|
|
551
|
+
|
|
499
552
|
/**
|
|
500
553
|
* @generated from message livekit.ParticipantTracks
|
|
501
554
|
*/
|
|
@@ -554,6 +607,7 @@ export const ClientInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
554
607
|
{ no: 8, name: "browser_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
555
608
|
{ no: 9, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
556
609
|
{ no: 10, name: "network", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
610
|
+
{ no: 11, name: "other_sdks", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
557
611
|
],
|
|
558
612
|
);
|
|
559
613
|
|
|
@@ -1246,3 +1246,37 @@ export declare class SIPParticipantInfo extends Message<SIPParticipantInfo> {
|
|
|
1246
1246
|
static equals(a: SIPParticipantInfo | PlainMessage<SIPParticipantInfo> | undefined, b: SIPParticipantInfo | PlainMessage<SIPParticipantInfo> | undefined): boolean;
|
|
1247
1247
|
}
|
|
1248
1248
|
|
|
1249
|
+
/**
|
|
1250
|
+
* @generated from message livekit.TransferSIPParticipantRequest
|
|
1251
|
+
*/
|
|
1252
|
+
export declare class TransferSIPParticipantRequest extends Message<TransferSIPParticipantRequest> {
|
|
1253
|
+
/**
|
|
1254
|
+
* @generated from field: string participant_identity = 1;
|
|
1255
|
+
*/
|
|
1256
|
+
participantIdentity: string;
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* @generated from field: string room_name = 2;
|
|
1260
|
+
*/
|
|
1261
|
+
roomName: string;
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* @generated from field: string transfer_to = 3;
|
|
1265
|
+
*/
|
|
1266
|
+
transferTo: string;
|
|
1267
|
+
|
|
1268
|
+
constructor(data?: PartialMessage<TransferSIPParticipantRequest>);
|
|
1269
|
+
|
|
1270
|
+
static readonly runtime: typeof proto3;
|
|
1271
|
+
static readonly typeName = "livekit.TransferSIPParticipantRequest";
|
|
1272
|
+
static readonly fields: FieldList;
|
|
1273
|
+
|
|
1274
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TransferSIPParticipantRequest;
|
|
1275
|
+
|
|
1276
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TransferSIPParticipantRequest;
|
|
1277
|
+
|
|
1278
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransferSIPParticipantRequest;
|
|
1279
|
+
|
|
1280
|
+
static equals(a: TransferSIPParticipantRequest | PlainMessage<TransferSIPParticipantRequest> | undefined, b: TransferSIPParticipantRequest | PlainMessage<TransferSIPParticipantRequest> | undefined): boolean;
|
|
1281
|
+
}
|
|
1282
|
+
|
|
@@ -395,3 +395,15 @@ export const SIPParticipantInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
395
395
|
],
|
|
396
396
|
);
|
|
397
397
|
|
|
398
|
+
/**
|
|
399
|
+
* @generated from message livekit.TransferSIPParticipantRequest
|
|
400
|
+
*/
|
|
401
|
+
export const TransferSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
402
|
+
"livekit.TransferSIPParticipantRequest",
|
|
403
|
+
() => [
|
|
404
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
405
|
+
{ no: 2, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
406
|
+
{ no: 3, name: "transfer_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
407
|
+
],
|
|
408
|
+
);
|
|
409
|
+
|
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.24.0';
|
package/src/index.d.ts
CHANGED
|
@@ -7,4 +7,5 @@ export * from "./gen/livekit_webhook_pb.js";
|
|
|
7
7
|
export * from "./gen/livekit_egress_pb.js";
|
|
8
8
|
export * from "./gen/livekit_ingress_pb.js";
|
|
9
9
|
export * from "./gen/livekit_sip_pb.js";
|
|
10
|
+
export * from "./gen/livekit_metrics_pb.js";
|
|
10
11
|
export { protoInt64 } from "@bufbuild/protobuf";
|
package/src/index.js
CHANGED
|
@@ -8,4 +8,5 @@ export * from "./gen/livekit_webhook_pb.js";
|
|
|
8
8
|
export * from "./gen/livekit_egress_pb.js";
|
|
9
9
|
export * from "./gen/livekit_ingress_pb.js";
|
|
10
10
|
export * from "./gen/livekit_sip_pb.js";
|
|
11
|
+
export * from "./gen/livekit_metrics_pb.js";
|
|
11
12
|
export { protoInt64 } from "@bufbuild/protobuf";
|