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