@livekit/protocol 1.22.0 → 1.23.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_metrics_pb.d.ts +115 -1
- package/src/gen/livekit_metrics_pb.js +16 -0
- package/src/gen/livekit_models_pb.d.ts +169 -0
- package/src/gen/livekit_models_pb.js +52 -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/package.json
CHANGED
|
@@ -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
|
|
|
@@ -1094,6 +1094,24 @@ export declare class DataPacket extends Message<DataPacket> {
|
|
|
1094
1094
|
*/
|
|
1095
1095
|
value: ChatMessage;
|
|
1096
1096
|
case: "chatMessage";
|
|
1097
|
+
} | {
|
|
1098
|
+
/**
|
|
1099
|
+
* @generated from field: livekit.RpcRequest rpc_request = 10;
|
|
1100
|
+
*/
|
|
1101
|
+
value: RpcRequest;
|
|
1102
|
+
case: "rpcRequest";
|
|
1103
|
+
} | {
|
|
1104
|
+
/**
|
|
1105
|
+
* @generated from field: livekit.RpcAck rpc_ack = 11;
|
|
1106
|
+
*/
|
|
1107
|
+
value: RpcAck;
|
|
1108
|
+
case: "rpcAck";
|
|
1109
|
+
} | {
|
|
1110
|
+
/**
|
|
1111
|
+
* @generated from field: livekit.RpcResponse rpc_response = 12;
|
|
1112
|
+
*/
|
|
1113
|
+
value: RpcResponse;
|
|
1114
|
+
case: "rpcResponse";
|
|
1097
1115
|
} | { case: undefined; value?: undefined };
|
|
1098
1116
|
|
|
1099
1117
|
constructor(data?: PartialMessage<DataPacket>);
|
|
@@ -1441,6 +1459,149 @@ export declare class ChatMessage extends Message<ChatMessage> {
|
|
|
1441
1459
|
static equals(a: ChatMessage | PlainMessage<ChatMessage> | undefined, b: ChatMessage | PlainMessage<ChatMessage> | undefined): boolean;
|
|
1442
1460
|
}
|
|
1443
1461
|
|
|
1462
|
+
/**
|
|
1463
|
+
* @generated from message livekit.RpcRequest
|
|
1464
|
+
*/
|
|
1465
|
+
export declare class RpcRequest extends Message<RpcRequest> {
|
|
1466
|
+
/**
|
|
1467
|
+
* @generated from field: string id = 1;
|
|
1468
|
+
*/
|
|
1469
|
+
id: string;
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* @generated from field: string method = 2;
|
|
1473
|
+
*/
|
|
1474
|
+
method: string;
|
|
1475
|
+
|
|
1476
|
+
/**
|
|
1477
|
+
* @generated from field: string payload = 3;
|
|
1478
|
+
*/
|
|
1479
|
+
payload: string;
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
* @generated from field: uint32 response_timeout_ms = 4;
|
|
1483
|
+
*/
|
|
1484
|
+
responseTimeoutMs: number;
|
|
1485
|
+
|
|
1486
|
+
/**
|
|
1487
|
+
* @generated from field: uint32 version = 5;
|
|
1488
|
+
*/
|
|
1489
|
+
version: number;
|
|
1490
|
+
|
|
1491
|
+
constructor(data?: PartialMessage<RpcRequest>);
|
|
1492
|
+
|
|
1493
|
+
static readonly runtime: typeof proto3;
|
|
1494
|
+
static readonly typeName = "livekit.RpcRequest";
|
|
1495
|
+
static readonly fields: FieldList;
|
|
1496
|
+
|
|
1497
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcRequest;
|
|
1498
|
+
|
|
1499
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcRequest;
|
|
1500
|
+
|
|
1501
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcRequest;
|
|
1502
|
+
|
|
1503
|
+
static equals(a: RpcRequest | PlainMessage<RpcRequest> | undefined, b: RpcRequest | PlainMessage<RpcRequest> | undefined): boolean;
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* @generated from message livekit.RpcAck
|
|
1508
|
+
*/
|
|
1509
|
+
export declare class RpcAck extends Message<RpcAck> {
|
|
1510
|
+
/**
|
|
1511
|
+
* @generated from field: string request_id = 1;
|
|
1512
|
+
*/
|
|
1513
|
+
requestId: string;
|
|
1514
|
+
|
|
1515
|
+
constructor(data?: PartialMessage<RpcAck>);
|
|
1516
|
+
|
|
1517
|
+
static readonly runtime: typeof proto3;
|
|
1518
|
+
static readonly typeName = "livekit.RpcAck";
|
|
1519
|
+
static readonly fields: FieldList;
|
|
1520
|
+
|
|
1521
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcAck;
|
|
1522
|
+
|
|
1523
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcAck;
|
|
1524
|
+
|
|
1525
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcAck;
|
|
1526
|
+
|
|
1527
|
+
static equals(a: RpcAck | PlainMessage<RpcAck> | undefined, b: RpcAck | PlainMessage<RpcAck> | undefined): boolean;
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* @generated from message livekit.RpcResponse
|
|
1532
|
+
*/
|
|
1533
|
+
export declare class RpcResponse extends Message<RpcResponse> {
|
|
1534
|
+
/**
|
|
1535
|
+
* @generated from field: string request_id = 1;
|
|
1536
|
+
*/
|
|
1537
|
+
requestId: string;
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* @generated from oneof livekit.RpcResponse.value
|
|
1541
|
+
*/
|
|
1542
|
+
value: {
|
|
1543
|
+
/**
|
|
1544
|
+
* @generated from field: string payload = 2;
|
|
1545
|
+
*/
|
|
1546
|
+
value: string;
|
|
1547
|
+
case: "payload";
|
|
1548
|
+
} | {
|
|
1549
|
+
/**
|
|
1550
|
+
* @generated from field: livekit.RpcError error = 3;
|
|
1551
|
+
*/
|
|
1552
|
+
value: RpcError;
|
|
1553
|
+
case: "error";
|
|
1554
|
+
} | { case: undefined; value?: undefined };
|
|
1555
|
+
|
|
1556
|
+
constructor(data?: PartialMessage<RpcResponse>);
|
|
1557
|
+
|
|
1558
|
+
static readonly runtime: typeof proto3;
|
|
1559
|
+
static readonly typeName = "livekit.RpcResponse";
|
|
1560
|
+
static readonly fields: FieldList;
|
|
1561
|
+
|
|
1562
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcResponse;
|
|
1563
|
+
|
|
1564
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcResponse;
|
|
1565
|
+
|
|
1566
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcResponse;
|
|
1567
|
+
|
|
1568
|
+
static equals(a: RpcResponse | PlainMessage<RpcResponse> | undefined, b: RpcResponse | PlainMessage<RpcResponse> | undefined): boolean;
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
/**
|
|
1572
|
+
* @generated from message livekit.RpcError
|
|
1573
|
+
*/
|
|
1574
|
+
export declare class RpcError extends Message<RpcError> {
|
|
1575
|
+
/**
|
|
1576
|
+
* @generated from field: uint32 code = 1;
|
|
1577
|
+
*/
|
|
1578
|
+
code: number;
|
|
1579
|
+
|
|
1580
|
+
/**
|
|
1581
|
+
* @generated from field: string message = 2;
|
|
1582
|
+
*/
|
|
1583
|
+
message: string;
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* @generated from field: string data = 3;
|
|
1587
|
+
*/
|
|
1588
|
+
data: string;
|
|
1589
|
+
|
|
1590
|
+
constructor(data?: PartialMessage<RpcError>);
|
|
1591
|
+
|
|
1592
|
+
static readonly runtime: typeof proto3;
|
|
1593
|
+
static readonly typeName = "livekit.RpcError";
|
|
1594
|
+
static readonly fields: FieldList;
|
|
1595
|
+
|
|
1596
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcError;
|
|
1597
|
+
|
|
1598
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcError;
|
|
1599
|
+
|
|
1600
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcError;
|
|
1601
|
+
|
|
1602
|
+
static equals(a: RpcError | PlainMessage<RpcError> | undefined, b: RpcError | PlainMessage<RpcError> | undefined): boolean;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1444
1605
|
/**
|
|
1445
1606
|
* @generated from message livekit.ParticipantTracks
|
|
1446
1607
|
*/
|
|
@@ -1603,6 +1764,14 @@ export declare class ClientInfo extends Message<ClientInfo> {
|
|
|
1603
1764
|
*/
|
|
1604
1765
|
network: string;
|
|
1605
1766
|
|
|
1767
|
+
/**
|
|
1768
|
+
* comma separated list of additional LiveKit SDKs in use of this client, with versions
|
|
1769
|
+
* e.g. "components-js:1.2.3,track-processors-js:1.2.3"
|
|
1770
|
+
*
|
|
1771
|
+
* @generated from field: string other_sdks = 11;
|
|
1772
|
+
*/
|
|
1773
|
+
otherSdks: string;
|
|
1774
|
+
|
|
1606
1775
|
constructor(data?: PartialMessage<ClientInfo>);
|
|
1607
1776
|
|
|
1608
1777
|
static readonly runtime: typeof proto3;
|
|
@@ -389,6 +389,9 @@ export const DataPacket = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
389
389
|
{ no: 7, name: "transcription", kind: "message", T: Transcription, oneof: "value" },
|
|
390
390
|
{ no: 8, name: "metrics", kind: "message", T: MetricsBatch, oneof: "value" },
|
|
391
391
|
{ no: 9, name: "chat_message", kind: "message", T: ChatMessage, oneof: "value" },
|
|
392
|
+
{ no: 10, name: "rpc_request", kind: "message", T: RpcRequest, oneof: "value" },
|
|
393
|
+
{ no: 11, name: "rpc_ack", kind: "message", T: RpcAck, oneof: "value" },
|
|
394
|
+
{ no: 12, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" },
|
|
392
395
|
],
|
|
393
396
|
);
|
|
394
397
|
|
|
@@ -496,6 +499,54 @@ export const ChatMessage = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
496
499
|
],
|
|
497
500
|
);
|
|
498
501
|
|
|
502
|
+
/**
|
|
503
|
+
* @generated from message livekit.RpcRequest
|
|
504
|
+
*/
|
|
505
|
+
export const RpcRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
506
|
+
"livekit.RpcRequest",
|
|
507
|
+
() => [
|
|
508
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
509
|
+
{ no: 2, name: "method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
510
|
+
{ no: 3, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
511
|
+
{ no: 4, name: "response_timeout_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
512
|
+
{ no: 5, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
513
|
+
],
|
|
514
|
+
);
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* @generated from message livekit.RpcAck
|
|
518
|
+
*/
|
|
519
|
+
export const RpcAck = /*@__PURE__*/ proto3.makeMessageType(
|
|
520
|
+
"livekit.RpcAck",
|
|
521
|
+
() => [
|
|
522
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
523
|
+
],
|
|
524
|
+
);
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* @generated from message livekit.RpcResponse
|
|
528
|
+
*/
|
|
529
|
+
export const RpcResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
530
|
+
"livekit.RpcResponse",
|
|
531
|
+
() => [
|
|
532
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
533
|
+
{ no: 2, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "value" },
|
|
534
|
+
{ no: 3, name: "error", kind: "message", T: RpcError, oneof: "value" },
|
|
535
|
+
],
|
|
536
|
+
);
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* @generated from message livekit.RpcError
|
|
540
|
+
*/
|
|
541
|
+
export const RpcError = /*@__PURE__*/ proto3.makeMessageType(
|
|
542
|
+
"livekit.RpcError",
|
|
543
|
+
() => [
|
|
544
|
+
{ no: 1, name: "code", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
545
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
546
|
+
{ no: 3, name: "data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
547
|
+
],
|
|
548
|
+
);
|
|
549
|
+
|
|
499
550
|
/**
|
|
500
551
|
* @generated from message livekit.ParticipantTracks
|
|
501
552
|
*/
|
|
@@ -554,6 +605,7 @@ export const ClientInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
554
605
|
{ no: 8, name: "browser_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
555
606
|
{ no: 9, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
556
607
|
{ no: 10, name: "network", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
608
|
+
{ no: 11, name: "other_sdks", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
557
609
|
],
|
|
558
610
|
);
|
|
559
611
|
|
|
@@ -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.23.0';
|