@cc-livekit/protocol 1.39.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +7285 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +13646 -0
- package/dist/index.d.mts +13646 -0
- package/dist/index.d.ts +13646 -0
- package/dist/index.mjs +7009 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +42 -0
- package/src/gen/livekit_agent_dispatch_pb.d.ts +253 -0
- package/src/gen/livekit_agent_dispatch_pb.js +103 -0
- package/src/gen/livekit_agent_pb.d.ts +758 -0
- package/src/gen/livekit_agent_pb.js +269 -0
- package/src/gen/livekit_analytics_pb.d.ts +1379 -0
- package/src/gen/livekit_analytics_pb.js +397 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +919 -0
- package/src/gen/livekit_cloud_agent_pb.js +327 -0
- package/src/gen/livekit_egress_pb.d.ts +2151 -0
- package/src/gen/livekit_egress_pb.js +625 -0
- package/src/gen/livekit_ingress_pb.d.ts +864 -0
- package/src/gen/livekit_ingress_pb.js +272 -0
- package/src/gen/livekit_internal_pb.d.ts +786 -0
- package/src/gen/livekit_internal_pb.js +227 -0
- package/src/gen/livekit_metrics_pb.d.ts +376 -0
- package/src/gen/livekit_metrics_pb.js +97 -0
- package/src/gen/livekit_models_pb.d.ts +3083 -0
- package/src/gen/livekit_models_pb.js +998 -0
- package/src/gen/livekit_room_pb.d.ts +899 -0
- package/src/gen/livekit_room_pb.js +300 -0
- package/src/gen/livekit_rtc_pb.d.ts +2134 -0
- package/src/gen/livekit_rtc_pb.js +668 -0
- package/src/gen/livekit_sip_pb.d.ts +2619 -0
- package/src/gen/livekit_sip_pb.js +771 -0
- package/src/gen/livekit_temptalk_pb.d.ts +473 -0
- package/src/gen/livekit_temptalk_pb.js +167 -0
- package/src/gen/livekit_webhook_pb.d.ts +106 -0
- package/src/gen/livekit_webhook_pb.js +42 -0
- package/src/gen/version.d.ts +1 -0
- package/src/gen/version.js +2 -0
- package/src/index.d.ts +12 -0
- package/src/index.js +13 -0
|
@@ -0,0 +1,2151 @@
|
|
|
1
|
+
// Copyright 2023 LiveKit, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
|
+
// @generated from file livekit_egress.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
import type { AudioCodec, ImageCodec, VideoCodec, WebhookConfig } from "./livekit_models_pb.js";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum livekit.EncodedFileType
|
|
26
|
+
*/
|
|
27
|
+
export declare enum EncodedFileType {
|
|
28
|
+
/**
|
|
29
|
+
* file type chosen based on codecs
|
|
30
|
+
*
|
|
31
|
+
* @generated from enum value: DEFAULT_FILETYPE = 0;
|
|
32
|
+
*/
|
|
33
|
+
DEFAULT_FILETYPE = 0,
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @generated from enum value: MP4 = 1;
|
|
37
|
+
*/
|
|
38
|
+
MP4 = 1,
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum value: OGG = 2;
|
|
42
|
+
*/
|
|
43
|
+
OGG = 2,
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @generated from enum livekit.SegmentedFileProtocol
|
|
48
|
+
*/
|
|
49
|
+
export declare enum SegmentedFileProtocol {
|
|
50
|
+
/**
|
|
51
|
+
* @generated from enum value: DEFAULT_SEGMENTED_FILE_PROTOCOL = 0;
|
|
52
|
+
*/
|
|
53
|
+
DEFAULT_SEGMENTED_FILE_PROTOCOL = 0,
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from enum value: HLS_PROTOCOL = 1;
|
|
57
|
+
*/
|
|
58
|
+
HLS_PROTOCOL = 1,
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from enum livekit.SegmentedFileSuffix
|
|
63
|
+
*/
|
|
64
|
+
export declare enum SegmentedFileSuffix {
|
|
65
|
+
/**
|
|
66
|
+
* @generated from enum value: INDEX = 0;
|
|
67
|
+
*/
|
|
68
|
+
INDEX = 0,
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @generated from enum value: TIMESTAMP = 1;
|
|
72
|
+
*/
|
|
73
|
+
TIMESTAMP = 1,
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from enum livekit.ImageFileSuffix
|
|
78
|
+
*/
|
|
79
|
+
export declare enum ImageFileSuffix {
|
|
80
|
+
/**
|
|
81
|
+
* @generated from enum value: IMAGE_SUFFIX_INDEX = 0;
|
|
82
|
+
*/
|
|
83
|
+
IMAGE_SUFFIX_INDEX = 0,
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1;
|
|
87
|
+
*/
|
|
88
|
+
IMAGE_SUFFIX_TIMESTAMP = 1,
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Do not append any suffix and overwrite the existing image with the latest
|
|
92
|
+
*
|
|
93
|
+
* @generated from enum value: IMAGE_SUFFIX_NONE_OVERWRITE = 2;
|
|
94
|
+
*/
|
|
95
|
+
IMAGE_SUFFIX_NONE_OVERWRITE = 2,
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @generated from enum livekit.StreamProtocol
|
|
100
|
+
*/
|
|
101
|
+
export declare enum StreamProtocol {
|
|
102
|
+
/**
|
|
103
|
+
* protocol chosen based on urls
|
|
104
|
+
*
|
|
105
|
+
* @generated from enum value: DEFAULT_PROTOCOL = 0;
|
|
106
|
+
*/
|
|
107
|
+
DEFAULT_PROTOCOL = 0,
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @generated from enum value: RTMP = 1;
|
|
111
|
+
*/
|
|
112
|
+
RTMP = 1,
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @generated from enum value: SRT = 2;
|
|
116
|
+
*/
|
|
117
|
+
SRT = 2,
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @generated from enum livekit.AudioMixing
|
|
122
|
+
*/
|
|
123
|
+
export declare enum AudioMixing {
|
|
124
|
+
/**
|
|
125
|
+
* all users are mixed together
|
|
126
|
+
*
|
|
127
|
+
* @generated from enum value: DEFAULT_MIXING = 0;
|
|
128
|
+
*/
|
|
129
|
+
DEFAULT_MIXING = 0,
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* agent audio in the left channel, all other audio in the right channel
|
|
133
|
+
*
|
|
134
|
+
* @generated from enum value: DUAL_CHANNEL_AGENT = 1;
|
|
135
|
+
*/
|
|
136
|
+
DUAL_CHANNEL_AGENT = 1,
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* each new audio track alternates between left and right channels
|
|
140
|
+
*
|
|
141
|
+
* @generated from enum value: DUAL_CHANNEL_ALTERNATE = 2;
|
|
142
|
+
*/
|
|
143
|
+
DUAL_CHANNEL_ALTERNATE = 2,
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @generated from enum livekit.EncodingOptionsPreset
|
|
148
|
+
*/
|
|
149
|
+
export declare enum EncodingOptionsPreset {
|
|
150
|
+
/**
|
|
151
|
+
* 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS
|
|
152
|
+
*
|
|
153
|
+
* @generated from enum value: H264_720P_30 = 0;
|
|
154
|
+
*/
|
|
155
|
+
H264_720P_30 = 0,
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS
|
|
159
|
+
*
|
|
160
|
+
* @generated from enum value: H264_720P_60 = 1;
|
|
161
|
+
*/
|
|
162
|
+
H264_720P_60 = 1,
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS
|
|
166
|
+
*
|
|
167
|
+
* @generated from enum value: H264_1080P_30 = 2;
|
|
168
|
+
*/
|
|
169
|
+
H264_1080P_30 = 2,
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS
|
|
173
|
+
*
|
|
174
|
+
* @generated from enum value: H264_1080P_60 = 3;
|
|
175
|
+
*/
|
|
176
|
+
H264_1080P_60 = 3,
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS
|
|
180
|
+
*
|
|
181
|
+
* @generated from enum value: PORTRAIT_H264_720P_30 = 4;
|
|
182
|
+
*/
|
|
183
|
+
PORTRAIT_H264_720P_30 = 4,
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS
|
|
187
|
+
*
|
|
188
|
+
* @generated from enum value: PORTRAIT_H264_720P_60 = 5;
|
|
189
|
+
*/
|
|
190
|
+
PORTRAIT_H264_720P_60 = 5,
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS
|
|
194
|
+
*
|
|
195
|
+
* @generated from enum value: PORTRAIT_H264_1080P_30 = 6;
|
|
196
|
+
*/
|
|
197
|
+
PORTRAIT_H264_1080P_30 = 6,
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS
|
|
201
|
+
*
|
|
202
|
+
* @generated from enum value: PORTRAIT_H264_1080P_60 = 7;
|
|
203
|
+
*/
|
|
204
|
+
PORTRAIT_H264_1080P_60 = 7,
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* @generated from enum livekit.EgressStatus
|
|
209
|
+
*/
|
|
210
|
+
export declare enum EgressStatus {
|
|
211
|
+
/**
|
|
212
|
+
* @generated from enum value: EGRESS_STARTING = 0;
|
|
213
|
+
*/
|
|
214
|
+
EGRESS_STARTING = 0,
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* @generated from enum value: EGRESS_ACTIVE = 1;
|
|
218
|
+
*/
|
|
219
|
+
EGRESS_ACTIVE = 1,
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* @generated from enum value: EGRESS_ENDING = 2;
|
|
223
|
+
*/
|
|
224
|
+
EGRESS_ENDING = 2,
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @generated from enum value: EGRESS_COMPLETE = 3;
|
|
228
|
+
*/
|
|
229
|
+
EGRESS_COMPLETE = 3,
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* @generated from enum value: EGRESS_FAILED = 4;
|
|
233
|
+
*/
|
|
234
|
+
EGRESS_FAILED = 4,
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* @generated from enum value: EGRESS_ABORTED = 5;
|
|
238
|
+
*/
|
|
239
|
+
EGRESS_ABORTED = 5,
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* @generated from enum value: EGRESS_LIMIT_REACHED = 6;
|
|
243
|
+
*/
|
|
244
|
+
EGRESS_LIMIT_REACHED = 6,
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @generated from enum livekit.EgressSourceType
|
|
249
|
+
*/
|
|
250
|
+
export declare enum EgressSourceType {
|
|
251
|
+
/**
|
|
252
|
+
* @generated from enum value: EGRESS_SOURCE_TYPE_WEB = 0;
|
|
253
|
+
*/
|
|
254
|
+
WEB = 0,
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* @generated from enum value: EGRESS_SOURCE_TYPE_SDK = 1;
|
|
258
|
+
*/
|
|
259
|
+
SDK = 1,
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* composite using a web browser
|
|
264
|
+
*
|
|
265
|
+
* @generated from message livekit.RoomCompositeEgressRequest
|
|
266
|
+
*/
|
|
267
|
+
export declare class RoomCompositeEgressRequest extends Message<RoomCompositeEgressRequest> {
|
|
268
|
+
/**
|
|
269
|
+
* required
|
|
270
|
+
*
|
|
271
|
+
* @generated from field: string room_name = 1;
|
|
272
|
+
*/
|
|
273
|
+
roomName: string;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* (optional)
|
|
277
|
+
*
|
|
278
|
+
* @generated from field: string layout = 2;
|
|
279
|
+
*/
|
|
280
|
+
layout: string;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* (default false)
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: bool audio_only = 3;
|
|
286
|
+
*/
|
|
287
|
+
audioOnly: boolean;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* only applies to audio_only egress (default DEFAULT_MIXING)
|
|
291
|
+
*
|
|
292
|
+
* @generated from field: livekit.AudioMixing audio_mixing = 15;
|
|
293
|
+
*/
|
|
294
|
+
audioMixing: AudioMixing;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* (default false)
|
|
298
|
+
*
|
|
299
|
+
* @generated from field: bool video_only = 4;
|
|
300
|
+
*/
|
|
301
|
+
videoOnly: boolean;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* template base url (default https://recorder.livekit.io)
|
|
305
|
+
*
|
|
306
|
+
* @generated from field: string custom_base_url = 5;
|
|
307
|
+
*/
|
|
308
|
+
customBaseUrl: string;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* deprecated (use _output fields)
|
|
312
|
+
*
|
|
313
|
+
* @generated from oneof livekit.RoomCompositeEgressRequest.output
|
|
314
|
+
*/
|
|
315
|
+
output: {
|
|
316
|
+
/**
|
|
317
|
+
* @generated from field: livekit.EncodedFileOutput file = 6 [deprecated = true];
|
|
318
|
+
* @deprecated
|
|
319
|
+
*/
|
|
320
|
+
value: EncodedFileOutput;
|
|
321
|
+
case: "file";
|
|
322
|
+
} | {
|
|
323
|
+
/**
|
|
324
|
+
* @generated from field: livekit.StreamOutput stream = 7 [deprecated = true];
|
|
325
|
+
* @deprecated
|
|
326
|
+
*/
|
|
327
|
+
value: StreamOutput;
|
|
328
|
+
case: "stream";
|
|
329
|
+
} | {
|
|
330
|
+
/**
|
|
331
|
+
* @generated from field: livekit.SegmentedFileOutput segments = 10 [deprecated = true];
|
|
332
|
+
* @deprecated
|
|
333
|
+
*/
|
|
334
|
+
value: SegmentedFileOutput;
|
|
335
|
+
case: "segments";
|
|
336
|
+
} | { case: undefined; value?: undefined };
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* @generated from oneof livekit.RoomCompositeEgressRequest.options
|
|
340
|
+
*/
|
|
341
|
+
options: {
|
|
342
|
+
/**
|
|
343
|
+
* (default H264_720P_30)
|
|
344
|
+
*
|
|
345
|
+
* @generated from field: livekit.EncodingOptionsPreset preset = 8;
|
|
346
|
+
*/
|
|
347
|
+
value: EncodingOptionsPreset;
|
|
348
|
+
case: "preset";
|
|
349
|
+
} | {
|
|
350
|
+
/**
|
|
351
|
+
* (optional)
|
|
352
|
+
*
|
|
353
|
+
* @generated from field: livekit.EncodingOptions advanced = 9;
|
|
354
|
+
*/
|
|
355
|
+
value: EncodingOptions;
|
|
356
|
+
case: "advanced";
|
|
357
|
+
} | { case: undefined; value?: undefined };
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;
|
|
361
|
+
*/
|
|
362
|
+
fileOutputs: EncodedFileOutput[];
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* @generated from field: repeated livekit.StreamOutput stream_outputs = 12;
|
|
366
|
+
*/
|
|
367
|
+
streamOutputs: StreamOutput[];
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;
|
|
371
|
+
*/
|
|
372
|
+
segmentOutputs: SegmentedFileOutput[];
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* @generated from field: repeated livekit.ImageOutput image_outputs = 14;
|
|
376
|
+
*/
|
|
377
|
+
imageOutputs: ImageOutput[];
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* extra webhooks to call for this request
|
|
381
|
+
*
|
|
382
|
+
* @generated from field: repeated livekit.WebhookConfig webhooks = 16;
|
|
383
|
+
*/
|
|
384
|
+
webhooks: WebhookConfig[];
|
|
385
|
+
|
|
386
|
+
constructor(data?: PartialMessage<RoomCompositeEgressRequest>);
|
|
387
|
+
|
|
388
|
+
static readonly runtime: typeof proto3;
|
|
389
|
+
static readonly typeName = "livekit.RoomCompositeEgressRequest";
|
|
390
|
+
static readonly fields: FieldList;
|
|
391
|
+
|
|
392
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomCompositeEgressRequest;
|
|
393
|
+
|
|
394
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomCompositeEgressRequest;
|
|
395
|
+
|
|
396
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomCompositeEgressRequest;
|
|
397
|
+
|
|
398
|
+
static equals(a: RoomCompositeEgressRequest | PlainMessage<RoomCompositeEgressRequest> | undefined, b: RoomCompositeEgressRequest | PlainMessage<RoomCompositeEgressRequest> | undefined): boolean;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* record any website
|
|
403
|
+
*
|
|
404
|
+
* @generated from message livekit.WebEgressRequest
|
|
405
|
+
*/
|
|
406
|
+
export declare class WebEgressRequest extends Message<WebEgressRequest> {
|
|
407
|
+
/**
|
|
408
|
+
* @generated from field: string url = 1;
|
|
409
|
+
*/
|
|
410
|
+
url: string;
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* @generated from field: bool audio_only = 2;
|
|
414
|
+
*/
|
|
415
|
+
audioOnly: boolean;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* @generated from field: bool video_only = 3;
|
|
419
|
+
*/
|
|
420
|
+
videoOnly: boolean;
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* @generated from field: bool await_start_signal = 12;
|
|
424
|
+
*/
|
|
425
|
+
awaitStartSignal: boolean;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* deprecated (use _output fields)
|
|
429
|
+
*
|
|
430
|
+
* @generated from oneof livekit.WebEgressRequest.output
|
|
431
|
+
*/
|
|
432
|
+
output: {
|
|
433
|
+
/**
|
|
434
|
+
* @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];
|
|
435
|
+
* @deprecated
|
|
436
|
+
*/
|
|
437
|
+
value: EncodedFileOutput;
|
|
438
|
+
case: "file";
|
|
439
|
+
} | {
|
|
440
|
+
/**
|
|
441
|
+
* @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];
|
|
442
|
+
* @deprecated
|
|
443
|
+
*/
|
|
444
|
+
value: StreamOutput;
|
|
445
|
+
case: "stream";
|
|
446
|
+
} | {
|
|
447
|
+
/**
|
|
448
|
+
* @generated from field: livekit.SegmentedFileOutput segments = 6 [deprecated = true];
|
|
449
|
+
* @deprecated
|
|
450
|
+
*/
|
|
451
|
+
value: SegmentedFileOutput;
|
|
452
|
+
case: "segments";
|
|
453
|
+
} | { case: undefined; value?: undefined };
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* @generated from oneof livekit.WebEgressRequest.options
|
|
457
|
+
*/
|
|
458
|
+
options: {
|
|
459
|
+
/**
|
|
460
|
+
* @generated from field: livekit.EncodingOptionsPreset preset = 7;
|
|
461
|
+
*/
|
|
462
|
+
value: EncodingOptionsPreset;
|
|
463
|
+
case: "preset";
|
|
464
|
+
} | {
|
|
465
|
+
/**
|
|
466
|
+
* @generated from field: livekit.EncodingOptions advanced = 8;
|
|
467
|
+
*/
|
|
468
|
+
value: EncodingOptions;
|
|
469
|
+
case: "advanced";
|
|
470
|
+
} | { case: undefined; value?: undefined };
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9;
|
|
474
|
+
*/
|
|
475
|
+
fileOutputs: EncodedFileOutput[];
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* @generated from field: repeated livekit.StreamOutput stream_outputs = 10;
|
|
479
|
+
*/
|
|
480
|
+
streamOutputs: StreamOutput[];
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11;
|
|
484
|
+
*/
|
|
485
|
+
segmentOutputs: SegmentedFileOutput[];
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* @generated from field: repeated livekit.ImageOutput image_outputs = 13;
|
|
489
|
+
*/
|
|
490
|
+
imageOutputs: ImageOutput[];
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* extra webhooks to call for this request
|
|
494
|
+
*
|
|
495
|
+
* @generated from field: repeated livekit.WebhookConfig webhooks = 14;
|
|
496
|
+
*/
|
|
497
|
+
webhooks: WebhookConfig[];
|
|
498
|
+
|
|
499
|
+
constructor(data?: PartialMessage<WebEgressRequest>);
|
|
500
|
+
|
|
501
|
+
static readonly runtime: typeof proto3;
|
|
502
|
+
static readonly typeName = "livekit.WebEgressRequest";
|
|
503
|
+
static readonly fields: FieldList;
|
|
504
|
+
|
|
505
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebEgressRequest;
|
|
506
|
+
|
|
507
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebEgressRequest;
|
|
508
|
+
|
|
509
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebEgressRequest;
|
|
510
|
+
|
|
511
|
+
static equals(a: WebEgressRequest | PlainMessage<WebEgressRequest> | undefined, b: WebEgressRequest | PlainMessage<WebEgressRequest> | undefined): boolean;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* record audio and video from a single participant
|
|
516
|
+
*
|
|
517
|
+
* @generated from message livekit.ParticipantEgressRequest
|
|
518
|
+
*/
|
|
519
|
+
export declare class ParticipantEgressRequest extends Message<ParticipantEgressRequest> {
|
|
520
|
+
/**
|
|
521
|
+
* required
|
|
522
|
+
*
|
|
523
|
+
* @generated from field: string room_name = 1;
|
|
524
|
+
*/
|
|
525
|
+
roomName: string;
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* required
|
|
529
|
+
*
|
|
530
|
+
* @generated from field: string identity = 2;
|
|
531
|
+
*/
|
|
532
|
+
identity: string;
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* (default false)
|
|
536
|
+
*
|
|
537
|
+
* @generated from field: bool screen_share = 3;
|
|
538
|
+
*/
|
|
539
|
+
screenShare: boolean;
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* @generated from oneof livekit.ParticipantEgressRequest.options
|
|
543
|
+
*/
|
|
544
|
+
options: {
|
|
545
|
+
/**
|
|
546
|
+
* (default H264_720P_30)
|
|
547
|
+
*
|
|
548
|
+
* @generated from field: livekit.EncodingOptionsPreset preset = 4;
|
|
549
|
+
*/
|
|
550
|
+
value: EncodingOptionsPreset;
|
|
551
|
+
case: "preset";
|
|
552
|
+
} | {
|
|
553
|
+
/**
|
|
554
|
+
* (optional)
|
|
555
|
+
*
|
|
556
|
+
* @generated from field: livekit.EncodingOptions advanced = 5;
|
|
557
|
+
*/
|
|
558
|
+
value: EncodingOptions;
|
|
559
|
+
case: "advanced";
|
|
560
|
+
} | { case: undefined; value?: undefined };
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6;
|
|
564
|
+
*/
|
|
565
|
+
fileOutputs: EncodedFileOutput[];
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* @generated from field: repeated livekit.StreamOutput stream_outputs = 7;
|
|
569
|
+
*/
|
|
570
|
+
streamOutputs: StreamOutput[];
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8;
|
|
574
|
+
*/
|
|
575
|
+
segmentOutputs: SegmentedFileOutput[];
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* @generated from field: repeated livekit.ImageOutput image_outputs = 9;
|
|
579
|
+
*/
|
|
580
|
+
imageOutputs: ImageOutput[];
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* extra webhooks to call for this request
|
|
584
|
+
*
|
|
585
|
+
* @generated from field: repeated livekit.WebhookConfig webhooks = 10;
|
|
586
|
+
*/
|
|
587
|
+
webhooks: WebhookConfig[];
|
|
588
|
+
|
|
589
|
+
constructor(data?: PartialMessage<ParticipantEgressRequest>);
|
|
590
|
+
|
|
591
|
+
static readonly runtime: typeof proto3;
|
|
592
|
+
static readonly typeName = "livekit.ParticipantEgressRequest";
|
|
593
|
+
static readonly fields: FieldList;
|
|
594
|
+
|
|
595
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantEgressRequest;
|
|
596
|
+
|
|
597
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantEgressRequest;
|
|
598
|
+
|
|
599
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantEgressRequest;
|
|
600
|
+
|
|
601
|
+
static equals(a: ParticipantEgressRequest | PlainMessage<ParticipantEgressRequest> | undefined, b: ParticipantEgressRequest | PlainMessage<ParticipantEgressRequest> | undefined): boolean;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* containerize up to one audio and one video track
|
|
606
|
+
*
|
|
607
|
+
* @generated from message livekit.TrackCompositeEgressRequest
|
|
608
|
+
*/
|
|
609
|
+
export declare class TrackCompositeEgressRequest extends Message<TrackCompositeEgressRequest> {
|
|
610
|
+
/**
|
|
611
|
+
* required
|
|
612
|
+
*
|
|
613
|
+
* @generated from field: string room_name = 1;
|
|
614
|
+
*/
|
|
615
|
+
roomName: string;
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* (optional)
|
|
619
|
+
*
|
|
620
|
+
* @generated from field: string audio_track_id = 2;
|
|
621
|
+
*/
|
|
622
|
+
audioTrackId: string;
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* (optional)
|
|
626
|
+
*
|
|
627
|
+
* @generated from field: string video_track_id = 3;
|
|
628
|
+
*/
|
|
629
|
+
videoTrackId: string;
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* deprecated (use _output fields)
|
|
633
|
+
*
|
|
634
|
+
* @generated from oneof livekit.TrackCompositeEgressRequest.output
|
|
635
|
+
*/
|
|
636
|
+
output: {
|
|
637
|
+
/**
|
|
638
|
+
* @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];
|
|
639
|
+
* @deprecated
|
|
640
|
+
*/
|
|
641
|
+
value: EncodedFileOutput;
|
|
642
|
+
case: "file";
|
|
643
|
+
} | {
|
|
644
|
+
/**
|
|
645
|
+
* @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];
|
|
646
|
+
* @deprecated
|
|
647
|
+
*/
|
|
648
|
+
value: StreamOutput;
|
|
649
|
+
case: "stream";
|
|
650
|
+
} | {
|
|
651
|
+
/**
|
|
652
|
+
* @generated from field: livekit.SegmentedFileOutput segments = 8 [deprecated = true];
|
|
653
|
+
* @deprecated
|
|
654
|
+
*/
|
|
655
|
+
value: SegmentedFileOutput;
|
|
656
|
+
case: "segments";
|
|
657
|
+
} | { case: undefined; value?: undefined };
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* @generated from oneof livekit.TrackCompositeEgressRequest.options
|
|
661
|
+
*/
|
|
662
|
+
options: {
|
|
663
|
+
/**
|
|
664
|
+
* (default H264_720P_30)
|
|
665
|
+
*
|
|
666
|
+
* @generated from field: livekit.EncodingOptionsPreset preset = 6;
|
|
667
|
+
*/
|
|
668
|
+
value: EncodingOptionsPreset;
|
|
669
|
+
case: "preset";
|
|
670
|
+
} | {
|
|
671
|
+
/**
|
|
672
|
+
* (optional)
|
|
673
|
+
*
|
|
674
|
+
* @generated from field: livekit.EncodingOptions advanced = 7;
|
|
675
|
+
*/
|
|
676
|
+
value: EncodingOptions;
|
|
677
|
+
case: "advanced";
|
|
678
|
+
} | { case: undefined; value?: undefined };
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;
|
|
682
|
+
*/
|
|
683
|
+
fileOutputs: EncodedFileOutput[];
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* @generated from field: repeated livekit.StreamOutput stream_outputs = 12;
|
|
687
|
+
*/
|
|
688
|
+
streamOutputs: StreamOutput[];
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;
|
|
692
|
+
*/
|
|
693
|
+
segmentOutputs: SegmentedFileOutput[];
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* @generated from field: repeated livekit.ImageOutput image_outputs = 14;
|
|
697
|
+
*/
|
|
698
|
+
imageOutputs: ImageOutput[];
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* extra webhooks to call for this request
|
|
702
|
+
*
|
|
703
|
+
* @generated from field: repeated livekit.WebhookConfig webhooks = 15;
|
|
704
|
+
*/
|
|
705
|
+
webhooks: WebhookConfig[];
|
|
706
|
+
|
|
707
|
+
constructor(data?: PartialMessage<TrackCompositeEgressRequest>);
|
|
708
|
+
|
|
709
|
+
static readonly runtime: typeof proto3;
|
|
710
|
+
static readonly typeName = "livekit.TrackCompositeEgressRequest";
|
|
711
|
+
static readonly fields: FieldList;
|
|
712
|
+
|
|
713
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackCompositeEgressRequest;
|
|
714
|
+
|
|
715
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackCompositeEgressRequest;
|
|
716
|
+
|
|
717
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackCompositeEgressRequest;
|
|
718
|
+
|
|
719
|
+
static equals(a: TrackCompositeEgressRequest | PlainMessage<TrackCompositeEgressRequest> | undefined, b: TrackCompositeEgressRequest | PlainMessage<TrackCompositeEgressRequest> | undefined): boolean;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* record tracks individually, without transcoding
|
|
724
|
+
*
|
|
725
|
+
* @generated from message livekit.TrackEgressRequest
|
|
726
|
+
*/
|
|
727
|
+
export declare class TrackEgressRequest extends Message<TrackEgressRequest> {
|
|
728
|
+
/**
|
|
729
|
+
* required
|
|
730
|
+
*
|
|
731
|
+
* @generated from field: string room_name = 1;
|
|
732
|
+
*/
|
|
733
|
+
roomName: string;
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* required
|
|
737
|
+
*
|
|
738
|
+
* @generated from field: string track_id = 2;
|
|
739
|
+
*/
|
|
740
|
+
trackId: string;
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* required
|
|
744
|
+
*
|
|
745
|
+
* @generated from oneof livekit.TrackEgressRequest.output
|
|
746
|
+
*/
|
|
747
|
+
output: {
|
|
748
|
+
/**
|
|
749
|
+
* @generated from field: livekit.DirectFileOutput file = 3;
|
|
750
|
+
*/
|
|
751
|
+
value: DirectFileOutput;
|
|
752
|
+
case: "file";
|
|
753
|
+
} | {
|
|
754
|
+
/**
|
|
755
|
+
* @generated from field: string websocket_url = 4;
|
|
756
|
+
*/
|
|
757
|
+
value: string;
|
|
758
|
+
case: "websocketUrl";
|
|
759
|
+
} | { case: undefined; value?: undefined };
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* extra webhooks to call for this request
|
|
763
|
+
*
|
|
764
|
+
* @generated from field: repeated livekit.WebhookConfig webhooks = 5;
|
|
765
|
+
*/
|
|
766
|
+
webhooks: WebhookConfig[];
|
|
767
|
+
|
|
768
|
+
constructor(data?: PartialMessage<TrackEgressRequest>);
|
|
769
|
+
|
|
770
|
+
static readonly runtime: typeof proto3;
|
|
771
|
+
static readonly typeName = "livekit.TrackEgressRequest";
|
|
772
|
+
static readonly fields: FieldList;
|
|
773
|
+
|
|
774
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackEgressRequest;
|
|
775
|
+
|
|
776
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackEgressRequest;
|
|
777
|
+
|
|
778
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackEgressRequest;
|
|
779
|
+
|
|
780
|
+
static equals(a: TrackEgressRequest | PlainMessage<TrackEgressRequest> | undefined, b: TrackEgressRequest | PlainMessage<TrackEgressRequest> | undefined): boolean;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* @generated from message livekit.EncodedFileOutput
|
|
785
|
+
*/
|
|
786
|
+
export declare class EncodedFileOutput extends Message<EncodedFileOutput> {
|
|
787
|
+
/**
|
|
788
|
+
* (optional)
|
|
789
|
+
*
|
|
790
|
+
* @generated from field: livekit.EncodedFileType file_type = 1;
|
|
791
|
+
*/
|
|
792
|
+
fileType: EncodedFileType;
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* see egress docs for templating (default {room_name}-{time})
|
|
796
|
+
*
|
|
797
|
+
* @generated from field: string filepath = 2;
|
|
798
|
+
*/
|
|
799
|
+
filepath: string;
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* disable upload of manifest file (default false)
|
|
803
|
+
*
|
|
804
|
+
* @generated from field: bool disable_manifest = 6;
|
|
805
|
+
*/
|
|
806
|
+
disableManifest: boolean;
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* @generated from oneof livekit.EncodedFileOutput.output
|
|
810
|
+
*/
|
|
811
|
+
output: {
|
|
812
|
+
/**
|
|
813
|
+
* @generated from field: livekit.S3Upload s3 = 3;
|
|
814
|
+
*/
|
|
815
|
+
value: S3Upload;
|
|
816
|
+
case: "s3";
|
|
817
|
+
} | {
|
|
818
|
+
/**
|
|
819
|
+
* @generated from field: livekit.GCPUpload gcp = 4;
|
|
820
|
+
*/
|
|
821
|
+
value: GCPUpload;
|
|
822
|
+
case: "gcp";
|
|
823
|
+
} | {
|
|
824
|
+
/**
|
|
825
|
+
* @generated from field: livekit.AzureBlobUpload azure = 5;
|
|
826
|
+
*/
|
|
827
|
+
value: AzureBlobUpload;
|
|
828
|
+
case: "azure";
|
|
829
|
+
} | {
|
|
830
|
+
/**
|
|
831
|
+
* @generated from field: livekit.AliOSSUpload aliOSS = 7;
|
|
832
|
+
*/
|
|
833
|
+
value: AliOSSUpload;
|
|
834
|
+
case: "aliOSS";
|
|
835
|
+
} | { case: undefined; value?: undefined };
|
|
836
|
+
|
|
837
|
+
constructor(data?: PartialMessage<EncodedFileOutput>);
|
|
838
|
+
|
|
839
|
+
static readonly runtime: typeof proto3;
|
|
840
|
+
static readonly typeName = "livekit.EncodedFileOutput";
|
|
841
|
+
static readonly fields: FieldList;
|
|
842
|
+
|
|
843
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncodedFileOutput;
|
|
844
|
+
|
|
845
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncodedFileOutput;
|
|
846
|
+
|
|
847
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncodedFileOutput;
|
|
848
|
+
|
|
849
|
+
static equals(a: EncodedFileOutput | PlainMessage<EncodedFileOutput> | undefined, b: EncodedFileOutput | PlainMessage<EncodedFileOutput> | undefined): boolean;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Used to generate HLS segments or other kind of segmented output
|
|
854
|
+
*
|
|
855
|
+
* @generated from message livekit.SegmentedFileOutput
|
|
856
|
+
*/
|
|
857
|
+
export declare class SegmentedFileOutput extends Message<SegmentedFileOutput> {
|
|
858
|
+
/**
|
|
859
|
+
* (optional)
|
|
860
|
+
*
|
|
861
|
+
* @generated from field: livekit.SegmentedFileProtocol protocol = 1;
|
|
862
|
+
*/
|
|
863
|
+
protocol: SegmentedFileProtocol;
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* (optional)
|
|
867
|
+
*
|
|
868
|
+
* @generated from field: string filename_prefix = 2;
|
|
869
|
+
*/
|
|
870
|
+
filenamePrefix: string;
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* (optional)
|
|
874
|
+
*
|
|
875
|
+
* @generated from field: string playlist_name = 3;
|
|
876
|
+
*/
|
|
877
|
+
playlistName: string;
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* (optional, disabled if not provided). Path of a live playlist
|
|
881
|
+
*
|
|
882
|
+
* @generated from field: string live_playlist_name = 11;
|
|
883
|
+
*/
|
|
884
|
+
livePlaylistName: string;
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* in seconds (optional)
|
|
888
|
+
*
|
|
889
|
+
* @generated from field: uint32 segment_duration = 4;
|
|
890
|
+
*/
|
|
891
|
+
segmentDuration: number;
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* (optional, default INDEX)
|
|
895
|
+
*
|
|
896
|
+
* @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10;
|
|
897
|
+
*/
|
|
898
|
+
filenameSuffix: SegmentedFileSuffix;
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* disable upload of manifest file (default false)
|
|
902
|
+
*
|
|
903
|
+
* @generated from field: bool disable_manifest = 8;
|
|
904
|
+
*/
|
|
905
|
+
disableManifest: boolean;
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* required
|
|
909
|
+
*
|
|
910
|
+
* @generated from oneof livekit.SegmentedFileOutput.output
|
|
911
|
+
*/
|
|
912
|
+
output: {
|
|
913
|
+
/**
|
|
914
|
+
* @generated from field: livekit.S3Upload s3 = 5;
|
|
915
|
+
*/
|
|
916
|
+
value: S3Upload;
|
|
917
|
+
case: "s3";
|
|
918
|
+
} | {
|
|
919
|
+
/**
|
|
920
|
+
* @generated from field: livekit.GCPUpload gcp = 6;
|
|
921
|
+
*/
|
|
922
|
+
value: GCPUpload;
|
|
923
|
+
case: "gcp";
|
|
924
|
+
} | {
|
|
925
|
+
/**
|
|
926
|
+
* @generated from field: livekit.AzureBlobUpload azure = 7;
|
|
927
|
+
*/
|
|
928
|
+
value: AzureBlobUpload;
|
|
929
|
+
case: "azure";
|
|
930
|
+
} | {
|
|
931
|
+
/**
|
|
932
|
+
* @generated from field: livekit.AliOSSUpload aliOSS = 9;
|
|
933
|
+
*/
|
|
934
|
+
value: AliOSSUpload;
|
|
935
|
+
case: "aliOSS";
|
|
936
|
+
} | { case: undefined; value?: undefined };
|
|
937
|
+
|
|
938
|
+
constructor(data?: PartialMessage<SegmentedFileOutput>);
|
|
939
|
+
|
|
940
|
+
static readonly runtime: typeof proto3;
|
|
941
|
+
static readonly typeName = "livekit.SegmentedFileOutput";
|
|
942
|
+
static readonly fields: FieldList;
|
|
943
|
+
|
|
944
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SegmentedFileOutput;
|
|
945
|
+
|
|
946
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SegmentedFileOutput;
|
|
947
|
+
|
|
948
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SegmentedFileOutput;
|
|
949
|
+
|
|
950
|
+
static equals(a: SegmentedFileOutput | PlainMessage<SegmentedFileOutput> | undefined, b: SegmentedFileOutput | PlainMessage<SegmentedFileOutput> | undefined): boolean;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* @generated from message livekit.DirectFileOutput
|
|
955
|
+
*/
|
|
956
|
+
export declare class DirectFileOutput extends Message<DirectFileOutput> {
|
|
957
|
+
/**
|
|
958
|
+
* see egress docs for templating (default {track_id}-{time})
|
|
959
|
+
*
|
|
960
|
+
* @generated from field: string filepath = 1;
|
|
961
|
+
*/
|
|
962
|
+
filepath: string;
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* disable upload of manifest file (default false)
|
|
966
|
+
*
|
|
967
|
+
* @generated from field: bool disable_manifest = 5;
|
|
968
|
+
*/
|
|
969
|
+
disableManifest: boolean;
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* @generated from oneof livekit.DirectFileOutput.output
|
|
973
|
+
*/
|
|
974
|
+
output: {
|
|
975
|
+
/**
|
|
976
|
+
* @generated from field: livekit.S3Upload s3 = 2;
|
|
977
|
+
*/
|
|
978
|
+
value: S3Upload;
|
|
979
|
+
case: "s3";
|
|
980
|
+
} | {
|
|
981
|
+
/**
|
|
982
|
+
* @generated from field: livekit.GCPUpload gcp = 3;
|
|
983
|
+
*/
|
|
984
|
+
value: GCPUpload;
|
|
985
|
+
case: "gcp";
|
|
986
|
+
} | {
|
|
987
|
+
/**
|
|
988
|
+
* @generated from field: livekit.AzureBlobUpload azure = 4;
|
|
989
|
+
*/
|
|
990
|
+
value: AzureBlobUpload;
|
|
991
|
+
case: "azure";
|
|
992
|
+
} | {
|
|
993
|
+
/**
|
|
994
|
+
* @generated from field: livekit.AliOSSUpload aliOSS = 6;
|
|
995
|
+
*/
|
|
996
|
+
value: AliOSSUpload;
|
|
997
|
+
case: "aliOSS";
|
|
998
|
+
} | { case: undefined; value?: undefined };
|
|
999
|
+
|
|
1000
|
+
constructor(data?: PartialMessage<DirectFileOutput>);
|
|
1001
|
+
|
|
1002
|
+
static readonly runtime: typeof proto3;
|
|
1003
|
+
static readonly typeName = "livekit.DirectFileOutput";
|
|
1004
|
+
static readonly fields: FieldList;
|
|
1005
|
+
|
|
1006
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DirectFileOutput;
|
|
1007
|
+
|
|
1008
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DirectFileOutput;
|
|
1009
|
+
|
|
1010
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DirectFileOutput;
|
|
1011
|
+
|
|
1012
|
+
static equals(a: DirectFileOutput | PlainMessage<DirectFileOutput> | undefined, b: DirectFileOutput | PlainMessage<DirectFileOutput> | undefined): boolean;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* @generated from message livekit.ImageOutput
|
|
1017
|
+
*/
|
|
1018
|
+
export declare class ImageOutput extends Message<ImageOutput> {
|
|
1019
|
+
/**
|
|
1020
|
+
* in seconds (required)
|
|
1021
|
+
*
|
|
1022
|
+
* @generated from field: uint32 capture_interval = 1;
|
|
1023
|
+
*/
|
|
1024
|
+
captureInterval: number;
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* (optional, defaults to track width)
|
|
1028
|
+
*
|
|
1029
|
+
* @generated from field: int32 width = 2;
|
|
1030
|
+
*/
|
|
1031
|
+
width: number;
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* (optional, defaults to track height)
|
|
1035
|
+
*
|
|
1036
|
+
* @generated from field: int32 height = 3;
|
|
1037
|
+
*/
|
|
1038
|
+
height: number;
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* (optional)
|
|
1042
|
+
*
|
|
1043
|
+
* @generated from field: string filename_prefix = 4;
|
|
1044
|
+
*/
|
|
1045
|
+
filenamePrefix: string;
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* (optional, default INDEX)
|
|
1049
|
+
*
|
|
1050
|
+
* @generated from field: livekit.ImageFileSuffix filename_suffix = 5;
|
|
1051
|
+
*/
|
|
1052
|
+
filenameSuffix: ImageFileSuffix;
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* (optional)
|
|
1056
|
+
*
|
|
1057
|
+
* @generated from field: livekit.ImageCodec image_codec = 6;
|
|
1058
|
+
*/
|
|
1059
|
+
imageCodec: ImageCodec;
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* disable upload of manifest file (default false)
|
|
1063
|
+
*
|
|
1064
|
+
* @generated from field: bool disable_manifest = 7;
|
|
1065
|
+
*/
|
|
1066
|
+
disableManifest: boolean;
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
1069
|
+
* required
|
|
1070
|
+
*
|
|
1071
|
+
* @generated from oneof livekit.ImageOutput.output
|
|
1072
|
+
*/
|
|
1073
|
+
output: {
|
|
1074
|
+
/**
|
|
1075
|
+
* @generated from field: livekit.S3Upload s3 = 8;
|
|
1076
|
+
*/
|
|
1077
|
+
value: S3Upload;
|
|
1078
|
+
case: "s3";
|
|
1079
|
+
} | {
|
|
1080
|
+
/**
|
|
1081
|
+
* @generated from field: livekit.GCPUpload gcp = 9;
|
|
1082
|
+
*/
|
|
1083
|
+
value: GCPUpload;
|
|
1084
|
+
case: "gcp";
|
|
1085
|
+
} | {
|
|
1086
|
+
/**
|
|
1087
|
+
* @generated from field: livekit.AzureBlobUpload azure = 10;
|
|
1088
|
+
*/
|
|
1089
|
+
value: AzureBlobUpload;
|
|
1090
|
+
case: "azure";
|
|
1091
|
+
} | {
|
|
1092
|
+
/**
|
|
1093
|
+
* @generated from field: livekit.AliOSSUpload aliOSS = 11;
|
|
1094
|
+
*/
|
|
1095
|
+
value: AliOSSUpload;
|
|
1096
|
+
case: "aliOSS";
|
|
1097
|
+
} | { case: undefined; value?: undefined };
|
|
1098
|
+
|
|
1099
|
+
constructor(data?: PartialMessage<ImageOutput>);
|
|
1100
|
+
|
|
1101
|
+
static readonly runtime: typeof proto3;
|
|
1102
|
+
static readonly typeName = "livekit.ImageOutput";
|
|
1103
|
+
static readonly fields: FieldList;
|
|
1104
|
+
|
|
1105
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ImageOutput;
|
|
1106
|
+
|
|
1107
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ImageOutput;
|
|
1108
|
+
|
|
1109
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ImageOutput;
|
|
1110
|
+
|
|
1111
|
+
static equals(a: ImageOutput | PlainMessage<ImageOutput> | undefined, b: ImageOutput | PlainMessage<ImageOutput> | undefined): boolean;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* @generated from message livekit.S3Upload
|
|
1116
|
+
*/
|
|
1117
|
+
export declare class S3Upload extends Message<S3Upload> {
|
|
1118
|
+
/**
|
|
1119
|
+
* @generated from field: string access_key = 1;
|
|
1120
|
+
*/
|
|
1121
|
+
accessKey: string;
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
* @generated from field: string secret = 2;
|
|
1125
|
+
*/
|
|
1126
|
+
secret: string;
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* @generated from field: string session_token = 11;
|
|
1130
|
+
*/
|
|
1131
|
+
sessionToken: string;
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* @generated from field: string region = 3;
|
|
1135
|
+
*/
|
|
1136
|
+
region: string;
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* @generated from field: string endpoint = 4;
|
|
1140
|
+
*/
|
|
1141
|
+
endpoint: string;
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* @generated from field: string bucket = 5;
|
|
1145
|
+
*/
|
|
1146
|
+
bucket: string;
|
|
1147
|
+
|
|
1148
|
+
/**
|
|
1149
|
+
* @generated from field: bool force_path_style = 6;
|
|
1150
|
+
*/
|
|
1151
|
+
forcePathStyle: boolean;
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* @generated from field: map<string, string> metadata = 7;
|
|
1155
|
+
*/
|
|
1156
|
+
metadata: { [key: string]: string };
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* @generated from field: string tagging = 8;
|
|
1160
|
+
*/
|
|
1161
|
+
tagging: string;
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* Content-Disposition header
|
|
1165
|
+
*
|
|
1166
|
+
* @generated from field: string content_disposition = 9;
|
|
1167
|
+
*/
|
|
1168
|
+
contentDisposition: string;
|
|
1169
|
+
|
|
1170
|
+
/**
|
|
1171
|
+
* @generated from field: livekit.ProxyConfig proxy = 10;
|
|
1172
|
+
*/
|
|
1173
|
+
proxy?: ProxyConfig;
|
|
1174
|
+
|
|
1175
|
+
constructor(data?: PartialMessage<S3Upload>);
|
|
1176
|
+
|
|
1177
|
+
static readonly runtime: typeof proto3;
|
|
1178
|
+
static readonly typeName = "livekit.S3Upload";
|
|
1179
|
+
static readonly fields: FieldList;
|
|
1180
|
+
|
|
1181
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): S3Upload;
|
|
1182
|
+
|
|
1183
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): S3Upload;
|
|
1184
|
+
|
|
1185
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): S3Upload;
|
|
1186
|
+
|
|
1187
|
+
static equals(a: S3Upload | PlainMessage<S3Upload> | undefined, b: S3Upload | PlainMessage<S3Upload> | undefined): boolean;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* @generated from message livekit.GCPUpload
|
|
1192
|
+
*/
|
|
1193
|
+
export declare class GCPUpload extends Message<GCPUpload> {
|
|
1194
|
+
/**
|
|
1195
|
+
* service account credentials serialized in JSON "credentials.json"
|
|
1196
|
+
*
|
|
1197
|
+
* @generated from field: string credentials = 1;
|
|
1198
|
+
*/
|
|
1199
|
+
credentials: string;
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* @generated from field: string bucket = 2;
|
|
1203
|
+
*/
|
|
1204
|
+
bucket: string;
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* @generated from field: livekit.ProxyConfig proxy = 3;
|
|
1208
|
+
*/
|
|
1209
|
+
proxy?: ProxyConfig;
|
|
1210
|
+
|
|
1211
|
+
constructor(data?: PartialMessage<GCPUpload>);
|
|
1212
|
+
|
|
1213
|
+
static readonly runtime: typeof proto3;
|
|
1214
|
+
static readonly typeName = "livekit.GCPUpload";
|
|
1215
|
+
static readonly fields: FieldList;
|
|
1216
|
+
|
|
1217
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GCPUpload;
|
|
1218
|
+
|
|
1219
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GCPUpload;
|
|
1220
|
+
|
|
1221
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GCPUpload;
|
|
1222
|
+
|
|
1223
|
+
static equals(a: GCPUpload | PlainMessage<GCPUpload> | undefined, b: GCPUpload | PlainMessage<GCPUpload> | undefined): boolean;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* @generated from message livekit.AzureBlobUpload
|
|
1228
|
+
*/
|
|
1229
|
+
export declare class AzureBlobUpload extends Message<AzureBlobUpload> {
|
|
1230
|
+
/**
|
|
1231
|
+
* @generated from field: string account_name = 1;
|
|
1232
|
+
*/
|
|
1233
|
+
accountName: string;
|
|
1234
|
+
|
|
1235
|
+
/**
|
|
1236
|
+
* @generated from field: string account_key = 2;
|
|
1237
|
+
*/
|
|
1238
|
+
accountKey: string;
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* @generated from field: string container_name = 3;
|
|
1242
|
+
*/
|
|
1243
|
+
containerName: string;
|
|
1244
|
+
|
|
1245
|
+
constructor(data?: PartialMessage<AzureBlobUpload>);
|
|
1246
|
+
|
|
1247
|
+
static readonly runtime: typeof proto3;
|
|
1248
|
+
static readonly typeName = "livekit.AzureBlobUpload";
|
|
1249
|
+
static readonly fields: FieldList;
|
|
1250
|
+
|
|
1251
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AzureBlobUpload;
|
|
1252
|
+
|
|
1253
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AzureBlobUpload;
|
|
1254
|
+
|
|
1255
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AzureBlobUpload;
|
|
1256
|
+
|
|
1257
|
+
static equals(a: AzureBlobUpload | PlainMessage<AzureBlobUpload> | undefined, b: AzureBlobUpload | PlainMessage<AzureBlobUpload> | undefined): boolean;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* @generated from message livekit.AliOSSUpload
|
|
1262
|
+
*/
|
|
1263
|
+
export declare class AliOSSUpload extends Message<AliOSSUpload> {
|
|
1264
|
+
/**
|
|
1265
|
+
* @generated from field: string access_key = 1;
|
|
1266
|
+
*/
|
|
1267
|
+
accessKey: string;
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* @generated from field: string secret = 2;
|
|
1271
|
+
*/
|
|
1272
|
+
secret: string;
|
|
1273
|
+
|
|
1274
|
+
/**
|
|
1275
|
+
* @generated from field: string region = 3;
|
|
1276
|
+
*/
|
|
1277
|
+
region: string;
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* @generated from field: string endpoint = 4;
|
|
1281
|
+
*/
|
|
1282
|
+
endpoint: string;
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* @generated from field: string bucket = 5;
|
|
1286
|
+
*/
|
|
1287
|
+
bucket: string;
|
|
1288
|
+
|
|
1289
|
+
constructor(data?: PartialMessage<AliOSSUpload>);
|
|
1290
|
+
|
|
1291
|
+
static readonly runtime: typeof proto3;
|
|
1292
|
+
static readonly typeName = "livekit.AliOSSUpload";
|
|
1293
|
+
static readonly fields: FieldList;
|
|
1294
|
+
|
|
1295
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AliOSSUpload;
|
|
1296
|
+
|
|
1297
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AliOSSUpload;
|
|
1298
|
+
|
|
1299
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AliOSSUpload;
|
|
1300
|
+
|
|
1301
|
+
static equals(a: AliOSSUpload | PlainMessage<AliOSSUpload> | undefined, b: AliOSSUpload | PlainMessage<AliOSSUpload> | undefined): boolean;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* @generated from message livekit.ProxyConfig
|
|
1306
|
+
*/
|
|
1307
|
+
export declare class ProxyConfig extends Message<ProxyConfig> {
|
|
1308
|
+
/**
|
|
1309
|
+
* @generated from field: string url = 1;
|
|
1310
|
+
*/
|
|
1311
|
+
url: string;
|
|
1312
|
+
|
|
1313
|
+
/**
|
|
1314
|
+
* @generated from field: string username = 2;
|
|
1315
|
+
*/
|
|
1316
|
+
username: string;
|
|
1317
|
+
|
|
1318
|
+
/**
|
|
1319
|
+
* @generated from field: string password = 3;
|
|
1320
|
+
*/
|
|
1321
|
+
password: string;
|
|
1322
|
+
|
|
1323
|
+
constructor(data?: PartialMessage<ProxyConfig>);
|
|
1324
|
+
|
|
1325
|
+
static readonly runtime: typeof proto3;
|
|
1326
|
+
static readonly typeName = "livekit.ProxyConfig";
|
|
1327
|
+
static readonly fields: FieldList;
|
|
1328
|
+
|
|
1329
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProxyConfig;
|
|
1330
|
+
|
|
1331
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProxyConfig;
|
|
1332
|
+
|
|
1333
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProxyConfig;
|
|
1334
|
+
|
|
1335
|
+
static equals(a: ProxyConfig | PlainMessage<ProxyConfig> | undefined, b: ProxyConfig | PlainMessage<ProxyConfig> | undefined): boolean;
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
/**
|
|
1339
|
+
* @generated from message livekit.StreamOutput
|
|
1340
|
+
*/
|
|
1341
|
+
export declare class StreamOutput extends Message<StreamOutput> {
|
|
1342
|
+
/**
|
|
1343
|
+
* required
|
|
1344
|
+
*
|
|
1345
|
+
* @generated from field: livekit.StreamProtocol protocol = 1;
|
|
1346
|
+
*/
|
|
1347
|
+
protocol: StreamProtocol;
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* required
|
|
1351
|
+
*
|
|
1352
|
+
* @generated from field: repeated string urls = 2;
|
|
1353
|
+
*/
|
|
1354
|
+
urls: string[];
|
|
1355
|
+
|
|
1356
|
+
constructor(data?: PartialMessage<StreamOutput>);
|
|
1357
|
+
|
|
1358
|
+
static readonly runtime: typeof proto3;
|
|
1359
|
+
static readonly typeName = "livekit.StreamOutput";
|
|
1360
|
+
static readonly fields: FieldList;
|
|
1361
|
+
|
|
1362
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamOutput;
|
|
1363
|
+
|
|
1364
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamOutput;
|
|
1365
|
+
|
|
1366
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamOutput;
|
|
1367
|
+
|
|
1368
|
+
static equals(a: StreamOutput | PlainMessage<StreamOutput> | undefined, b: StreamOutput | PlainMessage<StreamOutput> | undefined): boolean;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
/**
|
|
1372
|
+
* @generated from message livekit.EncodingOptions
|
|
1373
|
+
*/
|
|
1374
|
+
export declare class EncodingOptions extends Message<EncodingOptions> {
|
|
1375
|
+
/**
|
|
1376
|
+
* (default 1920)
|
|
1377
|
+
*
|
|
1378
|
+
* @generated from field: int32 width = 1;
|
|
1379
|
+
*/
|
|
1380
|
+
width: number;
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* (default 1080)
|
|
1384
|
+
*
|
|
1385
|
+
* @generated from field: int32 height = 2;
|
|
1386
|
+
*/
|
|
1387
|
+
height: number;
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* (default 24)
|
|
1391
|
+
*
|
|
1392
|
+
* @generated from field: int32 depth = 3;
|
|
1393
|
+
*/
|
|
1394
|
+
depth: number;
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* (default 30)
|
|
1398
|
+
*
|
|
1399
|
+
* @generated from field: int32 framerate = 4;
|
|
1400
|
+
*/
|
|
1401
|
+
framerate: number;
|
|
1402
|
+
|
|
1403
|
+
/**
|
|
1404
|
+
* (default OPUS)
|
|
1405
|
+
*
|
|
1406
|
+
* @generated from field: livekit.AudioCodec audio_codec = 5;
|
|
1407
|
+
*/
|
|
1408
|
+
audioCodec: AudioCodec;
|
|
1409
|
+
|
|
1410
|
+
/**
|
|
1411
|
+
* (default 128)
|
|
1412
|
+
*
|
|
1413
|
+
* @generated from field: int32 audio_bitrate = 6;
|
|
1414
|
+
*/
|
|
1415
|
+
audioBitrate: number;
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* quality setting on audio encoder
|
|
1419
|
+
*
|
|
1420
|
+
* @generated from field: int32 audio_quality = 11;
|
|
1421
|
+
*/
|
|
1422
|
+
audioQuality: number;
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* (default 44100)
|
|
1426
|
+
*
|
|
1427
|
+
* @generated from field: int32 audio_frequency = 7;
|
|
1428
|
+
*/
|
|
1429
|
+
audioFrequency: number;
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* (default H264_MAIN)
|
|
1433
|
+
*
|
|
1434
|
+
* @generated from field: livekit.VideoCodec video_codec = 8;
|
|
1435
|
+
*/
|
|
1436
|
+
videoCodec: VideoCodec;
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* (default 4500)
|
|
1440
|
+
*
|
|
1441
|
+
* @generated from field: int32 video_bitrate = 9;
|
|
1442
|
+
*/
|
|
1443
|
+
videoBitrate: number;
|
|
1444
|
+
|
|
1445
|
+
/**
|
|
1446
|
+
* quality setting on video encoder
|
|
1447
|
+
*
|
|
1448
|
+
* @generated from field: int32 video_quality = 12;
|
|
1449
|
+
*/
|
|
1450
|
+
videoQuality: number;
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
|
|
1454
|
+
*
|
|
1455
|
+
* @generated from field: double key_frame_interval = 10;
|
|
1456
|
+
*/
|
|
1457
|
+
keyFrameInterval: number;
|
|
1458
|
+
|
|
1459
|
+
constructor(data?: PartialMessage<EncodingOptions>);
|
|
1460
|
+
|
|
1461
|
+
static readonly runtime: typeof proto3;
|
|
1462
|
+
static readonly typeName = "livekit.EncodingOptions";
|
|
1463
|
+
static readonly fields: FieldList;
|
|
1464
|
+
|
|
1465
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncodingOptions;
|
|
1466
|
+
|
|
1467
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncodingOptions;
|
|
1468
|
+
|
|
1469
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncodingOptions;
|
|
1470
|
+
|
|
1471
|
+
static equals(a: EncodingOptions | PlainMessage<EncodingOptions> | undefined, b: EncodingOptions | PlainMessage<EncodingOptions> | undefined): boolean;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
/**
|
|
1475
|
+
* @generated from message livekit.UpdateLayoutRequest
|
|
1476
|
+
*/
|
|
1477
|
+
export declare class UpdateLayoutRequest extends Message<UpdateLayoutRequest> {
|
|
1478
|
+
/**
|
|
1479
|
+
* @generated from field: string egress_id = 1;
|
|
1480
|
+
*/
|
|
1481
|
+
egressId: string;
|
|
1482
|
+
|
|
1483
|
+
/**
|
|
1484
|
+
* @generated from field: string layout = 2;
|
|
1485
|
+
*/
|
|
1486
|
+
layout: string;
|
|
1487
|
+
|
|
1488
|
+
constructor(data?: PartialMessage<UpdateLayoutRequest>);
|
|
1489
|
+
|
|
1490
|
+
static readonly runtime: typeof proto3;
|
|
1491
|
+
static readonly typeName = "livekit.UpdateLayoutRequest";
|
|
1492
|
+
static readonly fields: FieldList;
|
|
1493
|
+
|
|
1494
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateLayoutRequest;
|
|
1495
|
+
|
|
1496
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateLayoutRequest;
|
|
1497
|
+
|
|
1498
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLayoutRequest;
|
|
1499
|
+
|
|
1500
|
+
static equals(a: UpdateLayoutRequest | PlainMessage<UpdateLayoutRequest> | undefined, b: UpdateLayoutRequest | PlainMessage<UpdateLayoutRequest> | undefined): boolean;
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
/**
|
|
1504
|
+
* @generated from message livekit.UpdateStreamRequest
|
|
1505
|
+
*/
|
|
1506
|
+
export declare class UpdateStreamRequest extends Message<UpdateStreamRequest> {
|
|
1507
|
+
/**
|
|
1508
|
+
* @generated from field: string egress_id = 1;
|
|
1509
|
+
*/
|
|
1510
|
+
egressId: string;
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* @generated from field: repeated string add_output_urls = 2;
|
|
1514
|
+
*/
|
|
1515
|
+
addOutputUrls: string[];
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* @generated from field: repeated string remove_output_urls = 3;
|
|
1519
|
+
*/
|
|
1520
|
+
removeOutputUrls: string[];
|
|
1521
|
+
|
|
1522
|
+
constructor(data?: PartialMessage<UpdateStreamRequest>);
|
|
1523
|
+
|
|
1524
|
+
static readonly runtime: typeof proto3;
|
|
1525
|
+
static readonly typeName = "livekit.UpdateStreamRequest";
|
|
1526
|
+
static readonly fields: FieldList;
|
|
1527
|
+
|
|
1528
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateStreamRequest;
|
|
1529
|
+
|
|
1530
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateStreamRequest;
|
|
1531
|
+
|
|
1532
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateStreamRequest;
|
|
1533
|
+
|
|
1534
|
+
static equals(a: UpdateStreamRequest | PlainMessage<UpdateStreamRequest> | undefined, b: UpdateStreamRequest | PlainMessage<UpdateStreamRequest> | undefined): boolean;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* @generated from message livekit.ListEgressRequest
|
|
1539
|
+
*/
|
|
1540
|
+
export declare class ListEgressRequest extends Message<ListEgressRequest> {
|
|
1541
|
+
/**
|
|
1542
|
+
* (optional, filter by room name)
|
|
1543
|
+
*
|
|
1544
|
+
* @generated from field: string room_name = 1;
|
|
1545
|
+
*/
|
|
1546
|
+
roomName: string;
|
|
1547
|
+
|
|
1548
|
+
/**
|
|
1549
|
+
* (optional, filter by egress ID)
|
|
1550
|
+
*
|
|
1551
|
+
* @generated from field: string egress_id = 2;
|
|
1552
|
+
*/
|
|
1553
|
+
egressId: string;
|
|
1554
|
+
|
|
1555
|
+
/**
|
|
1556
|
+
* (optional, list active egress only)
|
|
1557
|
+
*
|
|
1558
|
+
* @generated from field: bool active = 3;
|
|
1559
|
+
*/
|
|
1560
|
+
active: boolean;
|
|
1561
|
+
|
|
1562
|
+
constructor(data?: PartialMessage<ListEgressRequest>);
|
|
1563
|
+
|
|
1564
|
+
static readonly runtime: typeof proto3;
|
|
1565
|
+
static readonly typeName = "livekit.ListEgressRequest";
|
|
1566
|
+
static readonly fields: FieldList;
|
|
1567
|
+
|
|
1568
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListEgressRequest;
|
|
1569
|
+
|
|
1570
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListEgressRequest;
|
|
1571
|
+
|
|
1572
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListEgressRequest;
|
|
1573
|
+
|
|
1574
|
+
static equals(a: ListEgressRequest | PlainMessage<ListEgressRequest> | undefined, b: ListEgressRequest | PlainMessage<ListEgressRequest> | undefined): boolean;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* @generated from message livekit.ListEgressResponse
|
|
1579
|
+
*/
|
|
1580
|
+
export declare class ListEgressResponse extends Message<ListEgressResponse> {
|
|
1581
|
+
/**
|
|
1582
|
+
* @generated from field: repeated livekit.EgressInfo items = 1;
|
|
1583
|
+
*/
|
|
1584
|
+
items: EgressInfo[];
|
|
1585
|
+
|
|
1586
|
+
constructor(data?: PartialMessage<ListEgressResponse>);
|
|
1587
|
+
|
|
1588
|
+
static readonly runtime: typeof proto3;
|
|
1589
|
+
static readonly typeName = "livekit.ListEgressResponse";
|
|
1590
|
+
static readonly fields: FieldList;
|
|
1591
|
+
|
|
1592
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListEgressResponse;
|
|
1593
|
+
|
|
1594
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListEgressResponse;
|
|
1595
|
+
|
|
1596
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListEgressResponse;
|
|
1597
|
+
|
|
1598
|
+
static equals(a: ListEgressResponse | PlainMessage<ListEgressResponse> | undefined, b: ListEgressResponse | PlainMessage<ListEgressResponse> | undefined): boolean;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* @generated from message livekit.StopEgressRequest
|
|
1603
|
+
*/
|
|
1604
|
+
export declare class StopEgressRequest extends Message<StopEgressRequest> {
|
|
1605
|
+
/**
|
|
1606
|
+
* @generated from field: string egress_id = 1;
|
|
1607
|
+
*/
|
|
1608
|
+
egressId: string;
|
|
1609
|
+
|
|
1610
|
+
constructor(data?: PartialMessage<StopEgressRequest>);
|
|
1611
|
+
|
|
1612
|
+
static readonly runtime: typeof proto3;
|
|
1613
|
+
static readonly typeName = "livekit.StopEgressRequest";
|
|
1614
|
+
static readonly fields: FieldList;
|
|
1615
|
+
|
|
1616
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopEgressRequest;
|
|
1617
|
+
|
|
1618
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopEgressRequest;
|
|
1619
|
+
|
|
1620
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopEgressRequest;
|
|
1621
|
+
|
|
1622
|
+
static equals(a: StopEgressRequest | PlainMessage<StopEgressRequest> | undefined, b: StopEgressRequest | PlainMessage<StopEgressRequest> | undefined): boolean;
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
/**
|
|
1626
|
+
* @generated from message livekit.EgressInfo
|
|
1627
|
+
*/
|
|
1628
|
+
export declare class EgressInfo extends Message<EgressInfo> {
|
|
1629
|
+
/**
|
|
1630
|
+
* @generated from field: string egress_id = 1;
|
|
1631
|
+
*/
|
|
1632
|
+
egressId: string;
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* @generated from field: string room_id = 2;
|
|
1636
|
+
*/
|
|
1637
|
+
roomId: string;
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* @generated from field: string room_name = 13;
|
|
1641
|
+
*/
|
|
1642
|
+
roomName: string;
|
|
1643
|
+
|
|
1644
|
+
/**
|
|
1645
|
+
* @generated from field: livekit.EgressSourceType source_type = 26;
|
|
1646
|
+
*/
|
|
1647
|
+
sourceType: EgressSourceType;
|
|
1648
|
+
|
|
1649
|
+
/**
|
|
1650
|
+
* @generated from field: livekit.EgressStatus status = 3;
|
|
1651
|
+
*/
|
|
1652
|
+
status: EgressStatus;
|
|
1653
|
+
|
|
1654
|
+
/**
|
|
1655
|
+
* @generated from field: int64 started_at = 10;
|
|
1656
|
+
*/
|
|
1657
|
+
startedAt: bigint;
|
|
1658
|
+
|
|
1659
|
+
/**
|
|
1660
|
+
* @generated from field: int64 ended_at = 11;
|
|
1661
|
+
*/
|
|
1662
|
+
endedAt: bigint;
|
|
1663
|
+
|
|
1664
|
+
/**
|
|
1665
|
+
* @generated from field: int64 updated_at = 18;
|
|
1666
|
+
*/
|
|
1667
|
+
updatedAt: bigint;
|
|
1668
|
+
|
|
1669
|
+
/**
|
|
1670
|
+
* @generated from field: string details = 21;
|
|
1671
|
+
*/
|
|
1672
|
+
details: string;
|
|
1673
|
+
|
|
1674
|
+
/**
|
|
1675
|
+
* @generated from field: string error = 9;
|
|
1676
|
+
*/
|
|
1677
|
+
error: string;
|
|
1678
|
+
|
|
1679
|
+
/**
|
|
1680
|
+
* @generated from field: int32 error_code = 22;
|
|
1681
|
+
*/
|
|
1682
|
+
errorCode: number;
|
|
1683
|
+
|
|
1684
|
+
/**
|
|
1685
|
+
* @generated from oneof livekit.EgressInfo.request
|
|
1686
|
+
*/
|
|
1687
|
+
request: {
|
|
1688
|
+
/**
|
|
1689
|
+
* @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4;
|
|
1690
|
+
*/
|
|
1691
|
+
value: RoomCompositeEgressRequest;
|
|
1692
|
+
case: "roomComposite";
|
|
1693
|
+
} | {
|
|
1694
|
+
/**
|
|
1695
|
+
* @generated from field: livekit.WebEgressRequest web = 14;
|
|
1696
|
+
*/
|
|
1697
|
+
value: WebEgressRequest;
|
|
1698
|
+
case: "web";
|
|
1699
|
+
} | {
|
|
1700
|
+
/**
|
|
1701
|
+
* @generated from field: livekit.ParticipantEgressRequest participant = 19;
|
|
1702
|
+
*/
|
|
1703
|
+
value: ParticipantEgressRequest;
|
|
1704
|
+
case: "participant";
|
|
1705
|
+
} | {
|
|
1706
|
+
/**
|
|
1707
|
+
* @generated from field: livekit.TrackCompositeEgressRequest track_composite = 5;
|
|
1708
|
+
*/
|
|
1709
|
+
value: TrackCompositeEgressRequest;
|
|
1710
|
+
case: "trackComposite";
|
|
1711
|
+
} | {
|
|
1712
|
+
/**
|
|
1713
|
+
* @generated from field: livekit.TrackEgressRequest track = 6;
|
|
1714
|
+
*/
|
|
1715
|
+
value: TrackEgressRequest;
|
|
1716
|
+
case: "track";
|
|
1717
|
+
} | { case: undefined; value?: undefined };
|
|
1718
|
+
|
|
1719
|
+
/**
|
|
1720
|
+
* deprecated (use _result fields)
|
|
1721
|
+
*
|
|
1722
|
+
* @generated from oneof livekit.EgressInfo.result
|
|
1723
|
+
*/
|
|
1724
|
+
result: {
|
|
1725
|
+
/**
|
|
1726
|
+
* @generated from field: livekit.StreamInfoList stream = 7 [deprecated = true];
|
|
1727
|
+
* @deprecated
|
|
1728
|
+
*/
|
|
1729
|
+
value: StreamInfoList;
|
|
1730
|
+
case: "stream";
|
|
1731
|
+
} | {
|
|
1732
|
+
/**
|
|
1733
|
+
* @generated from field: livekit.FileInfo file = 8 [deprecated = true];
|
|
1734
|
+
* @deprecated
|
|
1735
|
+
*/
|
|
1736
|
+
value: FileInfo;
|
|
1737
|
+
case: "file";
|
|
1738
|
+
} | {
|
|
1739
|
+
/**
|
|
1740
|
+
* @generated from field: livekit.SegmentsInfo segments = 12 [deprecated = true];
|
|
1741
|
+
* @deprecated
|
|
1742
|
+
*/
|
|
1743
|
+
value: SegmentsInfo;
|
|
1744
|
+
case: "segments";
|
|
1745
|
+
} | { case: undefined; value?: undefined };
|
|
1746
|
+
|
|
1747
|
+
/**
|
|
1748
|
+
* @generated from field: repeated livekit.StreamInfo stream_results = 15;
|
|
1749
|
+
*/
|
|
1750
|
+
streamResults: StreamInfo[];
|
|
1751
|
+
|
|
1752
|
+
/**
|
|
1753
|
+
* @generated from field: repeated livekit.FileInfo file_results = 16;
|
|
1754
|
+
*/
|
|
1755
|
+
fileResults: FileInfo[];
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* @generated from field: repeated livekit.SegmentsInfo segment_results = 17;
|
|
1759
|
+
*/
|
|
1760
|
+
segmentResults: SegmentsInfo[];
|
|
1761
|
+
|
|
1762
|
+
/**
|
|
1763
|
+
* @generated from field: repeated livekit.ImagesInfo image_results = 20;
|
|
1764
|
+
*/
|
|
1765
|
+
imageResults: ImagesInfo[];
|
|
1766
|
+
|
|
1767
|
+
/**
|
|
1768
|
+
* @generated from field: string manifest_location = 23;
|
|
1769
|
+
*/
|
|
1770
|
+
manifestLocation: string;
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* next ID: 27
|
|
1774
|
+
*
|
|
1775
|
+
* @generated from field: bool backup_storage_used = 25;
|
|
1776
|
+
*/
|
|
1777
|
+
backupStorageUsed: boolean;
|
|
1778
|
+
|
|
1779
|
+
constructor(data?: PartialMessage<EgressInfo>);
|
|
1780
|
+
|
|
1781
|
+
static readonly runtime: typeof proto3;
|
|
1782
|
+
static readonly typeName = "livekit.EgressInfo";
|
|
1783
|
+
static readonly fields: FieldList;
|
|
1784
|
+
|
|
1785
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EgressInfo;
|
|
1786
|
+
|
|
1787
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EgressInfo;
|
|
1788
|
+
|
|
1789
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EgressInfo;
|
|
1790
|
+
|
|
1791
|
+
static equals(a: EgressInfo | PlainMessage<EgressInfo> | undefined, b: EgressInfo | PlainMessage<EgressInfo> | undefined): boolean;
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
/**
|
|
1795
|
+
* @generated from message livekit.StreamInfoList
|
|
1796
|
+
* @deprecated
|
|
1797
|
+
*/
|
|
1798
|
+
export declare class StreamInfoList extends Message<StreamInfoList> {
|
|
1799
|
+
/**
|
|
1800
|
+
* @generated from field: repeated livekit.StreamInfo info = 1;
|
|
1801
|
+
*/
|
|
1802
|
+
info: StreamInfo[];
|
|
1803
|
+
|
|
1804
|
+
constructor(data?: PartialMessage<StreamInfoList>);
|
|
1805
|
+
|
|
1806
|
+
static readonly runtime: typeof proto3;
|
|
1807
|
+
static readonly typeName = "livekit.StreamInfoList";
|
|
1808
|
+
static readonly fields: FieldList;
|
|
1809
|
+
|
|
1810
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamInfoList;
|
|
1811
|
+
|
|
1812
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamInfoList;
|
|
1813
|
+
|
|
1814
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamInfoList;
|
|
1815
|
+
|
|
1816
|
+
static equals(a: StreamInfoList | PlainMessage<StreamInfoList> | undefined, b: StreamInfoList | PlainMessage<StreamInfoList> | undefined): boolean;
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
/**
|
|
1820
|
+
* @generated from message livekit.StreamInfo
|
|
1821
|
+
*/
|
|
1822
|
+
export declare class StreamInfo extends Message<StreamInfo> {
|
|
1823
|
+
/**
|
|
1824
|
+
* @generated from field: string url = 1;
|
|
1825
|
+
*/
|
|
1826
|
+
url: string;
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* @generated from field: int64 started_at = 2;
|
|
1830
|
+
*/
|
|
1831
|
+
startedAt: bigint;
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* @generated from field: int64 ended_at = 3;
|
|
1835
|
+
*/
|
|
1836
|
+
endedAt: bigint;
|
|
1837
|
+
|
|
1838
|
+
/**
|
|
1839
|
+
* @generated from field: int64 duration = 4;
|
|
1840
|
+
*/
|
|
1841
|
+
duration: bigint;
|
|
1842
|
+
|
|
1843
|
+
/**
|
|
1844
|
+
* @generated from field: livekit.StreamInfo.Status status = 5;
|
|
1845
|
+
*/
|
|
1846
|
+
status: StreamInfo_Status;
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* @generated from field: string error = 6;
|
|
1850
|
+
*/
|
|
1851
|
+
error: string;
|
|
1852
|
+
|
|
1853
|
+
constructor(data?: PartialMessage<StreamInfo>);
|
|
1854
|
+
|
|
1855
|
+
static readonly runtime: typeof proto3;
|
|
1856
|
+
static readonly typeName = "livekit.StreamInfo";
|
|
1857
|
+
static readonly fields: FieldList;
|
|
1858
|
+
|
|
1859
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamInfo;
|
|
1860
|
+
|
|
1861
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamInfo;
|
|
1862
|
+
|
|
1863
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamInfo;
|
|
1864
|
+
|
|
1865
|
+
static equals(a: StreamInfo | PlainMessage<StreamInfo> | undefined, b: StreamInfo | PlainMessage<StreamInfo> | undefined): boolean;
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
/**
|
|
1869
|
+
* @generated from enum livekit.StreamInfo.Status
|
|
1870
|
+
*/
|
|
1871
|
+
export declare enum StreamInfo_Status {
|
|
1872
|
+
/**
|
|
1873
|
+
* @generated from enum value: ACTIVE = 0;
|
|
1874
|
+
*/
|
|
1875
|
+
ACTIVE = 0,
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* @generated from enum value: FINISHED = 1;
|
|
1879
|
+
*/
|
|
1880
|
+
FINISHED = 1,
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* @generated from enum value: FAILED = 2;
|
|
1884
|
+
*/
|
|
1885
|
+
FAILED = 2,
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
/**
|
|
1889
|
+
* @generated from message livekit.FileInfo
|
|
1890
|
+
*/
|
|
1891
|
+
export declare class FileInfo extends Message<FileInfo> {
|
|
1892
|
+
/**
|
|
1893
|
+
* @generated from field: string filename = 1;
|
|
1894
|
+
*/
|
|
1895
|
+
filename: string;
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* @generated from field: int64 started_at = 2;
|
|
1899
|
+
*/
|
|
1900
|
+
startedAt: bigint;
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* @generated from field: int64 ended_at = 3;
|
|
1904
|
+
*/
|
|
1905
|
+
endedAt: bigint;
|
|
1906
|
+
|
|
1907
|
+
/**
|
|
1908
|
+
* @generated from field: int64 duration = 6;
|
|
1909
|
+
*/
|
|
1910
|
+
duration: bigint;
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* @generated from field: int64 size = 4;
|
|
1914
|
+
*/
|
|
1915
|
+
size: bigint;
|
|
1916
|
+
|
|
1917
|
+
/**
|
|
1918
|
+
* @generated from field: string location = 5;
|
|
1919
|
+
*/
|
|
1920
|
+
location: string;
|
|
1921
|
+
|
|
1922
|
+
constructor(data?: PartialMessage<FileInfo>);
|
|
1923
|
+
|
|
1924
|
+
static readonly runtime: typeof proto3;
|
|
1925
|
+
static readonly typeName = "livekit.FileInfo";
|
|
1926
|
+
static readonly fields: FieldList;
|
|
1927
|
+
|
|
1928
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileInfo;
|
|
1929
|
+
|
|
1930
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileInfo;
|
|
1931
|
+
|
|
1932
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileInfo;
|
|
1933
|
+
|
|
1934
|
+
static equals(a: FileInfo | PlainMessage<FileInfo> | undefined, b: FileInfo | PlainMessage<FileInfo> | undefined): boolean;
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* @generated from message livekit.SegmentsInfo
|
|
1939
|
+
*/
|
|
1940
|
+
export declare class SegmentsInfo extends Message<SegmentsInfo> {
|
|
1941
|
+
/**
|
|
1942
|
+
* @generated from field: string playlist_name = 1;
|
|
1943
|
+
*/
|
|
1944
|
+
playlistName: string;
|
|
1945
|
+
|
|
1946
|
+
/**
|
|
1947
|
+
* @generated from field: string live_playlist_name = 8;
|
|
1948
|
+
*/
|
|
1949
|
+
livePlaylistName: string;
|
|
1950
|
+
|
|
1951
|
+
/**
|
|
1952
|
+
* @generated from field: int64 duration = 2;
|
|
1953
|
+
*/
|
|
1954
|
+
duration: bigint;
|
|
1955
|
+
|
|
1956
|
+
/**
|
|
1957
|
+
* @generated from field: int64 size = 3;
|
|
1958
|
+
*/
|
|
1959
|
+
size: bigint;
|
|
1960
|
+
|
|
1961
|
+
/**
|
|
1962
|
+
* @generated from field: string playlist_location = 4;
|
|
1963
|
+
*/
|
|
1964
|
+
playlistLocation: string;
|
|
1965
|
+
|
|
1966
|
+
/**
|
|
1967
|
+
* @generated from field: string live_playlist_location = 9;
|
|
1968
|
+
*/
|
|
1969
|
+
livePlaylistLocation: string;
|
|
1970
|
+
|
|
1971
|
+
/**
|
|
1972
|
+
* @generated from field: int64 segment_count = 5;
|
|
1973
|
+
*/
|
|
1974
|
+
segmentCount: bigint;
|
|
1975
|
+
|
|
1976
|
+
/**
|
|
1977
|
+
* @generated from field: int64 started_at = 6;
|
|
1978
|
+
*/
|
|
1979
|
+
startedAt: bigint;
|
|
1980
|
+
|
|
1981
|
+
/**
|
|
1982
|
+
* @generated from field: int64 ended_at = 7;
|
|
1983
|
+
*/
|
|
1984
|
+
endedAt: bigint;
|
|
1985
|
+
|
|
1986
|
+
constructor(data?: PartialMessage<SegmentsInfo>);
|
|
1987
|
+
|
|
1988
|
+
static readonly runtime: typeof proto3;
|
|
1989
|
+
static readonly typeName = "livekit.SegmentsInfo";
|
|
1990
|
+
static readonly fields: FieldList;
|
|
1991
|
+
|
|
1992
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SegmentsInfo;
|
|
1993
|
+
|
|
1994
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SegmentsInfo;
|
|
1995
|
+
|
|
1996
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SegmentsInfo;
|
|
1997
|
+
|
|
1998
|
+
static equals(a: SegmentsInfo | PlainMessage<SegmentsInfo> | undefined, b: SegmentsInfo | PlainMessage<SegmentsInfo> | undefined): boolean;
|
|
1999
|
+
}
|
|
2000
|
+
|
|
2001
|
+
/**
|
|
2002
|
+
* @generated from message livekit.ImagesInfo
|
|
2003
|
+
*/
|
|
2004
|
+
export declare class ImagesInfo extends Message<ImagesInfo> {
|
|
2005
|
+
/**
|
|
2006
|
+
* @generated from field: string filename_prefix = 4;
|
|
2007
|
+
*/
|
|
2008
|
+
filenamePrefix: string;
|
|
2009
|
+
|
|
2010
|
+
/**
|
|
2011
|
+
* @generated from field: int64 image_count = 1;
|
|
2012
|
+
*/
|
|
2013
|
+
imageCount: bigint;
|
|
2014
|
+
|
|
2015
|
+
/**
|
|
2016
|
+
* @generated from field: int64 started_at = 2;
|
|
2017
|
+
*/
|
|
2018
|
+
startedAt: bigint;
|
|
2019
|
+
|
|
2020
|
+
/**
|
|
2021
|
+
* @generated from field: int64 ended_at = 3;
|
|
2022
|
+
*/
|
|
2023
|
+
endedAt: bigint;
|
|
2024
|
+
|
|
2025
|
+
constructor(data?: PartialMessage<ImagesInfo>);
|
|
2026
|
+
|
|
2027
|
+
static readonly runtime: typeof proto3;
|
|
2028
|
+
static readonly typeName = "livekit.ImagesInfo";
|
|
2029
|
+
static readonly fields: FieldList;
|
|
2030
|
+
|
|
2031
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ImagesInfo;
|
|
2032
|
+
|
|
2033
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ImagesInfo;
|
|
2034
|
+
|
|
2035
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ImagesInfo;
|
|
2036
|
+
|
|
2037
|
+
static equals(a: ImagesInfo | PlainMessage<ImagesInfo> | undefined, b: ImagesInfo | PlainMessage<ImagesInfo> | undefined): boolean;
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2041
|
+
* @generated from message livekit.AutoParticipantEgress
|
|
2042
|
+
*/
|
|
2043
|
+
export declare class AutoParticipantEgress extends Message<AutoParticipantEgress> {
|
|
2044
|
+
/**
|
|
2045
|
+
* @generated from oneof livekit.AutoParticipantEgress.options
|
|
2046
|
+
*/
|
|
2047
|
+
options: {
|
|
2048
|
+
/**
|
|
2049
|
+
* (default H264_720P_30)
|
|
2050
|
+
*
|
|
2051
|
+
* @generated from field: livekit.EncodingOptionsPreset preset = 1;
|
|
2052
|
+
*/
|
|
2053
|
+
value: EncodingOptionsPreset;
|
|
2054
|
+
case: "preset";
|
|
2055
|
+
} | {
|
|
2056
|
+
/**
|
|
2057
|
+
* (optional)
|
|
2058
|
+
*
|
|
2059
|
+
* @generated from field: livekit.EncodingOptions advanced = 2;
|
|
2060
|
+
*/
|
|
2061
|
+
value: EncodingOptions;
|
|
2062
|
+
case: "advanced";
|
|
2063
|
+
} | { case: undefined; value?: undefined };
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3;
|
|
2067
|
+
*/
|
|
2068
|
+
fileOutputs: EncodedFileOutput[];
|
|
2069
|
+
|
|
2070
|
+
/**
|
|
2071
|
+
* @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4;
|
|
2072
|
+
*/
|
|
2073
|
+
segmentOutputs: SegmentedFileOutput[];
|
|
2074
|
+
|
|
2075
|
+
constructor(data?: PartialMessage<AutoParticipantEgress>);
|
|
2076
|
+
|
|
2077
|
+
static readonly runtime: typeof proto3;
|
|
2078
|
+
static readonly typeName = "livekit.AutoParticipantEgress";
|
|
2079
|
+
static readonly fields: FieldList;
|
|
2080
|
+
|
|
2081
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AutoParticipantEgress;
|
|
2082
|
+
|
|
2083
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AutoParticipantEgress;
|
|
2084
|
+
|
|
2085
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AutoParticipantEgress;
|
|
2086
|
+
|
|
2087
|
+
static equals(a: AutoParticipantEgress | PlainMessage<AutoParticipantEgress> | undefined, b: AutoParticipantEgress | PlainMessage<AutoParticipantEgress> | undefined): boolean;
|
|
2088
|
+
}
|
|
2089
|
+
|
|
2090
|
+
/**
|
|
2091
|
+
* @generated from message livekit.AutoTrackEgress
|
|
2092
|
+
*/
|
|
2093
|
+
export declare class AutoTrackEgress extends Message<AutoTrackEgress> {
|
|
2094
|
+
/**
|
|
2095
|
+
* see docs for templating (default {track_id}-{time})
|
|
2096
|
+
*
|
|
2097
|
+
* @generated from field: string filepath = 1;
|
|
2098
|
+
*/
|
|
2099
|
+
filepath: string;
|
|
2100
|
+
|
|
2101
|
+
/**
|
|
2102
|
+
* disables upload of json manifest file (default false)
|
|
2103
|
+
*
|
|
2104
|
+
* @generated from field: bool disable_manifest = 5;
|
|
2105
|
+
*/
|
|
2106
|
+
disableManifest: boolean;
|
|
2107
|
+
|
|
2108
|
+
/**
|
|
2109
|
+
* @generated from oneof livekit.AutoTrackEgress.output
|
|
2110
|
+
*/
|
|
2111
|
+
output: {
|
|
2112
|
+
/**
|
|
2113
|
+
* @generated from field: livekit.S3Upload s3 = 2;
|
|
2114
|
+
*/
|
|
2115
|
+
value: S3Upload;
|
|
2116
|
+
case: "s3";
|
|
2117
|
+
} | {
|
|
2118
|
+
/**
|
|
2119
|
+
* @generated from field: livekit.GCPUpload gcp = 3;
|
|
2120
|
+
*/
|
|
2121
|
+
value: GCPUpload;
|
|
2122
|
+
case: "gcp";
|
|
2123
|
+
} | {
|
|
2124
|
+
/**
|
|
2125
|
+
* @generated from field: livekit.AzureBlobUpload azure = 4;
|
|
2126
|
+
*/
|
|
2127
|
+
value: AzureBlobUpload;
|
|
2128
|
+
case: "azure";
|
|
2129
|
+
} | {
|
|
2130
|
+
/**
|
|
2131
|
+
* @generated from field: livekit.AliOSSUpload aliOSS = 6;
|
|
2132
|
+
*/
|
|
2133
|
+
value: AliOSSUpload;
|
|
2134
|
+
case: "aliOSS";
|
|
2135
|
+
} | { case: undefined; value?: undefined };
|
|
2136
|
+
|
|
2137
|
+
constructor(data?: PartialMessage<AutoTrackEgress>);
|
|
2138
|
+
|
|
2139
|
+
static readonly runtime: typeof proto3;
|
|
2140
|
+
static readonly typeName = "livekit.AutoTrackEgress";
|
|
2141
|
+
static readonly fields: FieldList;
|
|
2142
|
+
|
|
2143
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AutoTrackEgress;
|
|
2144
|
+
|
|
2145
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AutoTrackEgress;
|
|
2146
|
+
|
|
2147
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AutoTrackEgress;
|
|
2148
|
+
|
|
2149
|
+
static equals(a: AutoTrackEgress | PlainMessage<AutoTrackEgress> | undefined, b: AutoTrackEgress | PlainMessage<AutoTrackEgress> | undefined): boolean;
|
|
2150
|
+
}
|
|
2151
|
+
|