livekit-server-sdk 2.0.4 → 2.1.1
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/CHANGELOG.md +16 -0
- package/dist/AccessToken.js +2 -1
- package/dist/AccessToken.js.map +1 -1
- package/dist/EgressClient.d.ts +2 -1
- package/dist/EgressClient.js +14 -5
- package/dist/EgressClient.js.map +1 -1
- package/dist/IngressClient.d.ts +1 -1
- package/dist/IngressClient.js +1 -1
- package/dist/IngressClient.js.map +1 -1
- package/dist/RoomServiceClient.d.ts +2 -3
- package/dist/RoomServiceClient.js +1 -2
- package/dist/RoomServiceClient.js.map +1 -1
- package/dist/WebhookReceiver.d.ts +2 -2
- package/dist/WebhookReceiver.js +1 -1
- package/dist/WebhookReceiver.js.map +1 -1
- package/dist/grants.d.ts +5 -6
- package/dist/grants.js +24 -7
- package/dist/grants.js.map +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -4
- package/dist/proto/livekit_egress_pb.d.ts +0 -1650
- package/dist/proto/livekit_egress_pb.js +0 -1878
- package/dist/proto/livekit_egress_pb.js.map +0 -1
- package/dist/proto/livekit_ingress_pb.d.ts +0 -624
- package/dist/proto/livekit_ingress_pb.js +0 -824
- package/dist/proto/livekit_ingress_pb.js.map +0 -1
- package/dist/proto/livekit_models_pb.d.ts +0 -1349
- package/dist/proto/livekit_models_pb.js +0 -1829
- package/dist/proto/livekit_models_pb.js.map +0 -1
- package/dist/proto/livekit_room_pb.d.ts +0 -460
- package/dist/proto/livekit_room_pb.js +0 -695
- package/dist/proto/livekit_room_pb.js.map +0 -1
- package/dist/proto/livekit_webhook_pb.d.ts +0 -70
- package/dist/proto/livekit_webhook_pb.js +0 -76
- package/dist/proto/livekit_webhook_pb.js.map +0 -1
- package/generate-proto.sh +0 -8
|
@@ -1,1650 +0,0 @@
|
|
|
1
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
-
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
-
import { AudioCodec, ImageCodec, VideoCodec } from "./livekit_models_pb.js";
|
|
4
|
-
/**
|
|
5
|
-
* @generated from enum livekit.EncodedFileType
|
|
6
|
-
*/
|
|
7
|
-
export declare enum EncodedFileType {
|
|
8
|
-
/**
|
|
9
|
-
* file type chosen based on codecs
|
|
10
|
-
*
|
|
11
|
-
* @generated from enum value: DEFAULT_FILETYPE = 0;
|
|
12
|
-
*/
|
|
13
|
-
DEFAULT_FILETYPE = 0,
|
|
14
|
-
/**
|
|
15
|
-
* @generated from enum value: MP4 = 1;
|
|
16
|
-
*/
|
|
17
|
-
MP4 = 1,
|
|
18
|
-
/**
|
|
19
|
-
* @generated from enum value: OGG = 2;
|
|
20
|
-
*/
|
|
21
|
-
OGG = 2
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @generated from enum livekit.SegmentedFileProtocol
|
|
25
|
-
*/
|
|
26
|
-
export declare enum SegmentedFileProtocol {
|
|
27
|
-
/**
|
|
28
|
-
* @generated from enum value: DEFAULT_SEGMENTED_FILE_PROTOCOL = 0;
|
|
29
|
-
*/
|
|
30
|
-
DEFAULT_SEGMENTED_FILE_PROTOCOL = 0,
|
|
31
|
-
/**
|
|
32
|
-
* @generated from enum value: HLS_PROTOCOL = 1;
|
|
33
|
-
*/
|
|
34
|
-
HLS_PROTOCOL = 1
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* @generated from enum livekit.SegmentedFileSuffix
|
|
38
|
-
*/
|
|
39
|
-
export declare enum SegmentedFileSuffix {
|
|
40
|
-
/**
|
|
41
|
-
* @generated from enum value: INDEX = 0;
|
|
42
|
-
*/
|
|
43
|
-
INDEX = 0,
|
|
44
|
-
/**
|
|
45
|
-
* @generated from enum value: TIMESTAMP = 1;
|
|
46
|
-
*/
|
|
47
|
-
TIMESTAMP = 1
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* @generated from enum livekit.ImageFileSuffix
|
|
51
|
-
*/
|
|
52
|
-
export declare enum ImageFileSuffix {
|
|
53
|
-
/**
|
|
54
|
-
* @generated from enum value: IMAGE_SUFFIX_INDEX = 0;
|
|
55
|
-
*/
|
|
56
|
-
IMAGE_SUFFIX_INDEX = 0,
|
|
57
|
-
/**
|
|
58
|
-
* @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1;
|
|
59
|
-
*/
|
|
60
|
-
IMAGE_SUFFIX_TIMESTAMP = 1
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* @generated from enum livekit.StreamProtocol
|
|
64
|
-
*/
|
|
65
|
-
export declare enum StreamProtocol {
|
|
66
|
-
/**
|
|
67
|
-
* protocol chosen based on urls
|
|
68
|
-
*
|
|
69
|
-
* @generated from enum value: DEFAULT_PROTOCOL = 0;
|
|
70
|
-
*/
|
|
71
|
-
DEFAULT_PROTOCOL = 0,
|
|
72
|
-
/**
|
|
73
|
-
* @generated from enum value: RTMP = 1;
|
|
74
|
-
*/
|
|
75
|
-
RTMP = 1
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* @generated from enum livekit.EncodingOptionsPreset
|
|
79
|
-
*/
|
|
80
|
-
export declare enum EncodingOptionsPreset {
|
|
81
|
-
/**
|
|
82
|
-
* 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS
|
|
83
|
-
*
|
|
84
|
-
* @generated from enum value: H264_720P_30 = 0;
|
|
85
|
-
*/
|
|
86
|
-
H264_720P_30 = 0,
|
|
87
|
-
/**
|
|
88
|
-
* 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS
|
|
89
|
-
*
|
|
90
|
-
* @generated from enum value: H264_720P_60 = 1;
|
|
91
|
-
*/
|
|
92
|
-
H264_720P_60 = 1,
|
|
93
|
-
/**
|
|
94
|
-
* 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS
|
|
95
|
-
*
|
|
96
|
-
* @generated from enum value: H264_1080P_30 = 2;
|
|
97
|
-
*/
|
|
98
|
-
H264_1080P_30 = 2,
|
|
99
|
-
/**
|
|
100
|
-
* 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS
|
|
101
|
-
*
|
|
102
|
-
* @generated from enum value: H264_1080P_60 = 3;
|
|
103
|
-
*/
|
|
104
|
-
H264_1080P_60 = 3,
|
|
105
|
-
/**
|
|
106
|
-
* 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS
|
|
107
|
-
*
|
|
108
|
-
* @generated from enum value: PORTRAIT_H264_720P_30 = 4;
|
|
109
|
-
*/
|
|
110
|
-
PORTRAIT_H264_720P_30 = 4,
|
|
111
|
-
/**
|
|
112
|
-
* 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS
|
|
113
|
-
*
|
|
114
|
-
* @generated from enum value: PORTRAIT_H264_720P_60 = 5;
|
|
115
|
-
*/
|
|
116
|
-
PORTRAIT_H264_720P_60 = 5,
|
|
117
|
-
/**
|
|
118
|
-
* 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS
|
|
119
|
-
*
|
|
120
|
-
* @generated from enum value: PORTRAIT_H264_1080P_30 = 6;
|
|
121
|
-
*/
|
|
122
|
-
PORTRAIT_H264_1080P_30 = 6,
|
|
123
|
-
/**
|
|
124
|
-
* 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS
|
|
125
|
-
*
|
|
126
|
-
* @generated from enum value: PORTRAIT_H264_1080P_60 = 7;
|
|
127
|
-
*/
|
|
128
|
-
PORTRAIT_H264_1080P_60 = 7
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* @generated from enum livekit.EgressStatus
|
|
132
|
-
*/
|
|
133
|
-
export declare enum EgressStatus {
|
|
134
|
-
/**
|
|
135
|
-
* @generated from enum value: EGRESS_STARTING = 0;
|
|
136
|
-
*/
|
|
137
|
-
EGRESS_STARTING = 0,
|
|
138
|
-
/**
|
|
139
|
-
* @generated from enum value: EGRESS_ACTIVE = 1;
|
|
140
|
-
*/
|
|
141
|
-
EGRESS_ACTIVE = 1,
|
|
142
|
-
/**
|
|
143
|
-
* @generated from enum value: EGRESS_ENDING = 2;
|
|
144
|
-
*/
|
|
145
|
-
EGRESS_ENDING = 2,
|
|
146
|
-
/**
|
|
147
|
-
* @generated from enum value: EGRESS_COMPLETE = 3;
|
|
148
|
-
*/
|
|
149
|
-
EGRESS_COMPLETE = 3,
|
|
150
|
-
/**
|
|
151
|
-
* @generated from enum value: EGRESS_FAILED = 4;
|
|
152
|
-
*/
|
|
153
|
-
EGRESS_FAILED = 4,
|
|
154
|
-
/**
|
|
155
|
-
* @generated from enum value: EGRESS_ABORTED = 5;
|
|
156
|
-
*/
|
|
157
|
-
EGRESS_ABORTED = 5,
|
|
158
|
-
/**
|
|
159
|
-
* @generated from enum value: EGRESS_LIMIT_REACHED = 6;
|
|
160
|
-
*/
|
|
161
|
-
EGRESS_LIMIT_REACHED = 6
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* composite using a web browser
|
|
165
|
-
*
|
|
166
|
-
* @generated from message livekit.RoomCompositeEgressRequest
|
|
167
|
-
*/
|
|
168
|
-
export declare class RoomCompositeEgressRequest extends Message<RoomCompositeEgressRequest> {
|
|
169
|
-
/**
|
|
170
|
-
* required
|
|
171
|
-
*
|
|
172
|
-
* @generated from field: string room_name = 1;
|
|
173
|
-
*/
|
|
174
|
-
roomName: string;
|
|
175
|
-
/**
|
|
176
|
-
* (optional)
|
|
177
|
-
*
|
|
178
|
-
* @generated from field: string layout = 2;
|
|
179
|
-
*/
|
|
180
|
-
layout: string;
|
|
181
|
-
/**
|
|
182
|
-
* (default false)
|
|
183
|
-
*
|
|
184
|
-
* @generated from field: bool audio_only = 3;
|
|
185
|
-
*/
|
|
186
|
-
audioOnly: boolean;
|
|
187
|
-
/**
|
|
188
|
-
* (default false)
|
|
189
|
-
*
|
|
190
|
-
* @generated from field: bool video_only = 4;
|
|
191
|
-
*/
|
|
192
|
-
videoOnly: boolean;
|
|
193
|
-
/**
|
|
194
|
-
* template base url (default https://recorder.livekit.io)
|
|
195
|
-
*
|
|
196
|
-
* @generated from field: string custom_base_url = 5;
|
|
197
|
-
*/
|
|
198
|
-
customBaseUrl: string;
|
|
199
|
-
/**
|
|
200
|
-
* deprecated (use _output fields)
|
|
201
|
-
*
|
|
202
|
-
* @generated from oneof livekit.RoomCompositeEgressRequest.output
|
|
203
|
-
*/
|
|
204
|
-
output: {
|
|
205
|
-
/**
|
|
206
|
-
* @generated from field: livekit.EncodedFileOutput file = 6 [deprecated = true];
|
|
207
|
-
* @deprecated
|
|
208
|
-
*/
|
|
209
|
-
value: EncodedFileOutput;
|
|
210
|
-
case: "file";
|
|
211
|
-
} | {
|
|
212
|
-
/**
|
|
213
|
-
* @generated from field: livekit.StreamOutput stream = 7 [deprecated = true];
|
|
214
|
-
* @deprecated
|
|
215
|
-
*/
|
|
216
|
-
value: StreamOutput;
|
|
217
|
-
case: "stream";
|
|
218
|
-
} | {
|
|
219
|
-
/**
|
|
220
|
-
* @generated from field: livekit.SegmentedFileOutput segments = 10 [deprecated = true];
|
|
221
|
-
* @deprecated
|
|
222
|
-
*/
|
|
223
|
-
value: SegmentedFileOutput;
|
|
224
|
-
case: "segments";
|
|
225
|
-
} | {
|
|
226
|
-
case: undefined;
|
|
227
|
-
value?: undefined;
|
|
228
|
-
};
|
|
229
|
-
/**
|
|
230
|
-
* @generated from oneof livekit.RoomCompositeEgressRequest.options
|
|
231
|
-
*/
|
|
232
|
-
options: {
|
|
233
|
-
/**
|
|
234
|
-
* (default H264_720P_30)
|
|
235
|
-
*
|
|
236
|
-
* @generated from field: livekit.EncodingOptionsPreset preset = 8;
|
|
237
|
-
*/
|
|
238
|
-
value: EncodingOptionsPreset;
|
|
239
|
-
case: "preset";
|
|
240
|
-
} | {
|
|
241
|
-
/**
|
|
242
|
-
* (optional)
|
|
243
|
-
*
|
|
244
|
-
* @generated from field: livekit.EncodingOptions advanced = 9;
|
|
245
|
-
*/
|
|
246
|
-
value: EncodingOptions;
|
|
247
|
-
case: "advanced";
|
|
248
|
-
} | {
|
|
249
|
-
case: undefined;
|
|
250
|
-
value?: undefined;
|
|
251
|
-
};
|
|
252
|
-
/**
|
|
253
|
-
* @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;
|
|
254
|
-
*/
|
|
255
|
-
fileOutputs: EncodedFileOutput[];
|
|
256
|
-
/**
|
|
257
|
-
* @generated from field: repeated livekit.StreamOutput stream_outputs = 12;
|
|
258
|
-
*/
|
|
259
|
-
streamOutputs: StreamOutput[];
|
|
260
|
-
/**
|
|
261
|
-
* @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;
|
|
262
|
-
*/
|
|
263
|
-
segmentOutputs: SegmentedFileOutput[];
|
|
264
|
-
/**
|
|
265
|
-
* @generated from field: repeated livekit.ImageOutput image_outputs = 14;
|
|
266
|
-
*/
|
|
267
|
-
imageOutputs: ImageOutput[];
|
|
268
|
-
constructor(data?: PartialMessage<RoomCompositeEgressRequest>);
|
|
269
|
-
static readonly runtime: typeof proto3;
|
|
270
|
-
static readonly typeName = "livekit.RoomCompositeEgressRequest";
|
|
271
|
-
static readonly fields: FieldList;
|
|
272
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomCompositeEgressRequest;
|
|
273
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomCompositeEgressRequest;
|
|
274
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomCompositeEgressRequest;
|
|
275
|
-
static equals(a: RoomCompositeEgressRequest | PlainMessage<RoomCompositeEgressRequest> | undefined, b: RoomCompositeEgressRequest | PlainMessage<RoomCompositeEgressRequest> | undefined): boolean;
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* record any website
|
|
279
|
-
*
|
|
280
|
-
* @generated from message livekit.WebEgressRequest
|
|
281
|
-
*/
|
|
282
|
-
export declare class WebEgressRequest extends Message<WebEgressRequest> {
|
|
283
|
-
/**
|
|
284
|
-
* @generated from field: string url = 1;
|
|
285
|
-
*/
|
|
286
|
-
url: string;
|
|
287
|
-
/**
|
|
288
|
-
* @generated from field: bool audio_only = 2;
|
|
289
|
-
*/
|
|
290
|
-
audioOnly: boolean;
|
|
291
|
-
/**
|
|
292
|
-
* @generated from field: bool video_only = 3;
|
|
293
|
-
*/
|
|
294
|
-
videoOnly: boolean;
|
|
295
|
-
/**
|
|
296
|
-
* @generated from field: bool await_start_signal = 12;
|
|
297
|
-
*/
|
|
298
|
-
awaitStartSignal: boolean;
|
|
299
|
-
/**
|
|
300
|
-
* deprecated (use _output fields)
|
|
301
|
-
*
|
|
302
|
-
* @generated from oneof livekit.WebEgressRequest.output
|
|
303
|
-
*/
|
|
304
|
-
output: {
|
|
305
|
-
/**
|
|
306
|
-
* @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];
|
|
307
|
-
* @deprecated
|
|
308
|
-
*/
|
|
309
|
-
value: EncodedFileOutput;
|
|
310
|
-
case: "file";
|
|
311
|
-
} | {
|
|
312
|
-
/**
|
|
313
|
-
* @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];
|
|
314
|
-
* @deprecated
|
|
315
|
-
*/
|
|
316
|
-
value: StreamOutput;
|
|
317
|
-
case: "stream";
|
|
318
|
-
} | {
|
|
319
|
-
/**
|
|
320
|
-
* @generated from field: livekit.SegmentedFileOutput segments = 6 [deprecated = true];
|
|
321
|
-
* @deprecated
|
|
322
|
-
*/
|
|
323
|
-
value: SegmentedFileOutput;
|
|
324
|
-
case: "segments";
|
|
325
|
-
} | {
|
|
326
|
-
case: undefined;
|
|
327
|
-
value?: undefined;
|
|
328
|
-
};
|
|
329
|
-
/**
|
|
330
|
-
* @generated from oneof livekit.WebEgressRequest.options
|
|
331
|
-
*/
|
|
332
|
-
options: {
|
|
333
|
-
/**
|
|
334
|
-
* @generated from field: livekit.EncodingOptionsPreset preset = 7;
|
|
335
|
-
*/
|
|
336
|
-
value: EncodingOptionsPreset;
|
|
337
|
-
case: "preset";
|
|
338
|
-
} | {
|
|
339
|
-
/**
|
|
340
|
-
* @generated from field: livekit.EncodingOptions advanced = 8;
|
|
341
|
-
*/
|
|
342
|
-
value: EncodingOptions;
|
|
343
|
-
case: "advanced";
|
|
344
|
-
} | {
|
|
345
|
-
case: undefined;
|
|
346
|
-
value?: undefined;
|
|
347
|
-
};
|
|
348
|
-
/**
|
|
349
|
-
* @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9;
|
|
350
|
-
*/
|
|
351
|
-
fileOutputs: EncodedFileOutput[];
|
|
352
|
-
/**
|
|
353
|
-
* @generated from field: repeated livekit.StreamOutput stream_outputs = 10;
|
|
354
|
-
*/
|
|
355
|
-
streamOutputs: StreamOutput[];
|
|
356
|
-
/**
|
|
357
|
-
* @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11;
|
|
358
|
-
*/
|
|
359
|
-
segmentOutputs: SegmentedFileOutput[];
|
|
360
|
-
/**
|
|
361
|
-
* @generated from field: repeated livekit.ImageOutput image_outputs = 13;
|
|
362
|
-
*/
|
|
363
|
-
imageOutputs: ImageOutput[];
|
|
364
|
-
constructor(data?: PartialMessage<WebEgressRequest>);
|
|
365
|
-
static readonly runtime: typeof proto3;
|
|
366
|
-
static readonly typeName = "livekit.WebEgressRequest";
|
|
367
|
-
static readonly fields: FieldList;
|
|
368
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebEgressRequest;
|
|
369
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebEgressRequest;
|
|
370
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebEgressRequest;
|
|
371
|
-
static equals(a: WebEgressRequest | PlainMessage<WebEgressRequest> | undefined, b: WebEgressRequest | PlainMessage<WebEgressRequest> | undefined): boolean;
|
|
372
|
-
}
|
|
373
|
-
/**
|
|
374
|
-
* record audio and video from a single participant
|
|
375
|
-
*
|
|
376
|
-
* @generated from message livekit.ParticipantEgressRequest
|
|
377
|
-
*/
|
|
378
|
-
export declare class ParticipantEgressRequest extends Message<ParticipantEgressRequest> {
|
|
379
|
-
/**
|
|
380
|
-
* required
|
|
381
|
-
*
|
|
382
|
-
* @generated from field: string room_name = 1;
|
|
383
|
-
*/
|
|
384
|
-
roomName: string;
|
|
385
|
-
/**
|
|
386
|
-
* required
|
|
387
|
-
*
|
|
388
|
-
* @generated from field: string identity = 2;
|
|
389
|
-
*/
|
|
390
|
-
identity: string;
|
|
391
|
-
/**
|
|
392
|
-
* (default false)
|
|
393
|
-
*
|
|
394
|
-
* @generated from field: bool screen_share = 3;
|
|
395
|
-
*/
|
|
396
|
-
screenShare: boolean;
|
|
397
|
-
/**
|
|
398
|
-
* @generated from oneof livekit.ParticipantEgressRequest.options
|
|
399
|
-
*/
|
|
400
|
-
options: {
|
|
401
|
-
/**
|
|
402
|
-
* (default H264_720P_30)
|
|
403
|
-
*
|
|
404
|
-
* @generated from field: livekit.EncodingOptionsPreset preset = 4;
|
|
405
|
-
*/
|
|
406
|
-
value: EncodingOptionsPreset;
|
|
407
|
-
case: "preset";
|
|
408
|
-
} | {
|
|
409
|
-
/**
|
|
410
|
-
* (optional)
|
|
411
|
-
*
|
|
412
|
-
* @generated from field: livekit.EncodingOptions advanced = 5;
|
|
413
|
-
*/
|
|
414
|
-
value: EncodingOptions;
|
|
415
|
-
case: "advanced";
|
|
416
|
-
} | {
|
|
417
|
-
case: undefined;
|
|
418
|
-
value?: undefined;
|
|
419
|
-
};
|
|
420
|
-
/**
|
|
421
|
-
* @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6;
|
|
422
|
-
*/
|
|
423
|
-
fileOutputs: EncodedFileOutput[];
|
|
424
|
-
/**
|
|
425
|
-
* @generated from field: repeated livekit.StreamOutput stream_outputs = 7;
|
|
426
|
-
*/
|
|
427
|
-
streamOutputs: StreamOutput[];
|
|
428
|
-
/**
|
|
429
|
-
* @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8;
|
|
430
|
-
*/
|
|
431
|
-
segmentOutputs: SegmentedFileOutput[];
|
|
432
|
-
/**
|
|
433
|
-
* @generated from field: repeated livekit.ImageOutput image_outputs = 9;
|
|
434
|
-
*/
|
|
435
|
-
imageOutputs: ImageOutput[];
|
|
436
|
-
constructor(data?: PartialMessage<ParticipantEgressRequest>);
|
|
437
|
-
static readonly runtime: typeof proto3;
|
|
438
|
-
static readonly typeName = "livekit.ParticipantEgressRequest";
|
|
439
|
-
static readonly fields: FieldList;
|
|
440
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantEgressRequest;
|
|
441
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantEgressRequest;
|
|
442
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantEgressRequest;
|
|
443
|
-
static equals(a: ParticipantEgressRequest | PlainMessage<ParticipantEgressRequest> | undefined, b: ParticipantEgressRequest | PlainMessage<ParticipantEgressRequest> | undefined): boolean;
|
|
444
|
-
}
|
|
445
|
-
/**
|
|
446
|
-
* containerize up to one audio and one video track
|
|
447
|
-
*
|
|
448
|
-
* @generated from message livekit.TrackCompositeEgressRequest
|
|
449
|
-
*/
|
|
450
|
-
export declare class TrackCompositeEgressRequest extends Message<TrackCompositeEgressRequest> {
|
|
451
|
-
/**
|
|
452
|
-
* required
|
|
453
|
-
*
|
|
454
|
-
* @generated from field: string room_name = 1;
|
|
455
|
-
*/
|
|
456
|
-
roomName: string;
|
|
457
|
-
/**
|
|
458
|
-
* (optional)
|
|
459
|
-
*
|
|
460
|
-
* @generated from field: string audio_track_id = 2;
|
|
461
|
-
*/
|
|
462
|
-
audioTrackId: string;
|
|
463
|
-
/**
|
|
464
|
-
* (optional)
|
|
465
|
-
*
|
|
466
|
-
* @generated from field: string video_track_id = 3;
|
|
467
|
-
*/
|
|
468
|
-
videoTrackId: string;
|
|
469
|
-
/**
|
|
470
|
-
* deprecated (use _output fields)
|
|
471
|
-
*
|
|
472
|
-
* @generated from oneof livekit.TrackCompositeEgressRequest.output
|
|
473
|
-
*/
|
|
474
|
-
output: {
|
|
475
|
-
/**
|
|
476
|
-
* @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];
|
|
477
|
-
* @deprecated
|
|
478
|
-
*/
|
|
479
|
-
value: EncodedFileOutput;
|
|
480
|
-
case: "file";
|
|
481
|
-
} | {
|
|
482
|
-
/**
|
|
483
|
-
* @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];
|
|
484
|
-
* @deprecated
|
|
485
|
-
*/
|
|
486
|
-
value: StreamOutput;
|
|
487
|
-
case: "stream";
|
|
488
|
-
} | {
|
|
489
|
-
/**
|
|
490
|
-
* @generated from field: livekit.SegmentedFileOutput segments = 8 [deprecated = true];
|
|
491
|
-
* @deprecated
|
|
492
|
-
*/
|
|
493
|
-
value: SegmentedFileOutput;
|
|
494
|
-
case: "segments";
|
|
495
|
-
} | {
|
|
496
|
-
case: undefined;
|
|
497
|
-
value?: undefined;
|
|
498
|
-
};
|
|
499
|
-
/**
|
|
500
|
-
* @generated from oneof livekit.TrackCompositeEgressRequest.options
|
|
501
|
-
*/
|
|
502
|
-
options: {
|
|
503
|
-
/**
|
|
504
|
-
* (default H264_720P_30)
|
|
505
|
-
*
|
|
506
|
-
* @generated from field: livekit.EncodingOptionsPreset preset = 6;
|
|
507
|
-
*/
|
|
508
|
-
value: EncodingOptionsPreset;
|
|
509
|
-
case: "preset";
|
|
510
|
-
} | {
|
|
511
|
-
/**
|
|
512
|
-
* (optional)
|
|
513
|
-
*
|
|
514
|
-
* @generated from field: livekit.EncodingOptions advanced = 7;
|
|
515
|
-
*/
|
|
516
|
-
value: EncodingOptions;
|
|
517
|
-
case: "advanced";
|
|
518
|
-
} | {
|
|
519
|
-
case: undefined;
|
|
520
|
-
value?: undefined;
|
|
521
|
-
};
|
|
522
|
-
/**
|
|
523
|
-
* @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;
|
|
524
|
-
*/
|
|
525
|
-
fileOutputs: EncodedFileOutput[];
|
|
526
|
-
/**
|
|
527
|
-
* @generated from field: repeated livekit.StreamOutput stream_outputs = 12;
|
|
528
|
-
*/
|
|
529
|
-
streamOutputs: StreamOutput[];
|
|
530
|
-
/**
|
|
531
|
-
* @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;
|
|
532
|
-
*/
|
|
533
|
-
segmentOutputs: SegmentedFileOutput[];
|
|
534
|
-
/**
|
|
535
|
-
* @generated from field: repeated livekit.ImageOutput image_outputs = 14;
|
|
536
|
-
*/
|
|
537
|
-
imageOutputs: ImageOutput[];
|
|
538
|
-
constructor(data?: PartialMessage<TrackCompositeEgressRequest>);
|
|
539
|
-
static readonly runtime: typeof proto3;
|
|
540
|
-
static readonly typeName = "livekit.TrackCompositeEgressRequest";
|
|
541
|
-
static readonly fields: FieldList;
|
|
542
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackCompositeEgressRequest;
|
|
543
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackCompositeEgressRequest;
|
|
544
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackCompositeEgressRequest;
|
|
545
|
-
static equals(a: TrackCompositeEgressRequest | PlainMessage<TrackCompositeEgressRequest> | undefined, b: TrackCompositeEgressRequest | PlainMessage<TrackCompositeEgressRequest> | undefined): boolean;
|
|
546
|
-
}
|
|
547
|
-
/**
|
|
548
|
-
* record tracks individually, without transcoding
|
|
549
|
-
*
|
|
550
|
-
* @generated from message livekit.TrackEgressRequest
|
|
551
|
-
*/
|
|
552
|
-
export declare class TrackEgressRequest extends Message<TrackEgressRequest> {
|
|
553
|
-
/**
|
|
554
|
-
* required
|
|
555
|
-
*
|
|
556
|
-
* @generated from field: string room_name = 1;
|
|
557
|
-
*/
|
|
558
|
-
roomName: string;
|
|
559
|
-
/**
|
|
560
|
-
* required
|
|
561
|
-
*
|
|
562
|
-
* @generated from field: string track_id = 2;
|
|
563
|
-
*/
|
|
564
|
-
trackId: string;
|
|
565
|
-
/**
|
|
566
|
-
* required
|
|
567
|
-
*
|
|
568
|
-
* @generated from oneof livekit.TrackEgressRequest.output
|
|
569
|
-
*/
|
|
570
|
-
output: {
|
|
571
|
-
/**
|
|
572
|
-
* @generated from field: livekit.DirectFileOutput file = 3;
|
|
573
|
-
*/
|
|
574
|
-
value: DirectFileOutput;
|
|
575
|
-
case: "file";
|
|
576
|
-
} | {
|
|
577
|
-
/**
|
|
578
|
-
* @generated from field: string websocket_url = 4;
|
|
579
|
-
*/
|
|
580
|
-
value: string;
|
|
581
|
-
case: "websocketUrl";
|
|
582
|
-
} | {
|
|
583
|
-
case: undefined;
|
|
584
|
-
value?: undefined;
|
|
585
|
-
};
|
|
586
|
-
constructor(data?: PartialMessage<TrackEgressRequest>);
|
|
587
|
-
static readonly runtime: typeof proto3;
|
|
588
|
-
static readonly typeName = "livekit.TrackEgressRequest";
|
|
589
|
-
static readonly fields: FieldList;
|
|
590
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackEgressRequest;
|
|
591
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackEgressRequest;
|
|
592
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackEgressRequest;
|
|
593
|
-
static equals(a: TrackEgressRequest | PlainMessage<TrackEgressRequest> | undefined, b: TrackEgressRequest | PlainMessage<TrackEgressRequest> | undefined): boolean;
|
|
594
|
-
}
|
|
595
|
-
/**
|
|
596
|
-
* @generated from message livekit.EncodedFileOutput
|
|
597
|
-
*/
|
|
598
|
-
export declare class EncodedFileOutput extends Message<EncodedFileOutput> {
|
|
599
|
-
/**
|
|
600
|
-
* (optional)
|
|
601
|
-
*
|
|
602
|
-
* @generated from field: livekit.EncodedFileType file_type = 1;
|
|
603
|
-
*/
|
|
604
|
-
fileType: EncodedFileType;
|
|
605
|
-
/**
|
|
606
|
-
* see egress docs for templating (default {room_name}-{time})
|
|
607
|
-
*
|
|
608
|
-
* @generated from field: string filepath = 2;
|
|
609
|
-
*/
|
|
610
|
-
filepath: string;
|
|
611
|
-
/**
|
|
612
|
-
* disable upload of manifest file (default false)
|
|
613
|
-
*
|
|
614
|
-
* @generated from field: bool disable_manifest = 6;
|
|
615
|
-
*/
|
|
616
|
-
disableManifest: boolean;
|
|
617
|
-
/**
|
|
618
|
-
* @generated from oneof livekit.EncodedFileOutput.output
|
|
619
|
-
*/
|
|
620
|
-
output: {
|
|
621
|
-
/**
|
|
622
|
-
* @generated from field: livekit.S3Upload s3 = 3;
|
|
623
|
-
*/
|
|
624
|
-
value: S3Upload;
|
|
625
|
-
case: "s3";
|
|
626
|
-
} | {
|
|
627
|
-
/**
|
|
628
|
-
* @generated from field: livekit.GCPUpload gcp = 4;
|
|
629
|
-
*/
|
|
630
|
-
value: GCPUpload;
|
|
631
|
-
case: "gcp";
|
|
632
|
-
} | {
|
|
633
|
-
/**
|
|
634
|
-
* @generated from field: livekit.AzureBlobUpload azure = 5;
|
|
635
|
-
*/
|
|
636
|
-
value: AzureBlobUpload;
|
|
637
|
-
case: "azure";
|
|
638
|
-
} | {
|
|
639
|
-
/**
|
|
640
|
-
* @generated from field: livekit.AliOSSUpload aliOSS = 7;
|
|
641
|
-
*/
|
|
642
|
-
value: AliOSSUpload;
|
|
643
|
-
case: "aliOSS";
|
|
644
|
-
} | {
|
|
645
|
-
case: undefined;
|
|
646
|
-
value?: undefined;
|
|
647
|
-
};
|
|
648
|
-
constructor(data?: PartialMessage<EncodedFileOutput>);
|
|
649
|
-
static readonly runtime: typeof proto3;
|
|
650
|
-
static readonly typeName = "livekit.EncodedFileOutput";
|
|
651
|
-
static readonly fields: FieldList;
|
|
652
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncodedFileOutput;
|
|
653
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncodedFileOutput;
|
|
654
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncodedFileOutput;
|
|
655
|
-
static equals(a: EncodedFileOutput | PlainMessage<EncodedFileOutput> | undefined, b: EncodedFileOutput | PlainMessage<EncodedFileOutput> | undefined): boolean;
|
|
656
|
-
}
|
|
657
|
-
/**
|
|
658
|
-
* Used to generate HLS segments or other kind of segmented output
|
|
659
|
-
*
|
|
660
|
-
* @generated from message livekit.SegmentedFileOutput
|
|
661
|
-
*/
|
|
662
|
-
export declare class SegmentedFileOutput extends Message<SegmentedFileOutput> {
|
|
663
|
-
/**
|
|
664
|
-
* (optional)
|
|
665
|
-
*
|
|
666
|
-
* @generated from field: livekit.SegmentedFileProtocol protocol = 1;
|
|
667
|
-
*/
|
|
668
|
-
protocol: SegmentedFileProtocol;
|
|
669
|
-
/**
|
|
670
|
-
* (optional)
|
|
671
|
-
*
|
|
672
|
-
* @generated from field: string filename_prefix = 2;
|
|
673
|
-
*/
|
|
674
|
-
filenamePrefix: string;
|
|
675
|
-
/**
|
|
676
|
-
* (optional)
|
|
677
|
-
*
|
|
678
|
-
* @generated from field: string playlist_name = 3;
|
|
679
|
-
*/
|
|
680
|
-
playlistName: string;
|
|
681
|
-
/**
|
|
682
|
-
* (optional, disabled if not provided). Path of a live playlist
|
|
683
|
-
*
|
|
684
|
-
* @generated from field: string live_playlist_name = 11;
|
|
685
|
-
*/
|
|
686
|
-
livePlaylistName: string;
|
|
687
|
-
/**
|
|
688
|
-
* in seconds (optional)
|
|
689
|
-
*
|
|
690
|
-
* @generated from field: uint32 segment_duration = 4;
|
|
691
|
-
*/
|
|
692
|
-
segmentDuration: number;
|
|
693
|
-
/**
|
|
694
|
-
* (optional, default INDEX)
|
|
695
|
-
*
|
|
696
|
-
* @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10;
|
|
697
|
-
*/
|
|
698
|
-
filenameSuffix: SegmentedFileSuffix;
|
|
699
|
-
/**
|
|
700
|
-
* disable upload of manifest file (default false)
|
|
701
|
-
*
|
|
702
|
-
* @generated from field: bool disable_manifest = 8;
|
|
703
|
-
*/
|
|
704
|
-
disableManifest: boolean;
|
|
705
|
-
/**
|
|
706
|
-
* required
|
|
707
|
-
*
|
|
708
|
-
* @generated from oneof livekit.SegmentedFileOutput.output
|
|
709
|
-
*/
|
|
710
|
-
output: {
|
|
711
|
-
/**
|
|
712
|
-
* @generated from field: livekit.S3Upload s3 = 5;
|
|
713
|
-
*/
|
|
714
|
-
value: S3Upload;
|
|
715
|
-
case: "s3";
|
|
716
|
-
} | {
|
|
717
|
-
/**
|
|
718
|
-
* @generated from field: livekit.GCPUpload gcp = 6;
|
|
719
|
-
*/
|
|
720
|
-
value: GCPUpload;
|
|
721
|
-
case: "gcp";
|
|
722
|
-
} | {
|
|
723
|
-
/**
|
|
724
|
-
* @generated from field: livekit.AzureBlobUpload azure = 7;
|
|
725
|
-
*/
|
|
726
|
-
value: AzureBlobUpload;
|
|
727
|
-
case: "azure";
|
|
728
|
-
} | {
|
|
729
|
-
/**
|
|
730
|
-
* @generated from field: livekit.AliOSSUpload aliOSS = 9;
|
|
731
|
-
*/
|
|
732
|
-
value: AliOSSUpload;
|
|
733
|
-
case: "aliOSS";
|
|
734
|
-
} | {
|
|
735
|
-
case: undefined;
|
|
736
|
-
value?: undefined;
|
|
737
|
-
};
|
|
738
|
-
constructor(data?: PartialMessage<SegmentedFileOutput>);
|
|
739
|
-
static readonly runtime: typeof proto3;
|
|
740
|
-
static readonly typeName = "livekit.SegmentedFileOutput";
|
|
741
|
-
static readonly fields: FieldList;
|
|
742
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SegmentedFileOutput;
|
|
743
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SegmentedFileOutput;
|
|
744
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SegmentedFileOutput;
|
|
745
|
-
static equals(a: SegmentedFileOutput | PlainMessage<SegmentedFileOutput> | undefined, b: SegmentedFileOutput | PlainMessage<SegmentedFileOutput> | undefined): boolean;
|
|
746
|
-
}
|
|
747
|
-
/**
|
|
748
|
-
* @generated from message livekit.DirectFileOutput
|
|
749
|
-
*/
|
|
750
|
-
export declare class DirectFileOutput extends Message<DirectFileOutput> {
|
|
751
|
-
/**
|
|
752
|
-
* see egress docs for templating (default {track_id}-{time})
|
|
753
|
-
*
|
|
754
|
-
* @generated from field: string filepath = 1;
|
|
755
|
-
*/
|
|
756
|
-
filepath: string;
|
|
757
|
-
/**
|
|
758
|
-
* disable upload of manifest file (default false)
|
|
759
|
-
*
|
|
760
|
-
* @generated from field: bool disable_manifest = 5;
|
|
761
|
-
*/
|
|
762
|
-
disableManifest: boolean;
|
|
763
|
-
/**
|
|
764
|
-
* @generated from oneof livekit.DirectFileOutput.output
|
|
765
|
-
*/
|
|
766
|
-
output: {
|
|
767
|
-
/**
|
|
768
|
-
* @generated from field: livekit.S3Upload s3 = 2;
|
|
769
|
-
*/
|
|
770
|
-
value: S3Upload;
|
|
771
|
-
case: "s3";
|
|
772
|
-
} | {
|
|
773
|
-
/**
|
|
774
|
-
* @generated from field: livekit.GCPUpload gcp = 3;
|
|
775
|
-
*/
|
|
776
|
-
value: GCPUpload;
|
|
777
|
-
case: "gcp";
|
|
778
|
-
} | {
|
|
779
|
-
/**
|
|
780
|
-
* @generated from field: livekit.AzureBlobUpload azure = 4;
|
|
781
|
-
*/
|
|
782
|
-
value: AzureBlobUpload;
|
|
783
|
-
case: "azure";
|
|
784
|
-
} | {
|
|
785
|
-
/**
|
|
786
|
-
* @generated from field: livekit.AliOSSUpload aliOSS = 6;
|
|
787
|
-
*/
|
|
788
|
-
value: AliOSSUpload;
|
|
789
|
-
case: "aliOSS";
|
|
790
|
-
} | {
|
|
791
|
-
case: undefined;
|
|
792
|
-
value?: undefined;
|
|
793
|
-
};
|
|
794
|
-
constructor(data?: PartialMessage<DirectFileOutput>);
|
|
795
|
-
static readonly runtime: typeof proto3;
|
|
796
|
-
static readonly typeName = "livekit.DirectFileOutput";
|
|
797
|
-
static readonly fields: FieldList;
|
|
798
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DirectFileOutput;
|
|
799
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DirectFileOutput;
|
|
800
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DirectFileOutput;
|
|
801
|
-
static equals(a: DirectFileOutput | PlainMessage<DirectFileOutput> | undefined, b: DirectFileOutput | PlainMessage<DirectFileOutput> | undefined): boolean;
|
|
802
|
-
}
|
|
803
|
-
/**
|
|
804
|
-
* @generated from message livekit.ImageOutput
|
|
805
|
-
*/
|
|
806
|
-
export declare class ImageOutput extends Message<ImageOutput> {
|
|
807
|
-
/**
|
|
808
|
-
* in seconds (required)
|
|
809
|
-
*
|
|
810
|
-
* @generated from field: uint32 capture_interval = 1;
|
|
811
|
-
*/
|
|
812
|
-
captureInterval: number;
|
|
813
|
-
/**
|
|
814
|
-
* (optional, defaults to track width)
|
|
815
|
-
*
|
|
816
|
-
* @generated from field: int32 width = 2;
|
|
817
|
-
*/
|
|
818
|
-
width: number;
|
|
819
|
-
/**
|
|
820
|
-
* (optional, defaults to track height)
|
|
821
|
-
*
|
|
822
|
-
* @generated from field: int32 height = 3;
|
|
823
|
-
*/
|
|
824
|
-
height: number;
|
|
825
|
-
/**
|
|
826
|
-
* (optional)
|
|
827
|
-
*
|
|
828
|
-
* @generated from field: string filename_prefix = 4;
|
|
829
|
-
*/
|
|
830
|
-
filenamePrefix: string;
|
|
831
|
-
/**
|
|
832
|
-
* (optional, default INDEX)
|
|
833
|
-
*
|
|
834
|
-
* @generated from field: livekit.ImageFileSuffix filename_suffix = 5;
|
|
835
|
-
*/
|
|
836
|
-
filenameSuffix: ImageFileSuffix;
|
|
837
|
-
/**
|
|
838
|
-
* (optional)
|
|
839
|
-
*
|
|
840
|
-
* @generated from field: livekit.ImageCodec image_codec = 6;
|
|
841
|
-
*/
|
|
842
|
-
imageCodec: ImageCodec;
|
|
843
|
-
/**
|
|
844
|
-
* disable upload of manifest file (default false)
|
|
845
|
-
*
|
|
846
|
-
* @generated from field: bool disable_manifest = 7;
|
|
847
|
-
*/
|
|
848
|
-
disableManifest: boolean;
|
|
849
|
-
/**
|
|
850
|
-
* required
|
|
851
|
-
*
|
|
852
|
-
* @generated from oneof livekit.ImageOutput.output
|
|
853
|
-
*/
|
|
854
|
-
output: {
|
|
855
|
-
/**
|
|
856
|
-
* @generated from field: livekit.S3Upload s3 = 8;
|
|
857
|
-
*/
|
|
858
|
-
value: S3Upload;
|
|
859
|
-
case: "s3";
|
|
860
|
-
} | {
|
|
861
|
-
/**
|
|
862
|
-
* @generated from field: livekit.GCPUpload gcp = 9;
|
|
863
|
-
*/
|
|
864
|
-
value: GCPUpload;
|
|
865
|
-
case: "gcp";
|
|
866
|
-
} | {
|
|
867
|
-
/**
|
|
868
|
-
* @generated from field: livekit.AzureBlobUpload azure = 10;
|
|
869
|
-
*/
|
|
870
|
-
value: AzureBlobUpload;
|
|
871
|
-
case: "azure";
|
|
872
|
-
} | {
|
|
873
|
-
/**
|
|
874
|
-
* @generated from field: livekit.AliOSSUpload aliOSS = 11;
|
|
875
|
-
*/
|
|
876
|
-
value: AliOSSUpload;
|
|
877
|
-
case: "aliOSS";
|
|
878
|
-
} | {
|
|
879
|
-
case: undefined;
|
|
880
|
-
value?: undefined;
|
|
881
|
-
};
|
|
882
|
-
constructor(data?: PartialMessage<ImageOutput>);
|
|
883
|
-
static readonly runtime: typeof proto3;
|
|
884
|
-
static readonly typeName = "livekit.ImageOutput";
|
|
885
|
-
static readonly fields: FieldList;
|
|
886
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ImageOutput;
|
|
887
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ImageOutput;
|
|
888
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ImageOutput;
|
|
889
|
-
static equals(a: ImageOutput | PlainMessage<ImageOutput> | undefined, b: ImageOutput | PlainMessage<ImageOutput> | undefined): boolean;
|
|
890
|
-
}
|
|
891
|
-
/**
|
|
892
|
-
* @generated from message livekit.S3Upload
|
|
893
|
-
*/
|
|
894
|
-
export declare class S3Upload extends Message<S3Upload> {
|
|
895
|
-
/**
|
|
896
|
-
* @generated from field: string access_key = 1;
|
|
897
|
-
*/
|
|
898
|
-
accessKey: string;
|
|
899
|
-
/**
|
|
900
|
-
* @generated from field: string secret = 2;
|
|
901
|
-
*/
|
|
902
|
-
secret: string;
|
|
903
|
-
/**
|
|
904
|
-
* @generated from field: string region = 3;
|
|
905
|
-
*/
|
|
906
|
-
region: string;
|
|
907
|
-
/**
|
|
908
|
-
* @generated from field: string endpoint = 4;
|
|
909
|
-
*/
|
|
910
|
-
endpoint: string;
|
|
911
|
-
/**
|
|
912
|
-
* @generated from field: string bucket = 5;
|
|
913
|
-
*/
|
|
914
|
-
bucket: string;
|
|
915
|
-
/**
|
|
916
|
-
* @generated from field: bool force_path_style = 6;
|
|
917
|
-
*/
|
|
918
|
-
forcePathStyle: boolean;
|
|
919
|
-
/**
|
|
920
|
-
* @generated from field: map<string, string> metadata = 7;
|
|
921
|
-
*/
|
|
922
|
-
metadata: {
|
|
923
|
-
[key: string]: string;
|
|
924
|
-
};
|
|
925
|
-
/**
|
|
926
|
-
* @generated from field: string tagging = 8;
|
|
927
|
-
*/
|
|
928
|
-
tagging: string;
|
|
929
|
-
/**
|
|
930
|
-
* Content-Disposition header
|
|
931
|
-
*
|
|
932
|
-
* @generated from field: string content_disposition = 9;
|
|
933
|
-
*/
|
|
934
|
-
contentDisposition: string;
|
|
935
|
-
constructor(data?: PartialMessage<S3Upload>);
|
|
936
|
-
static readonly runtime: typeof proto3;
|
|
937
|
-
static readonly typeName = "livekit.S3Upload";
|
|
938
|
-
static readonly fields: FieldList;
|
|
939
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): S3Upload;
|
|
940
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): S3Upload;
|
|
941
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): S3Upload;
|
|
942
|
-
static equals(a: S3Upload | PlainMessage<S3Upload> | undefined, b: S3Upload | PlainMessage<S3Upload> | undefined): boolean;
|
|
943
|
-
}
|
|
944
|
-
/**
|
|
945
|
-
* @generated from message livekit.GCPUpload
|
|
946
|
-
*/
|
|
947
|
-
export declare class GCPUpload extends Message<GCPUpload> {
|
|
948
|
-
/**
|
|
949
|
-
* service account credentials serialized in JSON "credentials.json"
|
|
950
|
-
*
|
|
951
|
-
* @generated from field: string credentials = 1;
|
|
952
|
-
*/
|
|
953
|
-
credentials: string;
|
|
954
|
-
/**
|
|
955
|
-
* @generated from field: string bucket = 2;
|
|
956
|
-
*/
|
|
957
|
-
bucket: string;
|
|
958
|
-
constructor(data?: PartialMessage<GCPUpload>);
|
|
959
|
-
static readonly runtime: typeof proto3;
|
|
960
|
-
static readonly typeName = "livekit.GCPUpload";
|
|
961
|
-
static readonly fields: FieldList;
|
|
962
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GCPUpload;
|
|
963
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GCPUpload;
|
|
964
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GCPUpload;
|
|
965
|
-
static equals(a: GCPUpload | PlainMessage<GCPUpload> | undefined, b: GCPUpload | PlainMessage<GCPUpload> | undefined): boolean;
|
|
966
|
-
}
|
|
967
|
-
/**
|
|
968
|
-
* @generated from message livekit.AzureBlobUpload
|
|
969
|
-
*/
|
|
970
|
-
export declare class AzureBlobUpload extends Message<AzureBlobUpload> {
|
|
971
|
-
/**
|
|
972
|
-
* @generated from field: string account_name = 1;
|
|
973
|
-
*/
|
|
974
|
-
accountName: string;
|
|
975
|
-
/**
|
|
976
|
-
* @generated from field: string account_key = 2;
|
|
977
|
-
*/
|
|
978
|
-
accountKey: string;
|
|
979
|
-
/**
|
|
980
|
-
* @generated from field: string container_name = 3;
|
|
981
|
-
*/
|
|
982
|
-
containerName: string;
|
|
983
|
-
constructor(data?: PartialMessage<AzureBlobUpload>);
|
|
984
|
-
static readonly runtime: typeof proto3;
|
|
985
|
-
static readonly typeName = "livekit.AzureBlobUpload";
|
|
986
|
-
static readonly fields: FieldList;
|
|
987
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AzureBlobUpload;
|
|
988
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AzureBlobUpload;
|
|
989
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AzureBlobUpload;
|
|
990
|
-
static equals(a: AzureBlobUpload | PlainMessage<AzureBlobUpload> | undefined, b: AzureBlobUpload | PlainMessage<AzureBlobUpload> | undefined): boolean;
|
|
991
|
-
}
|
|
992
|
-
/**
|
|
993
|
-
* @generated from message livekit.AliOSSUpload
|
|
994
|
-
*/
|
|
995
|
-
export declare class AliOSSUpload extends Message<AliOSSUpload> {
|
|
996
|
-
/**
|
|
997
|
-
* @generated from field: string access_key = 1;
|
|
998
|
-
*/
|
|
999
|
-
accessKey: string;
|
|
1000
|
-
/**
|
|
1001
|
-
* @generated from field: string secret = 2;
|
|
1002
|
-
*/
|
|
1003
|
-
secret: string;
|
|
1004
|
-
/**
|
|
1005
|
-
* @generated from field: string region = 3;
|
|
1006
|
-
*/
|
|
1007
|
-
region: string;
|
|
1008
|
-
/**
|
|
1009
|
-
* @generated from field: string endpoint = 4;
|
|
1010
|
-
*/
|
|
1011
|
-
endpoint: string;
|
|
1012
|
-
/**
|
|
1013
|
-
* @generated from field: string bucket = 5;
|
|
1014
|
-
*/
|
|
1015
|
-
bucket: string;
|
|
1016
|
-
constructor(data?: PartialMessage<AliOSSUpload>);
|
|
1017
|
-
static readonly runtime: typeof proto3;
|
|
1018
|
-
static readonly typeName = "livekit.AliOSSUpload";
|
|
1019
|
-
static readonly fields: FieldList;
|
|
1020
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AliOSSUpload;
|
|
1021
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AliOSSUpload;
|
|
1022
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AliOSSUpload;
|
|
1023
|
-
static equals(a: AliOSSUpload | PlainMessage<AliOSSUpload> | undefined, b: AliOSSUpload | PlainMessage<AliOSSUpload> | undefined): boolean;
|
|
1024
|
-
}
|
|
1025
|
-
/**
|
|
1026
|
-
* @generated from message livekit.StreamOutput
|
|
1027
|
-
*/
|
|
1028
|
-
export declare class StreamOutput extends Message<StreamOutput> {
|
|
1029
|
-
/**
|
|
1030
|
-
* required
|
|
1031
|
-
*
|
|
1032
|
-
* @generated from field: livekit.StreamProtocol protocol = 1;
|
|
1033
|
-
*/
|
|
1034
|
-
protocol: StreamProtocol;
|
|
1035
|
-
/**
|
|
1036
|
-
* required
|
|
1037
|
-
*
|
|
1038
|
-
* @generated from field: repeated string urls = 2;
|
|
1039
|
-
*/
|
|
1040
|
-
urls: string[];
|
|
1041
|
-
constructor(data?: PartialMessage<StreamOutput>);
|
|
1042
|
-
static readonly runtime: typeof proto3;
|
|
1043
|
-
static readonly typeName = "livekit.StreamOutput";
|
|
1044
|
-
static readonly fields: FieldList;
|
|
1045
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamOutput;
|
|
1046
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamOutput;
|
|
1047
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamOutput;
|
|
1048
|
-
static equals(a: StreamOutput | PlainMessage<StreamOutput> | undefined, b: StreamOutput | PlainMessage<StreamOutput> | undefined): boolean;
|
|
1049
|
-
}
|
|
1050
|
-
/**
|
|
1051
|
-
* @generated from message livekit.EncodingOptions
|
|
1052
|
-
*/
|
|
1053
|
-
export declare class EncodingOptions extends Message<EncodingOptions> {
|
|
1054
|
-
/**
|
|
1055
|
-
* (default 1920)
|
|
1056
|
-
*
|
|
1057
|
-
* @generated from field: int32 width = 1;
|
|
1058
|
-
*/
|
|
1059
|
-
width: number;
|
|
1060
|
-
/**
|
|
1061
|
-
* (default 1080)
|
|
1062
|
-
*
|
|
1063
|
-
* @generated from field: int32 height = 2;
|
|
1064
|
-
*/
|
|
1065
|
-
height: number;
|
|
1066
|
-
/**
|
|
1067
|
-
* (default 24)
|
|
1068
|
-
*
|
|
1069
|
-
* @generated from field: int32 depth = 3;
|
|
1070
|
-
*/
|
|
1071
|
-
depth: number;
|
|
1072
|
-
/**
|
|
1073
|
-
* (default 30)
|
|
1074
|
-
*
|
|
1075
|
-
* @generated from field: int32 framerate = 4;
|
|
1076
|
-
*/
|
|
1077
|
-
framerate: number;
|
|
1078
|
-
/**
|
|
1079
|
-
* (default OPUS)
|
|
1080
|
-
*
|
|
1081
|
-
* @generated from field: livekit.AudioCodec audio_codec = 5;
|
|
1082
|
-
*/
|
|
1083
|
-
audioCodec: AudioCodec;
|
|
1084
|
-
/**
|
|
1085
|
-
* (default 128)
|
|
1086
|
-
*
|
|
1087
|
-
* @generated from field: int32 audio_bitrate = 6;
|
|
1088
|
-
*/
|
|
1089
|
-
audioBitrate: number;
|
|
1090
|
-
/**
|
|
1091
|
-
* quality setting on audio encoder
|
|
1092
|
-
*
|
|
1093
|
-
* @generated from field: int32 audio_quality = 11;
|
|
1094
|
-
*/
|
|
1095
|
-
audioQuality: number;
|
|
1096
|
-
/**
|
|
1097
|
-
* (default 44100)
|
|
1098
|
-
*
|
|
1099
|
-
* @generated from field: int32 audio_frequency = 7;
|
|
1100
|
-
*/
|
|
1101
|
-
audioFrequency: number;
|
|
1102
|
-
/**
|
|
1103
|
-
* (default H264_MAIN)
|
|
1104
|
-
*
|
|
1105
|
-
* @generated from field: livekit.VideoCodec video_codec = 8;
|
|
1106
|
-
*/
|
|
1107
|
-
videoCodec: VideoCodec;
|
|
1108
|
-
/**
|
|
1109
|
-
* (default 4500)
|
|
1110
|
-
*
|
|
1111
|
-
* @generated from field: int32 video_bitrate = 9;
|
|
1112
|
-
*/
|
|
1113
|
-
videoBitrate: number;
|
|
1114
|
-
/**
|
|
1115
|
-
* quality setting on video encoder
|
|
1116
|
-
*
|
|
1117
|
-
* @generated from field: int32 video_quality = 12;
|
|
1118
|
-
*/
|
|
1119
|
-
videoQuality: number;
|
|
1120
|
-
/**
|
|
1121
|
-
* in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
|
|
1122
|
-
*
|
|
1123
|
-
* @generated from field: double key_frame_interval = 10;
|
|
1124
|
-
*/
|
|
1125
|
-
keyFrameInterval: number;
|
|
1126
|
-
constructor(data?: PartialMessage<EncodingOptions>);
|
|
1127
|
-
static readonly runtime: typeof proto3;
|
|
1128
|
-
static readonly typeName = "livekit.EncodingOptions";
|
|
1129
|
-
static readonly fields: FieldList;
|
|
1130
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncodingOptions;
|
|
1131
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncodingOptions;
|
|
1132
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncodingOptions;
|
|
1133
|
-
static equals(a: EncodingOptions | PlainMessage<EncodingOptions> | undefined, b: EncodingOptions | PlainMessage<EncodingOptions> | undefined): boolean;
|
|
1134
|
-
}
|
|
1135
|
-
/**
|
|
1136
|
-
* @generated from message livekit.UpdateLayoutRequest
|
|
1137
|
-
*/
|
|
1138
|
-
export declare class UpdateLayoutRequest extends Message<UpdateLayoutRequest> {
|
|
1139
|
-
/**
|
|
1140
|
-
* @generated from field: string egress_id = 1;
|
|
1141
|
-
*/
|
|
1142
|
-
egressId: string;
|
|
1143
|
-
/**
|
|
1144
|
-
* @generated from field: string layout = 2;
|
|
1145
|
-
*/
|
|
1146
|
-
layout: string;
|
|
1147
|
-
constructor(data?: PartialMessage<UpdateLayoutRequest>);
|
|
1148
|
-
static readonly runtime: typeof proto3;
|
|
1149
|
-
static readonly typeName = "livekit.UpdateLayoutRequest";
|
|
1150
|
-
static readonly fields: FieldList;
|
|
1151
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateLayoutRequest;
|
|
1152
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateLayoutRequest;
|
|
1153
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLayoutRequest;
|
|
1154
|
-
static equals(a: UpdateLayoutRequest | PlainMessage<UpdateLayoutRequest> | undefined, b: UpdateLayoutRequest | PlainMessage<UpdateLayoutRequest> | undefined): boolean;
|
|
1155
|
-
}
|
|
1156
|
-
/**
|
|
1157
|
-
* @generated from message livekit.UpdateStreamRequest
|
|
1158
|
-
*/
|
|
1159
|
-
export declare class UpdateStreamRequest extends Message<UpdateStreamRequest> {
|
|
1160
|
-
/**
|
|
1161
|
-
* @generated from field: string egress_id = 1;
|
|
1162
|
-
*/
|
|
1163
|
-
egressId: string;
|
|
1164
|
-
/**
|
|
1165
|
-
* @generated from field: repeated string add_output_urls = 2;
|
|
1166
|
-
*/
|
|
1167
|
-
addOutputUrls: string[];
|
|
1168
|
-
/**
|
|
1169
|
-
* @generated from field: repeated string remove_output_urls = 3;
|
|
1170
|
-
*/
|
|
1171
|
-
removeOutputUrls: string[];
|
|
1172
|
-
constructor(data?: PartialMessage<UpdateStreamRequest>);
|
|
1173
|
-
static readonly runtime: typeof proto3;
|
|
1174
|
-
static readonly typeName = "livekit.UpdateStreamRequest";
|
|
1175
|
-
static readonly fields: FieldList;
|
|
1176
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateStreamRequest;
|
|
1177
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateStreamRequest;
|
|
1178
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateStreamRequest;
|
|
1179
|
-
static equals(a: UpdateStreamRequest | PlainMessage<UpdateStreamRequest> | undefined, b: UpdateStreamRequest | PlainMessage<UpdateStreamRequest> | undefined): boolean;
|
|
1180
|
-
}
|
|
1181
|
-
/**
|
|
1182
|
-
* @generated from message livekit.ListEgressRequest
|
|
1183
|
-
*/
|
|
1184
|
-
export declare class ListEgressRequest extends Message<ListEgressRequest> {
|
|
1185
|
-
/**
|
|
1186
|
-
* (optional, filter by room name)
|
|
1187
|
-
*
|
|
1188
|
-
* @generated from field: string room_name = 1;
|
|
1189
|
-
*/
|
|
1190
|
-
roomName: string;
|
|
1191
|
-
/**
|
|
1192
|
-
* (optional, filter by egress ID)
|
|
1193
|
-
*
|
|
1194
|
-
* @generated from field: string egress_id = 2;
|
|
1195
|
-
*/
|
|
1196
|
-
egressId: string;
|
|
1197
|
-
/**
|
|
1198
|
-
* (optional, list active egress only)
|
|
1199
|
-
*
|
|
1200
|
-
* @generated from field: bool active = 3;
|
|
1201
|
-
*/
|
|
1202
|
-
active: boolean;
|
|
1203
|
-
constructor(data?: PartialMessage<ListEgressRequest>);
|
|
1204
|
-
static readonly runtime: typeof proto3;
|
|
1205
|
-
static readonly typeName = "livekit.ListEgressRequest";
|
|
1206
|
-
static readonly fields: FieldList;
|
|
1207
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListEgressRequest;
|
|
1208
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListEgressRequest;
|
|
1209
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListEgressRequest;
|
|
1210
|
-
static equals(a: ListEgressRequest | PlainMessage<ListEgressRequest> | undefined, b: ListEgressRequest | PlainMessage<ListEgressRequest> | undefined): boolean;
|
|
1211
|
-
}
|
|
1212
|
-
/**
|
|
1213
|
-
* @generated from message livekit.ListEgressResponse
|
|
1214
|
-
*/
|
|
1215
|
-
export declare class ListEgressResponse extends Message<ListEgressResponse> {
|
|
1216
|
-
/**
|
|
1217
|
-
* @generated from field: repeated livekit.EgressInfo items = 1;
|
|
1218
|
-
*/
|
|
1219
|
-
items: EgressInfo[];
|
|
1220
|
-
constructor(data?: PartialMessage<ListEgressResponse>);
|
|
1221
|
-
static readonly runtime: typeof proto3;
|
|
1222
|
-
static readonly typeName = "livekit.ListEgressResponse";
|
|
1223
|
-
static readonly fields: FieldList;
|
|
1224
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListEgressResponse;
|
|
1225
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListEgressResponse;
|
|
1226
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListEgressResponse;
|
|
1227
|
-
static equals(a: ListEgressResponse | PlainMessage<ListEgressResponse> | undefined, b: ListEgressResponse | PlainMessage<ListEgressResponse> | undefined): boolean;
|
|
1228
|
-
}
|
|
1229
|
-
/**
|
|
1230
|
-
* @generated from message livekit.StopEgressRequest
|
|
1231
|
-
*/
|
|
1232
|
-
export declare class StopEgressRequest extends Message<StopEgressRequest> {
|
|
1233
|
-
/**
|
|
1234
|
-
* @generated from field: string egress_id = 1;
|
|
1235
|
-
*/
|
|
1236
|
-
egressId: string;
|
|
1237
|
-
constructor(data?: PartialMessage<StopEgressRequest>);
|
|
1238
|
-
static readonly runtime: typeof proto3;
|
|
1239
|
-
static readonly typeName = "livekit.StopEgressRequest";
|
|
1240
|
-
static readonly fields: FieldList;
|
|
1241
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopEgressRequest;
|
|
1242
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopEgressRequest;
|
|
1243
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopEgressRequest;
|
|
1244
|
-
static equals(a: StopEgressRequest | PlainMessage<StopEgressRequest> | undefined, b: StopEgressRequest | PlainMessage<StopEgressRequest> | undefined): boolean;
|
|
1245
|
-
}
|
|
1246
|
-
/**
|
|
1247
|
-
* @generated from message livekit.EgressInfo
|
|
1248
|
-
*/
|
|
1249
|
-
export declare class EgressInfo extends Message<EgressInfo> {
|
|
1250
|
-
/**
|
|
1251
|
-
* @generated from field: string egress_id = 1;
|
|
1252
|
-
*/
|
|
1253
|
-
egressId: string;
|
|
1254
|
-
/**
|
|
1255
|
-
* @generated from field: string room_id = 2;
|
|
1256
|
-
*/
|
|
1257
|
-
roomId: string;
|
|
1258
|
-
/**
|
|
1259
|
-
* @generated from field: string room_name = 13;
|
|
1260
|
-
*/
|
|
1261
|
-
roomName: string;
|
|
1262
|
-
/**
|
|
1263
|
-
* @generated from field: livekit.EgressStatus status = 3;
|
|
1264
|
-
*/
|
|
1265
|
-
status: EgressStatus;
|
|
1266
|
-
/**
|
|
1267
|
-
* @generated from field: int64 started_at = 10;
|
|
1268
|
-
*/
|
|
1269
|
-
startedAt: bigint;
|
|
1270
|
-
/**
|
|
1271
|
-
* @generated from field: int64 ended_at = 11;
|
|
1272
|
-
*/
|
|
1273
|
-
endedAt: bigint;
|
|
1274
|
-
/**
|
|
1275
|
-
* @generated from field: int64 updated_at = 18;
|
|
1276
|
-
*/
|
|
1277
|
-
updatedAt: bigint;
|
|
1278
|
-
/**
|
|
1279
|
-
* @generated from field: string error = 9;
|
|
1280
|
-
*/
|
|
1281
|
-
error: string;
|
|
1282
|
-
/**
|
|
1283
|
-
* @generated from oneof livekit.EgressInfo.request
|
|
1284
|
-
*/
|
|
1285
|
-
request: {
|
|
1286
|
-
/**
|
|
1287
|
-
* @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4;
|
|
1288
|
-
*/
|
|
1289
|
-
value: RoomCompositeEgressRequest;
|
|
1290
|
-
case: "roomComposite";
|
|
1291
|
-
} | {
|
|
1292
|
-
/**
|
|
1293
|
-
* @generated from field: livekit.WebEgressRequest web = 14;
|
|
1294
|
-
*/
|
|
1295
|
-
value: WebEgressRequest;
|
|
1296
|
-
case: "web";
|
|
1297
|
-
} | {
|
|
1298
|
-
/**
|
|
1299
|
-
* @generated from field: livekit.ParticipantEgressRequest participant = 19;
|
|
1300
|
-
*/
|
|
1301
|
-
value: ParticipantEgressRequest;
|
|
1302
|
-
case: "participant";
|
|
1303
|
-
} | {
|
|
1304
|
-
/**
|
|
1305
|
-
* @generated from field: livekit.TrackCompositeEgressRequest track_composite = 5;
|
|
1306
|
-
*/
|
|
1307
|
-
value: TrackCompositeEgressRequest;
|
|
1308
|
-
case: "trackComposite";
|
|
1309
|
-
} | {
|
|
1310
|
-
/**
|
|
1311
|
-
* @generated from field: livekit.TrackEgressRequest track = 6;
|
|
1312
|
-
*/
|
|
1313
|
-
value: TrackEgressRequest;
|
|
1314
|
-
case: "track";
|
|
1315
|
-
} | {
|
|
1316
|
-
case: undefined;
|
|
1317
|
-
value?: undefined;
|
|
1318
|
-
};
|
|
1319
|
-
/**
|
|
1320
|
-
* deprecated (use _result fields)
|
|
1321
|
-
*
|
|
1322
|
-
* @generated from oneof livekit.EgressInfo.result
|
|
1323
|
-
*/
|
|
1324
|
-
result: {
|
|
1325
|
-
/**
|
|
1326
|
-
* @generated from field: livekit.StreamInfoList stream = 7 [deprecated = true];
|
|
1327
|
-
* @deprecated
|
|
1328
|
-
*/
|
|
1329
|
-
value: StreamInfoList;
|
|
1330
|
-
case: "stream";
|
|
1331
|
-
} | {
|
|
1332
|
-
/**
|
|
1333
|
-
* @generated from field: livekit.FileInfo file = 8 [deprecated = true];
|
|
1334
|
-
* @deprecated
|
|
1335
|
-
*/
|
|
1336
|
-
value: FileInfo;
|
|
1337
|
-
case: "file";
|
|
1338
|
-
} | {
|
|
1339
|
-
/**
|
|
1340
|
-
* @generated from field: livekit.SegmentsInfo segments = 12 [deprecated = true];
|
|
1341
|
-
* @deprecated
|
|
1342
|
-
*/
|
|
1343
|
-
value: SegmentsInfo;
|
|
1344
|
-
case: "segments";
|
|
1345
|
-
} | {
|
|
1346
|
-
case: undefined;
|
|
1347
|
-
value?: undefined;
|
|
1348
|
-
};
|
|
1349
|
-
/**
|
|
1350
|
-
* @generated from field: repeated livekit.StreamInfo stream_results = 15;
|
|
1351
|
-
*/
|
|
1352
|
-
streamResults: StreamInfo[];
|
|
1353
|
-
/**
|
|
1354
|
-
* @generated from field: repeated livekit.FileInfo file_results = 16;
|
|
1355
|
-
*/
|
|
1356
|
-
fileResults: FileInfo[];
|
|
1357
|
-
/**
|
|
1358
|
-
* @generated from field: repeated livekit.SegmentsInfo segment_results = 17;
|
|
1359
|
-
*/
|
|
1360
|
-
segmentResults: SegmentsInfo[];
|
|
1361
|
-
/**
|
|
1362
|
-
* @generated from field: repeated livekit.ImagesInfo image_results = 20;
|
|
1363
|
-
*/
|
|
1364
|
-
imageResults: ImagesInfo[];
|
|
1365
|
-
constructor(data?: PartialMessage<EgressInfo>);
|
|
1366
|
-
static readonly runtime: typeof proto3;
|
|
1367
|
-
static readonly typeName = "livekit.EgressInfo";
|
|
1368
|
-
static readonly fields: FieldList;
|
|
1369
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EgressInfo;
|
|
1370
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EgressInfo;
|
|
1371
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EgressInfo;
|
|
1372
|
-
static equals(a: EgressInfo | PlainMessage<EgressInfo> | undefined, b: EgressInfo | PlainMessage<EgressInfo> | undefined): boolean;
|
|
1373
|
-
}
|
|
1374
|
-
/**
|
|
1375
|
-
* @generated from message livekit.StreamInfoList
|
|
1376
|
-
* @deprecated
|
|
1377
|
-
*/
|
|
1378
|
-
export declare class StreamInfoList extends Message<StreamInfoList> {
|
|
1379
|
-
/**
|
|
1380
|
-
* @generated from field: repeated livekit.StreamInfo info = 1;
|
|
1381
|
-
*/
|
|
1382
|
-
info: StreamInfo[];
|
|
1383
|
-
constructor(data?: PartialMessage<StreamInfoList>);
|
|
1384
|
-
static readonly runtime: typeof proto3;
|
|
1385
|
-
static readonly typeName = "livekit.StreamInfoList";
|
|
1386
|
-
static readonly fields: FieldList;
|
|
1387
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamInfoList;
|
|
1388
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamInfoList;
|
|
1389
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamInfoList;
|
|
1390
|
-
static equals(a: StreamInfoList | PlainMessage<StreamInfoList> | undefined, b: StreamInfoList | PlainMessage<StreamInfoList> | undefined): boolean;
|
|
1391
|
-
}
|
|
1392
|
-
/**
|
|
1393
|
-
* @generated from message livekit.StreamInfo
|
|
1394
|
-
*/
|
|
1395
|
-
export declare class StreamInfo extends Message<StreamInfo> {
|
|
1396
|
-
/**
|
|
1397
|
-
* @generated from field: string url = 1;
|
|
1398
|
-
*/
|
|
1399
|
-
url: string;
|
|
1400
|
-
/**
|
|
1401
|
-
* @generated from field: int64 started_at = 2;
|
|
1402
|
-
*/
|
|
1403
|
-
startedAt: bigint;
|
|
1404
|
-
/**
|
|
1405
|
-
* @generated from field: int64 ended_at = 3;
|
|
1406
|
-
*/
|
|
1407
|
-
endedAt: bigint;
|
|
1408
|
-
/**
|
|
1409
|
-
* @generated from field: int64 duration = 4;
|
|
1410
|
-
*/
|
|
1411
|
-
duration: bigint;
|
|
1412
|
-
/**
|
|
1413
|
-
* @generated from field: livekit.StreamInfo.Status status = 5;
|
|
1414
|
-
*/
|
|
1415
|
-
status: StreamInfo_Status;
|
|
1416
|
-
/**
|
|
1417
|
-
* @generated from field: string error = 6;
|
|
1418
|
-
*/
|
|
1419
|
-
error: string;
|
|
1420
|
-
constructor(data?: PartialMessage<StreamInfo>);
|
|
1421
|
-
static readonly runtime: typeof proto3;
|
|
1422
|
-
static readonly typeName = "livekit.StreamInfo";
|
|
1423
|
-
static readonly fields: FieldList;
|
|
1424
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamInfo;
|
|
1425
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamInfo;
|
|
1426
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamInfo;
|
|
1427
|
-
static equals(a: StreamInfo | PlainMessage<StreamInfo> | undefined, b: StreamInfo | PlainMessage<StreamInfo> | undefined): boolean;
|
|
1428
|
-
}
|
|
1429
|
-
/**
|
|
1430
|
-
* @generated from enum livekit.StreamInfo.Status
|
|
1431
|
-
*/
|
|
1432
|
-
export declare enum StreamInfo_Status {
|
|
1433
|
-
/**
|
|
1434
|
-
* @generated from enum value: ACTIVE = 0;
|
|
1435
|
-
*/
|
|
1436
|
-
ACTIVE = 0,
|
|
1437
|
-
/**
|
|
1438
|
-
* @generated from enum value: FINISHED = 1;
|
|
1439
|
-
*/
|
|
1440
|
-
FINISHED = 1,
|
|
1441
|
-
/**
|
|
1442
|
-
* @generated from enum value: FAILED = 2;
|
|
1443
|
-
*/
|
|
1444
|
-
FAILED = 2
|
|
1445
|
-
}
|
|
1446
|
-
/**
|
|
1447
|
-
* @generated from message livekit.FileInfo
|
|
1448
|
-
*/
|
|
1449
|
-
export declare class FileInfo extends Message<FileInfo> {
|
|
1450
|
-
/**
|
|
1451
|
-
* @generated from field: string filename = 1;
|
|
1452
|
-
*/
|
|
1453
|
-
filename: string;
|
|
1454
|
-
/**
|
|
1455
|
-
* @generated from field: int64 started_at = 2;
|
|
1456
|
-
*/
|
|
1457
|
-
startedAt: bigint;
|
|
1458
|
-
/**
|
|
1459
|
-
* @generated from field: int64 ended_at = 3;
|
|
1460
|
-
*/
|
|
1461
|
-
endedAt: bigint;
|
|
1462
|
-
/**
|
|
1463
|
-
* @generated from field: int64 duration = 6;
|
|
1464
|
-
*/
|
|
1465
|
-
duration: bigint;
|
|
1466
|
-
/**
|
|
1467
|
-
* @generated from field: int64 size = 4;
|
|
1468
|
-
*/
|
|
1469
|
-
size: bigint;
|
|
1470
|
-
/**
|
|
1471
|
-
* @generated from field: string location = 5;
|
|
1472
|
-
*/
|
|
1473
|
-
location: string;
|
|
1474
|
-
constructor(data?: PartialMessage<FileInfo>);
|
|
1475
|
-
static readonly runtime: typeof proto3;
|
|
1476
|
-
static readonly typeName = "livekit.FileInfo";
|
|
1477
|
-
static readonly fields: FieldList;
|
|
1478
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileInfo;
|
|
1479
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileInfo;
|
|
1480
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileInfo;
|
|
1481
|
-
static equals(a: FileInfo | PlainMessage<FileInfo> | undefined, b: FileInfo | PlainMessage<FileInfo> | undefined): boolean;
|
|
1482
|
-
}
|
|
1483
|
-
/**
|
|
1484
|
-
* @generated from message livekit.SegmentsInfo
|
|
1485
|
-
*/
|
|
1486
|
-
export declare class SegmentsInfo extends Message<SegmentsInfo> {
|
|
1487
|
-
/**
|
|
1488
|
-
* @generated from field: string playlist_name = 1;
|
|
1489
|
-
*/
|
|
1490
|
-
playlistName: string;
|
|
1491
|
-
/**
|
|
1492
|
-
* @generated from field: string live_playlist_name = 8;
|
|
1493
|
-
*/
|
|
1494
|
-
livePlaylistName: string;
|
|
1495
|
-
/**
|
|
1496
|
-
* @generated from field: int64 duration = 2;
|
|
1497
|
-
*/
|
|
1498
|
-
duration: bigint;
|
|
1499
|
-
/**
|
|
1500
|
-
* @generated from field: int64 size = 3;
|
|
1501
|
-
*/
|
|
1502
|
-
size: bigint;
|
|
1503
|
-
/**
|
|
1504
|
-
* @generated from field: string playlist_location = 4;
|
|
1505
|
-
*/
|
|
1506
|
-
playlistLocation: string;
|
|
1507
|
-
/**
|
|
1508
|
-
* @generated from field: string live_playlist_location = 9;
|
|
1509
|
-
*/
|
|
1510
|
-
livePlaylistLocation: string;
|
|
1511
|
-
/**
|
|
1512
|
-
* @generated from field: int64 segment_count = 5;
|
|
1513
|
-
*/
|
|
1514
|
-
segmentCount: bigint;
|
|
1515
|
-
/**
|
|
1516
|
-
* @generated from field: int64 started_at = 6;
|
|
1517
|
-
*/
|
|
1518
|
-
startedAt: bigint;
|
|
1519
|
-
/**
|
|
1520
|
-
* @generated from field: int64 ended_at = 7;
|
|
1521
|
-
*/
|
|
1522
|
-
endedAt: bigint;
|
|
1523
|
-
constructor(data?: PartialMessage<SegmentsInfo>);
|
|
1524
|
-
static readonly runtime: typeof proto3;
|
|
1525
|
-
static readonly typeName = "livekit.SegmentsInfo";
|
|
1526
|
-
static readonly fields: FieldList;
|
|
1527
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SegmentsInfo;
|
|
1528
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SegmentsInfo;
|
|
1529
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SegmentsInfo;
|
|
1530
|
-
static equals(a: SegmentsInfo | PlainMessage<SegmentsInfo> | undefined, b: SegmentsInfo | PlainMessage<SegmentsInfo> | undefined): boolean;
|
|
1531
|
-
}
|
|
1532
|
-
/**
|
|
1533
|
-
* @generated from message livekit.ImagesInfo
|
|
1534
|
-
*/
|
|
1535
|
-
export declare class ImagesInfo extends Message<ImagesInfo> {
|
|
1536
|
-
/**
|
|
1537
|
-
* @generated from field: int64 image_count = 1;
|
|
1538
|
-
*/
|
|
1539
|
-
imageCount: bigint;
|
|
1540
|
-
/**
|
|
1541
|
-
* @generated from field: int64 started_at = 2;
|
|
1542
|
-
*/
|
|
1543
|
-
startedAt: bigint;
|
|
1544
|
-
/**
|
|
1545
|
-
* @generated from field: int64 ended_at = 3;
|
|
1546
|
-
*/
|
|
1547
|
-
endedAt: bigint;
|
|
1548
|
-
constructor(data?: PartialMessage<ImagesInfo>);
|
|
1549
|
-
static readonly runtime: typeof proto3;
|
|
1550
|
-
static readonly typeName = "livekit.ImagesInfo";
|
|
1551
|
-
static readonly fields: FieldList;
|
|
1552
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ImagesInfo;
|
|
1553
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ImagesInfo;
|
|
1554
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ImagesInfo;
|
|
1555
|
-
static equals(a: ImagesInfo | PlainMessage<ImagesInfo> | undefined, b: ImagesInfo | PlainMessage<ImagesInfo> | undefined): boolean;
|
|
1556
|
-
}
|
|
1557
|
-
/**
|
|
1558
|
-
* @generated from message livekit.AutoParticipantEgress
|
|
1559
|
-
*/
|
|
1560
|
-
export declare class AutoParticipantEgress extends Message<AutoParticipantEgress> {
|
|
1561
|
-
/**
|
|
1562
|
-
* @generated from oneof livekit.AutoParticipantEgress.options
|
|
1563
|
-
*/
|
|
1564
|
-
options: {
|
|
1565
|
-
/**
|
|
1566
|
-
* (default H264_720P_30)
|
|
1567
|
-
*
|
|
1568
|
-
* @generated from field: livekit.EncodingOptionsPreset preset = 1;
|
|
1569
|
-
*/
|
|
1570
|
-
value: EncodingOptionsPreset;
|
|
1571
|
-
case: "preset";
|
|
1572
|
-
} | {
|
|
1573
|
-
/**
|
|
1574
|
-
* (optional)
|
|
1575
|
-
*
|
|
1576
|
-
* @generated from field: livekit.EncodingOptions advanced = 2;
|
|
1577
|
-
*/
|
|
1578
|
-
value: EncodingOptions;
|
|
1579
|
-
case: "advanced";
|
|
1580
|
-
} | {
|
|
1581
|
-
case: undefined;
|
|
1582
|
-
value?: undefined;
|
|
1583
|
-
};
|
|
1584
|
-
/**
|
|
1585
|
-
* @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3;
|
|
1586
|
-
*/
|
|
1587
|
-
fileOutputs: EncodedFileOutput[];
|
|
1588
|
-
/**
|
|
1589
|
-
* @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4;
|
|
1590
|
-
*/
|
|
1591
|
-
segmentOutputs: SegmentedFileOutput[];
|
|
1592
|
-
constructor(data?: PartialMessage<AutoParticipantEgress>);
|
|
1593
|
-
static readonly runtime: typeof proto3;
|
|
1594
|
-
static readonly typeName = "livekit.AutoParticipantEgress";
|
|
1595
|
-
static readonly fields: FieldList;
|
|
1596
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AutoParticipantEgress;
|
|
1597
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AutoParticipantEgress;
|
|
1598
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AutoParticipantEgress;
|
|
1599
|
-
static equals(a: AutoParticipantEgress | PlainMessage<AutoParticipantEgress> | undefined, b: AutoParticipantEgress | PlainMessage<AutoParticipantEgress> | undefined): boolean;
|
|
1600
|
-
}
|
|
1601
|
-
/**
|
|
1602
|
-
* @generated from message livekit.AutoTrackEgress
|
|
1603
|
-
*/
|
|
1604
|
-
export declare class AutoTrackEgress extends Message<AutoTrackEgress> {
|
|
1605
|
-
/**
|
|
1606
|
-
* see docs for templating (default {track_id}-{time})
|
|
1607
|
-
*
|
|
1608
|
-
* @generated from field: string filepath = 1;
|
|
1609
|
-
*/
|
|
1610
|
-
filepath: string;
|
|
1611
|
-
/**
|
|
1612
|
-
* disables upload of json manifest file (default false)
|
|
1613
|
-
*
|
|
1614
|
-
* @generated from field: bool disable_manifest = 5;
|
|
1615
|
-
*/
|
|
1616
|
-
disableManifest: boolean;
|
|
1617
|
-
/**
|
|
1618
|
-
* @generated from oneof livekit.AutoTrackEgress.output
|
|
1619
|
-
*/
|
|
1620
|
-
output: {
|
|
1621
|
-
/**
|
|
1622
|
-
* @generated from field: livekit.S3Upload s3 = 2;
|
|
1623
|
-
*/
|
|
1624
|
-
value: S3Upload;
|
|
1625
|
-
case: "s3";
|
|
1626
|
-
} | {
|
|
1627
|
-
/**
|
|
1628
|
-
* @generated from field: livekit.GCPUpload gcp = 3;
|
|
1629
|
-
*/
|
|
1630
|
-
value: GCPUpload;
|
|
1631
|
-
case: "gcp";
|
|
1632
|
-
} | {
|
|
1633
|
-
/**
|
|
1634
|
-
* @generated from field: livekit.AzureBlobUpload azure = 4;
|
|
1635
|
-
*/
|
|
1636
|
-
value: AzureBlobUpload;
|
|
1637
|
-
case: "azure";
|
|
1638
|
-
} | {
|
|
1639
|
-
case: undefined;
|
|
1640
|
-
value?: undefined;
|
|
1641
|
-
};
|
|
1642
|
-
constructor(data?: PartialMessage<AutoTrackEgress>);
|
|
1643
|
-
static readonly runtime: typeof proto3;
|
|
1644
|
-
static readonly typeName = "livekit.AutoTrackEgress";
|
|
1645
|
-
static readonly fields: FieldList;
|
|
1646
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AutoTrackEgress;
|
|
1647
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AutoTrackEgress;
|
|
1648
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AutoTrackEgress;
|
|
1649
|
-
static equals(a: AutoTrackEgress | PlainMessage<AutoTrackEgress> | undefined, b: AutoTrackEgress | PlainMessage<AutoTrackEgress> | undefined): boolean;
|
|
1650
|
-
}
|