@livekit/rtc-node 0.0.7 → 0.1.0
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/build.rs +4 -0
- package/dist/audio_frame.d.ts +1 -1
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +10 -11
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_source.d.ts +3 -3
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +14 -15
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.d.ts +4 -4
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +17 -21
- package/dist/audio_stream.js.map +1 -1
- package/dist/e2ee.d.ts +1 -1
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +42 -45
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.d.ts +2 -2
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +17 -24
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.d.ts +15 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -70
- package/dist/index.js.map +1 -1
- package/{src/native.js → dist/napi/native.cjs} +12 -0
- package/dist/napi/native.js +15 -0
- package/dist/participant.d.ts +24 -9
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +45 -45
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.js +148 -176
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/e2ee_pb.js +134 -162
- package/dist/proto/e2ee_pb.js.map +1 -1
- package/dist/proto/ffi_pb.js +115 -126
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/handle_pb.js +7 -11
- package/dist/proto/handle_pb.js.map +1 -1
- package/dist/proto/participant_pb.js +13 -18
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.js +388 -454
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/stats_pb.js +265 -303
- package/dist/proto/stats_pb.js.map +1 -1
- package/dist/proto/track_pb.js +87 -102
- package/dist/proto/track_pb.js.map +1 -1
- package/dist/proto/video_frame_pb.js +184 -215
- package/dist/proto/video_frame_pb.js.map +1 -1
- package/dist/room.d.ts +10 -9
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +74 -76
- package/dist/room.js.map +1 -1
- package/dist/track.d.ts +4 -4
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +15 -20
- package/dist/track.js.map +1 -1
- package/dist/track_publication.d.ts +4 -4
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +12 -15
- package/dist/track_publication.js.map +1 -1
- package/dist/video_frame.d.ts +1 -1
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +57 -71
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.d.ts +3 -3
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +12 -13
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.d.ts +4 -4
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +18 -22
- package/dist/video_stream.js.map +1 -1
- package/package.json +14 -14
- package/src/audio_frame.ts +6 -2
- package/src/audio_source.ts +8 -4
- package/src/audio_stream.ts +9 -5
- package/src/e2ee.ts +6 -2
- package/src/ffi_client.ts +6 -2
- package/src/index.ts +19 -15
- package/src/lib.rs +4 -0
- package/src/napi/native.cjs +281 -0
- package/src/napi/native.js +15 -0
- package/src/nodejs.rs +4 -0
- package/src/participant.ts +45 -22
- package/src/room.ts +56 -48
- package/src/track.ts +8 -4
- package/src/track_publication.ts +10 -6
- package/src/video_frame.ts +6 -2
- package/src/video_source.ts +7 -3
- package/src/video_stream.ts +9 -5
- package/dist/native.d.ts.map +0 -1
- package/dist/native.js +0 -297
- package/dist/native.js.map +0 -1
- /package/dist/{native.d.ts → napi/native.d.ts} +0 -0
- /package/src/{native.d.ts → napi/native.d.ts} +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// Copyright 2023 LiveKit, Inc.
|
|
3
2
|
//
|
|
4
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -12,14 +11,12 @@
|
|
|
12
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
12
|
// See the License for the specific language governing permissions and
|
|
14
13
|
// limitations under the License.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const protobuf_1 = require("@bufbuild/protobuf");
|
|
18
|
-
const handle_pb_js_1 = require("./handle_pb.js");
|
|
14
|
+
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
15
|
+
import { FfiOwnedHandle } from "./handle_pb.js";
|
|
19
16
|
/**
|
|
20
17
|
* @generated from enum livekit.proto.VideoCodec
|
|
21
18
|
*/
|
|
22
|
-
var VideoCodec;
|
|
19
|
+
export var VideoCodec;
|
|
23
20
|
(function (VideoCodec) {
|
|
24
21
|
/**
|
|
25
22
|
* @generated from enum value: VP8 = 0;
|
|
@@ -37,9 +34,9 @@ var VideoCodec;
|
|
|
37
34
|
* @generated from enum value: VP9 = 3;
|
|
38
35
|
*/
|
|
39
36
|
VideoCodec[VideoCodec["VP9"] = 3] = "VP9";
|
|
40
|
-
})(VideoCodec || (
|
|
37
|
+
})(VideoCodec || (VideoCodec = {}));
|
|
41
38
|
// Retrieve enum metadata with: proto3.getEnumType(VideoCodec)
|
|
42
|
-
|
|
39
|
+
proto3.util.setEnumType(VideoCodec, "livekit.proto.VideoCodec", [
|
|
43
40
|
{ no: 0, name: "VP8" },
|
|
44
41
|
{ no: 1, name: "H264" },
|
|
45
42
|
{ no: 2, name: "AV1" },
|
|
@@ -48,7 +45,7 @@ protobuf_1.proto3.util.setEnumType(VideoCodec, "livekit.proto.VideoCodec", [
|
|
|
48
45
|
/**
|
|
49
46
|
* @generated from enum livekit.proto.VideoRotation
|
|
50
47
|
*/
|
|
51
|
-
var VideoRotation;
|
|
48
|
+
export var VideoRotation;
|
|
52
49
|
(function (VideoRotation) {
|
|
53
50
|
/**
|
|
54
51
|
* @generated from enum value: VIDEO_ROTATION_0 = 0;
|
|
@@ -66,9 +63,9 @@ var VideoRotation;
|
|
|
66
63
|
* @generated from enum value: VIDEO_ROTATION_270 = 3;
|
|
67
64
|
*/
|
|
68
65
|
VideoRotation[VideoRotation["VIDEO_ROTATION_270"] = 3] = "VIDEO_ROTATION_270";
|
|
69
|
-
})(VideoRotation || (
|
|
66
|
+
})(VideoRotation || (VideoRotation = {}));
|
|
70
67
|
// Retrieve enum metadata with: proto3.getEnumType(VideoRotation)
|
|
71
|
-
|
|
68
|
+
proto3.util.setEnumType(VideoRotation, "livekit.proto.VideoRotation", [
|
|
72
69
|
{ no: 0, name: "VIDEO_ROTATION_0" },
|
|
73
70
|
{ no: 1, name: "VIDEO_ROTATION_90" },
|
|
74
71
|
{ no: 2, name: "VIDEO_ROTATION_180" },
|
|
@@ -77,7 +74,7 @@ protobuf_1.proto3.util.setEnumType(VideoRotation, "livekit.proto.VideoRotation",
|
|
|
77
74
|
/**
|
|
78
75
|
* @generated from enum livekit.proto.VideoFormatType
|
|
79
76
|
*/
|
|
80
|
-
var VideoFormatType;
|
|
77
|
+
export var VideoFormatType;
|
|
81
78
|
(function (VideoFormatType) {
|
|
82
79
|
/**
|
|
83
80
|
* @generated from enum value: FORMAT_ARGB = 0;
|
|
@@ -95,9 +92,9 @@ var VideoFormatType;
|
|
|
95
92
|
* @generated from enum value: FORMAT_RGBA = 3;
|
|
96
93
|
*/
|
|
97
94
|
VideoFormatType[VideoFormatType["FORMAT_RGBA"] = 3] = "FORMAT_RGBA";
|
|
98
|
-
})(VideoFormatType || (
|
|
95
|
+
})(VideoFormatType || (VideoFormatType = {}));
|
|
99
96
|
// Retrieve enum metadata with: proto3.getEnumType(VideoFormatType)
|
|
100
|
-
|
|
97
|
+
proto3.util.setEnumType(VideoFormatType, "livekit.proto.VideoFormatType", [
|
|
101
98
|
{ no: 0, name: "FORMAT_ARGB" },
|
|
102
99
|
{ no: 1, name: "FORMAT_BGRA" },
|
|
103
100
|
{ no: 2, name: "FORMAT_ABGR" },
|
|
@@ -106,7 +103,7 @@ protobuf_1.proto3.util.setEnumType(VideoFormatType, "livekit.proto.VideoFormatTy
|
|
|
106
103
|
/**
|
|
107
104
|
* @generated from enum livekit.proto.VideoFrameBufferType
|
|
108
105
|
*/
|
|
109
|
-
var VideoFrameBufferType;
|
|
106
|
+
export var VideoFrameBufferType;
|
|
110
107
|
(function (VideoFrameBufferType) {
|
|
111
108
|
/**
|
|
112
109
|
* @generated from enum value: NATIVE = 0;
|
|
@@ -136,9 +133,9 @@ var VideoFrameBufferType;
|
|
|
136
133
|
* @generated from enum value: NV12 = 6;
|
|
137
134
|
*/
|
|
138
135
|
VideoFrameBufferType[VideoFrameBufferType["NV12"] = 6] = "NV12";
|
|
139
|
-
})(VideoFrameBufferType || (
|
|
136
|
+
})(VideoFrameBufferType || (VideoFrameBufferType = {}));
|
|
140
137
|
// Retrieve enum metadata with: proto3.getEnumType(VideoFrameBufferType)
|
|
141
|
-
|
|
138
|
+
proto3.util.setEnumType(VideoFrameBufferType, "livekit.proto.VideoFrameBufferType", [
|
|
142
139
|
{ no: 0, name: "NATIVE" },
|
|
143
140
|
{ no: 1, name: "I420" },
|
|
144
141
|
{ no: 2, name: "I420A" },
|
|
@@ -150,7 +147,7 @@ protobuf_1.proto3.util.setEnumType(VideoFrameBufferType, "livekit.proto.VideoFra
|
|
|
150
147
|
/**
|
|
151
148
|
* @generated from enum livekit.proto.VideoStreamType
|
|
152
149
|
*/
|
|
153
|
-
var VideoStreamType;
|
|
150
|
+
export var VideoStreamType;
|
|
154
151
|
(function (VideoStreamType) {
|
|
155
152
|
/**
|
|
156
153
|
* @generated from enum value: VIDEO_STREAM_NATIVE = 0;
|
|
@@ -164,9 +161,9 @@ var VideoStreamType;
|
|
|
164
161
|
* @generated from enum value: VIDEO_STREAM_HTML = 2;
|
|
165
162
|
*/
|
|
166
163
|
VideoStreamType[VideoStreamType["VIDEO_STREAM_HTML"] = 2] = "VIDEO_STREAM_HTML";
|
|
167
|
-
})(VideoStreamType || (
|
|
164
|
+
})(VideoStreamType || (VideoStreamType = {}));
|
|
168
165
|
// Retrieve enum metadata with: proto3.getEnumType(VideoStreamType)
|
|
169
|
-
|
|
166
|
+
proto3.util.setEnumType(VideoStreamType, "livekit.proto.VideoStreamType", [
|
|
170
167
|
{ no: 0, name: "VIDEO_STREAM_NATIVE" },
|
|
171
168
|
{ no: 1, name: "VIDEO_STREAM_WEBGL" },
|
|
172
169
|
{ no: 2, name: "VIDEO_STREAM_HTML" },
|
|
@@ -174,15 +171,15 @@ protobuf_1.proto3.util.setEnumType(VideoStreamType, "livekit.proto.VideoStreamTy
|
|
|
174
171
|
/**
|
|
175
172
|
* @generated from enum livekit.proto.VideoSourceType
|
|
176
173
|
*/
|
|
177
|
-
var VideoSourceType;
|
|
174
|
+
export var VideoSourceType;
|
|
178
175
|
(function (VideoSourceType) {
|
|
179
176
|
/**
|
|
180
177
|
* @generated from enum value: VIDEO_SOURCE_NATIVE = 0;
|
|
181
178
|
*/
|
|
182
179
|
VideoSourceType[VideoSourceType["VIDEO_SOURCE_NATIVE"] = 0] = "VIDEO_SOURCE_NATIVE";
|
|
183
|
-
})(VideoSourceType || (
|
|
180
|
+
})(VideoSourceType || (VideoSourceType = {}));
|
|
184
181
|
// Retrieve enum metadata with: proto3.getEnumType(VideoSourceType)
|
|
185
|
-
|
|
182
|
+
proto3.util.setEnumType(VideoSourceType, "livekit.proto.VideoSourceType", [
|
|
186
183
|
{ no: 0, name: "VIDEO_SOURCE_NATIVE" },
|
|
187
184
|
]);
|
|
188
185
|
/**
|
|
@@ -190,7 +187,7 @@ protobuf_1.proto3.util.setEnumType(VideoSourceType, "livekit.proto.VideoSourceTy
|
|
|
190
187
|
*
|
|
191
188
|
* @generated from message livekit.proto.AllocVideoBufferRequest
|
|
192
189
|
*/
|
|
193
|
-
class AllocVideoBufferRequest extends
|
|
190
|
+
export class AllocVideoBufferRequest extends Message {
|
|
194
191
|
constructor(data) {
|
|
195
192
|
super();
|
|
196
193
|
/**
|
|
@@ -207,7 +204,7 @@ class AllocVideoBufferRequest extends protobuf_1.Message {
|
|
|
207
204
|
* @generated from field: uint32 height = 3;
|
|
208
205
|
*/
|
|
209
206
|
this.height = 0;
|
|
210
|
-
|
|
207
|
+
proto3.util.initPartial(data, this);
|
|
211
208
|
}
|
|
212
209
|
static fromBinary(bytes, options) {
|
|
213
210
|
return new AllocVideoBufferRequest().fromBinary(bytes, options);
|
|
@@ -219,24 +216,23 @@ class AllocVideoBufferRequest extends protobuf_1.Message {
|
|
|
219
216
|
return new AllocVideoBufferRequest().fromJsonString(jsonString, options);
|
|
220
217
|
}
|
|
221
218
|
static equals(a, b) {
|
|
222
|
-
return
|
|
219
|
+
return proto3.util.equals(AllocVideoBufferRequest, a, b);
|
|
223
220
|
}
|
|
224
221
|
}
|
|
225
|
-
|
|
226
|
-
AllocVideoBufferRequest.runtime = protobuf_1.proto3;
|
|
222
|
+
AllocVideoBufferRequest.runtime = proto3;
|
|
227
223
|
AllocVideoBufferRequest.typeName = "livekit.proto.AllocVideoBufferRequest";
|
|
228
|
-
AllocVideoBufferRequest.fields =
|
|
229
|
-
{ no: 1, name: "type", kind: "enum", T:
|
|
224
|
+
AllocVideoBufferRequest.fields = proto3.util.newFieldList(() => [
|
|
225
|
+
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(VideoFrameBufferType) },
|
|
230
226
|
{ no: 2, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
231
227
|
{ no: 3, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
232
228
|
]);
|
|
233
229
|
/**
|
|
234
230
|
* @generated from message livekit.proto.AllocVideoBufferResponse
|
|
235
231
|
*/
|
|
236
|
-
class AllocVideoBufferResponse extends
|
|
232
|
+
export class AllocVideoBufferResponse extends Message {
|
|
237
233
|
constructor(data) {
|
|
238
234
|
super();
|
|
239
|
-
|
|
235
|
+
proto3.util.initPartial(data, this);
|
|
240
236
|
}
|
|
241
237
|
static fromBinary(bytes, options) {
|
|
242
238
|
return new AllocVideoBufferResponse().fromBinary(bytes, options);
|
|
@@ -248,13 +244,12 @@ class AllocVideoBufferResponse extends protobuf_1.Message {
|
|
|
248
244
|
return new AllocVideoBufferResponse().fromJsonString(jsonString, options);
|
|
249
245
|
}
|
|
250
246
|
static equals(a, b) {
|
|
251
|
-
return
|
|
247
|
+
return proto3.util.equals(AllocVideoBufferResponse, a, b);
|
|
252
248
|
}
|
|
253
249
|
}
|
|
254
|
-
|
|
255
|
-
AllocVideoBufferResponse.runtime = protobuf_1.proto3;
|
|
250
|
+
AllocVideoBufferResponse.runtime = proto3;
|
|
256
251
|
AllocVideoBufferResponse.typeName = "livekit.proto.AllocVideoBufferResponse";
|
|
257
|
-
AllocVideoBufferResponse.fields =
|
|
252
|
+
AllocVideoBufferResponse.fields = proto3.util.newFieldList(() => [
|
|
258
253
|
{ no: 1, name: "buffer", kind: "message", T: OwnedVideoFrameBuffer },
|
|
259
254
|
]);
|
|
260
255
|
/**
|
|
@@ -263,18 +258,18 @@ AllocVideoBufferResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
263
258
|
*
|
|
264
259
|
* @generated from message livekit.proto.NewVideoStreamRequest
|
|
265
260
|
*/
|
|
266
|
-
class NewVideoStreamRequest extends
|
|
261
|
+
export class NewVideoStreamRequest extends Message {
|
|
267
262
|
constructor(data) {
|
|
268
263
|
super();
|
|
269
264
|
/**
|
|
270
265
|
* @generated from field: uint64 track_handle = 1;
|
|
271
266
|
*/
|
|
272
|
-
this.trackHandle =
|
|
267
|
+
this.trackHandle = protoInt64.zero;
|
|
273
268
|
/**
|
|
274
269
|
* @generated from field: livekit.proto.VideoStreamType type = 2;
|
|
275
270
|
*/
|
|
276
271
|
this.type = VideoStreamType.VIDEO_STREAM_NATIVE;
|
|
277
|
-
|
|
272
|
+
proto3.util.initPartial(data, this);
|
|
278
273
|
}
|
|
279
274
|
static fromBinary(bytes, options) {
|
|
280
275
|
return new NewVideoStreamRequest().fromBinary(bytes, options);
|
|
@@ -286,23 +281,22 @@ class NewVideoStreamRequest extends protobuf_1.Message {
|
|
|
286
281
|
return new NewVideoStreamRequest().fromJsonString(jsonString, options);
|
|
287
282
|
}
|
|
288
283
|
static equals(a, b) {
|
|
289
|
-
return
|
|
284
|
+
return proto3.util.equals(NewVideoStreamRequest, a, b);
|
|
290
285
|
}
|
|
291
286
|
}
|
|
292
|
-
|
|
293
|
-
NewVideoStreamRequest.runtime = protobuf_1.proto3;
|
|
287
|
+
NewVideoStreamRequest.runtime = proto3;
|
|
294
288
|
NewVideoStreamRequest.typeName = "livekit.proto.NewVideoStreamRequest";
|
|
295
|
-
NewVideoStreamRequest.fields =
|
|
289
|
+
NewVideoStreamRequest.fields = proto3.util.newFieldList(() => [
|
|
296
290
|
{ no: 1, name: "track_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
297
|
-
{ no: 2, name: "type", kind: "enum", T:
|
|
291
|
+
{ no: 2, name: "type", kind: "enum", T: proto3.getEnumType(VideoStreamType) },
|
|
298
292
|
]);
|
|
299
293
|
/**
|
|
300
294
|
* @generated from message livekit.proto.NewVideoStreamResponse
|
|
301
295
|
*/
|
|
302
|
-
class NewVideoStreamResponse extends
|
|
296
|
+
export class NewVideoStreamResponse extends Message {
|
|
303
297
|
constructor(data) {
|
|
304
298
|
super();
|
|
305
|
-
|
|
299
|
+
proto3.util.initPartial(data, this);
|
|
306
300
|
}
|
|
307
301
|
static fromBinary(bytes, options) {
|
|
308
302
|
return new NewVideoStreamResponse().fromBinary(bytes, options);
|
|
@@ -314,13 +308,12 @@ class NewVideoStreamResponse extends protobuf_1.Message {
|
|
|
314
308
|
return new NewVideoStreamResponse().fromJsonString(jsonString, options);
|
|
315
309
|
}
|
|
316
310
|
static equals(a, b) {
|
|
317
|
-
return
|
|
311
|
+
return proto3.util.equals(NewVideoStreamResponse, a, b);
|
|
318
312
|
}
|
|
319
313
|
}
|
|
320
|
-
|
|
321
|
-
NewVideoStreamResponse.runtime = protobuf_1.proto3;
|
|
314
|
+
NewVideoStreamResponse.runtime = proto3;
|
|
322
315
|
NewVideoStreamResponse.typeName = "livekit.proto.NewVideoStreamResponse";
|
|
323
|
-
NewVideoStreamResponse.fields =
|
|
316
|
+
NewVideoStreamResponse.fields = proto3.util.newFieldList(() => [
|
|
324
317
|
{ no: 1, name: "stream", kind: "message", T: OwnedVideoStream },
|
|
325
318
|
]);
|
|
326
319
|
/**
|
|
@@ -329,14 +322,14 @@ NewVideoStreamResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
329
322
|
*
|
|
330
323
|
* @generated from message livekit.proto.NewVideoSourceRequest
|
|
331
324
|
*/
|
|
332
|
-
class NewVideoSourceRequest extends
|
|
325
|
+
export class NewVideoSourceRequest extends Message {
|
|
333
326
|
constructor(data) {
|
|
334
327
|
super();
|
|
335
328
|
/**
|
|
336
329
|
* @generated from field: livekit.proto.VideoSourceType type = 1;
|
|
337
330
|
*/
|
|
338
331
|
this.type = VideoSourceType.VIDEO_SOURCE_NATIVE;
|
|
339
|
-
|
|
332
|
+
proto3.util.initPartial(data, this);
|
|
340
333
|
}
|
|
341
334
|
static fromBinary(bytes, options) {
|
|
342
335
|
return new NewVideoSourceRequest().fromBinary(bytes, options);
|
|
@@ -348,23 +341,22 @@ class NewVideoSourceRequest extends protobuf_1.Message {
|
|
|
348
341
|
return new NewVideoSourceRequest().fromJsonString(jsonString, options);
|
|
349
342
|
}
|
|
350
343
|
static equals(a, b) {
|
|
351
|
-
return
|
|
344
|
+
return proto3.util.equals(NewVideoSourceRequest, a, b);
|
|
352
345
|
}
|
|
353
346
|
}
|
|
354
|
-
|
|
355
|
-
NewVideoSourceRequest.runtime = protobuf_1.proto3;
|
|
347
|
+
NewVideoSourceRequest.runtime = proto3;
|
|
356
348
|
NewVideoSourceRequest.typeName = "livekit.proto.NewVideoSourceRequest";
|
|
357
|
-
NewVideoSourceRequest.fields =
|
|
358
|
-
{ no: 1, name: "type", kind: "enum", T:
|
|
349
|
+
NewVideoSourceRequest.fields = proto3.util.newFieldList(() => [
|
|
350
|
+
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(VideoSourceType) },
|
|
359
351
|
{ no: 2, name: "resolution", kind: "message", T: VideoSourceResolution },
|
|
360
352
|
]);
|
|
361
353
|
/**
|
|
362
354
|
* @generated from message livekit.proto.NewVideoSourceResponse
|
|
363
355
|
*/
|
|
364
|
-
class NewVideoSourceResponse extends
|
|
356
|
+
export class NewVideoSourceResponse extends Message {
|
|
365
357
|
constructor(data) {
|
|
366
358
|
super();
|
|
367
|
-
|
|
359
|
+
proto3.util.initPartial(data, this);
|
|
368
360
|
}
|
|
369
361
|
static fromBinary(bytes, options) {
|
|
370
362
|
return new NewVideoSourceResponse().fromBinary(bytes, options);
|
|
@@ -376,13 +368,12 @@ class NewVideoSourceResponse extends protobuf_1.Message {
|
|
|
376
368
|
return new NewVideoSourceResponse().fromJsonString(jsonString, options);
|
|
377
369
|
}
|
|
378
370
|
static equals(a, b) {
|
|
379
|
-
return
|
|
371
|
+
return proto3.util.equals(NewVideoSourceResponse, a, b);
|
|
380
372
|
}
|
|
381
373
|
}
|
|
382
|
-
|
|
383
|
-
NewVideoSourceResponse.runtime = protobuf_1.proto3;
|
|
374
|
+
NewVideoSourceResponse.runtime = proto3;
|
|
384
375
|
NewVideoSourceResponse.typeName = "livekit.proto.NewVideoSourceResponse";
|
|
385
|
-
NewVideoSourceResponse.fields =
|
|
376
|
+
NewVideoSourceResponse.fields = proto3.util.newFieldList(() => [
|
|
386
377
|
{ no: 1, name: "source", kind: "message", T: OwnedVideoSource },
|
|
387
378
|
]);
|
|
388
379
|
/**
|
|
@@ -390,18 +381,18 @@ NewVideoSourceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
390
381
|
*
|
|
391
382
|
* @generated from message livekit.proto.CaptureVideoFrameRequest
|
|
392
383
|
*/
|
|
393
|
-
class CaptureVideoFrameRequest extends
|
|
384
|
+
export class CaptureVideoFrameRequest extends Message {
|
|
394
385
|
constructor(data) {
|
|
395
386
|
super();
|
|
396
387
|
/**
|
|
397
388
|
* @generated from field: uint64 source_handle = 1;
|
|
398
389
|
*/
|
|
399
|
-
this.sourceHandle =
|
|
390
|
+
this.sourceHandle = protoInt64.zero;
|
|
400
391
|
/**
|
|
401
392
|
* @generated from oneof livekit.proto.CaptureVideoFrameRequest.from
|
|
402
393
|
*/
|
|
403
394
|
this.from = { case: undefined };
|
|
404
|
-
|
|
395
|
+
proto3.util.initPartial(data, this);
|
|
405
396
|
}
|
|
406
397
|
static fromBinary(bytes, options) {
|
|
407
398
|
return new CaptureVideoFrameRequest().fromBinary(bytes, options);
|
|
@@ -413,13 +404,12 @@ class CaptureVideoFrameRequest extends protobuf_1.Message {
|
|
|
413
404
|
return new CaptureVideoFrameRequest().fromJsonString(jsonString, options);
|
|
414
405
|
}
|
|
415
406
|
static equals(a, b) {
|
|
416
|
-
return
|
|
407
|
+
return proto3.util.equals(CaptureVideoFrameRequest, a, b);
|
|
417
408
|
}
|
|
418
409
|
}
|
|
419
|
-
|
|
420
|
-
CaptureVideoFrameRequest.runtime = protobuf_1.proto3;
|
|
410
|
+
CaptureVideoFrameRequest.runtime = proto3;
|
|
421
411
|
CaptureVideoFrameRequest.typeName = "livekit.proto.CaptureVideoFrameRequest";
|
|
422
|
-
CaptureVideoFrameRequest.fields =
|
|
412
|
+
CaptureVideoFrameRequest.fields = proto3.util.newFieldList(() => [
|
|
423
413
|
{ no: 1, name: "source_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
424
414
|
{ no: 2, name: "frame", kind: "message", T: VideoFrameInfo },
|
|
425
415
|
{ no: 3, name: "info", kind: "message", T: VideoFrameBufferInfo, oneof: "from" },
|
|
@@ -428,10 +418,10 @@ CaptureVideoFrameRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
428
418
|
/**
|
|
429
419
|
* @generated from message livekit.proto.CaptureVideoFrameResponse
|
|
430
420
|
*/
|
|
431
|
-
class CaptureVideoFrameResponse extends
|
|
421
|
+
export class CaptureVideoFrameResponse extends Message {
|
|
432
422
|
constructor(data) {
|
|
433
423
|
super();
|
|
434
|
-
|
|
424
|
+
proto3.util.initPartial(data, this);
|
|
435
425
|
}
|
|
436
426
|
static fromBinary(bytes, options) {
|
|
437
427
|
return new CaptureVideoFrameResponse().fromBinary(bytes, options);
|
|
@@ -443,20 +433,19 @@ class CaptureVideoFrameResponse extends protobuf_1.Message {
|
|
|
443
433
|
return new CaptureVideoFrameResponse().fromJsonString(jsonString, options);
|
|
444
434
|
}
|
|
445
435
|
static equals(a, b) {
|
|
446
|
-
return
|
|
436
|
+
return proto3.util.equals(CaptureVideoFrameResponse, a, b);
|
|
447
437
|
}
|
|
448
438
|
}
|
|
449
|
-
|
|
450
|
-
CaptureVideoFrameResponse.runtime = protobuf_1.proto3;
|
|
439
|
+
CaptureVideoFrameResponse.runtime = proto3;
|
|
451
440
|
CaptureVideoFrameResponse.typeName = "livekit.proto.CaptureVideoFrameResponse";
|
|
452
|
-
CaptureVideoFrameResponse.fields =
|
|
441
|
+
CaptureVideoFrameResponse.fields = proto3.util.newFieldList(() => []);
|
|
453
442
|
/**
|
|
454
443
|
* Convert a RGBA frame to a I420 YUV frame
|
|
455
444
|
* Or convert another YUV frame format to I420
|
|
456
445
|
*
|
|
457
446
|
* @generated from message livekit.proto.ToI420Request
|
|
458
447
|
*/
|
|
459
|
-
class ToI420Request extends
|
|
448
|
+
export class ToI420Request extends Message {
|
|
460
449
|
constructor(data) {
|
|
461
450
|
super();
|
|
462
451
|
/**
|
|
@@ -467,7 +456,7 @@ class ToI420Request extends protobuf_1.Message {
|
|
|
467
456
|
* @generated from oneof livekit.proto.ToI420Request.from
|
|
468
457
|
*/
|
|
469
458
|
this.from = { case: undefined };
|
|
470
|
-
|
|
459
|
+
proto3.util.initPartial(data, this);
|
|
471
460
|
}
|
|
472
461
|
static fromBinary(bytes, options) {
|
|
473
462
|
return new ToI420Request().fromBinary(bytes, options);
|
|
@@ -479,13 +468,12 @@ class ToI420Request extends protobuf_1.Message {
|
|
|
479
468
|
return new ToI420Request().fromJsonString(jsonString, options);
|
|
480
469
|
}
|
|
481
470
|
static equals(a, b) {
|
|
482
|
-
return
|
|
471
|
+
return proto3.util.equals(ToI420Request, a, b);
|
|
483
472
|
}
|
|
484
473
|
}
|
|
485
|
-
|
|
486
|
-
ToI420Request.runtime = protobuf_1.proto3;
|
|
474
|
+
ToI420Request.runtime = proto3;
|
|
487
475
|
ToI420Request.typeName = "livekit.proto.ToI420Request";
|
|
488
|
-
ToI420Request.fields =
|
|
476
|
+
ToI420Request.fields = proto3.util.newFieldList(() => [
|
|
489
477
|
{ no: 1, name: "flip_y", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
490
478
|
{ no: 2, name: "argb", kind: "message", T: ArgbBufferInfo, oneof: "from" },
|
|
491
479
|
{ no: 3, name: "buffer", kind: "message", T: VideoFrameBufferInfo, oneof: "from" },
|
|
@@ -494,10 +482,10 @@ ToI420Request.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
494
482
|
/**
|
|
495
483
|
* @generated from message livekit.proto.ToI420Response
|
|
496
484
|
*/
|
|
497
|
-
class ToI420Response extends
|
|
485
|
+
export class ToI420Response extends Message {
|
|
498
486
|
constructor(data) {
|
|
499
487
|
super();
|
|
500
|
-
|
|
488
|
+
proto3.util.initPartial(data, this);
|
|
501
489
|
}
|
|
502
490
|
static fromBinary(bytes, options) {
|
|
503
491
|
return new ToI420Response().fromBinary(bytes, options);
|
|
@@ -509,13 +497,12 @@ class ToI420Response extends protobuf_1.Message {
|
|
|
509
497
|
return new ToI420Response().fromJsonString(jsonString, options);
|
|
510
498
|
}
|
|
511
499
|
static equals(a, b) {
|
|
512
|
-
return
|
|
500
|
+
return proto3.util.equals(ToI420Response, a, b);
|
|
513
501
|
}
|
|
514
502
|
}
|
|
515
|
-
|
|
516
|
-
ToI420Response.runtime = protobuf_1.proto3;
|
|
503
|
+
ToI420Response.runtime = proto3;
|
|
517
504
|
ToI420Response.typeName = "livekit.proto.ToI420Response";
|
|
518
|
-
ToI420Response.fields =
|
|
505
|
+
ToI420Response.fields = proto3.util.newFieldList(() => [
|
|
519
506
|
{ no: 1, name: "buffer", kind: "message", T: OwnedVideoFrameBuffer },
|
|
520
507
|
]);
|
|
521
508
|
/**
|
|
@@ -524,13 +511,13 @@ ToI420Response.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
524
511
|
*
|
|
525
512
|
* @generated from message livekit.proto.ToArgbRequest
|
|
526
513
|
*/
|
|
527
|
-
class ToArgbRequest extends
|
|
514
|
+
export class ToArgbRequest extends Message {
|
|
528
515
|
constructor(data) {
|
|
529
516
|
super();
|
|
530
517
|
/**
|
|
531
518
|
* @generated from field: uint64 dst_ptr = 2;
|
|
532
519
|
*/
|
|
533
|
-
this.dstPtr =
|
|
520
|
+
this.dstPtr = protoInt64.zero;
|
|
534
521
|
/**
|
|
535
522
|
* @generated from field: livekit.proto.VideoFormatType dst_format = 3;
|
|
536
523
|
*/
|
|
@@ -551,7 +538,7 @@ class ToArgbRequest extends protobuf_1.Message {
|
|
|
551
538
|
* @generated from field: bool flip_y = 7;
|
|
552
539
|
*/
|
|
553
540
|
this.flipY = false;
|
|
554
|
-
|
|
541
|
+
proto3.util.initPartial(data, this);
|
|
555
542
|
}
|
|
556
543
|
static fromBinary(bytes, options) {
|
|
557
544
|
return new ToArgbRequest().fromBinary(bytes, options);
|
|
@@ -563,16 +550,15 @@ class ToArgbRequest extends protobuf_1.Message {
|
|
|
563
550
|
return new ToArgbRequest().fromJsonString(jsonString, options);
|
|
564
551
|
}
|
|
565
552
|
static equals(a, b) {
|
|
566
|
-
return
|
|
553
|
+
return proto3.util.equals(ToArgbRequest, a, b);
|
|
567
554
|
}
|
|
568
555
|
}
|
|
569
|
-
|
|
570
|
-
ToArgbRequest.runtime = protobuf_1.proto3;
|
|
556
|
+
ToArgbRequest.runtime = proto3;
|
|
571
557
|
ToArgbRequest.typeName = "livekit.proto.ToArgbRequest";
|
|
572
|
-
ToArgbRequest.fields =
|
|
558
|
+
ToArgbRequest.fields = proto3.util.newFieldList(() => [
|
|
573
559
|
{ no: 1, name: "buffer", kind: "message", T: VideoFrameBufferInfo },
|
|
574
560
|
{ no: 2, name: "dst_ptr", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
575
|
-
{ no: 3, name: "dst_format", kind: "enum", T:
|
|
561
|
+
{ no: 3, name: "dst_format", kind: "enum", T: proto3.getEnumType(VideoFormatType) },
|
|
576
562
|
{ no: 4, name: "dst_stride", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
577
563
|
{ no: 5, name: "dst_width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
578
564
|
{ no: 6, name: "dst_height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
@@ -581,10 +567,10 @@ ToArgbRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
581
567
|
/**
|
|
582
568
|
* @generated from message livekit.proto.ToArgbResponse
|
|
583
569
|
*/
|
|
584
|
-
class ToArgbResponse extends
|
|
570
|
+
export class ToArgbResponse extends Message {
|
|
585
571
|
constructor(data) {
|
|
586
572
|
super();
|
|
587
|
-
|
|
573
|
+
proto3.util.initPartial(data, this);
|
|
588
574
|
}
|
|
589
575
|
static fromBinary(bytes, options) {
|
|
590
576
|
return new ToArgbResponse().fromBinary(bytes, options);
|
|
@@ -596,17 +582,16 @@ class ToArgbResponse extends protobuf_1.Message {
|
|
|
596
582
|
return new ToArgbResponse().fromJsonString(jsonString, options);
|
|
597
583
|
}
|
|
598
584
|
static equals(a, b) {
|
|
599
|
-
return
|
|
585
|
+
return proto3.util.equals(ToArgbResponse, a, b);
|
|
600
586
|
}
|
|
601
587
|
}
|
|
602
|
-
|
|
603
|
-
ToArgbResponse.runtime = protobuf_1.proto3;
|
|
588
|
+
ToArgbResponse.runtime = proto3;
|
|
604
589
|
ToArgbResponse.typeName = "livekit.proto.ToArgbResponse";
|
|
605
|
-
ToArgbResponse.fields =
|
|
590
|
+
ToArgbResponse.fields = proto3.util.newFieldList(() => []);
|
|
606
591
|
/**
|
|
607
592
|
* @generated from message livekit.proto.VideoResolution
|
|
608
593
|
*/
|
|
609
|
-
class VideoResolution extends
|
|
594
|
+
export class VideoResolution extends Message {
|
|
610
595
|
constructor(data) {
|
|
611
596
|
super();
|
|
612
597
|
/**
|
|
@@ -621,7 +606,7 @@ class VideoResolution extends protobuf_1.Message {
|
|
|
621
606
|
* @generated from field: double frame_rate = 3;
|
|
622
607
|
*/
|
|
623
608
|
this.frameRate = 0;
|
|
624
|
-
|
|
609
|
+
proto3.util.initPartial(data, this);
|
|
625
610
|
}
|
|
626
611
|
static fromBinary(bytes, options) {
|
|
627
612
|
return new VideoResolution().fromBinary(bytes, options);
|
|
@@ -633,13 +618,12 @@ class VideoResolution extends protobuf_1.Message {
|
|
|
633
618
|
return new VideoResolution().fromJsonString(jsonString, options);
|
|
634
619
|
}
|
|
635
620
|
static equals(a, b) {
|
|
636
|
-
return
|
|
621
|
+
return proto3.util.equals(VideoResolution, a, b);
|
|
637
622
|
}
|
|
638
623
|
}
|
|
639
|
-
|
|
640
|
-
VideoResolution.runtime = protobuf_1.proto3;
|
|
624
|
+
VideoResolution.runtime = proto3;
|
|
641
625
|
VideoResolution.typeName = "livekit.proto.VideoResolution";
|
|
642
|
-
VideoResolution.fields =
|
|
626
|
+
VideoResolution.fields = proto3.util.newFieldList(() => [
|
|
643
627
|
{ no: 1, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
644
628
|
{ no: 2, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
645
629
|
{ no: 3, name: "frame_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
@@ -647,13 +631,13 @@ VideoResolution.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
647
631
|
/**
|
|
648
632
|
* @generated from message livekit.proto.ArgbBufferInfo
|
|
649
633
|
*/
|
|
650
|
-
class ArgbBufferInfo extends
|
|
634
|
+
export class ArgbBufferInfo extends Message {
|
|
651
635
|
constructor(data) {
|
|
652
636
|
super();
|
|
653
637
|
/**
|
|
654
638
|
* @generated from field: uint64 ptr = 1;
|
|
655
639
|
*/
|
|
656
|
-
this.ptr =
|
|
640
|
+
this.ptr = protoInt64.zero;
|
|
657
641
|
/**
|
|
658
642
|
* @generated from field: livekit.proto.VideoFormatType format = 2;
|
|
659
643
|
*/
|
|
@@ -670,7 +654,7 @@ class ArgbBufferInfo extends protobuf_1.Message {
|
|
|
670
654
|
* @generated from field: uint32 height = 5;
|
|
671
655
|
*/
|
|
672
656
|
this.height = 0;
|
|
673
|
-
|
|
657
|
+
proto3.util.initPartial(data, this);
|
|
674
658
|
}
|
|
675
659
|
static fromBinary(bytes, options) {
|
|
676
660
|
return new ArgbBufferInfo().fromBinary(bytes, options);
|
|
@@ -682,15 +666,14 @@ class ArgbBufferInfo extends protobuf_1.Message {
|
|
|
682
666
|
return new ArgbBufferInfo().fromJsonString(jsonString, options);
|
|
683
667
|
}
|
|
684
668
|
static equals(a, b) {
|
|
685
|
-
return
|
|
669
|
+
return proto3.util.equals(ArgbBufferInfo, a, b);
|
|
686
670
|
}
|
|
687
671
|
}
|
|
688
|
-
|
|
689
|
-
ArgbBufferInfo.runtime = protobuf_1.proto3;
|
|
672
|
+
ArgbBufferInfo.runtime = proto3;
|
|
690
673
|
ArgbBufferInfo.typeName = "livekit.proto.ArgbBufferInfo";
|
|
691
|
-
ArgbBufferInfo.fields =
|
|
674
|
+
ArgbBufferInfo.fields = proto3.util.newFieldList(() => [
|
|
692
675
|
{ no: 1, name: "ptr", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
693
|
-
{ no: 2, name: "format", kind: "enum", T:
|
|
676
|
+
{ no: 2, name: "format", kind: "enum", T: proto3.getEnumType(VideoFormatType) },
|
|
694
677
|
{ no: 3, name: "stride", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
695
678
|
{ no: 4, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
696
679
|
{ no: 5, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
@@ -698,7 +681,7 @@ ArgbBufferInfo.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
698
681
|
/**
|
|
699
682
|
* @generated from message livekit.proto.VideoFrameInfo
|
|
700
683
|
*/
|
|
701
|
-
class VideoFrameInfo extends
|
|
684
|
+
export class VideoFrameInfo extends Message {
|
|
702
685
|
constructor(data) {
|
|
703
686
|
super();
|
|
704
687
|
/**
|
|
@@ -706,12 +689,12 @@ class VideoFrameInfo extends protobuf_1.Message {
|
|
|
706
689
|
*
|
|
707
690
|
* @generated from field: int64 timestamp_us = 1;
|
|
708
691
|
*/
|
|
709
|
-
this.timestampUs =
|
|
692
|
+
this.timestampUs = protoInt64.zero;
|
|
710
693
|
/**
|
|
711
694
|
* @generated from field: livekit.proto.VideoRotation rotation = 2;
|
|
712
695
|
*/
|
|
713
696
|
this.rotation = VideoRotation.VIDEO_ROTATION_0;
|
|
714
|
-
|
|
697
|
+
proto3.util.initPartial(data, this);
|
|
715
698
|
}
|
|
716
699
|
static fromBinary(bytes, options) {
|
|
717
700
|
return new VideoFrameInfo().fromBinary(bytes, options);
|
|
@@ -723,20 +706,19 @@ class VideoFrameInfo extends protobuf_1.Message {
|
|
|
723
706
|
return new VideoFrameInfo().fromJsonString(jsonString, options);
|
|
724
707
|
}
|
|
725
708
|
static equals(a, b) {
|
|
726
|
-
return
|
|
709
|
+
return proto3.util.equals(VideoFrameInfo, a, b);
|
|
727
710
|
}
|
|
728
711
|
}
|
|
729
|
-
|
|
730
|
-
VideoFrameInfo.runtime = protobuf_1.proto3;
|
|
712
|
+
VideoFrameInfo.runtime = proto3;
|
|
731
713
|
VideoFrameInfo.typeName = "livekit.proto.VideoFrameInfo";
|
|
732
|
-
VideoFrameInfo.fields =
|
|
714
|
+
VideoFrameInfo.fields = proto3.util.newFieldList(() => [
|
|
733
715
|
{ no: 1, name: "timestamp_us", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
734
|
-
{ no: 2, name: "rotation", kind: "enum", T:
|
|
716
|
+
{ no: 2, name: "rotation", kind: "enum", T: proto3.getEnumType(VideoRotation) },
|
|
735
717
|
]);
|
|
736
718
|
/**
|
|
737
719
|
* @generated from message livekit.proto.VideoFrameBufferInfo
|
|
738
720
|
*/
|
|
739
|
-
class VideoFrameBufferInfo extends
|
|
721
|
+
export class VideoFrameBufferInfo extends Message {
|
|
740
722
|
constructor(data) {
|
|
741
723
|
super();
|
|
742
724
|
/**
|
|
@@ -755,7 +737,7 @@ class VideoFrameBufferInfo extends protobuf_1.Message {
|
|
|
755
737
|
* @generated from oneof livekit.proto.VideoFrameBufferInfo.buffer
|
|
756
738
|
*/
|
|
757
739
|
this.buffer = { case: undefined };
|
|
758
|
-
|
|
740
|
+
proto3.util.initPartial(data, this);
|
|
759
741
|
}
|
|
760
742
|
static fromBinary(bytes, options) {
|
|
761
743
|
return new VideoFrameBufferInfo().fromBinary(bytes, options);
|
|
@@ -767,14 +749,13 @@ class VideoFrameBufferInfo extends protobuf_1.Message {
|
|
|
767
749
|
return new VideoFrameBufferInfo().fromJsonString(jsonString, options);
|
|
768
750
|
}
|
|
769
751
|
static equals(a, b) {
|
|
770
|
-
return
|
|
752
|
+
return proto3.util.equals(VideoFrameBufferInfo, a, b);
|
|
771
753
|
}
|
|
772
754
|
}
|
|
773
|
-
|
|
774
|
-
VideoFrameBufferInfo.runtime = protobuf_1.proto3;
|
|
755
|
+
VideoFrameBufferInfo.runtime = proto3;
|
|
775
756
|
VideoFrameBufferInfo.typeName = "livekit.proto.VideoFrameBufferInfo";
|
|
776
|
-
VideoFrameBufferInfo.fields =
|
|
777
|
-
{ no: 1, name: "buffer_type", kind: "enum", T:
|
|
757
|
+
VideoFrameBufferInfo.fields = proto3.util.newFieldList(() => [
|
|
758
|
+
{ no: 1, name: "buffer_type", kind: "enum", T: proto3.getEnumType(VideoFrameBufferType) },
|
|
778
759
|
{ no: 2, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
779
760
|
{ no: 3, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
780
761
|
{ no: 4, name: "yuv", kind: "message", T: PlanarYuvBufferInfo, oneof: "buffer" },
|
|
@@ -784,10 +765,10 @@ VideoFrameBufferInfo.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
784
765
|
/**
|
|
785
766
|
* @generated from message livekit.proto.OwnedVideoFrameBuffer
|
|
786
767
|
*/
|
|
787
|
-
class OwnedVideoFrameBuffer extends
|
|
768
|
+
export class OwnedVideoFrameBuffer extends Message {
|
|
788
769
|
constructor(data) {
|
|
789
770
|
super();
|
|
790
|
-
|
|
771
|
+
proto3.util.initPartial(data, this);
|
|
791
772
|
}
|
|
792
773
|
static fromBinary(bytes, options) {
|
|
793
774
|
return new OwnedVideoFrameBuffer().fromBinary(bytes, options);
|
|
@@ -799,20 +780,19 @@ class OwnedVideoFrameBuffer extends protobuf_1.Message {
|
|
|
799
780
|
return new OwnedVideoFrameBuffer().fromJsonString(jsonString, options);
|
|
800
781
|
}
|
|
801
782
|
static equals(a, b) {
|
|
802
|
-
return
|
|
783
|
+
return proto3.util.equals(OwnedVideoFrameBuffer, a, b);
|
|
803
784
|
}
|
|
804
785
|
}
|
|
805
|
-
|
|
806
|
-
OwnedVideoFrameBuffer.runtime = protobuf_1.proto3;
|
|
786
|
+
OwnedVideoFrameBuffer.runtime = proto3;
|
|
807
787
|
OwnedVideoFrameBuffer.typeName = "livekit.proto.OwnedVideoFrameBuffer";
|
|
808
|
-
OwnedVideoFrameBuffer.fields =
|
|
809
|
-
{ no: 1, name: "handle", kind: "message", T:
|
|
788
|
+
OwnedVideoFrameBuffer.fields = proto3.util.newFieldList(() => [
|
|
789
|
+
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
810
790
|
{ no: 2, name: "info", kind: "message", T: VideoFrameBufferInfo },
|
|
811
791
|
]);
|
|
812
792
|
/**
|
|
813
793
|
* @generated from message livekit.proto.PlanarYuvBufferInfo
|
|
814
794
|
*/
|
|
815
|
-
class PlanarYuvBufferInfo extends
|
|
795
|
+
export class PlanarYuvBufferInfo extends Message {
|
|
816
796
|
constructor(data) {
|
|
817
797
|
super();
|
|
818
798
|
/**
|
|
@@ -844,22 +824,22 @@ class PlanarYuvBufferInfo extends protobuf_1.Message {
|
|
|
844
824
|
*
|
|
845
825
|
* @generated from field: uint64 data_y_ptr = 7;
|
|
846
826
|
*/
|
|
847
|
-
this.dataYPtr =
|
|
827
|
+
this.dataYPtr = protoInt64.zero;
|
|
848
828
|
/**
|
|
849
829
|
* @generated from field: uint64 data_u_ptr = 8;
|
|
850
830
|
*/
|
|
851
|
-
this.dataUPtr =
|
|
831
|
+
this.dataUPtr = protoInt64.zero;
|
|
852
832
|
/**
|
|
853
833
|
* @generated from field: uint64 data_v_ptr = 9;
|
|
854
834
|
*/
|
|
855
|
-
this.dataVPtr =
|
|
835
|
+
this.dataVPtr = protoInt64.zero;
|
|
856
836
|
/**
|
|
857
837
|
* nullptr = no alpha
|
|
858
838
|
*
|
|
859
839
|
* @generated from field: uint64 data_a_ptr = 10;
|
|
860
840
|
*/
|
|
861
|
-
this.dataAPtr =
|
|
862
|
-
|
|
841
|
+
this.dataAPtr = protoInt64.zero;
|
|
842
|
+
proto3.util.initPartial(data, this);
|
|
863
843
|
}
|
|
864
844
|
static fromBinary(bytes, options) {
|
|
865
845
|
return new PlanarYuvBufferInfo().fromBinary(bytes, options);
|
|
@@ -871,13 +851,12 @@ class PlanarYuvBufferInfo extends protobuf_1.Message {
|
|
|
871
851
|
return new PlanarYuvBufferInfo().fromJsonString(jsonString, options);
|
|
872
852
|
}
|
|
873
853
|
static equals(a, b) {
|
|
874
|
-
return
|
|
854
|
+
return proto3.util.equals(PlanarYuvBufferInfo, a, b);
|
|
875
855
|
}
|
|
876
856
|
}
|
|
877
|
-
|
|
878
|
-
PlanarYuvBufferInfo.runtime = protobuf_1.proto3;
|
|
857
|
+
PlanarYuvBufferInfo.runtime = proto3;
|
|
879
858
|
PlanarYuvBufferInfo.typeName = "livekit.proto.PlanarYuvBufferInfo";
|
|
880
|
-
PlanarYuvBufferInfo.fields =
|
|
859
|
+
PlanarYuvBufferInfo.fields = proto3.util.newFieldList(() => [
|
|
881
860
|
{ no: 1, name: "chroma_width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
882
861
|
{ no: 2, name: "chroma_height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
883
862
|
{ no: 3, name: "stride_y", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
@@ -892,7 +871,7 @@ PlanarYuvBufferInfo.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
892
871
|
/**
|
|
893
872
|
* @generated from message livekit.proto.BiplanarYuvBufferInfo
|
|
894
873
|
*/
|
|
895
|
-
class BiplanarYuvBufferInfo extends
|
|
874
|
+
export class BiplanarYuvBufferInfo extends Message {
|
|
896
875
|
constructor(data) {
|
|
897
876
|
super();
|
|
898
877
|
/**
|
|
@@ -914,12 +893,12 @@ class BiplanarYuvBufferInfo extends protobuf_1.Message {
|
|
|
914
893
|
/**
|
|
915
894
|
* @generated from field: uint64 data_y_ptr = 5;
|
|
916
895
|
*/
|
|
917
|
-
this.dataYPtr =
|
|
896
|
+
this.dataYPtr = protoInt64.zero;
|
|
918
897
|
/**
|
|
919
898
|
* @generated from field: uint64 data_uv_ptr = 6;
|
|
920
899
|
*/
|
|
921
|
-
this.dataUvPtr =
|
|
922
|
-
|
|
900
|
+
this.dataUvPtr = protoInt64.zero;
|
|
901
|
+
proto3.util.initPartial(data, this);
|
|
923
902
|
}
|
|
924
903
|
static fromBinary(bytes, options) {
|
|
925
904
|
return new BiplanarYuvBufferInfo().fromBinary(bytes, options);
|
|
@@ -931,13 +910,12 @@ class BiplanarYuvBufferInfo extends protobuf_1.Message {
|
|
|
931
910
|
return new BiplanarYuvBufferInfo().fromJsonString(jsonString, options);
|
|
932
911
|
}
|
|
933
912
|
static equals(a, b) {
|
|
934
|
-
return
|
|
913
|
+
return proto3.util.equals(BiplanarYuvBufferInfo, a, b);
|
|
935
914
|
}
|
|
936
915
|
}
|
|
937
|
-
|
|
938
|
-
BiplanarYuvBufferInfo.runtime = protobuf_1.proto3;
|
|
916
|
+
BiplanarYuvBufferInfo.runtime = proto3;
|
|
939
917
|
BiplanarYuvBufferInfo.typeName = "livekit.proto.BiplanarYuvBufferInfo";
|
|
940
|
-
BiplanarYuvBufferInfo.fields =
|
|
918
|
+
BiplanarYuvBufferInfo.fields = proto3.util.newFieldList(() => [
|
|
941
919
|
{ no: 1, name: "chroma_width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
942
920
|
{ no: 2, name: "chroma_height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
943
921
|
{ no: 3, name: "stride_y", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
@@ -950,10 +928,10 @@ BiplanarYuvBufferInfo.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
950
928
|
*
|
|
951
929
|
* @generated from message livekit.proto.NativeBufferInfo
|
|
952
930
|
*/
|
|
953
|
-
class NativeBufferInfo extends
|
|
931
|
+
export class NativeBufferInfo extends Message {
|
|
954
932
|
constructor(data) {
|
|
955
933
|
super();
|
|
956
|
-
|
|
934
|
+
proto3.util.initPartial(data, this);
|
|
957
935
|
}
|
|
958
936
|
static fromBinary(bytes, options) {
|
|
959
937
|
return new NativeBufferInfo().fromBinary(bytes, options);
|
|
@@ -965,24 +943,23 @@ class NativeBufferInfo extends protobuf_1.Message {
|
|
|
965
943
|
return new NativeBufferInfo().fromJsonString(jsonString, options);
|
|
966
944
|
}
|
|
967
945
|
static equals(a, b) {
|
|
968
|
-
return
|
|
946
|
+
return proto3.util.equals(NativeBufferInfo, a, b);
|
|
969
947
|
}
|
|
970
948
|
}
|
|
971
|
-
|
|
972
|
-
NativeBufferInfo.runtime = protobuf_1.proto3;
|
|
949
|
+
NativeBufferInfo.runtime = proto3;
|
|
973
950
|
NativeBufferInfo.typeName = "livekit.proto.NativeBufferInfo";
|
|
974
|
-
NativeBufferInfo.fields =
|
|
951
|
+
NativeBufferInfo.fields = proto3.util.newFieldList(() => []);
|
|
975
952
|
/**
|
|
976
953
|
* @generated from message livekit.proto.VideoStreamInfo
|
|
977
954
|
*/
|
|
978
|
-
class VideoStreamInfo extends
|
|
955
|
+
export class VideoStreamInfo extends Message {
|
|
979
956
|
constructor(data) {
|
|
980
957
|
super();
|
|
981
958
|
/**
|
|
982
959
|
* @generated from field: livekit.proto.VideoStreamType type = 1;
|
|
983
960
|
*/
|
|
984
961
|
this.type = VideoStreamType.VIDEO_STREAM_NATIVE;
|
|
985
|
-
|
|
962
|
+
proto3.util.initPartial(data, this);
|
|
986
963
|
}
|
|
987
964
|
static fromBinary(bytes, options) {
|
|
988
965
|
return new VideoStreamInfo().fromBinary(bytes, options);
|
|
@@ -994,22 +971,21 @@ class VideoStreamInfo extends protobuf_1.Message {
|
|
|
994
971
|
return new VideoStreamInfo().fromJsonString(jsonString, options);
|
|
995
972
|
}
|
|
996
973
|
static equals(a, b) {
|
|
997
|
-
return
|
|
974
|
+
return proto3.util.equals(VideoStreamInfo, a, b);
|
|
998
975
|
}
|
|
999
976
|
}
|
|
1000
|
-
|
|
1001
|
-
VideoStreamInfo.runtime = protobuf_1.proto3;
|
|
977
|
+
VideoStreamInfo.runtime = proto3;
|
|
1002
978
|
VideoStreamInfo.typeName = "livekit.proto.VideoStreamInfo";
|
|
1003
|
-
VideoStreamInfo.fields =
|
|
1004
|
-
{ no: 1, name: "type", kind: "enum", T:
|
|
979
|
+
VideoStreamInfo.fields = proto3.util.newFieldList(() => [
|
|
980
|
+
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(VideoStreamType) },
|
|
1005
981
|
]);
|
|
1006
982
|
/**
|
|
1007
983
|
* @generated from message livekit.proto.OwnedVideoStream
|
|
1008
984
|
*/
|
|
1009
|
-
class OwnedVideoStream extends
|
|
985
|
+
export class OwnedVideoStream extends Message {
|
|
1010
986
|
constructor(data) {
|
|
1011
987
|
super();
|
|
1012
|
-
|
|
988
|
+
proto3.util.initPartial(data, this);
|
|
1013
989
|
}
|
|
1014
990
|
static fromBinary(bytes, options) {
|
|
1015
991
|
return new OwnedVideoStream().fromBinary(bytes, options);
|
|
@@ -1021,31 +997,30 @@ class OwnedVideoStream extends protobuf_1.Message {
|
|
|
1021
997
|
return new OwnedVideoStream().fromJsonString(jsonString, options);
|
|
1022
998
|
}
|
|
1023
999
|
static equals(a, b) {
|
|
1024
|
-
return
|
|
1000
|
+
return proto3.util.equals(OwnedVideoStream, a, b);
|
|
1025
1001
|
}
|
|
1026
1002
|
}
|
|
1027
|
-
|
|
1028
|
-
OwnedVideoStream.runtime = protobuf_1.proto3;
|
|
1003
|
+
OwnedVideoStream.runtime = proto3;
|
|
1029
1004
|
OwnedVideoStream.typeName = "livekit.proto.OwnedVideoStream";
|
|
1030
|
-
OwnedVideoStream.fields =
|
|
1031
|
-
{ no: 1, name: "handle", kind: "message", T:
|
|
1005
|
+
OwnedVideoStream.fields = proto3.util.newFieldList(() => [
|
|
1006
|
+
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
1032
1007
|
{ no: 2, name: "info", kind: "message", T: VideoStreamInfo },
|
|
1033
1008
|
]);
|
|
1034
1009
|
/**
|
|
1035
1010
|
* @generated from message livekit.proto.VideoStreamEvent
|
|
1036
1011
|
*/
|
|
1037
|
-
class VideoStreamEvent extends
|
|
1012
|
+
export class VideoStreamEvent extends Message {
|
|
1038
1013
|
constructor(data) {
|
|
1039
1014
|
super();
|
|
1040
1015
|
/**
|
|
1041
1016
|
* @generated from field: uint64 stream_handle = 1;
|
|
1042
1017
|
*/
|
|
1043
|
-
this.streamHandle =
|
|
1018
|
+
this.streamHandle = protoInt64.zero;
|
|
1044
1019
|
/**
|
|
1045
1020
|
* @generated from oneof livekit.proto.VideoStreamEvent.message
|
|
1046
1021
|
*/
|
|
1047
1022
|
this.message = { case: undefined };
|
|
1048
|
-
|
|
1023
|
+
proto3.util.initPartial(data, this);
|
|
1049
1024
|
}
|
|
1050
1025
|
static fromBinary(bytes, options) {
|
|
1051
1026
|
return new VideoStreamEvent().fromBinary(bytes, options);
|
|
@@ -1057,13 +1032,12 @@ class VideoStreamEvent extends protobuf_1.Message {
|
|
|
1057
1032
|
return new VideoStreamEvent().fromJsonString(jsonString, options);
|
|
1058
1033
|
}
|
|
1059
1034
|
static equals(a, b) {
|
|
1060
|
-
return
|
|
1035
|
+
return proto3.util.equals(VideoStreamEvent, a, b);
|
|
1061
1036
|
}
|
|
1062
1037
|
}
|
|
1063
|
-
|
|
1064
|
-
VideoStreamEvent.runtime = protobuf_1.proto3;
|
|
1038
|
+
VideoStreamEvent.runtime = proto3;
|
|
1065
1039
|
VideoStreamEvent.typeName = "livekit.proto.VideoStreamEvent";
|
|
1066
|
-
VideoStreamEvent.fields =
|
|
1040
|
+
VideoStreamEvent.fields = proto3.util.newFieldList(() => [
|
|
1067
1041
|
{ no: 1, name: "stream_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1068
1042
|
{ no: 2, name: "frame_received", kind: "message", T: VideoFrameReceived, oneof: "message" },
|
|
1069
1043
|
{ no: 3, name: "eos", kind: "message", T: VideoStreamEOS, oneof: "message" },
|
|
@@ -1071,10 +1045,10 @@ VideoStreamEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1071
1045
|
/**
|
|
1072
1046
|
* @generated from message livekit.proto.VideoFrameReceived
|
|
1073
1047
|
*/
|
|
1074
|
-
class VideoFrameReceived extends
|
|
1048
|
+
export class VideoFrameReceived extends Message {
|
|
1075
1049
|
constructor(data) {
|
|
1076
1050
|
super();
|
|
1077
|
-
|
|
1051
|
+
proto3.util.initPartial(data, this);
|
|
1078
1052
|
}
|
|
1079
1053
|
static fromBinary(bytes, options) {
|
|
1080
1054
|
return new VideoFrameReceived().fromBinary(bytes, options);
|
|
@@ -1086,23 +1060,22 @@ class VideoFrameReceived extends protobuf_1.Message {
|
|
|
1086
1060
|
return new VideoFrameReceived().fromJsonString(jsonString, options);
|
|
1087
1061
|
}
|
|
1088
1062
|
static equals(a, b) {
|
|
1089
|
-
return
|
|
1063
|
+
return proto3.util.equals(VideoFrameReceived, a, b);
|
|
1090
1064
|
}
|
|
1091
1065
|
}
|
|
1092
|
-
|
|
1093
|
-
VideoFrameReceived.runtime = protobuf_1.proto3;
|
|
1066
|
+
VideoFrameReceived.runtime = proto3;
|
|
1094
1067
|
VideoFrameReceived.typeName = "livekit.proto.VideoFrameReceived";
|
|
1095
|
-
VideoFrameReceived.fields =
|
|
1068
|
+
VideoFrameReceived.fields = proto3.util.newFieldList(() => [
|
|
1096
1069
|
{ no: 1, name: "frame", kind: "message", T: VideoFrameInfo },
|
|
1097
1070
|
{ no: 2, name: "buffer", kind: "message", T: OwnedVideoFrameBuffer },
|
|
1098
1071
|
]);
|
|
1099
1072
|
/**
|
|
1100
1073
|
* @generated from message livekit.proto.VideoStreamEOS
|
|
1101
1074
|
*/
|
|
1102
|
-
class VideoStreamEOS extends
|
|
1075
|
+
export class VideoStreamEOS extends Message {
|
|
1103
1076
|
constructor(data) {
|
|
1104
1077
|
super();
|
|
1105
|
-
|
|
1078
|
+
proto3.util.initPartial(data, this);
|
|
1106
1079
|
}
|
|
1107
1080
|
static fromBinary(bytes, options) {
|
|
1108
1081
|
return new VideoStreamEOS().fromBinary(bytes, options);
|
|
@@ -1114,17 +1087,16 @@ class VideoStreamEOS extends protobuf_1.Message {
|
|
|
1114
1087
|
return new VideoStreamEOS().fromJsonString(jsonString, options);
|
|
1115
1088
|
}
|
|
1116
1089
|
static equals(a, b) {
|
|
1117
|
-
return
|
|
1090
|
+
return proto3.util.equals(VideoStreamEOS, a, b);
|
|
1118
1091
|
}
|
|
1119
1092
|
}
|
|
1120
|
-
|
|
1121
|
-
VideoStreamEOS.runtime = protobuf_1.proto3;
|
|
1093
|
+
VideoStreamEOS.runtime = proto3;
|
|
1122
1094
|
VideoStreamEOS.typeName = "livekit.proto.VideoStreamEOS";
|
|
1123
|
-
VideoStreamEOS.fields =
|
|
1095
|
+
VideoStreamEOS.fields = proto3.util.newFieldList(() => []);
|
|
1124
1096
|
/**
|
|
1125
1097
|
* @generated from message livekit.proto.VideoSourceResolution
|
|
1126
1098
|
*/
|
|
1127
|
-
class VideoSourceResolution extends
|
|
1099
|
+
export class VideoSourceResolution extends Message {
|
|
1128
1100
|
constructor(data) {
|
|
1129
1101
|
super();
|
|
1130
1102
|
/**
|
|
@@ -1135,7 +1107,7 @@ class VideoSourceResolution extends protobuf_1.Message {
|
|
|
1135
1107
|
* @generated from field: uint32 height = 2;
|
|
1136
1108
|
*/
|
|
1137
1109
|
this.height = 0;
|
|
1138
|
-
|
|
1110
|
+
proto3.util.initPartial(data, this);
|
|
1139
1111
|
}
|
|
1140
1112
|
static fromBinary(bytes, options) {
|
|
1141
1113
|
return new VideoSourceResolution().fromBinary(bytes, options);
|
|
@@ -1147,27 +1119,26 @@ class VideoSourceResolution extends protobuf_1.Message {
|
|
|
1147
1119
|
return new VideoSourceResolution().fromJsonString(jsonString, options);
|
|
1148
1120
|
}
|
|
1149
1121
|
static equals(a, b) {
|
|
1150
|
-
return
|
|
1122
|
+
return proto3.util.equals(VideoSourceResolution, a, b);
|
|
1151
1123
|
}
|
|
1152
1124
|
}
|
|
1153
|
-
|
|
1154
|
-
VideoSourceResolution.runtime = protobuf_1.proto3;
|
|
1125
|
+
VideoSourceResolution.runtime = proto3;
|
|
1155
1126
|
VideoSourceResolution.typeName = "livekit.proto.VideoSourceResolution";
|
|
1156
|
-
VideoSourceResolution.fields =
|
|
1127
|
+
VideoSourceResolution.fields = proto3.util.newFieldList(() => [
|
|
1157
1128
|
{ no: 1, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1158
1129
|
{ no: 2, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1159
1130
|
]);
|
|
1160
1131
|
/**
|
|
1161
1132
|
* @generated from message livekit.proto.VideoSourceInfo
|
|
1162
1133
|
*/
|
|
1163
|
-
class VideoSourceInfo extends
|
|
1134
|
+
export class VideoSourceInfo extends Message {
|
|
1164
1135
|
constructor(data) {
|
|
1165
1136
|
super();
|
|
1166
1137
|
/**
|
|
1167
1138
|
* @generated from field: livekit.proto.VideoSourceType type = 1;
|
|
1168
1139
|
*/
|
|
1169
1140
|
this.type = VideoSourceType.VIDEO_SOURCE_NATIVE;
|
|
1170
|
-
|
|
1141
|
+
proto3.util.initPartial(data, this);
|
|
1171
1142
|
}
|
|
1172
1143
|
static fromBinary(bytes, options) {
|
|
1173
1144
|
return new VideoSourceInfo().fromBinary(bytes, options);
|
|
@@ -1179,22 +1150,21 @@ class VideoSourceInfo extends protobuf_1.Message {
|
|
|
1179
1150
|
return new VideoSourceInfo().fromJsonString(jsonString, options);
|
|
1180
1151
|
}
|
|
1181
1152
|
static equals(a, b) {
|
|
1182
|
-
return
|
|
1153
|
+
return proto3.util.equals(VideoSourceInfo, a, b);
|
|
1183
1154
|
}
|
|
1184
1155
|
}
|
|
1185
|
-
|
|
1186
|
-
VideoSourceInfo.runtime = protobuf_1.proto3;
|
|
1156
|
+
VideoSourceInfo.runtime = proto3;
|
|
1187
1157
|
VideoSourceInfo.typeName = "livekit.proto.VideoSourceInfo";
|
|
1188
|
-
VideoSourceInfo.fields =
|
|
1189
|
-
{ no: 1, name: "type", kind: "enum", T:
|
|
1158
|
+
VideoSourceInfo.fields = proto3.util.newFieldList(() => [
|
|
1159
|
+
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(VideoSourceType) },
|
|
1190
1160
|
]);
|
|
1191
1161
|
/**
|
|
1192
1162
|
* @generated from message livekit.proto.OwnedVideoSource
|
|
1193
1163
|
*/
|
|
1194
|
-
class OwnedVideoSource extends
|
|
1164
|
+
export class OwnedVideoSource extends Message {
|
|
1195
1165
|
constructor(data) {
|
|
1196
1166
|
super();
|
|
1197
|
-
|
|
1167
|
+
proto3.util.initPartial(data, this);
|
|
1198
1168
|
}
|
|
1199
1169
|
static fromBinary(bytes, options) {
|
|
1200
1170
|
return new OwnedVideoSource().fromBinary(bytes, options);
|
|
@@ -1206,14 +1176,13 @@ class OwnedVideoSource extends protobuf_1.Message {
|
|
|
1206
1176
|
return new OwnedVideoSource().fromJsonString(jsonString, options);
|
|
1207
1177
|
}
|
|
1208
1178
|
static equals(a, b) {
|
|
1209
|
-
return
|
|
1179
|
+
return proto3.util.equals(OwnedVideoSource, a, b);
|
|
1210
1180
|
}
|
|
1211
1181
|
}
|
|
1212
|
-
|
|
1213
|
-
OwnedVideoSource.runtime = protobuf_1.proto3;
|
|
1182
|
+
OwnedVideoSource.runtime = proto3;
|
|
1214
1183
|
OwnedVideoSource.typeName = "livekit.proto.OwnedVideoSource";
|
|
1215
|
-
OwnedVideoSource.fields =
|
|
1216
|
-
{ no: 1, name: "handle", kind: "message", T:
|
|
1184
|
+
OwnedVideoSource.fields = proto3.util.newFieldList(() => [
|
|
1185
|
+
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
1217
1186
|
{ no: 2, name: "info", kind: "message", T: VideoSourceInfo },
|
|
1218
1187
|
]);
|
|
1219
1188
|
//# sourceMappingURL=video_frame_pb.js.map
|