@livekit/protocol 1.29.2 → 1.29.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6261 -51
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11475 -0
- package/dist/index.d.mts +11475 -0
- package/dist/index.d.ts +11475 -13
- package/dist/index.mjs +6013 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +18 -18
- package/src/gen/livekit_agent_dispatch_pb.d.ts +253 -0
- package/src/gen/livekit_agent_dispatch_pb.js +103 -0
- package/src/gen/livekit_agent_pb.d.ts +741 -0
- package/src/gen/livekit_agent_pb.js +266 -0
- package/src/gen/livekit_analytics_pb.d.ts +889 -0
- package/src/gen/livekit_analytics_pb.js +264 -0
- package/src/gen/livekit_egress_pb.d.ts +2056 -0
- package/src/gen/livekit_egress_pb.js +594 -0
- package/src/gen/livekit_ingress_pb.d.ts +843 -0
- package/src/gen/livekit_ingress_pb.js +269 -0
- package/src/gen/livekit_internal_pb.d.ts +622 -0
- package/src/gen/livekit_internal_pb.js +191 -0
- package/src/gen/livekit_metrics_pb.d.ts +376 -0
- package/src/gen/livekit_metrics_pb.js +97 -0
- package/src/gen/livekit_models_pb.d.ts +2837 -0
- package/src/gen/livekit_models_pb.js +913 -0
- package/src/gen/livekit_room_pb.d.ts +774 -0
- package/src/gen/livekit_room_pb.js +259 -0
- package/src/gen/livekit_rtc_pb.d.ts +2001 -0
- package/src/gen/livekit_rtc_pb.js +634 -0
- package/src/gen/livekit_sip_pb.d.ts +1551 -0
- package/src/gen/livekit_sip_pb.js +483 -0
- package/src/gen/livekit_webhook_pb.d.ts +105 -0
- package/src/gen/livekit_webhook_pb.js +42 -0
- package/src/gen/version.js +2 -0
- package/src/index.d.ts +12 -0
- package/{dist → src}/index.js +2 -5
- package/dist/gen/livekit_agent_dispatch_pb.cjs +0 -385
- package/dist/gen/livekit_agent_dispatch_pb.cjs.map +0 -1
- package/dist/gen/livekit_agent_dispatch_pb.d.ts +0 -174
- package/dist/gen/livekit_agent_dispatch_pb.d.ts.map +0 -1
- package/dist/gen/livekit_agent_dispatch_pb.js +0 -356
- package/dist/gen/livekit_agent_dispatch_pb.js.map +0 -1
- package/dist/gen/livekit_agent_pb.cjs +0 -881
- package/dist/gen/livekit_agent_pb.cjs.map +0 -1
- package/dist/gen/livekit_agent_pb.d.ts +0 -575
- package/dist/gen/livekit_agent_pb.d.ts.map +0 -1
- package/dist/gen/livekit_agent_pb.js +0 -840
- package/dist/gen/livekit_agent_pb.js.map +0 -1
- package/dist/gen/livekit_analytics_pb.cjs +0 -1087
- package/dist/gen/livekit_analytics_pb.cjs.map +0 -1
- package/dist/gen/livekit_analytics_pb.d.ts +0 -679
- package/dist/gen/livekit_analytics_pb.d.ts.map +0 -1
- package/dist/gen/livekit_analytics_pb.js +0 -1053
- package/dist/gen/livekit_analytics_pb.js.map +0 -1
- package/dist/gen/livekit_egress_pb.cjs +0 -2476
- package/dist/gen/livekit_egress_pb.cjs.map +0 -1
- package/dist/gen/livekit_egress_pb.d.ts +0 -1720
- package/dist/gen/livekit_egress_pb.d.ts.map +0 -1
- package/dist/gen/livekit_egress_pb.js +0 -2417
- package/dist/gen/livekit_egress_pb.js.map +0 -1
- package/dist/gen/livekit_ingress_pb.cjs +0 -1050
- package/dist/gen/livekit_ingress_pb.cjs.map +0 -1
- package/dist/gen/livekit_ingress_pb.d.ts +0 -660
- package/dist/gen/livekit_ingress_pb.d.ts.map +0 -1
- package/dist/gen/livekit_ingress_pb.js +0 -1011
- package/dist/gen/livekit_ingress_pb.js.map +0 -1
- package/dist/gen/livekit_internal_pb.cjs +0 -998
- package/dist/gen/livekit_internal_pb.cjs.map +0 -1
- package/dist/gen/livekit_internal_pb.d.ts +0 -481
- package/dist/gen/livekit_internal_pb.d.ts.map +0 -1
- package/dist/gen/livekit_internal_pb.js +0 -968
- package/dist/gen/livekit_internal_pb.js.map +0 -1
- package/dist/gen/livekit_metrics_pb.cjs +0 -371
- package/dist/gen/livekit_metrics_pb.cjs.map +0 -1
- package/dist/gen/livekit_metrics_pb.d.ts +0 -304
- package/dist/gen/livekit_metrics_pb.d.ts.map +0 -1
- package/dist/gen/livekit_metrics_pb.js +0 -344
- package/dist/gen/livekit_metrics_pb.js.map +0 -1
- package/dist/gen/livekit_models_pb.cjs +0 -3668
- package/dist/gen/livekit_models_pb.cjs.map +0 -1
- package/dist/gen/livekit_models_pb.d.ts +0 -2265
- package/dist/gen/livekit_models_pb.d.ts.map +0 -1
- package/dist/gen/livekit_models_pb.js +0 -3588
- package/dist/gen/livekit_models_pb.js.map +0 -1
- package/dist/gen/livekit_room_pb.cjs +0 -1080
- package/dist/gen/livekit_room_pb.cjs.map +0 -1
- package/dist/gen/livekit_room_pb.d.ts +0 -580
- package/dist/gen/livekit_room_pb.d.ts.map +0 -1
- package/dist/gen/livekit_room_pb.js +0 -1038
- package/dist/gen/livekit_room_pb.js.map +0 -1
- package/dist/gen/livekit_rtc_pb.cjs +0 -2261
- package/dist/gen/livekit_rtc_pb.cjs.map +0 -1
- package/dist/gen/livekit_rtc_pb.d.ts +0 -1602
- package/dist/gen/livekit_rtc_pb.d.ts.map +0 -1
- package/dist/gen/livekit_rtc_pb.js +0 -2192
- package/dist/gen/livekit_rtc_pb.js.map +0 -1
- package/dist/gen/livekit_sip_pb.cjs +0 -2118
- package/dist/gen/livekit_sip_pb.cjs.map +0 -1
- package/dist/gen/livekit_sip_pb.d.ts +0 -1226
- package/dist/gen/livekit_sip_pb.d.ts.map +0 -1
- package/dist/gen/livekit_sip_pb.js +0 -2061
- package/dist/gen/livekit_sip_pb.js.map +0 -1
- package/dist/gen/livekit_webhook_pb.cjs +0 -111
- package/dist/gen/livekit_webhook_pb.cjs.map +0 -1
- package/dist/gen/livekit_webhook_pb.d.ts +0 -71
- package/dist/gen/livekit_webhook_pb.d.ts.map +0 -1
- package/dist/gen/livekit_webhook_pb.js +0 -88
- package/dist/gen/livekit_webhook_pb.js.map +0 -1
- package/dist/gen/version.cjs +0 -28
- package/dist/gen/version.cjs.map +0 -1
- package/dist/gen/version.d.ts +0 -2
- package/dist/gen/version.d.ts.map +0 -1
- package/dist/gen/version.js +0 -5
- package/dist/gen/version.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -1,1050 +0,0 @@
|
|
|
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_ingress_pb_exports = {};
|
|
19
|
-
__export(livekit_ingress_pb_exports, {
|
|
20
|
-
CreateIngressRequest: () => CreateIngressRequest,
|
|
21
|
-
DeleteIngressRequest: () => DeleteIngressRequest,
|
|
22
|
-
IngressAudioEncodingOptions: () => IngressAudioEncodingOptions,
|
|
23
|
-
IngressAudioEncodingPreset: () => IngressAudioEncodingPreset,
|
|
24
|
-
IngressAudioOptions: () => IngressAudioOptions,
|
|
25
|
-
IngressInfo: () => IngressInfo,
|
|
26
|
-
IngressInput: () => IngressInput,
|
|
27
|
-
IngressState: () => IngressState,
|
|
28
|
-
IngressState_Status: () => IngressState_Status,
|
|
29
|
-
IngressVideoEncodingOptions: () => IngressVideoEncodingOptions,
|
|
30
|
-
IngressVideoEncodingPreset: () => IngressVideoEncodingPreset,
|
|
31
|
-
IngressVideoOptions: () => IngressVideoOptions,
|
|
32
|
-
InputAudioState: () => InputAudioState,
|
|
33
|
-
InputVideoState: () => InputVideoState,
|
|
34
|
-
ListIngressRequest: () => ListIngressRequest,
|
|
35
|
-
ListIngressResponse: () => ListIngressResponse,
|
|
36
|
-
UpdateIngressRequest: () => UpdateIngressRequest
|
|
37
|
-
});
|
|
38
|
-
module.exports = __toCommonJS(livekit_ingress_pb_exports);
|
|
39
|
-
var import_protobuf = require("@bufbuild/protobuf");
|
|
40
|
-
var import_livekit_models_pb = require("./livekit_models_pb.cjs");
|
|
41
|
-
var IngressInput = /* @__PURE__ */ ((IngressInput2) => {
|
|
42
|
-
IngressInput2[IngressInput2["RTMP_INPUT"] = 0] = "RTMP_INPUT";
|
|
43
|
-
IngressInput2[IngressInput2["WHIP_INPUT"] = 1] = "WHIP_INPUT";
|
|
44
|
-
IngressInput2[IngressInput2["URL_INPUT"] = 2] = "URL_INPUT";
|
|
45
|
-
return IngressInput2;
|
|
46
|
-
})(IngressInput || {});
|
|
47
|
-
import_protobuf.proto3.util.setEnumType(IngressInput, "livekit.IngressInput", [
|
|
48
|
-
{ no: 0, name: "RTMP_INPUT" },
|
|
49
|
-
{ no: 1, name: "WHIP_INPUT" },
|
|
50
|
-
{ no: 2, name: "URL_INPUT" }
|
|
51
|
-
]);
|
|
52
|
-
var IngressAudioEncodingPreset = /* @__PURE__ */ ((IngressAudioEncodingPreset2) => {
|
|
53
|
-
IngressAudioEncodingPreset2[IngressAudioEncodingPreset2["OPUS_STEREO_96KBPS"] = 0] = "OPUS_STEREO_96KBPS";
|
|
54
|
-
IngressAudioEncodingPreset2[IngressAudioEncodingPreset2["OPUS_MONO_64KBS"] = 1] = "OPUS_MONO_64KBS";
|
|
55
|
-
return IngressAudioEncodingPreset2;
|
|
56
|
-
})(IngressAudioEncodingPreset || {});
|
|
57
|
-
import_protobuf.proto3.util.setEnumType(IngressAudioEncodingPreset, "livekit.IngressAudioEncodingPreset", [
|
|
58
|
-
{ no: 0, name: "OPUS_STEREO_96KBPS" },
|
|
59
|
-
{ no: 1, name: "OPUS_MONO_64KBS" }
|
|
60
|
-
]);
|
|
61
|
-
var IngressVideoEncodingPreset = /* @__PURE__ */ ((IngressVideoEncodingPreset2) => {
|
|
62
|
-
IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_3_LAYERS"] = 0] = "H264_720P_30FPS_3_LAYERS";
|
|
63
|
-
IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_3_LAYERS"] = 1] = "H264_1080P_30FPS_3_LAYERS";
|
|
64
|
-
IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_540P_25FPS_2_LAYERS"] = 2] = "H264_540P_25FPS_2_LAYERS";
|
|
65
|
-
IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_1_LAYER"] = 3] = "H264_720P_30FPS_1_LAYER";
|
|
66
|
-
IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_1_LAYER"] = 4] = "H264_1080P_30FPS_1_LAYER";
|
|
67
|
-
IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_3_LAYERS_HIGH_MOTION"] = 5] = "H264_720P_30FPS_3_LAYERS_HIGH_MOTION";
|
|
68
|
-
IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_3_LAYERS_HIGH_MOTION"] = 6] = "H264_1080P_30FPS_3_LAYERS_HIGH_MOTION";
|
|
69
|
-
IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_540P_25FPS_2_LAYERS_HIGH_MOTION"] = 7] = "H264_540P_25FPS_2_LAYERS_HIGH_MOTION";
|
|
70
|
-
IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_1_LAYER_HIGH_MOTION"] = 8] = "H264_720P_30FPS_1_LAYER_HIGH_MOTION";
|
|
71
|
-
IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_1_LAYER_HIGH_MOTION"] = 9] = "H264_1080P_30FPS_1_LAYER_HIGH_MOTION";
|
|
72
|
-
return IngressVideoEncodingPreset2;
|
|
73
|
-
})(IngressVideoEncodingPreset || {});
|
|
74
|
-
import_protobuf.proto3.util.setEnumType(IngressVideoEncodingPreset, "livekit.IngressVideoEncodingPreset", [
|
|
75
|
-
{ no: 0, name: "H264_720P_30FPS_3_LAYERS" },
|
|
76
|
-
{ no: 1, name: "H264_1080P_30FPS_3_LAYERS" },
|
|
77
|
-
{ no: 2, name: "H264_540P_25FPS_2_LAYERS" },
|
|
78
|
-
{ no: 3, name: "H264_720P_30FPS_1_LAYER" },
|
|
79
|
-
{ no: 4, name: "H264_1080P_30FPS_1_LAYER" },
|
|
80
|
-
{ no: 5, name: "H264_720P_30FPS_3_LAYERS_HIGH_MOTION" },
|
|
81
|
-
{ no: 6, name: "H264_1080P_30FPS_3_LAYERS_HIGH_MOTION" },
|
|
82
|
-
{ no: 7, name: "H264_540P_25FPS_2_LAYERS_HIGH_MOTION" },
|
|
83
|
-
{ no: 8, name: "H264_720P_30FPS_1_LAYER_HIGH_MOTION" },
|
|
84
|
-
{ no: 9, name: "H264_1080P_30FPS_1_LAYER_HIGH_MOTION" }
|
|
85
|
-
]);
|
|
86
|
-
const _CreateIngressRequest = class _CreateIngressRequest extends import_protobuf.Message {
|
|
87
|
-
constructor(data) {
|
|
88
|
-
super();
|
|
89
|
-
/**
|
|
90
|
-
* @generated from field: livekit.IngressInput input_type = 1;
|
|
91
|
-
*/
|
|
92
|
-
this.inputType = 0 /* RTMP_INPUT */;
|
|
93
|
-
/**
|
|
94
|
-
* Where to pull media from, only for URL input type
|
|
95
|
-
*
|
|
96
|
-
* @generated from field: string url = 9;
|
|
97
|
-
*/
|
|
98
|
-
this.url = "";
|
|
99
|
-
/**
|
|
100
|
-
* User provided identifier for the ingress
|
|
101
|
-
*
|
|
102
|
-
* @generated from field: string name = 2;
|
|
103
|
-
*/
|
|
104
|
-
this.name = "";
|
|
105
|
-
/**
|
|
106
|
-
* room to publish to
|
|
107
|
-
*
|
|
108
|
-
* @generated from field: string room_name = 3;
|
|
109
|
-
*/
|
|
110
|
-
this.roomName = "";
|
|
111
|
-
/**
|
|
112
|
-
* publish as participant
|
|
113
|
-
*
|
|
114
|
-
* @generated from field: string participant_identity = 4;
|
|
115
|
-
*/
|
|
116
|
-
this.participantIdentity = "";
|
|
117
|
-
/**
|
|
118
|
-
* name of publishing participant (used for display only)
|
|
119
|
-
*
|
|
120
|
-
* @generated from field: string participant_name = 5;
|
|
121
|
-
*/
|
|
122
|
-
this.participantName = "";
|
|
123
|
-
/**
|
|
124
|
-
* metadata associated with the publishing participant
|
|
125
|
-
*
|
|
126
|
-
* @generated from field: string participant_metadata = 10;
|
|
127
|
-
*/
|
|
128
|
-
this.participantMetadata = "";
|
|
129
|
-
/**
|
|
130
|
-
* [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead.
|
|
131
|
-
*
|
|
132
|
-
* @generated from field: bool bypass_transcoding = 8 [deprecated = true];
|
|
133
|
-
* @deprecated
|
|
134
|
-
*/
|
|
135
|
-
this.bypassTranscoding = false;
|
|
136
|
-
import_protobuf.proto3.util.initPartial(data, this);
|
|
137
|
-
}
|
|
138
|
-
static fromBinary(bytes, options) {
|
|
139
|
-
return new _CreateIngressRequest().fromBinary(bytes, options);
|
|
140
|
-
}
|
|
141
|
-
static fromJson(jsonValue, options) {
|
|
142
|
-
return new _CreateIngressRequest().fromJson(jsonValue, options);
|
|
143
|
-
}
|
|
144
|
-
static fromJsonString(jsonString, options) {
|
|
145
|
-
return new _CreateIngressRequest().fromJsonString(jsonString, options);
|
|
146
|
-
}
|
|
147
|
-
static equals(a, b) {
|
|
148
|
-
return import_protobuf.proto3.util.equals(_CreateIngressRequest, a, b);
|
|
149
|
-
}
|
|
150
|
-
};
|
|
151
|
-
_CreateIngressRequest.runtime = import_protobuf.proto3;
|
|
152
|
-
_CreateIngressRequest.typeName = "livekit.CreateIngressRequest";
|
|
153
|
-
_CreateIngressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
154
|
-
{ no: 1, name: "input_type", kind: "enum", T: import_protobuf.proto3.getEnumType(IngressInput) },
|
|
155
|
-
{
|
|
156
|
-
no: 9,
|
|
157
|
-
name: "url",
|
|
158
|
-
kind: "scalar",
|
|
159
|
-
T: 9
|
|
160
|
-
/* ScalarType.STRING */
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
no: 2,
|
|
164
|
-
name: "name",
|
|
165
|
-
kind: "scalar",
|
|
166
|
-
T: 9
|
|
167
|
-
/* ScalarType.STRING */
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
no: 3,
|
|
171
|
-
name: "room_name",
|
|
172
|
-
kind: "scalar",
|
|
173
|
-
T: 9
|
|
174
|
-
/* ScalarType.STRING */
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
no: 4,
|
|
178
|
-
name: "participant_identity",
|
|
179
|
-
kind: "scalar",
|
|
180
|
-
T: 9
|
|
181
|
-
/* ScalarType.STRING */
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
no: 5,
|
|
185
|
-
name: "participant_name",
|
|
186
|
-
kind: "scalar",
|
|
187
|
-
T: 9
|
|
188
|
-
/* ScalarType.STRING */
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
no: 10,
|
|
192
|
-
name: "participant_metadata",
|
|
193
|
-
kind: "scalar",
|
|
194
|
-
T: 9
|
|
195
|
-
/* ScalarType.STRING */
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
no: 8,
|
|
199
|
-
name: "bypass_transcoding",
|
|
200
|
-
kind: "scalar",
|
|
201
|
-
T: 8
|
|
202
|
-
/* ScalarType.BOOL */
|
|
203
|
-
},
|
|
204
|
-
{ no: 11, name: "enable_transcoding", kind: "scalar", T: 8, opt: true },
|
|
205
|
-
{ no: 6, name: "audio", kind: "message", T: IngressAudioOptions },
|
|
206
|
-
{ no: 7, name: "video", kind: "message", T: IngressVideoOptions }
|
|
207
|
-
]);
|
|
208
|
-
let CreateIngressRequest = _CreateIngressRequest;
|
|
209
|
-
const _IngressAudioOptions = class _IngressAudioOptions extends import_protobuf.Message {
|
|
210
|
-
constructor(data) {
|
|
211
|
-
super();
|
|
212
|
-
/**
|
|
213
|
-
* @generated from field: string name = 1;
|
|
214
|
-
*/
|
|
215
|
-
this.name = "";
|
|
216
|
-
/**
|
|
217
|
-
* @generated from field: livekit.TrackSource source = 2;
|
|
218
|
-
*/
|
|
219
|
-
this.source = import_livekit_models_pb.TrackSource.UNKNOWN;
|
|
220
|
-
/**
|
|
221
|
-
* @generated from oneof livekit.IngressAudioOptions.encoding_options
|
|
222
|
-
*/
|
|
223
|
-
this.encodingOptions = { case: void 0 };
|
|
224
|
-
import_protobuf.proto3.util.initPartial(data, this);
|
|
225
|
-
}
|
|
226
|
-
static fromBinary(bytes, options) {
|
|
227
|
-
return new _IngressAudioOptions().fromBinary(bytes, options);
|
|
228
|
-
}
|
|
229
|
-
static fromJson(jsonValue, options) {
|
|
230
|
-
return new _IngressAudioOptions().fromJson(jsonValue, options);
|
|
231
|
-
}
|
|
232
|
-
static fromJsonString(jsonString, options) {
|
|
233
|
-
return new _IngressAudioOptions().fromJsonString(jsonString, options);
|
|
234
|
-
}
|
|
235
|
-
static equals(a, b) {
|
|
236
|
-
return import_protobuf.proto3.util.equals(_IngressAudioOptions, a, b);
|
|
237
|
-
}
|
|
238
|
-
};
|
|
239
|
-
_IngressAudioOptions.runtime = import_protobuf.proto3;
|
|
240
|
-
_IngressAudioOptions.typeName = "livekit.IngressAudioOptions";
|
|
241
|
-
_IngressAudioOptions.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
242
|
-
{
|
|
243
|
-
no: 1,
|
|
244
|
-
name: "name",
|
|
245
|
-
kind: "scalar",
|
|
246
|
-
T: 9
|
|
247
|
-
/* ScalarType.STRING */
|
|
248
|
-
},
|
|
249
|
-
{ no: 2, name: "source", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.TrackSource) },
|
|
250
|
-
{ no: 3, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(IngressAudioEncodingPreset), oneof: "encoding_options" },
|
|
251
|
-
{ no: 4, name: "options", kind: "message", T: IngressAudioEncodingOptions, oneof: "encoding_options" }
|
|
252
|
-
]);
|
|
253
|
-
let IngressAudioOptions = _IngressAudioOptions;
|
|
254
|
-
const _IngressVideoOptions = class _IngressVideoOptions extends import_protobuf.Message {
|
|
255
|
-
constructor(data) {
|
|
256
|
-
super();
|
|
257
|
-
/**
|
|
258
|
-
* @generated from field: string name = 1;
|
|
259
|
-
*/
|
|
260
|
-
this.name = "";
|
|
261
|
-
/**
|
|
262
|
-
* @generated from field: livekit.TrackSource source = 2;
|
|
263
|
-
*/
|
|
264
|
-
this.source = import_livekit_models_pb.TrackSource.UNKNOWN;
|
|
265
|
-
/**
|
|
266
|
-
* @generated from oneof livekit.IngressVideoOptions.encoding_options
|
|
267
|
-
*/
|
|
268
|
-
this.encodingOptions = { case: void 0 };
|
|
269
|
-
import_protobuf.proto3.util.initPartial(data, this);
|
|
270
|
-
}
|
|
271
|
-
static fromBinary(bytes, options) {
|
|
272
|
-
return new _IngressVideoOptions().fromBinary(bytes, options);
|
|
273
|
-
}
|
|
274
|
-
static fromJson(jsonValue, options) {
|
|
275
|
-
return new _IngressVideoOptions().fromJson(jsonValue, options);
|
|
276
|
-
}
|
|
277
|
-
static fromJsonString(jsonString, options) {
|
|
278
|
-
return new _IngressVideoOptions().fromJsonString(jsonString, options);
|
|
279
|
-
}
|
|
280
|
-
static equals(a, b) {
|
|
281
|
-
return import_protobuf.proto3.util.equals(_IngressVideoOptions, a, b);
|
|
282
|
-
}
|
|
283
|
-
};
|
|
284
|
-
_IngressVideoOptions.runtime = import_protobuf.proto3;
|
|
285
|
-
_IngressVideoOptions.typeName = "livekit.IngressVideoOptions";
|
|
286
|
-
_IngressVideoOptions.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
287
|
-
{
|
|
288
|
-
no: 1,
|
|
289
|
-
name: "name",
|
|
290
|
-
kind: "scalar",
|
|
291
|
-
T: 9
|
|
292
|
-
/* ScalarType.STRING */
|
|
293
|
-
},
|
|
294
|
-
{ no: 2, name: "source", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.TrackSource) },
|
|
295
|
-
{ no: 3, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(IngressVideoEncodingPreset), oneof: "encoding_options" },
|
|
296
|
-
{ no: 4, name: "options", kind: "message", T: IngressVideoEncodingOptions, oneof: "encoding_options" }
|
|
297
|
-
]);
|
|
298
|
-
let IngressVideoOptions = _IngressVideoOptions;
|
|
299
|
-
const _IngressAudioEncodingOptions = class _IngressAudioEncodingOptions extends import_protobuf.Message {
|
|
300
|
-
constructor(data) {
|
|
301
|
-
super();
|
|
302
|
-
/**
|
|
303
|
-
* desired audio codec to publish to room
|
|
304
|
-
*
|
|
305
|
-
* @generated from field: livekit.AudioCodec audio_codec = 1;
|
|
306
|
-
*/
|
|
307
|
-
this.audioCodec = import_livekit_models_pb.AudioCodec.DEFAULT_AC;
|
|
308
|
-
/**
|
|
309
|
-
* @generated from field: uint32 bitrate = 2;
|
|
310
|
-
*/
|
|
311
|
-
this.bitrate = 0;
|
|
312
|
-
/**
|
|
313
|
-
* @generated from field: bool disable_dtx = 3;
|
|
314
|
-
*/
|
|
315
|
-
this.disableDtx = false;
|
|
316
|
-
/**
|
|
317
|
-
* @generated from field: uint32 channels = 4;
|
|
318
|
-
*/
|
|
319
|
-
this.channels = 0;
|
|
320
|
-
import_protobuf.proto3.util.initPartial(data, this);
|
|
321
|
-
}
|
|
322
|
-
static fromBinary(bytes, options) {
|
|
323
|
-
return new _IngressAudioEncodingOptions().fromBinary(bytes, options);
|
|
324
|
-
}
|
|
325
|
-
static fromJson(jsonValue, options) {
|
|
326
|
-
return new _IngressAudioEncodingOptions().fromJson(jsonValue, options);
|
|
327
|
-
}
|
|
328
|
-
static fromJsonString(jsonString, options) {
|
|
329
|
-
return new _IngressAudioEncodingOptions().fromJsonString(jsonString, options);
|
|
330
|
-
}
|
|
331
|
-
static equals(a, b) {
|
|
332
|
-
return import_protobuf.proto3.util.equals(_IngressAudioEncodingOptions, a, b);
|
|
333
|
-
}
|
|
334
|
-
};
|
|
335
|
-
_IngressAudioEncodingOptions.runtime = import_protobuf.proto3;
|
|
336
|
-
_IngressAudioEncodingOptions.typeName = "livekit.IngressAudioEncodingOptions";
|
|
337
|
-
_IngressAudioEncodingOptions.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
338
|
-
{ no: 1, name: "audio_codec", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.AudioCodec) },
|
|
339
|
-
{
|
|
340
|
-
no: 2,
|
|
341
|
-
name: "bitrate",
|
|
342
|
-
kind: "scalar",
|
|
343
|
-
T: 13
|
|
344
|
-
/* ScalarType.UINT32 */
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
no: 3,
|
|
348
|
-
name: "disable_dtx",
|
|
349
|
-
kind: "scalar",
|
|
350
|
-
T: 8
|
|
351
|
-
/* ScalarType.BOOL */
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
no: 4,
|
|
355
|
-
name: "channels",
|
|
356
|
-
kind: "scalar",
|
|
357
|
-
T: 13
|
|
358
|
-
/* ScalarType.UINT32 */
|
|
359
|
-
}
|
|
360
|
-
]);
|
|
361
|
-
let IngressAudioEncodingOptions = _IngressAudioEncodingOptions;
|
|
362
|
-
const _IngressVideoEncodingOptions = class _IngressVideoEncodingOptions extends import_protobuf.Message {
|
|
363
|
-
constructor(data) {
|
|
364
|
-
super();
|
|
365
|
-
/**
|
|
366
|
-
* desired codec to publish to room
|
|
367
|
-
*
|
|
368
|
-
* @generated from field: livekit.VideoCodec video_codec = 1;
|
|
369
|
-
*/
|
|
370
|
-
this.videoCodec = import_livekit_models_pb.VideoCodec.DEFAULT_VC;
|
|
371
|
-
/**
|
|
372
|
-
* @generated from field: double frame_rate = 2;
|
|
373
|
-
*/
|
|
374
|
-
this.frameRate = 0;
|
|
375
|
-
/**
|
|
376
|
-
* simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions
|
|
377
|
-
*
|
|
378
|
-
* @generated from field: repeated livekit.VideoLayer layers = 3;
|
|
379
|
-
*/
|
|
380
|
-
this.layers = [];
|
|
381
|
-
import_protobuf.proto3.util.initPartial(data, this);
|
|
382
|
-
}
|
|
383
|
-
static fromBinary(bytes, options) {
|
|
384
|
-
return new _IngressVideoEncodingOptions().fromBinary(bytes, options);
|
|
385
|
-
}
|
|
386
|
-
static fromJson(jsonValue, options) {
|
|
387
|
-
return new _IngressVideoEncodingOptions().fromJson(jsonValue, options);
|
|
388
|
-
}
|
|
389
|
-
static fromJsonString(jsonString, options) {
|
|
390
|
-
return new _IngressVideoEncodingOptions().fromJsonString(jsonString, options);
|
|
391
|
-
}
|
|
392
|
-
static equals(a, b) {
|
|
393
|
-
return import_protobuf.proto3.util.equals(_IngressVideoEncodingOptions, a, b);
|
|
394
|
-
}
|
|
395
|
-
};
|
|
396
|
-
_IngressVideoEncodingOptions.runtime = import_protobuf.proto3;
|
|
397
|
-
_IngressVideoEncodingOptions.typeName = "livekit.IngressVideoEncodingOptions";
|
|
398
|
-
_IngressVideoEncodingOptions.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
399
|
-
{ no: 1, name: "video_codec", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.VideoCodec) },
|
|
400
|
-
{
|
|
401
|
-
no: 2,
|
|
402
|
-
name: "frame_rate",
|
|
403
|
-
kind: "scalar",
|
|
404
|
-
T: 1
|
|
405
|
-
/* ScalarType.DOUBLE */
|
|
406
|
-
},
|
|
407
|
-
{ no: 3, name: "layers", kind: "message", T: import_livekit_models_pb.VideoLayer, repeated: true }
|
|
408
|
-
]);
|
|
409
|
-
let IngressVideoEncodingOptions = _IngressVideoEncodingOptions;
|
|
410
|
-
const _IngressInfo = class _IngressInfo extends import_protobuf.Message {
|
|
411
|
-
constructor(data) {
|
|
412
|
-
super();
|
|
413
|
-
/**
|
|
414
|
-
* @generated from field: string ingress_id = 1;
|
|
415
|
-
*/
|
|
416
|
-
this.ingressId = "";
|
|
417
|
-
/**
|
|
418
|
-
* @generated from field: string name = 2;
|
|
419
|
-
*/
|
|
420
|
-
this.name = "";
|
|
421
|
-
/**
|
|
422
|
-
* @generated from field: string stream_key = 3;
|
|
423
|
-
*/
|
|
424
|
-
this.streamKey = "";
|
|
425
|
-
/**
|
|
426
|
-
* URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL)
|
|
427
|
-
*
|
|
428
|
-
* @generated from field: string url = 4;
|
|
429
|
-
*/
|
|
430
|
-
this.url = "";
|
|
431
|
-
/**
|
|
432
|
-
* for RTMP input, it'll be a rtmp:// URL
|
|
433
|
-
* for FILE input, it'll be a http:// URL
|
|
434
|
-
* for SRT input, it'll be a srt:// URL
|
|
435
|
-
*
|
|
436
|
-
* @generated from field: livekit.IngressInput input_type = 5;
|
|
437
|
-
*/
|
|
438
|
-
this.inputType = 0 /* RTMP_INPUT */;
|
|
439
|
-
/**
|
|
440
|
-
* @generated from field: bool bypass_transcoding = 13 [deprecated = true];
|
|
441
|
-
* @deprecated
|
|
442
|
-
*/
|
|
443
|
-
this.bypassTranscoding = false;
|
|
444
|
-
/**
|
|
445
|
-
* @generated from field: string room_name = 8;
|
|
446
|
-
*/
|
|
447
|
-
this.roomName = "";
|
|
448
|
-
/**
|
|
449
|
-
* @generated from field: string participant_identity = 9;
|
|
450
|
-
*/
|
|
451
|
-
this.participantIdentity = "";
|
|
452
|
-
/**
|
|
453
|
-
* @generated from field: string participant_name = 10;
|
|
454
|
-
*/
|
|
455
|
-
this.participantName = "";
|
|
456
|
-
/**
|
|
457
|
-
* @generated from field: string participant_metadata = 14;
|
|
458
|
-
*/
|
|
459
|
-
this.participantMetadata = "";
|
|
460
|
-
/**
|
|
461
|
-
* @generated from field: bool reusable = 11;
|
|
462
|
-
*/
|
|
463
|
-
this.reusable = false;
|
|
464
|
-
import_protobuf.proto3.util.initPartial(data, this);
|
|
465
|
-
}
|
|
466
|
-
static fromBinary(bytes, options) {
|
|
467
|
-
return new _IngressInfo().fromBinary(bytes, options);
|
|
468
|
-
}
|
|
469
|
-
static fromJson(jsonValue, options) {
|
|
470
|
-
return new _IngressInfo().fromJson(jsonValue, options);
|
|
471
|
-
}
|
|
472
|
-
static fromJsonString(jsonString, options) {
|
|
473
|
-
return new _IngressInfo().fromJsonString(jsonString, options);
|
|
474
|
-
}
|
|
475
|
-
static equals(a, b) {
|
|
476
|
-
return import_protobuf.proto3.util.equals(_IngressInfo, a, b);
|
|
477
|
-
}
|
|
478
|
-
};
|
|
479
|
-
_IngressInfo.runtime = import_protobuf.proto3;
|
|
480
|
-
_IngressInfo.typeName = "livekit.IngressInfo";
|
|
481
|
-
_IngressInfo.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
482
|
-
{
|
|
483
|
-
no: 1,
|
|
484
|
-
name: "ingress_id",
|
|
485
|
-
kind: "scalar",
|
|
486
|
-
T: 9
|
|
487
|
-
/* ScalarType.STRING */
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
no: 2,
|
|
491
|
-
name: "name",
|
|
492
|
-
kind: "scalar",
|
|
493
|
-
T: 9
|
|
494
|
-
/* ScalarType.STRING */
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
no: 3,
|
|
498
|
-
name: "stream_key",
|
|
499
|
-
kind: "scalar",
|
|
500
|
-
T: 9
|
|
501
|
-
/* ScalarType.STRING */
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
no: 4,
|
|
505
|
-
name: "url",
|
|
506
|
-
kind: "scalar",
|
|
507
|
-
T: 9
|
|
508
|
-
/* ScalarType.STRING */
|
|
509
|
-
},
|
|
510
|
-
{ no: 5, name: "input_type", kind: "enum", T: import_protobuf.proto3.getEnumType(IngressInput) },
|
|
511
|
-
{
|
|
512
|
-
no: 13,
|
|
513
|
-
name: "bypass_transcoding",
|
|
514
|
-
kind: "scalar",
|
|
515
|
-
T: 8
|
|
516
|
-
/* ScalarType.BOOL */
|
|
517
|
-
},
|
|
518
|
-
{ no: 15, name: "enable_transcoding", kind: "scalar", T: 8, opt: true },
|
|
519
|
-
{ no: 6, name: "audio", kind: "message", T: IngressAudioOptions },
|
|
520
|
-
{ no: 7, name: "video", kind: "message", T: IngressVideoOptions },
|
|
521
|
-
{
|
|
522
|
-
no: 8,
|
|
523
|
-
name: "room_name",
|
|
524
|
-
kind: "scalar",
|
|
525
|
-
T: 9
|
|
526
|
-
/* ScalarType.STRING */
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
no: 9,
|
|
530
|
-
name: "participant_identity",
|
|
531
|
-
kind: "scalar",
|
|
532
|
-
T: 9
|
|
533
|
-
/* ScalarType.STRING */
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
no: 10,
|
|
537
|
-
name: "participant_name",
|
|
538
|
-
kind: "scalar",
|
|
539
|
-
T: 9
|
|
540
|
-
/* ScalarType.STRING */
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
no: 14,
|
|
544
|
-
name: "participant_metadata",
|
|
545
|
-
kind: "scalar",
|
|
546
|
-
T: 9
|
|
547
|
-
/* ScalarType.STRING */
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
no: 11,
|
|
551
|
-
name: "reusable",
|
|
552
|
-
kind: "scalar",
|
|
553
|
-
T: 8
|
|
554
|
-
/* ScalarType.BOOL */
|
|
555
|
-
},
|
|
556
|
-
{ no: 12, name: "state", kind: "message", T: IngressState }
|
|
557
|
-
]);
|
|
558
|
-
let IngressInfo = _IngressInfo;
|
|
559
|
-
const _IngressState = class _IngressState extends import_protobuf.Message {
|
|
560
|
-
constructor(data) {
|
|
561
|
-
super();
|
|
562
|
-
/**
|
|
563
|
-
* @generated from field: livekit.IngressState.Status status = 1;
|
|
564
|
-
*/
|
|
565
|
-
this.status = 0 /* ENDPOINT_INACTIVE */;
|
|
566
|
-
/**
|
|
567
|
-
* Error/non compliance description if any
|
|
568
|
-
*
|
|
569
|
-
* @generated from field: string error = 2;
|
|
570
|
-
*/
|
|
571
|
-
this.error = "";
|
|
572
|
-
/**
|
|
573
|
-
* ID of the current/previous room published to
|
|
574
|
-
*
|
|
575
|
-
* @generated from field: string room_id = 5;
|
|
576
|
-
*/
|
|
577
|
-
this.roomId = "";
|
|
578
|
-
/**
|
|
579
|
-
* @generated from field: int64 started_at = 7;
|
|
580
|
-
*/
|
|
581
|
-
this.startedAt = import_protobuf.protoInt64.zero;
|
|
582
|
-
/**
|
|
583
|
-
* @generated from field: int64 ended_at = 8;
|
|
584
|
-
*/
|
|
585
|
-
this.endedAt = import_protobuf.protoInt64.zero;
|
|
586
|
-
/**
|
|
587
|
-
* @generated from field: int64 updated_at = 10;
|
|
588
|
-
*/
|
|
589
|
-
this.updatedAt = import_protobuf.protoInt64.zero;
|
|
590
|
-
/**
|
|
591
|
-
* @generated from field: string resource_id = 9;
|
|
592
|
-
*/
|
|
593
|
-
this.resourceId = "";
|
|
594
|
-
/**
|
|
595
|
-
* @generated from field: repeated livekit.TrackInfo tracks = 6;
|
|
596
|
-
*/
|
|
597
|
-
this.tracks = [];
|
|
598
|
-
import_protobuf.proto3.util.initPartial(data, this);
|
|
599
|
-
}
|
|
600
|
-
static fromBinary(bytes, options) {
|
|
601
|
-
return new _IngressState().fromBinary(bytes, options);
|
|
602
|
-
}
|
|
603
|
-
static fromJson(jsonValue, options) {
|
|
604
|
-
return new _IngressState().fromJson(jsonValue, options);
|
|
605
|
-
}
|
|
606
|
-
static fromJsonString(jsonString, options) {
|
|
607
|
-
return new _IngressState().fromJsonString(jsonString, options);
|
|
608
|
-
}
|
|
609
|
-
static equals(a, b) {
|
|
610
|
-
return import_protobuf.proto3.util.equals(_IngressState, a, b);
|
|
611
|
-
}
|
|
612
|
-
};
|
|
613
|
-
_IngressState.runtime = import_protobuf.proto3;
|
|
614
|
-
_IngressState.typeName = "livekit.IngressState";
|
|
615
|
-
_IngressState.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
616
|
-
{ no: 1, name: "status", kind: "enum", T: import_protobuf.proto3.getEnumType(IngressState_Status) },
|
|
617
|
-
{
|
|
618
|
-
no: 2,
|
|
619
|
-
name: "error",
|
|
620
|
-
kind: "scalar",
|
|
621
|
-
T: 9
|
|
622
|
-
/* ScalarType.STRING */
|
|
623
|
-
},
|
|
624
|
-
{ no: 3, name: "video", kind: "message", T: InputVideoState },
|
|
625
|
-
{ no: 4, name: "audio", kind: "message", T: InputAudioState },
|
|
626
|
-
{
|
|
627
|
-
no: 5,
|
|
628
|
-
name: "room_id",
|
|
629
|
-
kind: "scalar",
|
|
630
|
-
T: 9
|
|
631
|
-
/* ScalarType.STRING */
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
no: 7,
|
|
635
|
-
name: "started_at",
|
|
636
|
-
kind: "scalar",
|
|
637
|
-
T: 3
|
|
638
|
-
/* ScalarType.INT64 */
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
no: 8,
|
|
642
|
-
name: "ended_at",
|
|
643
|
-
kind: "scalar",
|
|
644
|
-
T: 3
|
|
645
|
-
/* ScalarType.INT64 */
|
|
646
|
-
},
|
|
647
|
-
{
|
|
648
|
-
no: 10,
|
|
649
|
-
name: "updated_at",
|
|
650
|
-
kind: "scalar",
|
|
651
|
-
T: 3
|
|
652
|
-
/* ScalarType.INT64 */
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
no: 9,
|
|
656
|
-
name: "resource_id",
|
|
657
|
-
kind: "scalar",
|
|
658
|
-
T: 9
|
|
659
|
-
/* ScalarType.STRING */
|
|
660
|
-
},
|
|
661
|
-
{ no: 6, name: "tracks", kind: "message", T: import_livekit_models_pb.TrackInfo, repeated: true }
|
|
662
|
-
]);
|
|
663
|
-
let IngressState = _IngressState;
|
|
664
|
-
var IngressState_Status = /* @__PURE__ */ ((IngressState_Status2) => {
|
|
665
|
-
IngressState_Status2[IngressState_Status2["ENDPOINT_INACTIVE"] = 0] = "ENDPOINT_INACTIVE";
|
|
666
|
-
IngressState_Status2[IngressState_Status2["ENDPOINT_BUFFERING"] = 1] = "ENDPOINT_BUFFERING";
|
|
667
|
-
IngressState_Status2[IngressState_Status2["ENDPOINT_PUBLISHING"] = 2] = "ENDPOINT_PUBLISHING";
|
|
668
|
-
IngressState_Status2[IngressState_Status2["ENDPOINT_ERROR"] = 3] = "ENDPOINT_ERROR";
|
|
669
|
-
IngressState_Status2[IngressState_Status2["ENDPOINT_COMPLETE"] = 4] = "ENDPOINT_COMPLETE";
|
|
670
|
-
return IngressState_Status2;
|
|
671
|
-
})(IngressState_Status || {});
|
|
672
|
-
import_protobuf.proto3.util.setEnumType(IngressState_Status, "livekit.IngressState.Status", [
|
|
673
|
-
{ no: 0, name: "ENDPOINT_INACTIVE" },
|
|
674
|
-
{ no: 1, name: "ENDPOINT_BUFFERING" },
|
|
675
|
-
{ no: 2, name: "ENDPOINT_PUBLISHING" },
|
|
676
|
-
{ no: 3, name: "ENDPOINT_ERROR" },
|
|
677
|
-
{ no: 4, name: "ENDPOINT_COMPLETE" }
|
|
678
|
-
]);
|
|
679
|
-
const _InputVideoState = class _InputVideoState extends import_protobuf.Message {
|
|
680
|
-
constructor(data) {
|
|
681
|
-
super();
|
|
682
|
-
/**
|
|
683
|
-
* @generated from field: string mime_type = 1;
|
|
684
|
-
*/
|
|
685
|
-
this.mimeType = "";
|
|
686
|
-
/**
|
|
687
|
-
* @generated from field: uint32 average_bitrate = 2;
|
|
688
|
-
*/
|
|
689
|
-
this.averageBitrate = 0;
|
|
690
|
-
/**
|
|
691
|
-
* @generated from field: uint32 width = 3;
|
|
692
|
-
*/
|
|
693
|
-
this.width = 0;
|
|
694
|
-
/**
|
|
695
|
-
* @generated from field: uint32 height = 4;
|
|
696
|
-
*/
|
|
697
|
-
this.height = 0;
|
|
698
|
-
/**
|
|
699
|
-
* @generated from field: double framerate = 5;
|
|
700
|
-
*/
|
|
701
|
-
this.framerate = 0;
|
|
702
|
-
import_protobuf.proto3.util.initPartial(data, this);
|
|
703
|
-
}
|
|
704
|
-
static fromBinary(bytes, options) {
|
|
705
|
-
return new _InputVideoState().fromBinary(bytes, options);
|
|
706
|
-
}
|
|
707
|
-
static fromJson(jsonValue, options) {
|
|
708
|
-
return new _InputVideoState().fromJson(jsonValue, options);
|
|
709
|
-
}
|
|
710
|
-
static fromJsonString(jsonString, options) {
|
|
711
|
-
return new _InputVideoState().fromJsonString(jsonString, options);
|
|
712
|
-
}
|
|
713
|
-
static equals(a, b) {
|
|
714
|
-
return import_protobuf.proto3.util.equals(_InputVideoState, a, b);
|
|
715
|
-
}
|
|
716
|
-
};
|
|
717
|
-
_InputVideoState.runtime = import_protobuf.proto3;
|
|
718
|
-
_InputVideoState.typeName = "livekit.InputVideoState";
|
|
719
|
-
_InputVideoState.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
720
|
-
{
|
|
721
|
-
no: 1,
|
|
722
|
-
name: "mime_type",
|
|
723
|
-
kind: "scalar",
|
|
724
|
-
T: 9
|
|
725
|
-
/* ScalarType.STRING */
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
no: 2,
|
|
729
|
-
name: "average_bitrate",
|
|
730
|
-
kind: "scalar",
|
|
731
|
-
T: 13
|
|
732
|
-
/* ScalarType.UINT32 */
|
|
733
|
-
},
|
|
734
|
-
{
|
|
735
|
-
no: 3,
|
|
736
|
-
name: "width",
|
|
737
|
-
kind: "scalar",
|
|
738
|
-
T: 13
|
|
739
|
-
/* ScalarType.UINT32 */
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
no: 4,
|
|
743
|
-
name: "height",
|
|
744
|
-
kind: "scalar",
|
|
745
|
-
T: 13
|
|
746
|
-
/* ScalarType.UINT32 */
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
no: 5,
|
|
750
|
-
name: "framerate",
|
|
751
|
-
kind: "scalar",
|
|
752
|
-
T: 1
|
|
753
|
-
/* ScalarType.DOUBLE */
|
|
754
|
-
}
|
|
755
|
-
]);
|
|
756
|
-
let InputVideoState = _InputVideoState;
|
|
757
|
-
const _InputAudioState = class _InputAudioState extends import_protobuf.Message {
|
|
758
|
-
constructor(data) {
|
|
759
|
-
super();
|
|
760
|
-
/**
|
|
761
|
-
* @generated from field: string mime_type = 1;
|
|
762
|
-
*/
|
|
763
|
-
this.mimeType = "";
|
|
764
|
-
/**
|
|
765
|
-
* @generated from field: uint32 average_bitrate = 2;
|
|
766
|
-
*/
|
|
767
|
-
this.averageBitrate = 0;
|
|
768
|
-
/**
|
|
769
|
-
* @generated from field: uint32 channels = 3;
|
|
770
|
-
*/
|
|
771
|
-
this.channels = 0;
|
|
772
|
-
/**
|
|
773
|
-
* @generated from field: uint32 sample_rate = 4;
|
|
774
|
-
*/
|
|
775
|
-
this.sampleRate = 0;
|
|
776
|
-
import_protobuf.proto3.util.initPartial(data, this);
|
|
777
|
-
}
|
|
778
|
-
static fromBinary(bytes, options) {
|
|
779
|
-
return new _InputAudioState().fromBinary(bytes, options);
|
|
780
|
-
}
|
|
781
|
-
static fromJson(jsonValue, options) {
|
|
782
|
-
return new _InputAudioState().fromJson(jsonValue, options);
|
|
783
|
-
}
|
|
784
|
-
static fromJsonString(jsonString, options) {
|
|
785
|
-
return new _InputAudioState().fromJsonString(jsonString, options);
|
|
786
|
-
}
|
|
787
|
-
static equals(a, b) {
|
|
788
|
-
return import_protobuf.proto3.util.equals(_InputAudioState, a, b);
|
|
789
|
-
}
|
|
790
|
-
};
|
|
791
|
-
_InputAudioState.runtime = import_protobuf.proto3;
|
|
792
|
-
_InputAudioState.typeName = "livekit.InputAudioState";
|
|
793
|
-
_InputAudioState.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
794
|
-
{
|
|
795
|
-
no: 1,
|
|
796
|
-
name: "mime_type",
|
|
797
|
-
kind: "scalar",
|
|
798
|
-
T: 9
|
|
799
|
-
/* ScalarType.STRING */
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
no: 2,
|
|
803
|
-
name: "average_bitrate",
|
|
804
|
-
kind: "scalar",
|
|
805
|
-
T: 13
|
|
806
|
-
/* ScalarType.UINT32 */
|
|
807
|
-
},
|
|
808
|
-
{
|
|
809
|
-
no: 3,
|
|
810
|
-
name: "channels",
|
|
811
|
-
kind: "scalar",
|
|
812
|
-
T: 13
|
|
813
|
-
/* ScalarType.UINT32 */
|
|
814
|
-
},
|
|
815
|
-
{
|
|
816
|
-
no: 4,
|
|
817
|
-
name: "sample_rate",
|
|
818
|
-
kind: "scalar",
|
|
819
|
-
T: 13
|
|
820
|
-
/* ScalarType.UINT32 */
|
|
821
|
-
}
|
|
822
|
-
]);
|
|
823
|
-
let InputAudioState = _InputAudioState;
|
|
824
|
-
const _UpdateIngressRequest = class _UpdateIngressRequest extends import_protobuf.Message {
|
|
825
|
-
constructor(data) {
|
|
826
|
-
super();
|
|
827
|
-
/**
|
|
828
|
-
* @generated from field: string ingress_id = 1;
|
|
829
|
-
*/
|
|
830
|
-
this.ingressId = "";
|
|
831
|
-
/**
|
|
832
|
-
* @generated from field: string name = 2;
|
|
833
|
-
*/
|
|
834
|
-
this.name = "";
|
|
835
|
-
/**
|
|
836
|
-
* @generated from field: string room_name = 3;
|
|
837
|
-
*/
|
|
838
|
-
this.roomName = "";
|
|
839
|
-
/**
|
|
840
|
-
* @generated from field: string participant_identity = 4;
|
|
841
|
-
*/
|
|
842
|
-
this.participantIdentity = "";
|
|
843
|
-
/**
|
|
844
|
-
* @generated from field: string participant_name = 5;
|
|
845
|
-
*/
|
|
846
|
-
this.participantName = "";
|
|
847
|
-
/**
|
|
848
|
-
* @generated from field: string participant_metadata = 9;
|
|
849
|
-
*/
|
|
850
|
-
this.participantMetadata = "";
|
|
851
|
-
import_protobuf.proto3.util.initPartial(data, this);
|
|
852
|
-
}
|
|
853
|
-
static fromBinary(bytes, options) {
|
|
854
|
-
return new _UpdateIngressRequest().fromBinary(bytes, options);
|
|
855
|
-
}
|
|
856
|
-
static fromJson(jsonValue, options) {
|
|
857
|
-
return new _UpdateIngressRequest().fromJson(jsonValue, options);
|
|
858
|
-
}
|
|
859
|
-
static fromJsonString(jsonString, options) {
|
|
860
|
-
return new _UpdateIngressRequest().fromJsonString(jsonString, options);
|
|
861
|
-
}
|
|
862
|
-
static equals(a, b) {
|
|
863
|
-
return import_protobuf.proto3.util.equals(_UpdateIngressRequest, a, b);
|
|
864
|
-
}
|
|
865
|
-
};
|
|
866
|
-
_UpdateIngressRequest.runtime = import_protobuf.proto3;
|
|
867
|
-
_UpdateIngressRequest.typeName = "livekit.UpdateIngressRequest";
|
|
868
|
-
_UpdateIngressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
869
|
-
{
|
|
870
|
-
no: 1,
|
|
871
|
-
name: "ingress_id",
|
|
872
|
-
kind: "scalar",
|
|
873
|
-
T: 9
|
|
874
|
-
/* ScalarType.STRING */
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
no: 2,
|
|
878
|
-
name: "name",
|
|
879
|
-
kind: "scalar",
|
|
880
|
-
T: 9
|
|
881
|
-
/* ScalarType.STRING */
|
|
882
|
-
},
|
|
883
|
-
{
|
|
884
|
-
no: 3,
|
|
885
|
-
name: "room_name",
|
|
886
|
-
kind: "scalar",
|
|
887
|
-
T: 9
|
|
888
|
-
/* ScalarType.STRING */
|
|
889
|
-
},
|
|
890
|
-
{
|
|
891
|
-
no: 4,
|
|
892
|
-
name: "participant_identity",
|
|
893
|
-
kind: "scalar",
|
|
894
|
-
T: 9
|
|
895
|
-
/* ScalarType.STRING */
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
no: 5,
|
|
899
|
-
name: "participant_name",
|
|
900
|
-
kind: "scalar",
|
|
901
|
-
T: 9
|
|
902
|
-
/* ScalarType.STRING */
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
no: 9,
|
|
906
|
-
name: "participant_metadata",
|
|
907
|
-
kind: "scalar",
|
|
908
|
-
T: 9
|
|
909
|
-
/* ScalarType.STRING */
|
|
910
|
-
},
|
|
911
|
-
{ no: 8, name: "bypass_transcoding", kind: "scalar", T: 8, opt: true },
|
|
912
|
-
{ no: 10, name: "enable_transcoding", kind: "scalar", T: 8, opt: true },
|
|
913
|
-
{ no: 6, name: "audio", kind: "message", T: IngressAudioOptions },
|
|
914
|
-
{ no: 7, name: "video", kind: "message", T: IngressVideoOptions }
|
|
915
|
-
]);
|
|
916
|
-
let UpdateIngressRequest = _UpdateIngressRequest;
|
|
917
|
-
const _ListIngressRequest = class _ListIngressRequest extends import_protobuf.Message {
|
|
918
|
-
constructor(data) {
|
|
919
|
-
super();
|
|
920
|
-
/**
|
|
921
|
-
* when blank, lists all ingress endpoints
|
|
922
|
-
*
|
|
923
|
-
* (optional, filter by room name)
|
|
924
|
-
*
|
|
925
|
-
* @generated from field: string room_name = 1;
|
|
926
|
-
*/
|
|
927
|
-
this.roomName = "";
|
|
928
|
-
/**
|
|
929
|
-
* (optional, filter by ingress ID)
|
|
930
|
-
*
|
|
931
|
-
* @generated from field: string ingress_id = 2;
|
|
932
|
-
*/
|
|
933
|
-
this.ingressId = "";
|
|
934
|
-
import_protobuf.proto3.util.initPartial(data, this);
|
|
935
|
-
}
|
|
936
|
-
static fromBinary(bytes, options) {
|
|
937
|
-
return new _ListIngressRequest().fromBinary(bytes, options);
|
|
938
|
-
}
|
|
939
|
-
static fromJson(jsonValue, options) {
|
|
940
|
-
return new _ListIngressRequest().fromJson(jsonValue, options);
|
|
941
|
-
}
|
|
942
|
-
static fromJsonString(jsonString, options) {
|
|
943
|
-
return new _ListIngressRequest().fromJsonString(jsonString, options);
|
|
944
|
-
}
|
|
945
|
-
static equals(a, b) {
|
|
946
|
-
return import_protobuf.proto3.util.equals(_ListIngressRequest, a, b);
|
|
947
|
-
}
|
|
948
|
-
};
|
|
949
|
-
_ListIngressRequest.runtime = import_protobuf.proto3;
|
|
950
|
-
_ListIngressRequest.typeName = "livekit.ListIngressRequest";
|
|
951
|
-
_ListIngressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
952
|
-
{
|
|
953
|
-
no: 1,
|
|
954
|
-
name: "room_name",
|
|
955
|
-
kind: "scalar",
|
|
956
|
-
T: 9
|
|
957
|
-
/* ScalarType.STRING */
|
|
958
|
-
},
|
|
959
|
-
{
|
|
960
|
-
no: 2,
|
|
961
|
-
name: "ingress_id",
|
|
962
|
-
kind: "scalar",
|
|
963
|
-
T: 9
|
|
964
|
-
/* ScalarType.STRING */
|
|
965
|
-
}
|
|
966
|
-
]);
|
|
967
|
-
let ListIngressRequest = _ListIngressRequest;
|
|
968
|
-
const _ListIngressResponse = class _ListIngressResponse extends import_protobuf.Message {
|
|
969
|
-
constructor(data) {
|
|
970
|
-
super();
|
|
971
|
-
/**
|
|
972
|
-
* @generated from field: repeated livekit.IngressInfo items = 1;
|
|
973
|
-
*/
|
|
974
|
-
this.items = [];
|
|
975
|
-
import_protobuf.proto3.util.initPartial(data, this);
|
|
976
|
-
}
|
|
977
|
-
static fromBinary(bytes, options) {
|
|
978
|
-
return new _ListIngressResponse().fromBinary(bytes, options);
|
|
979
|
-
}
|
|
980
|
-
static fromJson(jsonValue, options) {
|
|
981
|
-
return new _ListIngressResponse().fromJson(jsonValue, options);
|
|
982
|
-
}
|
|
983
|
-
static fromJsonString(jsonString, options) {
|
|
984
|
-
return new _ListIngressResponse().fromJsonString(jsonString, options);
|
|
985
|
-
}
|
|
986
|
-
static equals(a, b) {
|
|
987
|
-
return import_protobuf.proto3.util.equals(_ListIngressResponse, a, b);
|
|
988
|
-
}
|
|
989
|
-
};
|
|
990
|
-
_ListIngressResponse.runtime = import_protobuf.proto3;
|
|
991
|
-
_ListIngressResponse.typeName = "livekit.ListIngressResponse";
|
|
992
|
-
_ListIngressResponse.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
993
|
-
{ no: 1, name: "items", kind: "message", T: IngressInfo, repeated: true }
|
|
994
|
-
]);
|
|
995
|
-
let ListIngressResponse = _ListIngressResponse;
|
|
996
|
-
const _DeleteIngressRequest = class _DeleteIngressRequest extends import_protobuf.Message {
|
|
997
|
-
constructor(data) {
|
|
998
|
-
super();
|
|
999
|
-
/**
|
|
1000
|
-
* @generated from field: string ingress_id = 1;
|
|
1001
|
-
*/
|
|
1002
|
-
this.ingressId = "";
|
|
1003
|
-
import_protobuf.proto3.util.initPartial(data, this);
|
|
1004
|
-
}
|
|
1005
|
-
static fromBinary(bytes, options) {
|
|
1006
|
-
return new _DeleteIngressRequest().fromBinary(bytes, options);
|
|
1007
|
-
}
|
|
1008
|
-
static fromJson(jsonValue, options) {
|
|
1009
|
-
return new _DeleteIngressRequest().fromJson(jsonValue, options);
|
|
1010
|
-
}
|
|
1011
|
-
static fromJsonString(jsonString, options) {
|
|
1012
|
-
return new _DeleteIngressRequest().fromJsonString(jsonString, options);
|
|
1013
|
-
}
|
|
1014
|
-
static equals(a, b) {
|
|
1015
|
-
return import_protobuf.proto3.util.equals(_DeleteIngressRequest, a, b);
|
|
1016
|
-
}
|
|
1017
|
-
};
|
|
1018
|
-
_DeleteIngressRequest.runtime = import_protobuf.proto3;
|
|
1019
|
-
_DeleteIngressRequest.typeName = "livekit.DeleteIngressRequest";
|
|
1020
|
-
_DeleteIngressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [
|
|
1021
|
-
{
|
|
1022
|
-
no: 1,
|
|
1023
|
-
name: "ingress_id",
|
|
1024
|
-
kind: "scalar",
|
|
1025
|
-
T: 9
|
|
1026
|
-
/* ScalarType.STRING */
|
|
1027
|
-
}
|
|
1028
|
-
]);
|
|
1029
|
-
let DeleteIngressRequest = _DeleteIngressRequest;
|
|
1030
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1031
|
-
0 && (module.exports = {
|
|
1032
|
-
CreateIngressRequest,
|
|
1033
|
-
DeleteIngressRequest,
|
|
1034
|
-
IngressAudioEncodingOptions,
|
|
1035
|
-
IngressAudioEncodingPreset,
|
|
1036
|
-
IngressAudioOptions,
|
|
1037
|
-
IngressInfo,
|
|
1038
|
-
IngressInput,
|
|
1039
|
-
IngressState,
|
|
1040
|
-
IngressState_Status,
|
|
1041
|
-
IngressVideoEncodingOptions,
|
|
1042
|
-
IngressVideoEncodingPreset,
|
|
1043
|
-
IngressVideoOptions,
|
|
1044
|
-
InputAudioState,
|
|
1045
|
-
InputVideoState,
|
|
1046
|
-
ListIngressRequest,
|
|
1047
|
-
ListIngressResponse,
|
|
1048
|
-
UpdateIngressRequest
|
|
1049
|
-
});
|
|
1050
|
-
//# sourceMappingURL=livekit_ingress_pb.cjs.map
|