@livekit/protocol 1.21.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 +3 -3
- package/src/gen/livekit_analytics_pb.d.ts +5 -0
- package/src/gen/livekit_analytics_pb.js +1 -0
- package/src/gen/livekit_metrics_pb.d.ts +168 -29
- package/src/gen/livekit_metrics_pb.js +33 -14
- package/src/gen/livekit_models_pb.d.ts +302 -4
- package/src/gen/livekit_models_pb.js +87 -1
- package/src/gen/livekit_sip_pb.d.ts +160 -0
- package/src/gen/livekit_sip_pb.js +56 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livekit/protocol",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"author": "LiveKit",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@bufbuild/protoc-gen-es": "^1.
|
|
25
|
+
"@bufbuild/protoc-gen-es": "^1.10.0",
|
|
26
26
|
"genversion": "^3.2.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@bufbuild/protobuf": "^1.
|
|
29
|
+
"@bufbuild/protobuf": "^1.10.0"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"generate:version": "genversion --esm --semi src/gen/version.js",
|
|
@@ -311,6 +311,11 @@ export declare class AnalyticsStream extends Message<AnalyticsStream> {
|
|
|
311
311
|
*/
|
|
312
312
|
endTime?: Timestamp;
|
|
313
313
|
|
|
314
|
+
/**
|
|
315
|
+
* @generated from field: uint32 packets_out_of_order = 19;
|
|
316
|
+
*/
|
|
317
|
+
packetsOutOfOrder: number;
|
|
318
|
+
|
|
314
319
|
constructor(data?: PartialMessage<AnalyticsStream>);
|
|
315
320
|
|
|
316
321
|
static readonly runtime: typeof proto3;
|
|
@@ -106,6 +106,7 @@ export const AnalyticsStream = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
106
106
|
{ no: 15, name: "video_layers", kind: "message", T: AnalyticsVideoLayer, repeated: true },
|
|
107
107
|
{ no: 17, name: "start_time", kind: "message", T: Timestamp },
|
|
108
108
|
{ no: 18, name: "end_time", kind: "message", T: Timestamp },
|
|
109
|
+
{ no: 19, name: "packets_out_of_order", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
109
110
|
],
|
|
110
111
|
);
|
|
111
112
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
6
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* index from [0
|
|
10
|
+
* index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`)
|
|
11
11
|
*
|
|
12
12
|
* @generated from enum livekit.MetricLabel
|
|
13
13
|
*/
|
|
@@ -34,32 +34,144 @@ export declare enum MetricLabel {
|
|
|
34
34
|
AGENTS_TTS_TTFB = 2,
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
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
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @generated from enum value: METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096;
|
|
38
136
|
*/
|
|
39
|
-
|
|
137
|
+
METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096,
|
|
40
138
|
}
|
|
41
139
|
|
|
42
140
|
/**
|
|
43
141
|
* @generated from message livekit.MetricsBatch
|
|
44
142
|
*/
|
|
45
143
|
export declare class MetricsBatch extends Message<MetricsBatch> {
|
|
144
|
+
/**
|
|
145
|
+
* time at which this batch is sent based on a monotonic clock (millisecond resolution)
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: int64 timestamp_ms = 1;
|
|
148
|
+
*/
|
|
149
|
+
timestampMs: bigint;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: google.protobuf.Timestamp normalized_timestamp = 2;
|
|
153
|
+
*/
|
|
154
|
+
normalizedTimestamp?: Timestamp;
|
|
155
|
+
|
|
46
156
|
/**
|
|
47
157
|
* To avoid repeating string values, we store them in a separate list and reference them by index
|
|
48
158
|
* This is useful for storing participant identities, track names, etc.
|
|
49
159
|
* There is also a predefined list of labels that can be used to reference common metrics.
|
|
50
|
-
* They have reserved indices from 0 to
|
|
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.
|
|
51
163
|
*
|
|
52
|
-
* @generated from field: repeated string str_data =
|
|
164
|
+
* @generated from field: repeated string str_data = 3;
|
|
53
165
|
*/
|
|
54
166
|
strData: string[];
|
|
55
167
|
|
|
56
168
|
/**
|
|
57
|
-
* @generated from field: repeated livekit.TimeSeriesMetric time_series =
|
|
169
|
+
* @generated from field: repeated livekit.TimeSeriesMetric time_series = 4;
|
|
58
170
|
*/
|
|
59
171
|
timeSeries: TimeSeriesMetric[];
|
|
60
172
|
|
|
61
173
|
/**
|
|
62
|
-
* @generated from field: repeated livekit.EventMetric events =
|
|
174
|
+
* @generated from field: repeated livekit.EventMetric events = 5;
|
|
63
175
|
*/
|
|
64
176
|
events: EventMetric[];
|
|
65
177
|
|
|
@@ -91,33 +203,30 @@ export declare class TimeSeriesMetric extends Message<TimeSeriesMetric> {
|
|
|
91
203
|
label: number;
|
|
92
204
|
|
|
93
205
|
/**
|
|
206
|
+
* index into `str_data`
|
|
207
|
+
*
|
|
94
208
|
* @generated from field: uint32 participant_identity = 2;
|
|
95
209
|
*/
|
|
96
210
|
participantIdentity: number;
|
|
97
211
|
|
|
98
212
|
/**
|
|
213
|
+
* index into `str_data`
|
|
214
|
+
*
|
|
99
215
|
* @generated from field: uint32 track_sid = 3;
|
|
100
216
|
*/
|
|
101
217
|
trackSid: number;
|
|
102
218
|
|
|
103
219
|
/**
|
|
104
|
-
* samples
|
|
105
|
-
*
|
|
106
|
-
* @generated from field: int64 start_timestamp = 4;
|
|
107
|
-
*/
|
|
108
|
-
startTimestamp: bigint;
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* @generated from field: int64 end_timestamp = 5;
|
|
220
|
+
* @generated from field: repeated livekit.MetricSample samples = 4;
|
|
112
221
|
*/
|
|
113
|
-
|
|
222
|
+
samples: MetricSample[];
|
|
114
223
|
|
|
115
224
|
/**
|
|
116
|
-
*
|
|
225
|
+
* index into 'str_data'
|
|
117
226
|
*
|
|
118
|
-
* @generated from field:
|
|
227
|
+
* @generated from field: uint32 rid = 5;
|
|
119
228
|
*/
|
|
120
|
-
|
|
229
|
+
rid: number;
|
|
121
230
|
|
|
122
231
|
constructor(data?: PartialMessage<TimeSeriesMetric>);
|
|
123
232
|
|
|
@@ -139,12 +248,19 @@ export declare class TimeSeriesMetric extends Message<TimeSeriesMetric> {
|
|
|
139
248
|
*/
|
|
140
249
|
export declare class MetricSample extends Message<MetricSample> {
|
|
141
250
|
/**
|
|
142
|
-
*
|
|
251
|
+
* time of metric based on a monotonic clock (in milliseconds)
|
|
252
|
+
*
|
|
253
|
+
* @generated from field: int64 timestamp_ms = 1;
|
|
143
254
|
*/
|
|
144
|
-
|
|
255
|
+
timestampMs: bigint;
|
|
145
256
|
|
|
146
257
|
/**
|
|
147
|
-
* @generated from field:
|
|
258
|
+
* @generated from field: google.protobuf.Timestamp normalized_timestamp = 2;
|
|
259
|
+
*/
|
|
260
|
+
normalizedTimestamp?: Timestamp;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: float value = 3;
|
|
148
264
|
*/
|
|
149
265
|
value: number;
|
|
150
266
|
|
|
@@ -173,32 +289,55 @@ export declare class EventMetric extends Message<EventMetric> {
|
|
|
173
289
|
label: number;
|
|
174
290
|
|
|
175
291
|
/**
|
|
292
|
+
* index into `str_data`
|
|
293
|
+
*
|
|
176
294
|
* @generated from field: uint32 participant_identity = 2;
|
|
177
295
|
*/
|
|
178
296
|
participantIdentity: number;
|
|
179
297
|
|
|
180
298
|
/**
|
|
181
|
-
*
|
|
299
|
+
* index into `str_data`
|
|
182
300
|
*
|
|
183
301
|
* @generated from field: uint32 track_sid = 3;
|
|
184
302
|
*/
|
|
185
303
|
trackSid: number;
|
|
186
304
|
|
|
187
305
|
/**
|
|
188
|
-
*
|
|
306
|
+
* start time of event based on a monotonic clock (in milliseconds)
|
|
307
|
+
*
|
|
308
|
+
* @generated from field: int64 start_timestamp_ms = 4;
|
|
309
|
+
*/
|
|
310
|
+
startTimestampMs: bigint;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* end time of event based on a monotonic clock (in milliseconds), if needed
|
|
314
|
+
*
|
|
315
|
+
* @generated from field: optional int64 end_timestamp_ms = 5;
|
|
189
316
|
*/
|
|
190
|
-
|
|
317
|
+
endTimestampMs?: bigint;
|
|
191
318
|
|
|
192
319
|
/**
|
|
193
|
-
* @generated from field:
|
|
320
|
+
* @generated from field: google.protobuf.Timestamp normalized_start_timestamp = 6;
|
|
194
321
|
*/
|
|
195
|
-
|
|
322
|
+
normalizedStartTimestamp?: Timestamp;
|
|
196
323
|
|
|
197
324
|
/**
|
|
198
|
-
* @generated from field:
|
|
325
|
+
* @generated from field: optional google.protobuf.Timestamp normalized_end_timestamp = 7;
|
|
326
|
+
*/
|
|
327
|
+
normalizedEndTimestamp?: Timestamp;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* @generated from field: string metadata = 8;
|
|
199
331
|
*/
|
|
200
332
|
metadata: string;
|
|
201
333
|
|
|
334
|
+
/**
|
|
335
|
+
* index into 'str_data'
|
|
336
|
+
*
|
|
337
|
+
* @generated from field: uint32 rid = 9;
|
|
338
|
+
*/
|
|
339
|
+
rid: number;
|
|
340
|
+
|
|
202
341
|
constructor(data?: PartialMessage<EventMetric>);
|
|
203
342
|
|
|
204
343
|
static readonly runtime: typeof proto3;
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { proto3 } from "@bufbuild/protobuf";
|
|
6
|
+
import { proto3, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* index from [0
|
|
9
|
+
* index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`)
|
|
10
10
|
*
|
|
11
11
|
* @generated from enum livekit.MetricLabel
|
|
12
12
|
*/
|
|
@@ -16,7 +16,21 @@ 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:
|
|
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"},
|
|
33
|
+
{no: 4096, name: "METRIC_LABEL_PREDEFINED_MAX_VALUE"},
|
|
20
34
|
],
|
|
21
35
|
);
|
|
22
36
|
|
|
@@ -26,9 +40,11 @@ export const MetricLabel = /*@__PURE__*/ proto3.makeEnum(
|
|
|
26
40
|
export const MetricsBatch = /*@__PURE__*/ proto3.makeMessageType(
|
|
27
41
|
"livekit.MetricsBatch",
|
|
28
42
|
() => [
|
|
29
|
-
{ no: 1, name: "
|
|
30
|
-
{ no: 2, name: "
|
|
31
|
-
{ no: 3, name: "
|
|
43
|
+
{ no: 1, name: "timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
44
|
+
{ no: 2, name: "normalized_timestamp", kind: "message", T: Timestamp },
|
|
45
|
+
{ no: 3, name: "str_data", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
46
|
+
{ no: 4, name: "time_series", kind: "message", T: TimeSeriesMetric, repeated: true },
|
|
47
|
+
{ no: 5, name: "events", kind: "message", T: EventMetric, repeated: true },
|
|
32
48
|
],
|
|
33
49
|
);
|
|
34
50
|
|
|
@@ -41,9 +57,8 @@ export const TimeSeriesMetric = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
41
57
|
{ no: 1, name: "label", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
42
58
|
{ no: 2, name: "participant_identity", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
43
59
|
{ no: 3, name: "track_sid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
44
|
-
{ no: 4, name: "
|
|
45
|
-
{ no: 5, name: "
|
|
46
|
-
{ no: 6, name: "samples", kind: "message", T: MetricSample, repeated: true },
|
|
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
|
|
|
@@ -53,8 +68,9 @@ export const TimeSeriesMetric = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
53
68
|
export const MetricSample = /*@__PURE__*/ proto3.makeMessageType(
|
|
54
69
|
"livekit.MetricSample",
|
|
55
70
|
() => [
|
|
56
|
-
{ no: 1, name: "
|
|
57
|
-
{ no: 2, name: "
|
|
71
|
+
{ no: 1, name: "timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
72
|
+
{ no: 2, name: "normalized_timestamp", kind: "message", T: Timestamp },
|
|
73
|
+
{ no: 3, name: "value", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
58
74
|
],
|
|
59
75
|
);
|
|
60
76
|
|
|
@@ -67,9 +83,12 @@ export const EventMetric = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
67
83
|
{ no: 1, name: "label", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
68
84
|
{ no: 2, name: "participant_identity", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
69
85
|
{ no: 3, name: "track_sid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
70
|
-
{ no: 4, name: "
|
|
71
|
-
{ no: 5, name: "
|
|
72
|
-
{ no: 6, name: "
|
|
86
|
+
{ no: 4, name: "start_timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
87
|
+
{ no: 5, name: "end_timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
88
|
+
{ no: 6, name: "normalized_start_timestamp", kind: "message", T: Timestamp },
|
|
89
|
+
{ no: 7, name: "normalized_end_timestamp", kind: "message", T: Timestamp, opt: true },
|
|
90
|
+
{ no: 8, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
91
|
+
{ no: 9, name: "rid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
73
92
|
],
|
|
74
93
|
);
|
|
75
94
|
|
|
@@ -1088,6 +1088,30 @@ export declare class DataPacket extends Message<DataPacket> {
|
|
|
1088
1088
|
*/
|
|
1089
1089
|
value: MetricsBatch;
|
|
1090
1090
|
case: "metrics";
|
|
1091
|
+
} | {
|
|
1092
|
+
/**
|
|
1093
|
+
* @generated from field: livekit.ChatMessage chat_message = 9;
|
|
1094
|
+
*/
|
|
1095
|
+
value: ChatMessage;
|
|
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";
|
|
1091
1115
|
} | { case: undefined; value?: undefined };
|
|
1092
1116
|
|
|
1093
1117
|
constructor(data?: PartialMessage<DataPacket>);
|
|
@@ -1378,6 +1402,206 @@ export declare class TranscriptionSegment extends Message<TranscriptionSegment>
|
|
|
1378
1402
|
static equals(a: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined, b: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined): boolean;
|
|
1379
1403
|
}
|
|
1380
1404
|
|
|
1405
|
+
/**
|
|
1406
|
+
* @generated from message livekit.ChatMessage
|
|
1407
|
+
*/
|
|
1408
|
+
export declare class ChatMessage extends Message<ChatMessage> {
|
|
1409
|
+
/**
|
|
1410
|
+
* uuid
|
|
1411
|
+
*
|
|
1412
|
+
* @generated from field: string id = 1;
|
|
1413
|
+
*/
|
|
1414
|
+
id: string;
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* @generated from field: int64 timestamp = 2;
|
|
1418
|
+
*/
|
|
1419
|
+
timestamp: bigint;
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* populated only if the intent is to edit/update an existing message
|
|
1423
|
+
*
|
|
1424
|
+
* @generated from field: optional int64 edit_timestamp = 3;
|
|
1425
|
+
*/
|
|
1426
|
+
editTimestamp?: bigint;
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* @generated from field: string message = 4;
|
|
1430
|
+
*/
|
|
1431
|
+
message: string;
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* true to remove message
|
|
1435
|
+
*
|
|
1436
|
+
* @generated from field: bool deleted = 5;
|
|
1437
|
+
*/
|
|
1438
|
+
deleted: boolean;
|
|
1439
|
+
|
|
1440
|
+
/**
|
|
1441
|
+
* true if the chat message has been generated by an agent from a participant's audio transcription
|
|
1442
|
+
*
|
|
1443
|
+
* @generated from field: bool generated = 6;
|
|
1444
|
+
*/
|
|
1445
|
+
generated: boolean;
|
|
1446
|
+
|
|
1447
|
+
constructor(data?: PartialMessage<ChatMessage>);
|
|
1448
|
+
|
|
1449
|
+
static readonly runtime: typeof proto3;
|
|
1450
|
+
static readonly typeName = "livekit.ChatMessage";
|
|
1451
|
+
static readonly fields: FieldList;
|
|
1452
|
+
|
|
1453
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChatMessage;
|
|
1454
|
+
|
|
1455
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChatMessage;
|
|
1456
|
+
|
|
1457
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChatMessage;
|
|
1458
|
+
|
|
1459
|
+
static equals(a: ChatMessage | PlainMessage<ChatMessage> | undefined, b: ChatMessage | PlainMessage<ChatMessage> | undefined): boolean;
|
|
1460
|
+
}
|
|
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
|
+
|
|
1381
1605
|
/**
|
|
1382
1606
|
* @generated from message livekit.ParticipantTracks
|
|
1383
1607
|
*/
|
|
@@ -1540,6 +1764,14 @@ export declare class ClientInfo extends Message<ClientInfo> {
|
|
|
1540
1764
|
*/
|
|
1541
1765
|
network: string;
|
|
1542
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
|
+
|
|
1543
1775
|
constructor(data?: PartialMessage<ClientInfo>);
|
|
1544
1776
|
|
|
1545
1777
|
static readonly runtime: typeof proto3;
|
|
@@ -2007,17 +2239,22 @@ export declare class RTPStats extends Message<RTPStats> {
|
|
|
2007
2239
|
packetDrift?: RTPDrift;
|
|
2008
2240
|
|
|
2009
2241
|
/**
|
|
2010
|
-
* @generated from field: livekit.RTPDrift
|
|
2242
|
+
* @generated from field: livekit.RTPDrift ntp_report_drift = 45;
|
|
2011
2243
|
*/
|
|
2012
|
-
|
|
2244
|
+
ntpReportDrift?: RTPDrift;
|
|
2013
2245
|
|
|
2014
2246
|
/**
|
|
2015
|
-
* NEXT_ID: 47
|
|
2016
|
-
*
|
|
2017
2247
|
* @generated from field: livekit.RTPDrift rebased_report_drift = 46;
|
|
2018
2248
|
*/
|
|
2019
2249
|
rebasedReportDrift?: RTPDrift;
|
|
2020
2250
|
|
|
2251
|
+
/**
|
|
2252
|
+
* NEXT_ID: 48
|
|
2253
|
+
*
|
|
2254
|
+
* @generated from field: livekit.RTPDrift received_report_drift = 47;
|
|
2255
|
+
*/
|
|
2256
|
+
receivedReportDrift?: RTPDrift;
|
|
2257
|
+
|
|
2021
2258
|
constructor(data?: PartialMessage<RTPStats>);
|
|
2022
2259
|
|
|
2023
2260
|
static readonly runtime: typeof proto3;
|
|
@@ -2033,6 +2270,62 @@ export declare class RTPStats extends Message<RTPStats> {
|
|
|
2033
2270
|
static equals(a: RTPStats | PlainMessage<RTPStats> | undefined, b: RTPStats | PlainMessage<RTPStats> | undefined): boolean;
|
|
2034
2271
|
}
|
|
2035
2272
|
|
|
2273
|
+
/**
|
|
2274
|
+
* @generated from message livekit.RTCPSenderReportState
|
|
2275
|
+
*/
|
|
2276
|
+
export declare class RTCPSenderReportState extends Message<RTCPSenderReportState> {
|
|
2277
|
+
/**
|
|
2278
|
+
* @generated from field: uint32 rtp_timestamp = 1;
|
|
2279
|
+
*/
|
|
2280
|
+
rtpTimestamp: number;
|
|
2281
|
+
|
|
2282
|
+
/**
|
|
2283
|
+
* @generated from field: uint64 rtp_timestamp_ext = 2;
|
|
2284
|
+
*/
|
|
2285
|
+
rtpTimestampExt: bigint;
|
|
2286
|
+
|
|
2287
|
+
/**
|
|
2288
|
+
* @generated from field: uint64 ntp_timestamp = 3;
|
|
2289
|
+
*/
|
|
2290
|
+
ntpTimestamp: bigint;
|
|
2291
|
+
|
|
2292
|
+
/**
|
|
2293
|
+
* time at which this happened
|
|
2294
|
+
*
|
|
2295
|
+
* @generated from field: int64 at = 4;
|
|
2296
|
+
*/
|
|
2297
|
+
at: bigint;
|
|
2298
|
+
|
|
2299
|
+
/**
|
|
2300
|
+
* @generated from field: int64 at_adjusted = 5;
|
|
2301
|
+
*/
|
|
2302
|
+
atAdjusted: bigint;
|
|
2303
|
+
|
|
2304
|
+
/**
|
|
2305
|
+
* @generated from field: uint32 packets = 6;
|
|
2306
|
+
*/
|
|
2307
|
+
packets: number;
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* @generated from field: uint64 octets = 7;
|
|
2311
|
+
*/
|
|
2312
|
+
octets: bigint;
|
|
2313
|
+
|
|
2314
|
+
constructor(data?: PartialMessage<RTCPSenderReportState>);
|
|
2315
|
+
|
|
2316
|
+
static readonly runtime: typeof proto3;
|
|
2317
|
+
static readonly typeName = "livekit.RTCPSenderReportState";
|
|
2318
|
+
static readonly fields: FieldList;
|
|
2319
|
+
|
|
2320
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RTCPSenderReportState;
|
|
2321
|
+
|
|
2322
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RTCPSenderReportState;
|
|
2323
|
+
|
|
2324
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RTCPSenderReportState;
|
|
2325
|
+
|
|
2326
|
+
static equals(a: RTCPSenderReportState | PlainMessage<RTCPSenderReportState> | undefined, b: RTCPSenderReportState | PlainMessage<RTCPSenderReportState> | undefined): boolean;
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2036
2329
|
/**
|
|
2037
2330
|
* @generated from message livekit.RTPForwarderState
|
|
2038
2331
|
*/
|
|
@@ -2078,6 +2371,11 @@ export declare class RTPForwarderState extends Message<RTPForwarderState> {
|
|
|
2078
2371
|
case: "vp8Munger";
|
|
2079
2372
|
} | { case: undefined; value?: undefined };
|
|
2080
2373
|
|
|
2374
|
+
/**
|
|
2375
|
+
* @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8;
|
|
2376
|
+
*/
|
|
2377
|
+
senderReportState: RTCPSenderReportState[];
|
|
2378
|
+
|
|
2081
2379
|
constructor(data?: PartialMessage<RTPForwarderState>);
|
|
2082
2380
|
|
|
2083
2381
|
static readonly runtime: typeof proto3;
|
|
@@ -388,6 +388,10 @@ export const DataPacket = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
388
388
|
{ no: 6, name: "sip_dtmf", kind: "message", T: SipDTMF, oneof: "value" },
|
|
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
|
+
{ 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" },
|
|
391
395
|
],
|
|
392
396
|
);
|
|
393
397
|
|
|
@@ -480,6 +484,69 @@ export const TranscriptionSegment = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
480
484
|
],
|
|
481
485
|
);
|
|
482
486
|
|
|
487
|
+
/**
|
|
488
|
+
* @generated from message livekit.ChatMessage
|
|
489
|
+
*/
|
|
490
|
+
export const ChatMessage = /*@__PURE__*/ proto3.makeMessageType(
|
|
491
|
+
"livekit.ChatMessage",
|
|
492
|
+
() => [
|
|
493
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
494
|
+
{ no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
495
|
+
{ no: 3, name: "edit_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
496
|
+
{ no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
497
|
+
{ no: 5, name: "deleted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
498
|
+
{ no: 6, name: "generated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
499
|
+
],
|
|
500
|
+
);
|
|
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
|
+
|
|
483
550
|
/**
|
|
484
551
|
* @generated from message livekit.ParticipantTracks
|
|
485
552
|
*/
|
|
@@ -538,6 +605,7 @@ export const ClientInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
538
605
|
{ no: 8, name: "browser_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
539
606
|
{ no: 9, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
540
607
|
{ no: 10, name: "network", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
608
|
+
{ no: 11, name: "other_sdks", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
541
609
|
],
|
|
542
610
|
);
|
|
543
611
|
|
|
@@ -666,8 +734,25 @@ export const RTPStats = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
666
734
|
{ no: 35, name: "layer_lock_plis", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
667
735
|
{ no: 36, name: "last_layer_lock_pli", kind: "message", T: Timestamp },
|
|
668
736
|
{ no: 44, name: "packet_drift", kind: "message", T: RTPDrift },
|
|
669
|
-
{ no: 45, name: "
|
|
737
|
+
{ no: 45, name: "ntp_report_drift", kind: "message", T: RTPDrift },
|
|
670
738
|
{ no: 46, name: "rebased_report_drift", kind: "message", T: RTPDrift },
|
|
739
|
+
{ no: 47, name: "received_report_drift", kind: "message", T: RTPDrift },
|
|
740
|
+
],
|
|
741
|
+
);
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* @generated from message livekit.RTCPSenderReportState
|
|
745
|
+
*/
|
|
746
|
+
export const RTCPSenderReportState = /*@__PURE__*/ proto3.makeMessageType(
|
|
747
|
+
"livekit.RTCPSenderReportState",
|
|
748
|
+
() => [
|
|
749
|
+
{ no: 1, name: "rtp_timestamp", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
750
|
+
{ no: 2, name: "rtp_timestamp_ext", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
751
|
+
{ no: 3, name: "ntp_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
752
|
+
{ no: 4, name: "at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
753
|
+
{ no: 5, name: "at_adjusted", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
754
|
+
{ no: 6, name: "packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
755
|
+
{ no: 7, name: "octets", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
671
756
|
],
|
|
672
757
|
);
|
|
673
758
|
|
|
@@ -684,6 +769,7 @@ export const RTPForwarderState = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
684
769
|
{ no: 5, name: "dummy_start_timestamp_offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
685
770
|
{ no: 6, name: "rtp_munger", kind: "message", T: RTPMungerState },
|
|
686
771
|
{ no: 7, name: "vp8_munger", kind: "message", T: VP8MungerState, oneof: "codec_munger" },
|
|
772
|
+
{ no: 8, name: "sender_report_state", kind: "message", T: RTCPSenderReportState, repeated: true },
|
|
687
773
|
],
|
|
688
774
|
);
|
|
689
775
|
|
|
@@ -356,6 +356,20 @@ export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
|
|
|
356
356
|
*/
|
|
357
357
|
authPassword: string;
|
|
358
358
|
|
|
359
|
+
/**
|
|
360
|
+
* Include these SIP X-* headers in 200 OK responses.
|
|
361
|
+
*
|
|
362
|
+
* @generated from field: map<string, string> headers = 9;
|
|
363
|
+
*/
|
|
364
|
+
headers: { [key: string]: string };
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Map SIP X-* headers from INVITE to SIP participant attributes.
|
|
368
|
+
*
|
|
369
|
+
* @generated from field: map<string, string> headers_to_attributes = 10;
|
|
370
|
+
*/
|
|
371
|
+
headersToAttributes: { [key: string]: string };
|
|
372
|
+
|
|
359
373
|
constructor(data?: PartialMessage<SIPInboundTrunkInfo>);
|
|
360
374
|
|
|
361
375
|
static readonly runtime: typeof proto3;
|
|
@@ -455,6 +469,22 @@ export declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo>
|
|
|
455
469
|
*/
|
|
456
470
|
authPassword: string;
|
|
457
471
|
|
|
472
|
+
/**
|
|
473
|
+
* Include these SIP X-* headers in INVITE request.
|
|
474
|
+
* These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.
|
|
475
|
+
*
|
|
476
|
+
* @generated from field: map<string, string> headers = 9;
|
|
477
|
+
*/
|
|
478
|
+
headers: { [key: string]: string };
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* Map SIP X-* headers from 200 OK to SIP participant attributes.
|
|
482
|
+
* Keys are the names of X-* headers and values are the names of attributes they will be mapped to.
|
|
483
|
+
*
|
|
484
|
+
* @generated from field: map<string, string> headers_to_attributes = 10;
|
|
485
|
+
*/
|
|
486
|
+
headersToAttributes: { [key: string]: string };
|
|
487
|
+
|
|
458
488
|
constructor(data?: PartialMessage<SIPOutboundTrunkInfo>);
|
|
459
489
|
|
|
460
490
|
static readonly runtime: typeof proto3;
|
|
@@ -470,6 +500,102 @@ export declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo>
|
|
|
470
500
|
static equals(a: SIPOutboundTrunkInfo | PlainMessage<SIPOutboundTrunkInfo> | undefined, b: SIPOutboundTrunkInfo | PlainMessage<SIPOutboundTrunkInfo> | undefined): boolean;
|
|
471
501
|
}
|
|
472
502
|
|
|
503
|
+
/**
|
|
504
|
+
* @generated from message livekit.GetSIPInboundTrunkRequest
|
|
505
|
+
*/
|
|
506
|
+
export declare class GetSIPInboundTrunkRequest extends Message<GetSIPInboundTrunkRequest> {
|
|
507
|
+
/**
|
|
508
|
+
* @generated from field: string sip_trunk_id = 1;
|
|
509
|
+
*/
|
|
510
|
+
sipTrunkId: string;
|
|
511
|
+
|
|
512
|
+
constructor(data?: PartialMessage<GetSIPInboundTrunkRequest>);
|
|
513
|
+
|
|
514
|
+
static readonly runtime: typeof proto3;
|
|
515
|
+
static readonly typeName = "livekit.GetSIPInboundTrunkRequest";
|
|
516
|
+
static readonly fields: FieldList;
|
|
517
|
+
|
|
518
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSIPInboundTrunkRequest;
|
|
519
|
+
|
|
520
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSIPInboundTrunkRequest;
|
|
521
|
+
|
|
522
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSIPInboundTrunkRequest;
|
|
523
|
+
|
|
524
|
+
static equals(a: GetSIPInboundTrunkRequest | PlainMessage<GetSIPInboundTrunkRequest> | undefined, b: GetSIPInboundTrunkRequest | PlainMessage<GetSIPInboundTrunkRequest> | undefined): boolean;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* @generated from message livekit.GetSIPInboundTrunkResponse
|
|
529
|
+
*/
|
|
530
|
+
export declare class GetSIPInboundTrunkResponse extends Message<GetSIPInboundTrunkResponse> {
|
|
531
|
+
/**
|
|
532
|
+
* @generated from field: livekit.SIPInboundTrunkInfo trunk = 1;
|
|
533
|
+
*/
|
|
534
|
+
trunk?: SIPInboundTrunkInfo;
|
|
535
|
+
|
|
536
|
+
constructor(data?: PartialMessage<GetSIPInboundTrunkResponse>);
|
|
537
|
+
|
|
538
|
+
static readonly runtime: typeof proto3;
|
|
539
|
+
static readonly typeName = "livekit.GetSIPInboundTrunkResponse";
|
|
540
|
+
static readonly fields: FieldList;
|
|
541
|
+
|
|
542
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSIPInboundTrunkResponse;
|
|
543
|
+
|
|
544
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSIPInboundTrunkResponse;
|
|
545
|
+
|
|
546
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSIPInboundTrunkResponse;
|
|
547
|
+
|
|
548
|
+
static equals(a: GetSIPInboundTrunkResponse | PlainMessage<GetSIPInboundTrunkResponse> | undefined, b: GetSIPInboundTrunkResponse | PlainMessage<GetSIPInboundTrunkResponse> | undefined): boolean;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* @generated from message livekit.GetSIPOutboundTrunkRequest
|
|
553
|
+
*/
|
|
554
|
+
export declare class GetSIPOutboundTrunkRequest extends Message<GetSIPOutboundTrunkRequest> {
|
|
555
|
+
/**
|
|
556
|
+
* @generated from field: string sip_trunk_id = 1;
|
|
557
|
+
*/
|
|
558
|
+
sipTrunkId: string;
|
|
559
|
+
|
|
560
|
+
constructor(data?: PartialMessage<GetSIPOutboundTrunkRequest>);
|
|
561
|
+
|
|
562
|
+
static readonly runtime: typeof proto3;
|
|
563
|
+
static readonly typeName = "livekit.GetSIPOutboundTrunkRequest";
|
|
564
|
+
static readonly fields: FieldList;
|
|
565
|
+
|
|
566
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSIPOutboundTrunkRequest;
|
|
567
|
+
|
|
568
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSIPOutboundTrunkRequest;
|
|
569
|
+
|
|
570
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSIPOutboundTrunkRequest;
|
|
571
|
+
|
|
572
|
+
static equals(a: GetSIPOutboundTrunkRequest | PlainMessage<GetSIPOutboundTrunkRequest> | undefined, b: GetSIPOutboundTrunkRequest | PlainMessage<GetSIPOutboundTrunkRequest> | undefined): boolean;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* @generated from message livekit.GetSIPOutboundTrunkResponse
|
|
577
|
+
*/
|
|
578
|
+
export declare class GetSIPOutboundTrunkResponse extends Message<GetSIPOutboundTrunkResponse> {
|
|
579
|
+
/**
|
|
580
|
+
* @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1;
|
|
581
|
+
*/
|
|
582
|
+
trunk?: SIPOutboundTrunkInfo;
|
|
583
|
+
|
|
584
|
+
constructor(data?: PartialMessage<GetSIPOutboundTrunkResponse>);
|
|
585
|
+
|
|
586
|
+
static readonly runtime: typeof proto3;
|
|
587
|
+
static readonly typeName = "livekit.GetSIPOutboundTrunkResponse";
|
|
588
|
+
static readonly fields: FieldList;
|
|
589
|
+
|
|
590
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSIPOutboundTrunkResponse;
|
|
591
|
+
|
|
592
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSIPOutboundTrunkResponse;
|
|
593
|
+
|
|
594
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSIPOutboundTrunkResponse;
|
|
595
|
+
|
|
596
|
+
static equals(a: GetSIPOutboundTrunkResponse | PlainMessage<GetSIPOutboundTrunkResponse> | undefined, b: GetSIPOutboundTrunkResponse | PlainMessage<GetSIPOutboundTrunkResponse> | undefined): boolean;
|
|
597
|
+
}
|
|
598
|
+
|
|
473
599
|
/**
|
|
474
600
|
* @generated from message livekit.ListSIPTrunkRequest
|
|
475
601
|
* @deprecated
|
|
@@ -1120,3 +1246,37 @@ export declare class SIPParticipantInfo extends Message<SIPParticipantInfo> {
|
|
|
1120
1246
|
static equals(a: SIPParticipantInfo | PlainMessage<SIPParticipantInfo> | undefined, b: SIPParticipantInfo | PlainMessage<SIPParticipantInfo> | undefined): boolean;
|
|
1121
1247
|
}
|
|
1122
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
|
+
|
|
@@ -113,6 +113,8 @@ export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
113
113
|
{ no: 6, name: "allowed_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
114
114
|
{ no: 7, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
115
115
|
{ no: 8, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
116
|
+
{ no: 9, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
117
|
+
{ no: 10, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
116
118
|
],
|
|
117
119
|
);
|
|
118
120
|
|
|
@@ -140,6 +142,48 @@ export const SIPOutboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
140
142
|
{ no: 6, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
141
143
|
{ no: 7, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
142
144
|
{ no: 8, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
145
|
+
{ no: 9, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
146
|
+
{ no: 10, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
147
|
+
],
|
|
148
|
+
);
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @generated from message livekit.GetSIPInboundTrunkRequest
|
|
152
|
+
*/
|
|
153
|
+
export const GetSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
154
|
+
"livekit.GetSIPInboundTrunkRequest",
|
|
155
|
+
() => [
|
|
156
|
+
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
157
|
+
],
|
|
158
|
+
);
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @generated from message livekit.GetSIPInboundTrunkResponse
|
|
162
|
+
*/
|
|
163
|
+
export const GetSIPInboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
164
|
+
"livekit.GetSIPInboundTrunkResponse",
|
|
165
|
+
() => [
|
|
166
|
+
{ no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo },
|
|
167
|
+
],
|
|
168
|
+
);
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @generated from message livekit.GetSIPOutboundTrunkRequest
|
|
172
|
+
*/
|
|
173
|
+
export const GetSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
174
|
+
"livekit.GetSIPOutboundTrunkRequest",
|
|
175
|
+
() => [
|
|
176
|
+
{ no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
177
|
+
],
|
|
178
|
+
);
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* @generated from message livekit.GetSIPOutboundTrunkResponse
|
|
182
|
+
*/
|
|
183
|
+
export const GetSIPOutboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
184
|
+
"livekit.GetSIPOutboundTrunkResponse",
|
|
185
|
+
() => [
|
|
186
|
+
{ no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo },
|
|
143
187
|
],
|
|
144
188
|
);
|
|
145
189
|
|
|
@@ -351,3 +395,15 @@ export const SIPParticipantInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
351
395
|
],
|
|
352
396
|
);
|
|
353
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';
|