@livekit/rtc-node 0.13.23 → 0.13.25
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/audio_filter.cjs +2 -2
- package/dist/audio_filter.cjs.map +1 -1
- package/dist/audio_filter.js +1 -1
- package/dist/audio_filter.js.map +1 -1
- package/dist/audio_frame.cjs +11 -7
- package/dist/audio_frame.cjs.map +1 -1
- package/dist/audio_frame.d.cts +3 -8
- package/dist/audio_frame.d.ts +3 -8
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +10 -6
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_mixer.cjs +11 -4
- package/dist/audio_mixer.cjs.map +1 -1
- package/dist/audio_mixer.d.cts +1 -6
- package/dist/audio_mixer.d.ts +1 -6
- package/dist/audio_mixer.d.ts.map +1 -1
- package/dist/audio_mixer.js +11 -4
- package/dist/audio_mixer.js.map +1 -1
- package/dist/audio_resampler.cjs +20 -12
- package/dist/audio_resampler.cjs.map +1 -1
- package/dist/audio_resampler.d.cts +6 -6
- package/dist/audio_resampler.d.ts +6 -6
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +12 -4
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.cjs +11 -7
- package/dist/audio_source.cjs.map +1 -1
- package/dist/audio_source.d.cts +1 -7
- package/dist/audio_source.d.ts +1 -7
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +8 -3
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.cjs +17 -5
- package/dist/audio_stream.cjs.map +1 -1
- package/dist/audio_stream.d.cts +1 -14
- package/dist/audio_stream.d.ts +1 -14
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +16 -4
- package/dist/audio_stream.js.map +1 -1
- package/dist/data_streams/index.d.cts +2 -10
- package/dist/data_streams/index.d.ts +2 -10
- package/dist/data_streams/stream_reader.cjs +8 -0
- package/dist/data_streams/stream_reader.cjs.map +1 -1
- package/dist/data_streams/stream_reader.d.cts +2 -10
- package/dist/data_streams/stream_reader.d.ts +2 -10
- package/dist/data_streams/stream_reader.d.ts.map +1 -1
- package/dist/data_streams/stream_reader.js +8 -0
- package/dist/data_streams/stream_reader.js.map +1 -1
- package/dist/data_streams/stream_writer.d.cts +2 -10
- package/dist/data_streams/stream_writer.d.ts +2 -10
- package/dist/data_streams/types.cjs.map +1 -1
- package/dist/data_streams/types.d.cts +2 -10
- package/dist/data_streams/types.d.ts +2 -10
- package/dist/data_streams/types.d.ts.map +1 -1
- package/dist/e2ee.cjs +21 -21
- package/dist/e2ee.cjs.map +1 -1
- package/dist/e2ee.d.cts +1 -2
- package/dist/e2ee.d.ts +1 -2
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +2 -2
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.cjs +11 -12
- package/dist/ffi_client.cjs.map +1 -1
- package/dist/ffi_client.d.cts +3 -16
- package/dist/ffi_client.d.ts +3 -16
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +5 -3
- package/dist/ffi_client.js.map +1 -1
- package/dist/frame_processor.cjs +13 -2
- package/dist/frame_processor.cjs.map +1 -1
- package/dist/frame_processor.d.cts +5 -8
- package/dist/frame_processor.d.ts +5 -8
- package/dist/frame_processor.d.ts.map +1 -1
- package/dist/frame_processor.js +10 -1
- package/dist/frame_processor.js.map +1 -1
- package/dist/index.cjs +25 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -16
- package/dist/index.d.ts +3 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/dist/log.cjs +1 -10
- package/dist/log.cjs.map +1 -1
- package/dist/log.d.cts +4 -0
- package/dist/log.d.ts +4 -0
- package/dist/log.d.ts.map +1 -1
- package/dist/log.js +1 -10
- package/dist/log.js.map +1 -1
- package/dist/participant.cjs +38 -38
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +2 -15
- package/dist/participant.d.ts +2 -15
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +12 -12
- package/dist/participant.js.map +1 -1
- package/dist/room.cjs +48 -30
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +11 -16
- package/dist/room.d.ts +11 -16
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +44 -26
- package/dist/room.js.map +1 -1
- package/dist/rpc.cjs.map +1 -1
- package/dist/rpc.d.cts +1 -2
- package/dist/rpc.d.ts +1 -2
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js.map +1 -1
- package/dist/{stream_reader-Ch2zvjU3.d.cts → stream_reader-CuG4b8Y-.d.cts} +1 -1
- package/dist/{stream_reader-DRyR29vo.d.ts → stream_reader-CuG4b8Y-.d.ts} +1 -1
- package/dist/track.cjs +3 -3
- package/dist/track.cjs.map +1 -1
- package/dist/track.d.cts +1 -14
- package/dist/track.d.ts +1 -14
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +1 -1
- package/dist/track.js.map +1 -1
- package/dist/track_publication.cjs +4 -4
- package/dist/track_publication.cjs.map +1 -1
- package/dist/track_publication.d.cts +1 -14
- package/dist/track_publication.d.ts +1 -14
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +2 -2
- package/dist/track_publication.js.map +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.d.cts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/video_frame.cjs +42 -42
- package/dist/video_frame.cjs.map +1 -1
- package/dist/video_frame.d.cts +1 -6
- package/dist/video_frame.d.ts +1 -6
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +2 -2
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.cjs +5 -5
- package/dist/video_source.cjs.map +1 -1
- package/dist/video_source.d.cts +1 -14
- package/dist/video_source.d.ts +1 -14
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +2 -2
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.cjs +12 -4
- package/dist/video_stream.cjs.map +1 -1
- package/dist/video_stream.d.cts +1 -14
- package/dist/video_stream.d.ts +1 -14
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +10 -2
- package/dist/video_stream.js.map +1 -1
- package/package.json +9 -35
- package/src/audio_filter.ts +2 -2
- package/src/audio_frame.ts +26 -7
- package/src/audio_mixer.ts +15 -4
- package/src/audio_resampler.ts +14 -4
- package/src/audio_source.ts +13 -5
- package/src/audio_stream.ts +21 -5
- package/src/data_streams/stream_reader.ts +19 -1
- package/src/data_streams/types.ts +1 -1
- package/src/e2ee.ts +3 -3
- package/src/ffi_client.ts +7 -5
- package/src/frame_processor.ts +21 -0
- package/src/index.ts +6 -5
- package/src/log.ts +14 -10
- package/src/participant.ts +17 -17
- package/src/room.ts +65 -38
- package/src/rpc.ts +1 -1
- package/src/tests/e2e.test.ts +517 -0
- package/src/track.ts +4 -4
- package/src/track_publication.ts +6 -6
- package/src/version.ts +1 -1
- package/src/video_frame.ts +3 -3
- package/src/video_source.ts +3 -3
- package/src/video_stream.ts +15 -3
- package/Cargo.toml +0 -25
- package/build.rs +0 -9
- package/dist/napi/native.cjs +0 -301
- package/dist/napi/native.d.cjs +0 -17
- package/dist/napi/native.d.cjs.map +0 -1
- package/dist/napi/native.d.d.cts +0 -21
- package/dist/napi/native.d.d.ts +0 -21
- package/dist/napi/native.d.js +0 -1
- package/dist/napi/native.d.js.map +0 -1
- package/dist/napi/native.d.ts +0 -19
- package/dist/napi/native.js +0 -15
- package/dist/native.cjs +0 -301
- package/dist/native.d.ts +0 -19
- package/dist/native.js +0 -15
- package/dist/proto/audio_frame_pb.cjs +0 -1357
- package/dist/proto/audio_frame_pb.cjs.map +0 -1
- package/dist/proto/audio_frame_pb.d.cts +0 -1183
- package/dist/proto/audio_frame_pb.d.ts +0 -1183
- package/dist/proto/audio_frame_pb.d.ts.map +0 -1
- package/dist/proto/audio_frame_pb.js +0 -1283
- package/dist/proto/audio_frame_pb.js.map +0 -1
- package/dist/proto/data_stream_pb.cjs +0 -1638
- package/dist/proto/data_stream_pb.cjs.map +0 -1
- package/dist/proto/data_stream_pb.d.cts +0 -1449
- package/dist/proto/data_stream_pb.d.ts +0 -1449
- package/dist/proto/data_stream_pb.d.ts.map +0 -1
- package/dist/proto/data_stream_pb.js +0 -1559
- package/dist/proto/data_stream_pb.js.map +0 -1
- package/dist/proto/e2ee_pb.cjs +0 -746
- package/dist/proto/e2ee_pb.cjs.map +0 -1
- package/dist/proto/e2ee_pb.d.cts +0 -653
- package/dist/proto/e2ee_pb.d.ts +0 -653
- package/dist/proto/e2ee_pb.d.ts.map +0 -1
- package/dist/proto/e2ee_pb.js +0 -696
- package/dist/proto/e2ee_pb.js.map +0 -1
- package/dist/proto/ffi_pb.cjs +0 -477
- package/dist/proto/ffi_pb.cjs.map +0 -1
- package/dist/proto/ffi_pb.d.cts +0 -1321
- package/dist/proto/ffi_pb.d.ts +0 -1321
- package/dist/proto/ffi_pb.d.ts.map +0 -1
- package/dist/proto/ffi_pb.js +0 -444
- package/dist/proto/ffi_pb.js.map +0 -1
- package/dist/proto/handle_pb.cjs +0 -53
- package/dist/proto/handle_pb.cjs.map +0 -1
- package/dist/proto/handle_pb.d.cts +0 -31
- package/dist/proto/handle_pb.d.ts +0 -31
- package/dist/proto/handle_pb.d.ts.map +0 -1
- package/dist/proto/handle_pb.js +0 -29
- package/dist/proto/handle_pb.js.map +0 -1
- package/dist/proto/participant_pb.cjs +0 -173
- package/dist/proto/participant_pb.cjs.map +0 -1
- package/dist/proto/participant_pb.d.cts +0 -218
- package/dist/proto/participant_pb.d.ts +0 -218
- package/dist/proto/participant_pb.d.ts.map +0 -1
- package/dist/proto/participant_pb.js +0 -145
- package/dist/proto/participant_pb.js.map +0 -1
- package/dist/proto/room_pb.cjs +0 -3374
- package/dist/proto/room_pb.cjs.map +0 -1
- package/dist/proto/room_pb.d.cts +0 -3028
- package/dist/proto/room_pb.d.ts +0 -3028
- package/dist/proto/room_pb.d.ts.map +0 -1
- package/dist/proto/room_pb.js +0 -3232
- package/dist/proto/room_pb.js.map +0 -1
- package/dist/proto/rpc_pb.cjs +0 -328
- package/dist/proto/rpc_pb.cjs.map +0 -1
- package/dist/proto/rpc_pb.d.cts +0 -267
- package/dist/proto/rpc_pb.d.ts +0 -267
- package/dist/proto/rpc_pb.d.ts.map +0 -1
- package/dist/proto/rpc_pb.js +0 -294
- package/dist/proto/rpc_pb.js.map +0 -1
- package/dist/proto/stats_pb.cjs +0 -1370
- package/dist/proto/stats_pb.cjs.map +0 -1
- package/dist/proto/stats_pb.d.cts +0 -1764
- package/dist/proto/stats_pb.d.ts +0 -1764
- package/dist/proto/stats_pb.d.ts.map +0 -1
- package/dist/proto/stats_pb.js +0 -1300
- package/dist/proto/stats_pb.js.map +0 -1
- package/dist/proto/track_pb.cjs +0 -630
- package/dist/proto/track_pb.cjs.map +0 -1
- package/dist/proto/track_pb.d.cts +0 -542
- package/dist/proto/track_pb.d.ts +0 -542
- package/dist/proto/track_pb.d.ts.map +0 -1
- package/dist/proto/track_pb.js +0 -584
- package/dist/proto/track_pb.js.map +0 -1
- package/dist/proto/track_publication_pb.cjs +0 -194
- package/dist/proto/track_publication_pb.cjs.map +0 -1
- package/dist/proto/track_publication_pb.d.cts +0 -135
- package/dist/proto/track_publication_pb.d.ts +0 -135
- package/dist/proto/track_publication_pb.d.ts.map +0 -1
- package/dist/proto/track_publication_pb.js +0 -164
- package/dist/proto/track_publication_pb.js.map +0 -1
- package/dist/proto/video_frame_pb.cjs +0 -723
- package/dist/proto/video_frame_pb.cjs.map +0 -1
- package/dist/proto/video_frame_pb.d.cts +0 -667
- package/dist/proto/video_frame_pb.d.ts +0 -667
- package/dist/proto/video_frame_pb.d.ts.map +0 -1
- package/dist/proto/video_frame_pb.js +0 -673
- package/dist/proto/video_frame_pb.js.map +0 -1
- package/src/lib.rs +0 -9
- package/src/napi/native.cjs +0 -301
- package/src/napi/native.d.ts +0 -19
- package/src/napi/native.js +0 -15
- package/src/nodejs.rs +0 -134
- package/src/proto/audio_frame_pb.ts +0 -2270
- package/src/proto/data_stream_pb.ts +0 -2674
- package/src/proto/e2ee_pb.ts +0 -1231
- package/src/proto/ffi_pb.ts +0 -1700
- package/src/proto/handle_pb.ts +0 -69
- package/src/proto/participant_pb.ts +0 -351
- package/src/proto/room_pb.ts +0 -5661
- package/src/proto/rpc_pb.ts +0 -539
- package/src/proto/stats_pb.ts +0 -3050
- package/src/proto/track_pb.ts +0 -1040
- package/src/proto/track_publication_pb.ts +0 -284
- package/src/proto/video_frame_pb.ts +0 -1236
|
@@ -1,723 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var video_frame_pb_exports = {};
|
|
20
|
-
__export(video_frame_pb_exports, {
|
|
21
|
-
CaptureVideoFrameRequest: () => CaptureVideoFrameRequest,
|
|
22
|
-
CaptureVideoFrameResponse: () => CaptureVideoFrameResponse,
|
|
23
|
-
NewVideoSourceRequest: () => NewVideoSourceRequest,
|
|
24
|
-
NewVideoSourceResponse: () => NewVideoSourceResponse,
|
|
25
|
-
NewVideoStreamRequest: () => NewVideoStreamRequest,
|
|
26
|
-
NewVideoStreamResponse: () => NewVideoStreamResponse,
|
|
27
|
-
OwnedVideoBuffer: () => OwnedVideoBuffer,
|
|
28
|
-
OwnedVideoSource: () => OwnedVideoSource,
|
|
29
|
-
OwnedVideoStream: () => OwnedVideoStream,
|
|
30
|
-
VideoBufferInfo: () => VideoBufferInfo,
|
|
31
|
-
VideoBufferInfo_ComponentInfo: () => VideoBufferInfo_ComponentInfo,
|
|
32
|
-
VideoBufferType: () => VideoBufferType,
|
|
33
|
-
VideoCodec: () => VideoCodec,
|
|
34
|
-
VideoConvertRequest: () => VideoConvertRequest,
|
|
35
|
-
VideoConvertResponse: () => VideoConvertResponse,
|
|
36
|
-
VideoFrameReceived: () => VideoFrameReceived,
|
|
37
|
-
VideoResolution: () => VideoResolution,
|
|
38
|
-
VideoRotation: () => VideoRotation,
|
|
39
|
-
VideoSourceInfo: () => VideoSourceInfo,
|
|
40
|
-
VideoSourceResolution: () => VideoSourceResolution,
|
|
41
|
-
VideoSourceType: () => VideoSourceType,
|
|
42
|
-
VideoStreamEOS: () => VideoStreamEOS,
|
|
43
|
-
VideoStreamEvent: () => VideoStreamEvent,
|
|
44
|
-
VideoStreamFromParticipantRequest: () => VideoStreamFromParticipantRequest,
|
|
45
|
-
VideoStreamFromParticipantResponse: () => VideoStreamFromParticipantResponse,
|
|
46
|
-
VideoStreamInfo: () => VideoStreamInfo,
|
|
47
|
-
VideoStreamType: () => VideoStreamType
|
|
48
|
-
});
|
|
49
|
-
module.exports = __toCommonJS(video_frame_pb_exports);
|
|
50
|
-
var import_protobuf = require("@bufbuild/protobuf");
|
|
51
|
-
var import_track_pb = require("./track_pb.cjs");
|
|
52
|
-
var import_handle_pb = require("./handle_pb.cjs");
|
|
53
|
-
var VideoCodec = /* @__PURE__ */ ((VideoCodec2) => {
|
|
54
|
-
VideoCodec2[VideoCodec2["VP8"] = 0] = "VP8";
|
|
55
|
-
VideoCodec2[VideoCodec2["H264"] = 1] = "H264";
|
|
56
|
-
VideoCodec2[VideoCodec2["AV1"] = 2] = "AV1";
|
|
57
|
-
VideoCodec2[VideoCodec2["VP9"] = 3] = "VP9";
|
|
58
|
-
VideoCodec2[VideoCodec2["H265"] = 4] = "H265";
|
|
59
|
-
return VideoCodec2;
|
|
60
|
-
})(VideoCodec || {});
|
|
61
|
-
import_protobuf.proto2.util.setEnumType(VideoCodec, "livekit.proto.VideoCodec", [
|
|
62
|
-
{ no: 0, name: "VP8" },
|
|
63
|
-
{ no: 1, name: "H264" },
|
|
64
|
-
{ no: 2, name: "AV1" },
|
|
65
|
-
{ no: 3, name: "VP9" },
|
|
66
|
-
{ no: 4, name: "H265" }
|
|
67
|
-
]);
|
|
68
|
-
var VideoRotation = /* @__PURE__ */ ((VideoRotation2) => {
|
|
69
|
-
VideoRotation2[VideoRotation2["VIDEO_ROTATION_0"] = 0] = "VIDEO_ROTATION_0";
|
|
70
|
-
VideoRotation2[VideoRotation2["VIDEO_ROTATION_90"] = 1] = "VIDEO_ROTATION_90";
|
|
71
|
-
VideoRotation2[VideoRotation2["VIDEO_ROTATION_180"] = 2] = "VIDEO_ROTATION_180";
|
|
72
|
-
VideoRotation2[VideoRotation2["VIDEO_ROTATION_270"] = 3] = "VIDEO_ROTATION_270";
|
|
73
|
-
return VideoRotation2;
|
|
74
|
-
})(VideoRotation || {});
|
|
75
|
-
import_protobuf.proto2.util.setEnumType(VideoRotation, "livekit.proto.VideoRotation", [
|
|
76
|
-
{ no: 0, name: "VIDEO_ROTATION_0" },
|
|
77
|
-
{ no: 1, name: "VIDEO_ROTATION_90" },
|
|
78
|
-
{ no: 2, name: "VIDEO_ROTATION_180" },
|
|
79
|
-
{ no: 3, name: "VIDEO_ROTATION_270" }
|
|
80
|
-
]);
|
|
81
|
-
var VideoBufferType = /* @__PURE__ */ ((VideoBufferType2) => {
|
|
82
|
-
VideoBufferType2[VideoBufferType2["RGBA"] = 0] = "RGBA";
|
|
83
|
-
VideoBufferType2[VideoBufferType2["ABGR"] = 1] = "ABGR";
|
|
84
|
-
VideoBufferType2[VideoBufferType2["ARGB"] = 2] = "ARGB";
|
|
85
|
-
VideoBufferType2[VideoBufferType2["BGRA"] = 3] = "BGRA";
|
|
86
|
-
VideoBufferType2[VideoBufferType2["RGB24"] = 4] = "RGB24";
|
|
87
|
-
VideoBufferType2[VideoBufferType2["I420"] = 5] = "I420";
|
|
88
|
-
VideoBufferType2[VideoBufferType2["I420A"] = 6] = "I420A";
|
|
89
|
-
VideoBufferType2[VideoBufferType2["I422"] = 7] = "I422";
|
|
90
|
-
VideoBufferType2[VideoBufferType2["I444"] = 8] = "I444";
|
|
91
|
-
VideoBufferType2[VideoBufferType2["I010"] = 9] = "I010";
|
|
92
|
-
VideoBufferType2[VideoBufferType2["NV12"] = 10] = "NV12";
|
|
93
|
-
return VideoBufferType2;
|
|
94
|
-
})(VideoBufferType || {});
|
|
95
|
-
import_protobuf.proto2.util.setEnumType(VideoBufferType, "livekit.proto.VideoBufferType", [
|
|
96
|
-
{ no: 0, name: "RGBA" },
|
|
97
|
-
{ no: 1, name: "ABGR" },
|
|
98
|
-
{ no: 2, name: "ARGB" },
|
|
99
|
-
{ no: 3, name: "BGRA" },
|
|
100
|
-
{ no: 4, name: "RGB24" },
|
|
101
|
-
{ no: 5, name: "I420" },
|
|
102
|
-
{ no: 6, name: "I420A" },
|
|
103
|
-
{ no: 7, name: "I422" },
|
|
104
|
-
{ no: 8, name: "I444" },
|
|
105
|
-
{ no: 9, name: "I010" },
|
|
106
|
-
{ no: 10, name: "NV12" }
|
|
107
|
-
]);
|
|
108
|
-
var VideoStreamType = /* @__PURE__ */ ((VideoStreamType2) => {
|
|
109
|
-
VideoStreamType2[VideoStreamType2["VIDEO_STREAM_NATIVE"] = 0] = "VIDEO_STREAM_NATIVE";
|
|
110
|
-
VideoStreamType2[VideoStreamType2["VIDEO_STREAM_WEBGL"] = 1] = "VIDEO_STREAM_WEBGL";
|
|
111
|
-
VideoStreamType2[VideoStreamType2["VIDEO_STREAM_HTML"] = 2] = "VIDEO_STREAM_HTML";
|
|
112
|
-
return VideoStreamType2;
|
|
113
|
-
})(VideoStreamType || {});
|
|
114
|
-
import_protobuf.proto2.util.setEnumType(VideoStreamType, "livekit.proto.VideoStreamType", [
|
|
115
|
-
{ no: 0, name: "VIDEO_STREAM_NATIVE" },
|
|
116
|
-
{ no: 1, name: "VIDEO_STREAM_WEBGL" },
|
|
117
|
-
{ no: 2, name: "VIDEO_STREAM_HTML" }
|
|
118
|
-
]);
|
|
119
|
-
var VideoSourceType = /* @__PURE__ */ ((VideoSourceType2) => {
|
|
120
|
-
VideoSourceType2[VideoSourceType2["VIDEO_SOURCE_NATIVE"] = 0] = "VIDEO_SOURCE_NATIVE";
|
|
121
|
-
return VideoSourceType2;
|
|
122
|
-
})(VideoSourceType || {});
|
|
123
|
-
import_protobuf.proto2.util.setEnumType(VideoSourceType, "livekit.proto.VideoSourceType", [
|
|
124
|
-
{ no: 0, name: "VIDEO_SOURCE_NATIVE" }
|
|
125
|
-
]);
|
|
126
|
-
const _NewVideoStreamRequest = class _NewVideoStreamRequest extends import_protobuf.Message {
|
|
127
|
-
constructor(data) {
|
|
128
|
-
super();
|
|
129
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
130
|
-
}
|
|
131
|
-
static fromBinary(bytes, options) {
|
|
132
|
-
return new _NewVideoStreamRequest().fromBinary(bytes, options);
|
|
133
|
-
}
|
|
134
|
-
static fromJson(jsonValue, options) {
|
|
135
|
-
return new _NewVideoStreamRequest().fromJson(jsonValue, options);
|
|
136
|
-
}
|
|
137
|
-
static fromJsonString(jsonString, options) {
|
|
138
|
-
return new _NewVideoStreamRequest().fromJsonString(jsonString, options);
|
|
139
|
-
}
|
|
140
|
-
static equals(a, b) {
|
|
141
|
-
return import_protobuf.proto2.util.equals(_NewVideoStreamRequest, a, b);
|
|
142
|
-
}
|
|
143
|
-
};
|
|
144
|
-
_NewVideoStreamRequest.runtime = import_protobuf.proto2;
|
|
145
|
-
_NewVideoStreamRequest.typeName = "livekit.proto.NewVideoStreamRequest";
|
|
146
|
-
_NewVideoStreamRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
147
|
-
{ no: 1, name: "track_handle", kind: "scalar", T: 4, req: true },
|
|
148
|
-
{ no: 2, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(VideoStreamType), req: true },
|
|
149
|
-
{ no: 3, name: "format", kind: "enum", T: import_protobuf.proto2.getEnumType(VideoBufferType), opt: true },
|
|
150
|
-
{ no: 4, name: "normalize_stride", kind: "scalar", T: 8, opt: true }
|
|
151
|
-
]);
|
|
152
|
-
let NewVideoStreamRequest = _NewVideoStreamRequest;
|
|
153
|
-
const _NewVideoStreamResponse = class _NewVideoStreamResponse extends import_protobuf.Message {
|
|
154
|
-
constructor(data) {
|
|
155
|
-
super();
|
|
156
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
157
|
-
}
|
|
158
|
-
static fromBinary(bytes, options) {
|
|
159
|
-
return new _NewVideoStreamResponse().fromBinary(bytes, options);
|
|
160
|
-
}
|
|
161
|
-
static fromJson(jsonValue, options) {
|
|
162
|
-
return new _NewVideoStreamResponse().fromJson(jsonValue, options);
|
|
163
|
-
}
|
|
164
|
-
static fromJsonString(jsonString, options) {
|
|
165
|
-
return new _NewVideoStreamResponse().fromJsonString(jsonString, options);
|
|
166
|
-
}
|
|
167
|
-
static equals(a, b) {
|
|
168
|
-
return import_protobuf.proto2.util.equals(_NewVideoStreamResponse, a, b);
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
_NewVideoStreamResponse.runtime = import_protobuf.proto2;
|
|
172
|
-
_NewVideoStreamResponse.typeName = "livekit.proto.NewVideoStreamResponse";
|
|
173
|
-
_NewVideoStreamResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
174
|
-
{ no: 1, name: "stream", kind: "message", T: OwnedVideoStream, req: true }
|
|
175
|
-
]);
|
|
176
|
-
let NewVideoStreamResponse = _NewVideoStreamResponse;
|
|
177
|
-
const _VideoStreamFromParticipantRequest = class _VideoStreamFromParticipantRequest extends import_protobuf.Message {
|
|
178
|
-
constructor(data) {
|
|
179
|
-
super();
|
|
180
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
181
|
-
}
|
|
182
|
-
static fromBinary(bytes, options) {
|
|
183
|
-
return new _VideoStreamFromParticipantRequest().fromBinary(bytes, options);
|
|
184
|
-
}
|
|
185
|
-
static fromJson(jsonValue, options) {
|
|
186
|
-
return new _VideoStreamFromParticipantRequest().fromJson(jsonValue, options);
|
|
187
|
-
}
|
|
188
|
-
static fromJsonString(jsonString, options) {
|
|
189
|
-
return new _VideoStreamFromParticipantRequest().fromJsonString(jsonString, options);
|
|
190
|
-
}
|
|
191
|
-
static equals(a, b) {
|
|
192
|
-
return import_protobuf.proto2.util.equals(_VideoStreamFromParticipantRequest, a, b);
|
|
193
|
-
}
|
|
194
|
-
};
|
|
195
|
-
_VideoStreamFromParticipantRequest.runtime = import_protobuf.proto2;
|
|
196
|
-
_VideoStreamFromParticipantRequest.typeName = "livekit.proto.VideoStreamFromParticipantRequest";
|
|
197
|
-
_VideoStreamFromParticipantRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
198
|
-
{ no: 1, name: "participant_handle", kind: "scalar", T: 4, req: true },
|
|
199
|
-
{ no: 2, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(VideoStreamType), req: true },
|
|
200
|
-
{ no: 3, name: "track_source", kind: "enum", T: import_protobuf.proto2.getEnumType(import_track_pb.TrackSource), req: true },
|
|
201
|
-
{ no: 4, name: "format", kind: "enum", T: import_protobuf.proto2.getEnumType(VideoBufferType), opt: true },
|
|
202
|
-
{ no: 5, name: "normalize_stride", kind: "scalar", T: 8, opt: true }
|
|
203
|
-
]);
|
|
204
|
-
let VideoStreamFromParticipantRequest = _VideoStreamFromParticipantRequest;
|
|
205
|
-
const _VideoStreamFromParticipantResponse = class _VideoStreamFromParticipantResponse extends import_protobuf.Message {
|
|
206
|
-
constructor(data) {
|
|
207
|
-
super();
|
|
208
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
209
|
-
}
|
|
210
|
-
static fromBinary(bytes, options) {
|
|
211
|
-
return new _VideoStreamFromParticipantResponse().fromBinary(bytes, options);
|
|
212
|
-
}
|
|
213
|
-
static fromJson(jsonValue, options) {
|
|
214
|
-
return new _VideoStreamFromParticipantResponse().fromJson(jsonValue, options);
|
|
215
|
-
}
|
|
216
|
-
static fromJsonString(jsonString, options) {
|
|
217
|
-
return new _VideoStreamFromParticipantResponse().fromJsonString(jsonString, options);
|
|
218
|
-
}
|
|
219
|
-
static equals(a, b) {
|
|
220
|
-
return import_protobuf.proto2.util.equals(_VideoStreamFromParticipantResponse, a, b);
|
|
221
|
-
}
|
|
222
|
-
};
|
|
223
|
-
_VideoStreamFromParticipantResponse.runtime = import_protobuf.proto2;
|
|
224
|
-
_VideoStreamFromParticipantResponse.typeName = "livekit.proto.VideoStreamFromParticipantResponse";
|
|
225
|
-
_VideoStreamFromParticipantResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
226
|
-
{ no: 1, name: "stream", kind: "message", T: OwnedVideoStream, req: true }
|
|
227
|
-
]);
|
|
228
|
-
let VideoStreamFromParticipantResponse = _VideoStreamFromParticipantResponse;
|
|
229
|
-
const _NewVideoSourceRequest = class _NewVideoSourceRequest extends import_protobuf.Message {
|
|
230
|
-
constructor(data) {
|
|
231
|
-
super();
|
|
232
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
233
|
-
}
|
|
234
|
-
static fromBinary(bytes, options) {
|
|
235
|
-
return new _NewVideoSourceRequest().fromBinary(bytes, options);
|
|
236
|
-
}
|
|
237
|
-
static fromJson(jsonValue, options) {
|
|
238
|
-
return new _NewVideoSourceRequest().fromJson(jsonValue, options);
|
|
239
|
-
}
|
|
240
|
-
static fromJsonString(jsonString, options) {
|
|
241
|
-
return new _NewVideoSourceRequest().fromJsonString(jsonString, options);
|
|
242
|
-
}
|
|
243
|
-
static equals(a, b) {
|
|
244
|
-
return import_protobuf.proto2.util.equals(_NewVideoSourceRequest, a, b);
|
|
245
|
-
}
|
|
246
|
-
};
|
|
247
|
-
_NewVideoSourceRequest.runtime = import_protobuf.proto2;
|
|
248
|
-
_NewVideoSourceRequest.typeName = "livekit.proto.NewVideoSourceRequest";
|
|
249
|
-
_NewVideoSourceRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
250
|
-
{ no: 1, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(VideoSourceType), req: true },
|
|
251
|
-
{ no: 2, name: "resolution", kind: "message", T: VideoSourceResolution, req: true }
|
|
252
|
-
]);
|
|
253
|
-
let NewVideoSourceRequest = _NewVideoSourceRequest;
|
|
254
|
-
const _NewVideoSourceResponse = class _NewVideoSourceResponse extends import_protobuf.Message {
|
|
255
|
-
constructor(data) {
|
|
256
|
-
super();
|
|
257
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
258
|
-
}
|
|
259
|
-
static fromBinary(bytes, options) {
|
|
260
|
-
return new _NewVideoSourceResponse().fromBinary(bytes, options);
|
|
261
|
-
}
|
|
262
|
-
static fromJson(jsonValue, options) {
|
|
263
|
-
return new _NewVideoSourceResponse().fromJson(jsonValue, options);
|
|
264
|
-
}
|
|
265
|
-
static fromJsonString(jsonString, options) {
|
|
266
|
-
return new _NewVideoSourceResponse().fromJsonString(jsonString, options);
|
|
267
|
-
}
|
|
268
|
-
static equals(a, b) {
|
|
269
|
-
return import_protobuf.proto2.util.equals(_NewVideoSourceResponse, a, b);
|
|
270
|
-
}
|
|
271
|
-
};
|
|
272
|
-
_NewVideoSourceResponse.runtime = import_protobuf.proto2;
|
|
273
|
-
_NewVideoSourceResponse.typeName = "livekit.proto.NewVideoSourceResponse";
|
|
274
|
-
_NewVideoSourceResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
275
|
-
{ no: 1, name: "source", kind: "message", T: OwnedVideoSource, req: true }
|
|
276
|
-
]);
|
|
277
|
-
let NewVideoSourceResponse = _NewVideoSourceResponse;
|
|
278
|
-
const _CaptureVideoFrameRequest = class _CaptureVideoFrameRequest extends import_protobuf.Message {
|
|
279
|
-
constructor(data) {
|
|
280
|
-
super();
|
|
281
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
282
|
-
}
|
|
283
|
-
static fromBinary(bytes, options) {
|
|
284
|
-
return new _CaptureVideoFrameRequest().fromBinary(bytes, options);
|
|
285
|
-
}
|
|
286
|
-
static fromJson(jsonValue, options) {
|
|
287
|
-
return new _CaptureVideoFrameRequest().fromJson(jsonValue, options);
|
|
288
|
-
}
|
|
289
|
-
static fromJsonString(jsonString, options) {
|
|
290
|
-
return new _CaptureVideoFrameRequest().fromJsonString(jsonString, options);
|
|
291
|
-
}
|
|
292
|
-
static equals(a, b) {
|
|
293
|
-
return import_protobuf.proto2.util.equals(_CaptureVideoFrameRequest, a, b);
|
|
294
|
-
}
|
|
295
|
-
};
|
|
296
|
-
_CaptureVideoFrameRequest.runtime = import_protobuf.proto2;
|
|
297
|
-
_CaptureVideoFrameRequest.typeName = "livekit.proto.CaptureVideoFrameRequest";
|
|
298
|
-
_CaptureVideoFrameRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
299
|
-
{ no: 1, name: "source_handle", kind: "scalar", T: 4, req: true },
|
|
300
|
-
{ no: 2, name: "buffer", kind: "message", T: VideoBufferInfo, req: true },
|
|
301
|
-
{ no: 3, name: "timestamp_us", kind: "scalar", T: 3, req: true },
|
|
302
|
-
{ no: 4, name: "rotation", kind: "enum", T: import_protobuf.proto2.getEnumType(VideoRotation), req: true }
|
|
303
|
-
]);
|
|
304
|
-
let CaptureVideoFrameRequest = _CaptureVideoFrameRequest;
|
|
305
|
-
const _CaptureVideoFrameResponse = class _CaptureVideoFrameResponse extends import_protobuf.Message {
|
|
306
|
-
constructor(data) {
|
|
307
|
-
super();
|
|
308
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
309
|
-
}
|
|
310
|
-
static fromBinary(bytes, options) {
|
|
311
|
-
return new _CaptureVideoFrameResponse().fromBinary(bytes, options);
|
|
312
|
-
}
|
|
313
|
-
static fromJson(jsonValue, options) {
|
|
314
|
-
return new _CaptureVideoFrameResponse().fromJson(jsonValue, options);
|
|
315
|
-
}
|
|
316
|
-
static fromJsonString(jsonString, options) {
|
|
317
|
-
return new _CaptureVideoFrameResponse().fromJsonString(jsonString, options);
|
|
318
|
-
}
|
|
319
|
-
static equals(a, b) {
|
|
320
|
-
return import_protobuf.proto2.util.equals(_CaptureVideoFrameResponse, a, b);
|
|
321
|
-
}
|
|
322
|
-
};
|
|
323
|
-
_CaptureVideoFrameResponse.runtime = import_protobuf.proto2;
|
|
324
|
-
_CaptureVideoFrameResponse.typeName = "livekit.proto.CaptureVideoFrameResponse";
|
|
325
|
-
_CaptureVideoFrameResponse.fields = import_protobuf.proto2.util.newFieldList(() => []);
|
|
326
|
-
let CaptureVideoFrameResponse = _CaptureVideoFrameResponse;
|
|
327
|
-
const _VideoConvertRequest = class _VideoConvertRequest extends import_protobuf.Message {
|
|
328
|
-
constructor(data) {
|
|
329
|
-
super();
|
|
330
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
331
|
-
}
|
|
332
|
-
static fromBinary(bytes, options) {
|
|
333
|
-
return new _VideoConvertRequest().fromBinary(bytes, options);
|
|
334
|
-
}
|
|
335
|
-
static fromJson(jsonValue, options) {
|
|
336
|
-
return new _VideoConvertRequest().fromJson(jsonValue, options);
|
|
337
|
-
}
|
|
338
|
-
static fromJsonString(jsonString, options) {
|
|
339
|
-
return new _VideoConvertRequest().fromJsonString(jsonString, options);
|
|
340
|
-
}
|
|
341
|
-
static equals(a, b) {
|
|
342
|
-
return import_protobuf.proto2.util.equals(_VideoConvertRequest, a, b);
|
|
343
|
-
}
|
|
344
|
-
};
|
|
345
|
-
_VideoConvertRequest.runtime = import_protobuf.proto2;
|
|
346
|
-
_VideoConvertRequest.typeName = "livekit.proto.VideoConvertRequest";
|
|
347
|
-
_VideoConvertRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
348
|
-
{ no: 1, name: "flip_y", kind: "scalar", T: 8, opt: true },
|
|
349
|
-
{ no: 2, name: "buffer", kind: "message", T: VideoBufferInfo, req: true },
|
|
350
|
-
{ no: 3, name: "dst_type", kind: "enum", T: import_protobuf.proto2.getEnumType(VideoBufferType), req: true }
|
|
351
|
-
]);
|
|
352
|
-
let VideoConvertRequest = _VideoConvertRequest;
|
|
353
|
-
const _VideoConvertResponse = class _VideoConvertResponse extends import_protobuf.Message {
|
|
354
|
-
constructor(data) {
|
|
355
|
-
super();
|
|
356
|
-
/**
|
|
357
|
-
* @generated from oneof livekit.proto.VideoConvertResponse.message
|
|
358
|
-
*/
|
|
359
|
-
this.message = { case: void 0 };
|
|
360
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
361
|
-
}
|
|
362
|
-
static fromBinary(bytes, options) {
|
|
363
|
-
return new _VideoConvertResponse().fromBinary(bytes, options);
|
|
364
|
-
}
|
|
365
|
-
static fromJson(jsonValue, options) {
|
|
366
|
-
return new _VideoConvertResponse().fromJson(jsonValue, options);
|
|
367
|
-
}
|
|
368
|
-
static fromJsonString(jsonString, options) {
|
|
369
|
-
return new _VideoConvertResponse().fromJsonString(jsonString, options);
|
|
370
|
-
}
|
|
371
|
-
static equals(a, b) {
|
|
372
|
-
return import_protobuf.proto2.util.equals(_VideoConvertResponse, a, b);
|
|
373
|
-
}
|
|
374
|
-
};
|
|
375
|
-
_VideoConvertResponse.runtime = import_protobuf.proto2;
|
|
376
|
-
_VideoConvertResponse.typeName = "livekit.proto.VideoConvertResponse";
|
|
377
|
-
_VideoConvertResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
378
|
-
{ no: 1, name: "error", kind: "scalar", T: 9, oneof: "message" },
|
|
379
|
-
{ no: 2, name: "buffer", kind: "message", T: OwnedVideoBuffer, oneof: "message" }
|
|
380
|
-
]);
|
|
381
|
-
let VideoConvertResponse = _VideoConvertResponse;
|
|
382
|
-
const _VideoResolution = class _VideoResolution extends import_protobuf.Message {
|
|
383
|
-
constructor(data) {
|
|
384
|
-
super();
|
|
385
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
386
|
-
}
|
|
387
|
-
static fromBinary(bytes, options) {
|
|
388
|
-
return new _VideoResolution().fromBinary(bytes, options);
|
|
389
|
-
}
|
|
390
|
-
static fromJson(jsonValue, options) {
|
|
391
|
-
return new _VideoResolution().fromJson(jsonValue, options);
|
|
392
|
-
}
|
|
393
|
-
static fromJsonString(jsonString, options) {
|
|
394
|
-
return new _VideoResolution().fromJsonString(jsonString, options);
|
|
395
|
-
}
|
|
396
|
-
static equals(a, b) {
|
|
397
|
-
return import_protobuf.proto2.util.equals(_VideoResolution, a, b);
|
|
398
|
-
}
|
|
399
|
-
};
|
|
400
|
-
_VideoResolution.runtime = import_protobuf.proto2;
|
|
401
|
-
_VideoResolution.typeName = "livekit.proto.VideoResolution";
|
|
402
|
-
_VideoResolution.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
403
|
-
{ no: 1, name: "width", kind: "scalar", T: 13, req: true },
|
|
404
|
-
{ no: 2, name: "height", kind: "scalar", T: 13, req: true },
|
|
405
|
-
{ no: 3, name: "frame_rate", kind: "scalar", T: 1, req: true }
|
|
406
|
-
]);
|
|
407
|
-
let VideoResolution = _VideoResolution;
|
|
408
|
-
const _VideoBufferInfo = class _VideoBufferInfo extends import_protobuf.Message {
|
|
409
|
-
constructor(data) {
|
|
410
|
-
super();
|
|
411
|
-
/**
|
|
412
|
-
* @generated from field: repeated livekit.proto.VideoBufferInfo.ComponentInfo components = 7;
|
|
413
|
-
*/
|
|
414
|
-
this.components = [];
|
|
415
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
416
|
-
}
|
|
417
|
-
static fromBinary(bytes, options) {
|
|
418
|
-
return new _VideoBufferInfo().fromBinary(bytes, options);
|
|
419
|
-
}
|
|
420
|
-
static fromJson(jsonValue, options) {
|
|
421
|
-
return new _VideoBufferInfo().fromJson(jsonValue, options);
|
|
422
|
-
}
|
|
423
|
-
static fromJsonString(jsonString, options) {
|
|
424
|
-
return new _VideoBufferInfo().fromJsonString(jsonString, options);
|
|
425
|
-
}
|
|
426
|
-
static equals(a, b) {
|
|
427
|
-
return import_protobuf.proto2.util.equals(_VideoBufferInfo, a, b);
|
|
428
|
-
}
|
|
429
|
-
};
|
|
430
|
-
_VideoBufferInfo.runtime = import_protobuf.proto2;
|
|
431
|
-
_VideoBufferInfo.typeName = "livekit.proto.VideoBufferInfo";
|
|
432
|
-
_VideoBufferInfo.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
433
|
-
{ no: 1, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(VideoBufferType), req: true },
|
|
434
|
-
{ no: 2, name: "width", kind: "scalar", T: 13, req: true },
|
|
435
|
-
{ no: 3, name: "height", kind: "scalar", T: 13, req: true },
|
|
436
|
-
{ no: 4, name: "data_ptr", kind: "scalar", T: 4, req: true },
|
|
437
|
-
{ no: 6, name: "stride", kind: "scalar", T: 13, opt: true },
|
|
438
|
-
{ no: 7, name: "components", kind: "message", T: VideoBufferInfo_ComponentInfo, repeated: true }
|
|
439
|
-
]);
|
|
440
|
-
let VideoBufferInfo = _VideoBufferInfo;
|
|
441
|
-
const _VideoBufferInfo_ComponentInfo = class _VideoBufferInfo_ComponentInfo extends import_protobuf.Message {
|
|
442
|
-
constructor(data) {
|
|
443
|
-
super();
|
|
444
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
445
|
-
}
|
|
446
|
-
static fromBinary(bytes, options) {
|
|
447
|
-
return new _VideoBufferInfo_ComponentInfo().fromBinary(bytes, options);
|
|
448
|
-
}
|
|
449
|
-
static fromJson(jsonValue, options) {
|
|
450
|
-
return new _VideoBufferInfo_ComponentInfo().fromJson(jsonValue, options);
|
|
451
|
-
}
|
|
452
|
-
static fromJsonString(jsonString, options) {
|
|
453
|
-
return new _VideoBufferInfo_ComponentInfo().fromJsonString(jsonString, options);
|
|
454
|
-
}
|
|
455
|
-
static equals(a, b) {
|
|
456
|
-
return import_protobuf.proto2.util.equals(_VideoBufferInfo_ComponentInfo, a, b);
|
|
457
|
-
}
|
|
458
|
-
};
|
|
459
|
-
_VideoBufferInfo_ComponentInfo.runtime = import_protobuf.proto2;
|
|
460
|
-
_VideoBufferInfo_ComponentInfo.typeName = "livekit.proto.VideoBufferInfo.ComponentInfo";
|
|
461
|
-
_VideoBufferInfo_ComponentInfo.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
462
|
-
{ no: 1, name: "data_ptr", kind: "scalar", T: 4, req: true },
|
|
463
|
-
{ no: 2, name: "stride", kind: "scalar", T: 13, req: true },
|
|
464
|
-
{ no: 3, name: "size", kind: "scalar", T: 13, req: true }
|
|
465
|
-
]);
|
|
466
|
-
let VideoBufferInfo_ComponentInfo = _VideoBufferInfo_ComponentInfo;
|
|
467
|
-
const _OwnedVideoBuffer = class _OwnedVideoBuffer extends import_protobuf.Message {
|
|
468
|
-
constructor(data) {
|
|
469
|
-
super();
|
|
470
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
471
|
-
}
|
|
472
|
-
static fromBinary(bytes, options) {
|
|
473
|
-
return new _OwnedVideoBuffer().fromBinary(bytes, options);
|
|
474
|
-
}
|
|
475
|
-
static fromJson(jsonValue, options) {
|
|
476
|
-
return new _OwnedVideoBuffer().fromJson(jsonValue, options);
|
|
477
|
-
}
|
|
478
|
-
static fromJsonString(jsonString, options) {
|
|
479
|
-
return new _OwnedVideoBuffer().fromJsonString(jsonString, options);
|
|
480
|
-
}
|
|
481
|
-
static equals(a, b) {
|
|
482
|
-
return import_protobuf.proto2.util.equals(_OwnedVideoBuffer, a, b);
|
|
483
|
-
}
|
|
484
|
-
};
|
|
485
|
-
_OwnedVideoBuffer.runtime = import_protobuf.proto2;
|
|
486
|
-
_OwnedVideoBuffer.typeName = "livekit.proto.OwnedVideoBuffer";
|
|
487
|
-
_OwnedVideoBuffer.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
488
|
-
{ no: 1, name: "handle", kind: "message", T: import_handle_pb.FfiOwnedHandle, req: true },
|
|
489
|
-
{ no: 2, name: "info", kind: "message", T: VideoBufferInfo, req: true }
|
|
490
|
-
]);
|
|
491
|
-
let OwnedVideoBuffer = _OwnedVideoBuffer;
|
|
492
|
-
const _VideoStreamInfo = class _VideoStreamInfo extends import_protobuf.Message {
|
|
493
|
-
constructor(data) {
|
|
494
|
-
super();
|
|
495
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
496
|
-
}
|
|
497
|
-
static fromBinary(bytes, options) {
|
|
498
|
-
return new _VideoStreamInfo().fromBinary(bytes, options);
|
|
499
|
-
}
|
|
500
|
-
static fromJson(jsonValue, options) {
|
|
501
|
-
return new _VideoStreamInfo().fromJson(jsonValue, options);
|
|
502
|
-
}
|
|
503
|
-
static fromJsonString(jsonString, options) {
|
|
504
|
-
return new _VideoStreamInfo().fromJsonString(jsonString, options);
|
|
505
|
-
}
|
|
506
|
-
static equals(a, b) {
|
|
507
|
-
return import_protobuf.proto2.util.equals(_VideoStreamInfo, a, b);
|
|
508
|
-
}
|
|
509
|
-
};
|
|
510
|
-
_VideoStreamInfo.runtime = import_protobuf.proto2;
|
|
511
|
-
_VideoStreamInfo.typeName = "livekit.proto.VideoStreamInfo";
|
|
512
|
-
_VideoStreamInfo.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
513
|
-
{ no: 1, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(VideoStreamType), req: true }
|
|
514
|
-
]);
|
|
515
|
-
let VideoStreamInfo = _VideoStreamInfo;
|
|
516
|
-
const _OwnedVideoStream = class _OwnedVideoStream extends import_protobuf.Message {
|
|
517
|
-
constructor(data) {
|
|
518
|
-
super();
|
|
519
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
520
|
-
}
|
|
521
|
-
static fromBinary(bytes, options) {
|
|
522
|
-
return new _OwnedVideoStream().fromBinary(bytes, options);
|
|
523
|
-
}
|
|
524
|
-
static fromJson(jsonValue, options) {
|
|
525
|
-
return new _OwnedVideoStream().fromJson(jsonValue, options);
|
|
526
|
-
}
|
|
527
|
-
static fromJsonString(jsonString, options) {
|
|
528
|
-
return new _OwnedVideoStream().fromJsonString(jsonString, options);
|
|
529
|
-
}
|
|
530
|
-
static equals(a, b) {
|
|
531
|
-
return import_protobuf.proto2.util.equals(_OwnedVideoStream, a, b);
|
|
532
|
-
}
|
|
533
|
-
};
|
|
534
|
-
_OwnedVideoStream.runtime = import_protobuf.proto2;
|
|
535
|
-
_OwnedVideoStream.typeName = "livekit.proto.OwnedVideoStream";
|
|
536
|
-
_OwnedVideoStream.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
537
|
-
{ no: 1, name: "handle", kind: "message", T: import_handle_pb.FfiOwnedHandle, req: true },
|
|
538
|
-
{ no: 2, name: "info", kind: "message", T: VideoStreamInfo, req: true }
|
|
539
|
-
]);
|
|
540
|
-
let OwnedVideoStream = _OwnedVideoStream;
|
|
541
|
-
const _VideoStreamEvent = class _VideoStreamEvent extends import_protobuf.Message {
|
|
542
|
-
constructor(data) {
|
|
543
|
-
super();
|
|
544
|
-
/**
|
|
545
|
-
* @generated from oneof livekit.proto.VideoStreamEvent.message
|
|
546
|
-
*/
|
|
547
|
-
this.message = { case: void 0 };
|
|
548
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
549
|
-
}
|
|
550
|
-
static fromBinary(bytes, options) {
|
|
551
|
-
return new _VideoStreamEvent().fromBinary(bytes, options);
|
|
552
|
-
}
|
|
553
|
-
static fromJson(jsonValue, options) {
|
|
554
|
-
return new _VideoStreamEvent().fromJson(jsonValue, options);
|
|
555
|
-
}
|
|
556
|
-
static fromJsonString(jsonString, options) {
|
|
557
|
-
return new _VideoStreamEvent().fromJsonString(jsonString, options);
|
|
558
|
-
}
|
|
559
|
-
static equals(a, b) {
|
|
560
|
-
return import_protobuf.proto2.util.equals(_VideoStreamEvent, a, b);
|
|
561
|
-
}
|
|
562
|
-
};
|
|
563
|
-
_VideoStreamEvent.runtime = import_protobuf.proto2;
|
|
564
|
-
_VideoStreamEvent.typeName = "livekit.proto.VideoStreamEvent";
|
|
565
|
-
_VideoStreamEvent.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
566
|
-
{ no: 1, name: "stream_handle", kind: "scalar", T: 4, req: true },
|
|
567
|
-
{ no: 2, name: "frame_received", kind: "message", T: VideoFrameReceived, oneof: "message" },
|
|
568
|
-
{ no: 3, name: "eos", kind: "message", T: VideoStreamEOS, oneof: "message" }
|
|
569
|
-
]);
|
|
570
|
-
let VideoStreamEvent = _VideoStreamEvent;
|
|
571
|
-
const _VideoFrameReceived = class _VideoFrameReceived extends import_protobuf.Message {
|
|
572
|
-
constructor(data) {
|
|
573
|
-
super();
|
|
574
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
575
|
-
}
|
|
576
|
-
static fromBinary(bytes, options) {
|
|
577
|
-
return new _VideoFrameReceived().fromBinary(bytes, options);
|
|
578
|
-
}
|
|
579
|
-
static fromJson(jsonValue, options) {
|
|
580
|
-
return new _VideoFrameReceived().fromJson(jsonValue, options);
|
|
581
|
-
}
|
|
582
|
-
static fromJsonString(jsonString, options) {
|
|
583
|
-
return new _VideoFrameReceived().fromJsonString(jsonString, options);
|
|
584
|
-
}
|
|
585
|
-
static equals(a, b) {
|
|
586
|
-
return import_protobuf.proto2.util.equals(_VideoFrameReceived, a, b);
|
|
587
|
-
}
|
|
588
|
-
};
|
|
589
|
-
_VideoFrameReceived.runtime = import_protobuf.proto2;
|
|
590
|
-
_VideoFrameReceived.typeName = "livekit.proto.VideoFrameReceived";
|
|
591
|
-
_VideoFrameReceived.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
592
|
-
{ no: 1, name: "buffer", kind: "message", T: OwnedVideoBuffer, req: true },
|
|
593
|
-
{ no: 2, name: "timestamp_us", kind: "scalar", T: 3, req: true },
|
|
594
|
-
{ no: 3, name: "rotation", kind: "enum", T: import_protobuf.proto2.getEnumType(VideoRotation), req: true }
|
|
595
|
-
]);
|
|
596
|
-
let VideoFrameReceived = _VideoFrameReceived;
|
|
597
|
-
const _VideoStreamEOS = class _VideoStreamEOS extends import_protobuf.Message {
|
|
598
|
-
constructor(data) {
|
|
599
|
-
super();
|
|
600
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
601
|
-
}
|
|
602
|
-
static fromBinary(bytes, options) {
|
|
603
|
-
return new _VideoStreamEOS().fromBinary(bytes, options);
|
|
604
|
-
}
|
|
605
|
-
static fromJson(jsonValue, options) {
|
|
606
|
-
return new _VideoStreamEOS().fromJson(jsonValue, options);
|
|
607
|
-
}
|
|
608
|
-
static fromJsonString(jsonString, options) {
|
|
609
|
-
return new _VideoStreamEOS().fromJsonString(jsonString, options);
|
|
610
|
-
}
|
|
611
|
-
static equals(a, b) {
|
|
612
|
-
return import_protobuf.proto2.util.equals(_VideoStreamEOS, a, b);
|
|
613
|
-
}
|
|
614
|
-
};
|
|
615
|
-
_VideoStreamEOS.runtime = import_protobuf.proto2;
|
|
616
|
-
_VideoStreamEOS.typeName = "livekit.proto.VideoStreamEOS";
|
|
617
|
-
_VideoStreamEOS.fields = import_protobuf.proto2.util.newFieldList(() => []);
|
|
618
|
-
let VideoStreamEOS = _VideoStreamEOS;
|
|
619
|
-
const _VideoSourceResolution = class _VideoSourceResolution extends import_protobuf.Message {
|
|
620
|
-
constructor(data) {
|
|
621
|
-
super();
|
|
622
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
623
|
-
}
|
|
624
|
-
static fromBinary(bytes, options) {
|
|
625
|
-
return new _VideoSourceResolution().fromBinary(bytes, options);
|
|
626
|
-
}
|
|
627
|
-
static fromJson(jsonValue, options) {
|
|
628
|
-
return new _VideoSourceResolution().fromJson(jsonValue, options);
|
|
629
|
-
}
|
|
630
|
-
static fromJsonString(jsonString, options) {
|
|
631
|
-
return new _VideoSourceResolution().fromJsonString(jsonString, options);
|
|
632
|
-
}
|
|
633
|
-
static equals(a, b) {
|
|
634
|
-
return import_protobuf.proto2.util.equals(_VideoSourceResolution, a, b);
|
|
635
|
-
}
|
|
636
|
-
};
|
|
637
|
-
_VideoSourceResolution.runtime = import_protobuf.proto2;
|
|
638
|
-
_VideoSourceResolution.typeName = "livekit.proto.VideoSourceResolution";
|
|
639
|
-
_VideoSourceResolution.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
640
|
-
{ no: 1, name: "width", kind: "scalar", T: 13, req: true },
|
|
641
|
-
{ no: 2, name: "height", kind: "scalar", T: 13, req: true }
|
|
642
|
-
]);
|
|
643
|
-
let VideoSourceResolution = _VideoSourceResolution;
|
|
644
|
-
const _VideoSourceInfo = class _VideoSourceInfo extends import_protobuf.Message {
|
|
645
|
-
constructor(data) {
|
|
646
|
-
super();
|
|
647
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
648
|
-
}
|
|
649
|
-
static fromBinary(bytes, options) {
|
|
650
|
-
return new _VideoSourceInfo().fromBinary(bytes, options);
|
|
651
|
-
}
|
|
652
|
-
static fromJson(jsonValue, options) {
|
|
653
|
-
return new _VideoSourceInfo().fromJson(jsonValue, options);
|
|
654
|
-
}
|
|
655
|
-
static fromJsonString(jsonString, options) {
|
|
656
|
-
return new _VideoSourceInfo().fromJsonString(jsonString, options);
|
|
657
|
-
}
|
|
658
|
-
static equals(a, b) {
|
|
659
|
-
return import_protobuf.proto2.util.equals(_VideoSourceInfo, a, b);
|
|
660
|
-
}
|
|
661
|
-
};
|
|
662
|
-
_VideoSourceInfo.runtime = import_protobuf.proto2;
|
|
663
|
-
_VideoSourceInfo.typeName = "livekit.proto.VideoSourceInfo";
|
|
664
|
-
_VideoSourceInfo.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
665
|
-
{ no: 1, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(VideoSourceType), req: true }
|
|
666
|
-
]);
|
|
667
|
-
let VideoSourceInfo = _VideoSourceInfo;
|
|
668
|
-
const _OwnedVideoSource = class _OwnedVideoSource extends import_protobuf.Message {
|
|
669
|
-
constructor(data) {
|
|
670
|
-
super();
|
|
671
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
672
|
-
}
|
|
673
|
-
static fromBinary(bytes, options) {
|
|
674
|
-
return new _OwnedVideoSource().fromBinary(bytes, options);
|
|
675
|
-
}
|
|
676
|
-
static fromJson(jsonValue, options) {
|
|
677
|
-
return new _OwnedVideoSource().fromJson(jsonValue, options);
|
|
678
|
-
}
|
|
679
|
-
static fromJsonString(jsonString, options) {
|
|
680
|
-
return new _OwnedVideoSource().fromJsonString(jsonString, options);
|
|
681
|
-
}
|
|
682
|
-
static equals(a, b) {
|
|
683
|
-
return import_protobuf.proto2.util.equals(_OwnedVideoSource, a, b);
|
|
684
|
-
}
|
|
685
|
-
};
|
|
686
|
-
_OwnedVideoSource.runtime = import_protobuf.proto2;
|
|
687
|
-
_OwnedVideoSource.typeName = "livekit.proto.OwnedVideoSource";
|
|
688
|
-
_OwnedVideoSource.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
689
|
-
{ no: 1, name: "handle", kind: "message", T: import_handle_pb.FfiOwnedHandle, req: true },
|
|
690
|
-
{ no: 2, name: "info", kind: "message", T: VideoSourceInfo, req: true }
|
|
691
|
-
]);
|
|
692
|
-
let OwnedVideoSource = _OwnedVideoSource;
|
|
693
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
694
|
-
0 && (module.exports = {
|
|
695
|
-
CaptureVideoFrameRequest,
|
|
696
|
-
CaptureVideoFrameResponse,
|
|
697
|
-
NewVideoSourceRequest,
|
|
698
|
-
NewVideoSourceResponse,
|
|
699
|
-
NewVideoStreamRequest,
|
|
700
|
-
NewVideoStreamResponse,
|
|
701
|
-
OwnedVideoBuffer,
|
|
702
|
-
OwnedVideoSource,
|
|
703
|
-
OwnedVideoStream,
|
|
704
|
-
VideoBufferInfo,
|
|
705
|
-
VideoBufferInfo_ComponentInfo,
|
|
706
|
-
VideoBufferType,
|
|
707
|
-
VideoCodec,
|
|
708
|
-
VideoConvertRequest,
|
|
709
|
-
VideoConvertResponse,
|
|
710
|
-
VideoFrameReceived,
|
|
711
|
-
VideoResolution,
|
|
712
|
-
VideoRotation,
|
|
713
|
-
VideoSourceInfo,
|
|
714
|
-
VideoSourceResolution,
|
|
715
|
-
VideoSourceType,
|
|
716
|
-
VideoStreamEOS,
|
|
717
|
-
VideoStreamEvent,
|
|
718
|
-
VideoStreamFromParticipantRequest,
|
|
719
|
-
VideoStreamFromParticipantResponse,
|
|
720
|
-
VideoStreamInfo,
|
|
721
|
-
VideoStreamType
|
|
722
|
-
});
|
|
723
|
-
//# sourceMappingURL=video_frame_pb.cjs.map
|