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