@livekit/rtc-node 0.10.4 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -2
- package/build.rs +1 -1
- package/dist/audio_frame.d.ts +1 -1
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +4 -4
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +8 -7
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +8 -4
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.d.ts +1 -1
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +4 -3
- package/dist/audio_stream.js.map +1 -1
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +25 -25
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.d.ts +3 -3
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +9 -7
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.d.ts +29 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34 -4
- package/dist/index.js.map +1 -1
- package/dist/napi/native.d.ts +1 -0
- package/dist/participant.d.ts +48 -2
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +143 -24
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.d.ts +451 -526
- package/dist/proto/audio_frame_pb.d.ts.map +1 -1
- package/dist/proto/audio_frame_pb.js +200 -1179
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/e2ee_pb.d.ts +264 -333
- package/dist/proto/e2ee_pb.d.ts.map +1 -1
- package/dist/proto/e2ee_pb.js +136 -810
- package/dist/proto/e2ee_pb.js.map +1 -1
- package/dist/proto/ffi_pb.d.ts +175 -129
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +58 -395
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/handle_pb.d.ts +14 -13
- package/dist/proto/handle_pb.d.ts.map +1 -1
- package/dist/proto/handle_pb.js +8 -39
- package/dist/proto/handle_pb.js.map +1 -1
- package/dist/proto/participant_pb.d.ts +54 -52
- package/dist/proto/participant_pb.d.ts.map +1 -1
- package/dist/proto/participant_pb.js +18 -90
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.d.ts +1042 -1187
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +470 -2938
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/rpc_pb.d.ts +235 -0
- package/dist/proto/rpc_pb.d.ts.map +1 -0
- package/dist/proto/rpc_pb.js +74 -0
- package/dist/proto/rpc_pb.js.map +1 -0
- package/dist/proto/stats_pb.d.ts +738 -800
- package/dist/proto/stats_pb.d.ts.map +1 -1
- package/dist/proto/stats_pb.js +218 -1960
- package/dist/proto/stats_pb.js.map +1 -1
- package/dist/proto/track_pb.d.ts +225 -258
- package/dist/proto/track_pb.d.ts.map +1 -1
- package/dist/proto/track_pb.js +98 -591
- package/dist/proto/track_pb.js.map +1 -1
- package/dist/proto/video_frame_pb.d.ts +357 -390
- package/dist/proto/video_frame_pb.d.ts.map +1 -1
- package/dist/proto/video_frame_pb.js +137 -790
- package/dist/proto/video_frame_pb.js.map +1 -1
- package/dist/room.d.ts +21 -7
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +134 -54
- package/dist/room.js.map +1 -1
- package/dist/rpc.d.ts +78 -0
- package/dist/rpc.d.ts.map +1 -0
- package/dist/rpc.js +69 -0
- package/dist/rpc.js.map +1 -0
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +7 -3
- package/dist/track.js.map +1 -1
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +3 -2
- package/dist/track_publication.js.map +1 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/dist/video_frame.d.ts +2 -2
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +47 -25
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +4 -3
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.d.ts +1 -1
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +7 -3
- package/dist/video_stream.js.map +1 -1
- package/package.json +13 -10
- package/src/audio_frame.ts +6 -6
- package/src/audio_resampler.ts +10 -9
- package/src/audio_source.ts +9 -8
- package/src/audio_stream.ts +7 -6
- package/src/e2ee.ts +34 -34
- package/src/ffi_client.ts +23 -10
- package/src/index.ts +61 -2
- package/src/napi/native.d.ts +1 -0
- package/src/nodejs.rs +6 -3
- package/src/participant.ts +207 -47
- package/src/proto/audio_frame_pb.ts +562 -1279
- package/src/proto/e2ee_pb.ts +365 -886
- package/src/proto/ffi_pb.ts +206 -405
- package/src/proto/handle_pb.ts +21 -35
- package/src/proto/participant_pb.ts +71 -112
- package/src/proto/room_pb.ts +1284 -2995
- package/src/proto/rpc_pb.ts +310 -0
- package/src/proto/stats_pb.ts +1028 -1947
- package/src/proto/track_pb.ts +287 -621
- package/src/proto/video_frame_pb.ts +445 -905
- package/src/room.ts +181 -75
- package/src/rpc.ts +121 -0
- package/src/track.ts +8 -7
- package/src/track_publication.ts +5 -4
- package/src/version.ts +1 -0
- package/src/video_frame.ts +54 -27
- package/src/video_source.ts +7 -6
- package/src/video_stream.ts +7 -6
- package/dist/utils.d.ts +0 -7
- package/dist/utils.d.ts.map +0 -1
- package/dist/utils.js +0 -48
- package/dist/utils.js.map +0 -1
- package/src/utils.test.ts +0 -47
- package/src/utils.ts +0 -44
|
@@ -12,193 +12,23 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es
|
|
16
|
-
// @generated from file video_frame.proto (package livekit.proto, syntax
|
|
15
|
+
// @generated by protoc-gen-es v2.2.0 with parameter "target=ts,import_extension=js"
|
|
16
|
+
// @generated from file video_frame.proto (package livekit.proto, syntax proto2)
|
|
17
17
|
/* eslint-disable */
|
|
18
|
-
// @ts-nocheck
|
|
19
18
|
|
|
20
|
-
import type {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
19
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
20
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
21
|
+
import type { FfiOwnedHandle } from "./handle_pb.js";
|
|
22
|
+
import { file_handle } from "./handle_pb.js";
|
|
23
|
+
import type { TrackSource } from "./track_pb.js";
|
|
24
|
+
import { file_track } from "./track_pb.js";
|
|
25
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
24
26
|
|
|
25
27
|
/**
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
export enum VideoCodec {
|
|
29
|
-
/**
|
|
30
|
-
* @generated from enum value: VP8 = 0;
|
|
31
|
-
*/
|
|
32
|
-
VP8 = 0,
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* @generated from enum value: H264 = 1;
|
|
36
|
-
*/
|
|
37
|
-
H264 = 1,
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @generated from enum value: AV1 = 2;
|
|
41
|
-
*/
|
|
42
|
-
AV1 = 2,
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* @generated from enum value: VP9 = 3;
|
|
46
|
-
*/
|
|
47
|
-
VP9 = 3,
|
|
48
|
-
}
|
|
49
|
-
// Retrieve enum metadata with: proto3.getEnumType(VideoCodec)
|
|
50
|
-
proto3.util.setEnumType(VideoCodec, "livekit.proto.VideoCodec", [
|
|
51
|
-
{ no: 0, name: "VP8" },
|
|
52
|
-
{ no: 1, name: "H264" },
|
|
53
|
-
{ no: 2, name: "AV1" },
|
|
54
|
-
{ no: 3, name: "VP9" },
|
|
55
|
-
]);
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @generated from enum livekit.proto.VideoRotation
|
|
28
|
+
* Describes the file video_frame.proto.
|
|
59
29
|
*/
|
|
60
|
-
export
|
|
61
|
-
|
|
62
|
-
* @generated from enum value: VIDEO_ROTATION_0 = 0;
|
|
63
|
-
*/
|
|
64
|
-
VIDEO_ROTATION_0 = 0,
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @generated from enum value: VIDEO_ROTATION_90 = 1;
|
|
68
|
-
*/
|
|
69
|
-
VIDEO_ROTATION_90 = 1,
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @generated from enum value: VIDEO_ROTATION_180 = 2;
|
|
73
|
-
*/
|
|
74
|
-
VIDEO_ROTATION_180 = 2,
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* @generated from enum value: VIDEO_ROTATION_270 = 3;
|
|
78
|
-
*/
|
|
79
|
-
VIDEO_ROTATION_270 = 3,
|
|
80
|
-
}
|
|
81
|
-
// Retrieve enum metadata with: proto3.getEnumType(VideoRotation)
|
|
82
|
-
proto3.util.setEnumType(VideoRotation, "livekit.proto.VideoRotation", [
|
|
83
|
-
{ no: 0, name: "VIDEO_ROTATION_0" },
|
|
84
|
-
{ no: 1, name: "VIDEO_ROTATION_90" },
|
|
85
|
-
{ no: 2, name: "VIDEO_ROTATION_180" },
|
|
86
|
-
{ no: 3, name: "VIDEO_ROTATION_270" },
|
|
87
|
-
]);
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* @generated from enum livekit.proto.VideoBufferType
|
|
91
|
-
*/
|
|
92
|
-
export enum VideoBufferType {
|
|
93
|
-
/**
|
|
94
|
-
* @generated from enum value: RGBA = 0;
|
|
95
|
-
*/
|
|
96
|
-
RGBA = 0,
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* @generated from enum value: ABGR = 1;
|
|
100
|
-
*/
|
|
101
|
-
ABGR = 1,
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* @generated from enum value: ARGB = 2;
|
|
105
|
-
*/
|
|
106
|
-
ARGB = 2,
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* @generated from enum value: BGRA = 3;
|
|
110
|
-
*/
|
|
111
|
-
BGRA = 3,
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* @generated from enum value: RGB24 = 4;
|
|
115
|
-
*/
|
|
116
|
-
RGB24 = 4,
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* @generated from enum value: I420 = 5;
|
|
120
|
-
*/
|
|
121
|
-
I420 = 5,
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* @generated from enum value: I420A = 6;
|
|
125
|
-
*/
|
|
126
|
-
I420A = 6,
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* @generated from enum value: I422 = 7;
|
|
130
|
-
*/
|
|
131
|
-
I422 = 7,
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* @generated from enum value: I444 = 8;
|
|
135
|
-
*/
|
|
136
|
-
I444 = 8,
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* @generated from enum value: I010 = 9;
|
|
140
|
-
*/
|
|
141
|
-
I010 = 9,
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* @generated from enum value: NV12 = 10;
|
|
145
|
-
*/
|
|
146
|
-
NV12 = 10,
|
|
147
|
-
}
|
|
148
|
-
// Retrieve enum metadata with: proto3.getEnumType(VideoBufferType)
|
|
149
|
-
proto3.util.setEnumType(VideoBufferType, "livekit.proto.VideoBufferType", [
|
|
150
|
-
{ no: 0, name: "RGBA" },
|
|
151
|
-
{ no: 1, name: "ABGR" },
|
|
152
|
-
{ no: 2, name: "ARGB" },
|
|
153
|
-
{ no: 3, name: "BGRA" },
|
|
154
|
-
{ no: 4, name: "RGB24" },
|
|
155
|
-
{ no: 5, name: "I420" },
|
|
156
|
-
{ no: 6, name: "I420A" },
|
|
157
|
-
{ no: 7, name: "I422" },
|
|
158
|
-
{ no: 8, name: "I444" },
|
|
159
|
-
{ no: 9, name: "I010" },
|
|
160
|
-
{ no: 10, name: "NV12" },
|
|
161
|
-
]);
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* @generated from enum livekit.proto.VideoStreamType
|
|
165
|
-
*/
|
|
166
|
-
export enum VideoStreamType {
|
|
167
|
-
/**
|
|
168
|
-
* @generated from enum value: VIDEO_STREAM_NATIVE = 0;
|
|
169
|
-
*/
|
|
170
|
-
VIDEO_STREAM_NATIVE = 0,
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* @generated from enum value: VIDEO_STREAM_WEBGL = 1;
|
|
174
|
-
*/
|
|
175
|
-
VIDEO_STREAM_WEBGL = 1,
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* @generated from enum value: VIDEO_STREAM_HTML = 2;
|
|
179
|
-
*/
|
|
180
|
-
VIDEO_STREAM_HTML = 2,
|
|
181
|
-
}
|
|
182
|
-
// Retrieve enum metadata with: proto3.getEnumType(VideoStreamType)
|
|
183
|
-
proto3.util.setEnumType(VideoStreamType, "livekit.proto.VideoStreamType", [
|
|
184
|
-
{ no: 0, name: "VIDEO_STREAM_NATIVE" },
|
|
185
|
-
{ no: 1, name: "VIDEO_STREAM_WEBGL" },
|
|
186
|
-
{ no: 2, name: "VIDEO_STREAM_HTML" },
|
|
187
|
-
]);
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* @generated from enum livekit.proto.VideoSourceType
|
|
191
|
-
*/
|
|
192
|
-
export enum VideoSourceType {
|
|
193
|
-
/**
|
|
194
|
-
* @generated from enum value: VIDEO_SOURCE_NATIVE = 0;
|
|
195
|
-
*/
|
|
196
|
-
VIDEO_SOURCE_NATIVE = 0,
|
|
197
|
-
}
|
|
198
|
-
// Retrieve enum metadata with: proto3.getEnumType(VideoSourceType)
|
|
199
|
-
proto3.util.setEnumType(VideoSourceType, "livekit.proto.VideoSourceType", [
|
|
200
|
-
{ no: 0, name: "VIDEO_SOURCE_NATIVE" },
|
|
201
|
-
]);
|
|
30
|
+
export const file_video_frame: GenFile = /*@__PURE__*/
|
|
31
|
+
fileDesc("ChF2aWRlb19mcmFtZS5wcm90bxINbGl2ZWtpdC5wcm90byKlAQoVTmV3VmlkZW9TdHJlYW1SZXF1ZXN0EhQKDHRyYWNrX2hhbmRsZRgBIAIoBBIsCgR0eXBlGAIgAigOMh4ubGl2ZWtpdC5wcm90by5WaWRlb1N0cmVhbVR5cGUSLgoGZm9ybWF0GAMgASgOMh4ubGl2ZWtpdC5wcm90by5WaWRlb0J1ZmZlclR5cGUSGAoQbm9ybWFsaXplX3N0cmlkZRgEIAEoCCJJChZOZXdWaWRlb1N0cmVhbVJlc3BvbnNlEi8KBnN0cmVhbRgBIAIoCzIfLmxpdmVraXQucHJvdG8uT3duZWRWaWRlb1N0cmVhbSLpAQohVmlkZW9TdHJlYW1Gcm9tUGFydGljaXBhbnRSZXF1ZXN0EhoKEnBhcnRpY2lwYW50X2hhbmRsZRgBIAIoBBIsCgR0eXBlGAIgAigOMh4ubGl2ZWtpdC5wcm90by5WaWRlb1N0cmVhbVR5cGUSMAoMdHJhY2tfc291cmNlGAMgAigOMhoubGl2ZWtpdC5wcm90by5UcmFja1NvdXJjZRIuCgZmb3JtYXQYBCABKA4yHi5saXZla2l0LnByb3RvLlZpZGVvQnVmZmVyVHlwZRIYChBub3JtYWxpemVfc3RyaWRlGAUgASgIIlUKIlZpZGVvU3RyZWFtRnJvbVBhcnRpY2lwYW50UmVzcG9uc2USLwoGc3RyZWFtGAEgAigLMh8ubGl2ZWtpdC5wcm90by5Pd25lZFZpZGVvU3RyZWFtIn8KFU5ld1ZpZGVvU291cmNlUmVxdWVzdBIsCgR0eXBlGAEgAigOMh4ubGl2ZWtpdC5wcm90by5WaWRlb1NvdXJjZVR5cGUSOAoKcmVzb2x1dGlvbhgCIAIoCzIkLmxpdmVraXQucHJvdG8uVmlkZW9Tb3VyY2VSZXNvbHV0aW9uIkkKFk5ld1ZpZGVvU291cmNlUmVzcG9uc2USLwoGc291cmNlGAEgAigLMh8ubGl2ZWtpdC5wcm90by5Pd25lZFZpZGVvU291cmNlIqcBChhDYXB0dXJlVmlkZW9GcmFtZVJlcXVlc3QSFQoNc291cmNlX2hhbmRsZRgBIAIoBBIuCgZidWZmZXIYAiACKAsyHi5saXZla2l0LnByb3RvLlZpZGVvQnVmZmVySW5mbxIUCgx0aW1lc3RhbXBfdXMYAyACKAMSLgoIcm90YXRpb24YBCACKA4yHC5saXZla2l0LnByb3RvLlZpZGVvUm90YXRpb24iGwoZQ2FwdHVyZVZpZGVvRnJhbWVSZXNwb25zZSKHAQoTVmlkZW9Db252ZXJ0UmVxdWVzdBIOCgZmbGlwX3kYASABKAgSLgoGYnVmZmVyGAIgAigLMh4ubGl2ZWtpdC5wcm90by5WaWRlb0J1ZmZlckluZm8SMAoIZHN0X3R5cGUYAyACKA4yHi5saXZla2l0LnByb3RvLlZpZGVvQnVmZmVyVHlwZSJlChRWaWRlb0NvbnZlcnRSZXNwb25zZRIPCgVlcnJvchgBIAEoCUgAEjEKBmJ1ZmZlchgCIAEoCzIfLmxpdmVraXQucHJvdG8uT3duZWRWaWRlb0J1ZmZlckgAQgkKB21lc3NhZ2UiRAoPVmlkZW9SZXNvbHV0aW9uEg0KBXdpZHRoGAEgAigNEg4KBmhlaWdodBgCIAIoDRISCgpmcmFtZV9yYXRlGAMgAigBIoMCCg9WaWRlb0J1ZmZlckluZm8SLAoEdHlwZRgBIAIoDjIeLmxpdmVraXQucHJvdG8uVmlkZW9CdWZmZXJUeXBlEg0KBXdpZHRoGAIgAigNEg4KBmhlaWdodBgDIAIoDRIQCghkYXRhX3B0chgEIAIoBBIOCgZzdHJpZGUYBiACKA0SQAoKY29tcG9uZW50cxgHIAMoCzIsLmxpdmVraXQucHJvdG8uVmlkZW9CdWZmZXJJbmZvLkNvbXBvbmVudEluZm8aPwoNQ29tcG9uZW50SW5mbxIQCghkYXRhX3B0chgBIAIoBBIOCgZzdHJpZGUYAiACKA0SDAoEc2l6ZRgDIAIoDSJvChBPd25lZFZpZGVvQnVmZmVyEi0KBmhhbmRsZRgBIAIoCzIdLmxpdmVraXQucHJvdG8uRmZpT3duZWRIYW5kbGUSLAoEaW5mbxgCIAIoCzIeLmxpdmVraXQucHJvdG8uVmlkZW9CdWZmZXJJbmZvIj8KD1ZpZGVvU3RyZWFtSW5mbxIsCgR0eXBlGAEgAigOMh4ubGl2ZWtpdC5wcm90by5WaWRlb1N0cmVhbVR5cGUibwoQT3duZWRWaWRlb1N0cmVhbRItCgZoYW5kbGUYASACKAsyHS5saXZla2l0LnByb3RvLkZmaU93bmVkSGFuZGxlEiwKBGluZm8YAiACKAsyHi5saXZla2l0LnByb3RvLlZpZGVvU3RyZWFtSW5mbyKfAQoQVmlkZW9TdHJlYW1FdmVudBIVCg1zdHJlYW1faGFuZGxlGAEgAigEEjsKDmZyYW1lX3JlY2VpdmVkGAIgASgLMiEubGl2ZWtpdC5wcm90by5WaWRlb0ZyYW1lUmVjZWl2ZWRIABIsCgNlb3MYAyABKAsyHS5saXZla2l0LnByb3RvLlZpZGVvU3RyZWFtRU9TSABCCQoHbWVzc2FnZSKLAQoSVmlkZW9GcmFtZVJlY2VpdmVkEi8KBmJ1ZmZlchgBIAIoCzIfLmxpdmVraXQucHJvdG8uT3duZWRWaWRlb0J1ZmZlchIUCgx0aW1lc3RhbXBfdXMYAiACKAMSLgoIcm90YXRpb24YAyACKA4yHC5saXZla2l0LnByb3RvLlZpZGVvUm90YXRpb24iEAoOVmlkZW9TdHJlYW1FT1MiNgoVVmlkZW9Tb3VyY2VSZXNvbHV0aW9uEg0KBXdpZHRoGAEgAigNEg4KBmhlaWdodBgCIAIoDSI/Cg9WaWRlb1NvdXJjZUluZm8SLAoEdHlwZRgBIAIoDjIeLmxpdmVraXQucHJvdG8uVmlkZW9Tb3VyY2VUeXBlIm8KEE93bmVkVmlkZW9Tb3VyY2USLQoGaGFuZGxlGAEgAigLMh0ubGl2ZWtpdC5wcm90by5GZmlPd25lZEhhbmRsZRIsCgRpbmZvGAIgAigLMh4ubGl2ZWtpdC5wcm90by5WaWRlb1NvdXJjZUluZm8qMQoKVmlkZW9Db2RlYxIHCgNWUDgQABIICgRIMjY0EAESBwoDQVYxEAISBwoDVlA5EAMqbAoNVmlkZW9Sb3RhdGlvbhIUChBWSURFT19ST1RBVElPTl8wEAASFQoRVklERU9fUk9UQVRJT05fOTAQARIWChJWSURFT19ST1RBVElPTl8xODAQAhIWChJWSURFT19ST1RBVElPTl8yNzAQAyqBAQoPVmlkZW9CdWZmZXJUeXBlEggKBFJHQkEQABIICgRBQkdSEAESCAoEQVJHQhACEggKBEJHUkEQAxIJCgVSR0IyNBAEEggKBEk0MjAQBRIJCgVJNDIwQRAGEggKBEk0MjIQBxIICgRJNDQ0EAgSCAoESTAxMBAJEggKBE5WMTIQCipZCg9WaWRlb1N0cmVhbVR5cGUSFwoTVklERU9fU1RSRUFNX05BVElWRRAAEhYKElZJREVPX1NUUkVBTV9XRUJHTBABEhUKEVZJREVPX1NUUkVBTV9IVE1MEAIqKgoPVmlkZW9Tb3VyY2VUeXBlEhcKE1ZJREVPX1NPVVJDRV9OQVRJVkUQAEIQqgINTGl2ZUtpdC5Qcm90bw", [file_handle, file_track]);
|
|
202
32
|
|
|
203
33
|
/**
|
|
204
34
|
* Create a new VideoStream
|
|
@@ -206,198 +36,111 @@ proto3.util.setEnumType(VideoSourceType, "livekit.proto.VideoSourceType", [
|
|
|
206
36
|
*
|
|
207
37
|
* @generated from message livekit.proto.NewVideoStreamRequest
|
|
208
38
|
*/
|
|
209
|
-
export
|
|
39
|
+
export type NewVideoStreamRequest = Message<"livekit.proto.NewVideoStreamRequest"> & {
|
|
210
40
|
/**
|
|
211
|
-
* @generated from field: uint64 track_handle = 1;
|
|
41
|
+
* @generated from field: required uint64 track_handle = 1;
|
|
212
42
|
*/
|
|
213
|
-
trackHandle
|
|
43
|
+
trackHandle: bigint;
|
|
214
44
|
|
|
215
45
|
/**
|
|
216
|
-
* @generated from field: livekit.proto.VideoStreamType type = 2;
|
|
46
|
+
* @generated from field: required livekit.proto.VideoStreamType type = 2;
|
|
217
47
|
*/
|
|
218
|
-
type
|
|
48
|
+
type: VideoStreamType;
|
|
219
49
|
|
|
220
50
|
/**
|
|
221
51
|
* Get the frame on a specific format
|
|
222
52
|
*
|
|
223
53
|
* @generated from field: optional livekit.proto.VideoBufferType format = 3;
|
|
224
54
|
*/
|
|
225
|
-
format
|
|
55
|
+
format: VideoBufferType;
|
|
226
56
|
|
|
227
57
|
/**
|
|
228
58
|
* if true, stride will be set to width/chroma_width
|
|
229
59
|
*
|
|
230
|
-
* @generated from field: bool normalize_stride = 4;
|
|
231
|
-
*/
|
|
232
|
-
normalizeStride
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
242
|
-
{ no: 1, name: "track_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
243
|
-
{ no: 2, name: "type", kind: "enum", T: proto3.getEnumType(VideoStreamType) },
|
|
244
|
-
{ no: 3, name: "format", kind: "enum", T: proto3.getEnumType(VideoBufferType), opt: true },
|
|
245
|
-
{ no: 4, name: "normalize_stride", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
246
|
-
]);
|
|
247
|
-
|
|
248
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewVideoStreamRequest {
|
|
249
|
-
return new NewVideoStreamRequest().fromBinary(bytes, options);
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewVideoStreamRequest {
|
|
253
|
-
return new NewVideoStreamRequest().fromJson(jsonValue, options);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewVideoStreamRequest {
|
|
257
|
-
return new NewVideoStreamRequest().fromJsonString(jsonString, options);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
static equals(a: NewVideoStreamRequest | PlainMessage<NewVideoStreamRequest> | undefined, b: NewVideoStreamRequest | PlainMessage<NewVideoStreamRequest> | undefined): boolean {
|
|
261
|
-
return proto3.util.equals(NewVideoStreamRequest, a, b);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
60
|
+
* @generated from field: optional bool normalize_stride = 4;
|
|
61
|
+
*/
|
|
62
|
+
normalizeStride: boolean;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message livekit.proto.NewVideoStreamRequest.
|
|
67
|
+
* Use `create(NewVideoStreamRequestSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const NewVideoStreamRequestSchema: GenMessage<NewVideoStreamRequest> = /*@__PURE__*/
|
|
70
|
+
messageDesc(file_video_frame, 0);
|
|
264
71
|
|
|
265
72
|
/**
|
|
266
73
|
* @generated from message livekit.proto.NewVideoStreamResponse
|
|
267
74
|
*/
|
|
268
|
-
export
|
|
75
|
+
export type NewVideoStreamResponse = Message<"livekit.proto.NewVideoStreamResponse"> & {
|
|
269
76
|
/**
|
|
270
|
-
* @generated from field: livekit.proto.OwnedVideoStream stream = 1;
|
|
77
|
+
* @generated from field: required livekit.proto.OwnedVideoStream stream = 1;
|
|
271
78
|
*/
|
|
272
79
|
stream?: OwnedVideoStream;
|
|
80
|
+
};
|
|
273
81
|
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
static readonly typeName = "livekit.proto.NewVideoStreamResponse";
|
|
281
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
282
|
-
{ no: 1, name: "stream", kind: "message", T: OwnedVideoStream },
|
|
283
|
-
]);
|
|
284
|
-
|
|
285
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewVideoStreamResponse {
|
|
286
|
-
return new NewVideoStreamResponse().fromBinary(bytes, options);
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewVideoStreamResponse {
|
|
290
|
-
return new NewVideoStreamResponse().fromJson(jsonValue, options);
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewVideoStreamResponse {
|
|
294
|
-
return new NewVideoStreamResponse().fromJsonString(jsonString, options);
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
static equals(a: NewVideoStreamResponse | PlainMessage<NewVideoStreamResponse> | undefined, b: NewVideoStreamResponse | PlainMessage<NewVideoStreamResponse> | undefined): boolean {
|
|
298
|
-
return proto3.util.equals(NewVideoStreamResponse, a, b);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message livekit.proto.NewVideoStreamResponse.
|
|
84
|
+
* Use `create(NewVideoStreamResponseSchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export const NewVideoStreamResponseSchema: GenMessage<NewVideoStreamResponse> = /*@__PURE__*/
|
|
87
|
+
messageDesc(file_video_frame, 1);
|
|
301
88
|
|
|
302
89
|
/**
|
|
303
90
|
* Request a video stream from a participant
|
|
304
91
|
*
|
|
305
92
|
* @generated from message livekit.proto.VideoStreamFromParticipantRequest
|
|
306
93
|
*/
|
|
307
|
-
export
|
|
94
|
+
export type VideoStreamFromParticipantRequest = Message<"livekit.proto.VideoStreamFromParticipantRequest"> & {
|
|
308
95
|
/**
|
|
309
|
-
* @generated from field: uint64 participant_handle = 1;
|
|
96
|
+
* @generated from field: required uint64 participant_handle = 1;
|
|
310
97
|
*/
|
|
311
|
-
participantHandle
|
|
98
|
+
participantHandle: bigint;
|
|
312
99
|
|
|
313
100
|
/**
|
|
314
|
-
* @generated from field: livekit.proto.VideoStreamType type = 2;
|
|
101
|
+
* @generated from field: required livekit.proto.VideoStreamType type = 2;
|
|
315
102
|
*/
|
|
316
|
-
type
|
|
103
|
+
type: VideoStreamType;
|
|
317
104
|
|
|
318
105
|
/**
|
|
319
|
-
* @generated from field: livekit.proto.TrackSource track_source = 3;
|
|
106
|
+
* @generated from field: required livekit.proto.TrackSource track_source = 3;
|
|
320
107
|
*/
|
|
321
|
-
trackSource
|
|
108
|
+
trackSource: TrackSource;
|
|
322
109
|
|
|
323
110
|
/**
|
|
324
111
|
* @generated from field: optional livekit.proto.VideoBufferType format = 4;
|
|
325
112
|
*/
|
|
326
|
-
format
|
|
113
|
+
format: VideoBufferType;
|
|
327
114
|
|
|
328
115
|
/**
|
|
329
|
-
* @generated from field: bool normalize_stride = 5;
|
|
116
|
+
* @generated from field: optional bool normalize_stride = 5;
|
|
330
117
|
*/
|
|
331
|
-
normalizeStride
|
|
332
|
-
|
|
333
|
-
constructor(data?: PartialMessage<VideoStreamFromParticipantRequest>) {
|
|
334
|
-
super();
|
|
335
|
-
proto3.util.initPartial(data, this);
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
339
|
-
static readonly typeName = "livekit.proto.VideoStreamFromParticipantRequest";
|
|
340
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
341
|
-
{ no: 1, name: "participant_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
342
|
-
{ no: 2, name: "type", kind: "enum", T: proto3.getEnumType(VideoStreamType) },
|
|
343
|
-
{ no: 3, name: "track_source", kind: "enum", T: proto3.getEnumType(TrackSource) },
|
|
344
|
-
{ no: 4, name: "format", kind: "enum", T: proto3.getEnumType(VideoBufferType), opt: true },
|
|
345
|
-
{ no: 5, name: "normalize_stride", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
346
|
-
]);
|
|
347
|
-
|
|
348
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoStreamFromParticipantRequest {
|
|
349
|
-
return new VideoStreamFromParticipantRequest().fromBinary(bytes, options);
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoStreamFromParticipantRequest {
|
|
353
|
-
return new VideoStreamFromParticipantRequest().fromJson(jsonValue, options);
|
|
354
|
-
}
|
|
118
|
+
normalizeStride: boolean;
|
|
119
|
+
};
|
|
355
120
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
}
|
|
363
|
-
}
|
|
121
|
+
/**
|
|
122
|
+
* Describes the message livekit.proto.VideoStreamFromParticipantRequest.
|
|
123
|
+
* Use `create(VideoStreamFromParticipantRequestSchema)` to create a new message.
|
|
124
|
+
*/
|
|
125
|
+
export const VideoStreamFromParticipantRequestSchema: GenMessage<VideoStreamFromParticipantRequest> = /*@__PURE__*/
|
|
126
|
+
messageDesc(file_video_frame, 2);
|
|
364
127
|
|
|
365
128
|
/**
|
|
366
129
|
* @generated from message livekit.proto.VideoStreamFromParticipantResponse
|
|
367
130
|
*/
|
|
368
|
-
export
|
|
131
|
+
export type VideoStreamFromParticipantResponse = Message<"livekit.proto.VideoStreamFromParticipantResponse"> & {
|
|
369
132
|
/**
|
|
370
|
-
* @generated from field: livekit.proto.OwnedVideoStream stream = 1;
|
|
133
|
+
* @generated from field: required livekit.proto.OwnedVideoStream stream = 1;
|
|
371
134
|
*/
|
|
372
135
|
stream?: OwnedVideoStream;
|
|
136
|
+
};
|
|
373
137
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
static readonly typeName = "livekit.proto.VideoStreamFromParticipantResponse";
|
|
381
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
382
|
-
{ no: 1, name: "stream", kind: "message", T: OwnedVideoStream },
|
|
383
|
-
]);
|
|
384
|
-
|
|
385
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoStreamFromParticipantResponse {
|
|
386
|
-
return new VideoStreamFromParticipantResponse().fromBinary(bytes, options);
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoStreamFromParticipantResponse {
|
|
390
|
-
return new VideoStreamFromParticipantResponse().fromJson(jsonValue, options);
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoStreamFromParticipantResponse {
|
|
394
|
-
return new VideoStreamFromParticipantResponse().fromJsonString(jsonString, options);
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
static equals(a: VideoStreamFromParticipantResponse | PlainMessage<VideoStreamFromParticipantResponse> | undefined, b: VideoStreamFromParticipantResponse | PlainMessage<VideoStreamFromParticipantResponse> | undefined): boolean {
|
|
398
|
-
return proto3.util.equals(VideoStreamFromParticipantResponse, a, b);
|
|
399
|
-
}
|
|
400
|
-
}
|
|
138
|
+
/**
|
|
139
|
+
* Describes the message livekit.proto.VideoStreamFromParticipantResponse.
|
|
140
|
+
* Use `create(VideoStreamFromParticipantResponseSchema)` to create a new message.
|
|
141
|
+
*/
|
|
142
|
+
export const VideoStreamFromParticipantResponseSchema: GenMessage<VideoStreamFromParticipantResponse> = /*@__PURE__*/
|
|
143
|
+
messageDesc(file_video_frame, 3);
|
|
401
144
|
|
|
402
145
|
/**
|
|
403
146
|
* Create a new VideoSource
|
|
@@ -405,566 +148,317 @@ export class VideoStreamFromParticipantResponse extends Message<VideoStreamFromP
|
|
|
405
148
|
*
|
|
406
149
|
* @generated from message livekit.proto.NewVideoSourceRequest
|
|
407
150
|
*/
|
|
408
|
-
export
|
|
151
|
+
export type NewVideoSourceRequest = Message<"livekit.proto.NewVideoSourceRequest"> & {
|
|
409
152
|
/**
|
|
410
|
-
* @generated from field: livekit.proto.VideoSourceType type = 1;
|
|
153
|
+
* @generated from field: required livekit.proto.VideoSourceType type = 1;
|
|
411
154
|
*/
|
|
412
|
-
type
|
|
155
|
+
type: VideoSourceType;
|
|
413
156
|
|
|
414
157
|
/**
|
|
415
158
|
* Used to determine which encodings to use + simulcast layers
|
|
416
159
|
* Most of the time it corresponds to the source resolution
|
|
417
160
|
*
|
|
418
|
-
* @generated from field: livekit.proto.VideoSourceResolution resolution = 2;
|
|
161
|
+
* @generated from field: required livekit.proto.VideoSourceResolution resolution = 2;
|
|
419
162
|
*/
|
|
420
163
|
resolution?: VideoSourceResolution;
|
|
164
|
+
};
|
|
421
165
|
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
static readonly typeName = "livekit.proto.NewVideoSourceRequest";
|
|
429
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
430
|
-
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(VideoSourceType) },
|
|
431
|
-
{ no: 2, name: "resolution", kind: "message", T: VideoSourceResolution },
|
|
432
|
-
]);
|
|
433
|
-
|
|
434
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewVideoSourceRequest {
|
|
435
|
-
return new NewVideoSourceRequest().fromBinary(bytes, options);
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewVideoSourceRequest {
|
|
439
|
-
return new NewVideoSourceRequest().fromJson(jsonValue, options);
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewVideoSourceRequest {
|
|
443
|
-
return new NewVideoSourceRequest().fromJsonString(jsonString, options);
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
static equals(a: NewVideoSourceRequest | PlainMessage<NewVideoSourceRequest> | undefined, b: NewVideoSourceRequest | PlainMessage<NewVideoSourceRequest> | undefined): boolean {
|
|
447
|
-
return proto3.util.equals(NewVideoSourceRequest, a, b);
|
|
448
|
-
}
|
|
449
|
-
}
|
|
166
|
+
/**
|
|
167
|
+
* Describes the message livekit.proto.NewVideoSourceRequest.
|
|
168
|
+
* Use `create(NewVideoSourceRequestSchema)` to create a new message.
|
|
169
|
+
*/
|
|
170
|
+
export const NewVideoSourceRequestSchema: GenMessage<NewVideoSourceRequest> = /*@__PURE__*/
|
|
171
|
+
messageDesc(file_video_frame, 4);
|
|
450
172
|
|
|
451
173
|
/**
|
|
452
174
|
* @generated from message livekit.proto.NewVideoSourceResponse
|
|
453
175
|
*/
|
|
454
|
-
export
|
|
176
|
+
export type NewVideoSourceResponse = Message<"livekit.proto.NewVideoSourceResponse"> & {
|
|
455
177
|
/**
|
|
456
|
-
* @generated from field: livekit.proto.OwnedVideoSource source = 1;
|
|
178
|
+
* @generated from field: required livekit.proto.OwnedVideoSource source = 1;
|
|
457
179
|
*/
|
|
458
180
|
source?: OwnedVideoSource;
|
|
181
|
+
};
|
|
459
182
|
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
static readonly typeName = "livekit.proto.NewVideoSourceResponse";
|
|
467
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
468
|
-
{ no: 1, name: "source", kind: "message", T: OwnedVideoSource },
|
|
469
|
-
]);
|
|
470
|
-
|
|
471
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewVideoSourceResponse {
|
|
472
|
-
return new NewVideoSourceResponse().fromBinary(bytes, options);
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewVideoSourceResponse {
|
|
476
|
-
return new NewVideoSourceResponse().fromJson(jsonValue, options);
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewVideoSourceResponse {
|
|
480
|
-
return new NewVideoSourceResponse().fromJsonString(jsonString, options);
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
static equals(a: NewVideoSourceResponse | PlainMessage<NewVideoSourceResponse> | undefined, b: NewVideoSourceResponse | PlainMessage<NewVideoSourceResponse> | undefined): boolean {
|
|
484
|
-
return proto3.util.equals(NewVideoSourceResponse, a, b);
|
|
485
|
-
}
|
|
486
|
-
}
|
|
183
|
+
/**
|
|
184
|
+
* Describes the message livekit.proto.NewVideoSourceResponse.
|
|
185
|
+
* Use `create(NewVideoSourceResponseSchema)` to create a new message.
|
|
186
|
+
*/
|
|
187
|
+
export const NewVideoSourceResponseSchema: GenMessage<NewVideoSourceResponse> = /*@__PURE__*/
|
|
188
|
+
messageDesc(file_video_frame, 5);
|
|
487
189
|
|
|
488
190
|
/**
|
|
489
191
|
* Push a frame to a VideoSource
|
|
490
192
|
*
|
|
491
193
|
* @generated from message livekit.proto.CaptureVideoFrameRequest
|
|
492
194
|
*/
|
|
493
|
-
export
|
|
195
|
+
export type CaptureVideoFrameRequest = Message<"livekit.proto.CaptureVideoFrameRequest"> & {
|
|
494
196
|
/**
|
|
495
|
-
* @generated from field: uint64 source_handle = 1;
|
|
197
|
+
* @generated from field: required uint64 source_handle = 1;
|
|
496
198
|
*/
|
|
497
|
-
sourceHandle
|
|
199
|
+
sourceHandle: bigint;
|
|
498
200
|
|
|
499
201
|
/**
|
|
500
|
-
* @generated from field: livekit.proto.VideoBufferInfo buffer = 2;
|
|
202
|
+
* @generated from field: required livekit.proto.VideoBufferInfo buffer = 2;
|
|
501
203
|
*/
|
|
502
204
|
buffer?: VideoBufferInfo;
|
|
503
205
|
|
|
504
206
|
/**
|
|
505
207
|
* In microseconds
|
|
506
208
|
*
|
|
507
|
-
* @generated from field: int64 timestamp_us = 3;
|
|
209
|
+
* @generated from field: required int64 timestamp_us = 3;
|
|
508
210
|
*/
|
|
509
|
-
timestampUs
|
|
211
|
+
timestampUs: bigint;
|
|
510
212
|
|
|
511
213
|
/**
|
|
512
|
-
* @generated from field: livekit.proto.VideoRotation rotation = 4;
|
|
214
|
+
* @generated from field: required livekit.proto.VideoRotation rotation = 4;
|
|
513
215
|
*/
|
|
514
|
-
rotation
|
|
515
|
-
|
|
516
|
-
constructor(data?: PartialMessage<CaptureVideoFrameRequest>) {
|
|
517
|
-
super();
|
|
518
|
-
proto3.util.initPartial(data, this);
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
522
|
-
static readonly typeName = "livekit.proto.CaptureVideoFrameRequest";
|
|
523
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
524
|
-
{ no: 1, name: "source_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
525
|
-
{ no: 2, name: "buffer", kind: "message", T: VideoBufferInfo },
|
|
526
|
-
{ no: 3, name: "timestamp_us", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
527
|
-
{ no: 4, name: "rotation", kind: "enum", T: proto3.getEnumType(VideoRotation) },
|
|
528
|
-
]);
|
|
529
|
-
|
|
530
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CaptureVideoFrameRequest {
|
|
531
|
-
return new CaptureVideoFrameRequest().fromBinary(bytes, options);
|
|
532
|
-
}
|
|
216
|
+
rotation: VideoRotation;
|
|
217
|
+
};
|
|
533
218
|
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
static equals(a: CaptureVideoFrameRequest | PlainMessage<CaptureVideoFrameRequest> | undefined, b: CaptureVideoFrameRequest | PlainMessage<CaptureVideoFrameRequest> | undefined): boolean {
|
|
543
|
-
return proto3.util.equals(CaptureVideoFrameRequest, a, b);
|
|
544
|
-
}
|
|
545
|
-
}
|
|
219
|
+
/**
|
|
220
|
+
* Describes the message livekit.proto.CaptureVideoFrameRequest.
|
|
221
|
+
* Use `create(CaptureVideoFrameRequestSchema)` to create a new message.
|
|
222
|
+
*/
|
|
223
|
+
export const CaptureVideoFrameRequestSchema: GenMessage<CaptureVideoFrameRequest> = /*@__PURE__*/
|
|
224
|
+
messageDesc(file_video_frame, 6);
|
|
546
225
|
|
|
547
226
|
/**
|
|
548
227
|
* @generated from message livekit.proto.CaptureVideoFrameResponse
|
|
549
228
|
*/
|
|
550
|
-
export
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
]);
|
|
560
|
-
|
|
561
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CaptureVideoFrameResponse {
|
|
562
|
-
return new CaptureVideoFrameResponse().fromBinary(bytes, options);
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CaptureVideoFrameResponse {
|
|
566
|
-
return new CaptureVideoFrameResponse().fromJson(jsonValue, options);
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CaptureVideoFrameResponse {
|
|
570
|
-
return new CaptureVideoFrameResponse().fromJsonString(jsonString, options);
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
static equals(a: CaptureVideoFrameResponse | PlainMessage<CaptureVideoFrameResponse> | undefined, b: CaptureVideoFrameResponse | PlainMessage<CaptureVideoFrameResponse> | undefined): boolean {
|
|
574
|
-
return proto3.util.equals(CaptureVideoFrameResponse, a, b);
|
|
575
|
-
}
|
|
576
|
-
}
|
|
229
|
+
export type CaptureVideoFrameResponse = Message<"livekit.proto.CaptureVideoFrameResponse"> & {
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Describes the message livekit.proto.CaptureVideoFrameResponse.
|
|
234
|
+
* Use `create(CaptureVideoFrameResponseSchema)` to create a new message.
|
|
235
|
+
*/
|
|
236
|
+
export const CaptureVideoFrameResponseSchema: GenMessage<CaptureVideoFrameResponse> = /*@__PURE__*/
|
|
237
|
+
messageDesc(file_video_frame, 7);
|
|
577
238
|
|
|
578
239
|
/**
|
|
579
240
|
* @generated from message livekit.proto.VideoConvertRequest
|
|
580
241
|
*/
|
|
581
|
-
export
|
|
242
|
+
export type VideoConvertRequest = Message<"livekit.proto.VideoConvertRequest"> & {
|
|
582
243
|
/**
|
|
583
|
-
* @generated from field: bool flip_y = 1;
|
|
244
|
+
* @generated from field: optional bool flip_y = 1;
|
|
584
245
|
*/
|
|
585
|
-
flipY
|
|
246
|
+
flipY: boolean;
|
|
586
247
|
|
|
587
248
|
/**
|
|
588
|
-
* @generated from field: livekit.proto.VideoBufferInfo buffer = 2;
|
|
249
|
+
* @generated from field: required livekit.proto.VideoBufferInfo buffer = 2;
|
|
589
250
|
*/
|
|
590
251
|
buffer?: VideoBufferInfo;
|
|
591
252
|
|
|
592
253
|
/**
|
|
593
|
-
* @generated from field: livekit.proto.VideoBufferType dst_type = 3;
|
|
254
|
+
* @generated from field: required livekit.proto.VideoBufferType dst_type = 3;
|
|
594
255
|
*/
|
|
595
|
-
dstType
|
|
596
|
-
|
|
597
|
-
constructor(data?: PartialMessage<VideoConvertRequest>) {
|
|
598
|
-
super();
|
|
599
|
-
proto3.util.initPartial(data, this);
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
603
|
-
static readonly typeName = "livekit.proto.VideoConvertRequest";
|
|
604
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
605
|
-
{ no: 1, name: "flip_y", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
606
|
-
{ no: 2, name: "buffer", kind: "message", T: VideoBufferInfo },
|
|
607
|
-
{ no: 3, name: "dst_type", kind: "enum", T: proto3.getEnumType(VideoBufferType) },
|
|
608
|
-
]);
|
|
609
|
-
|
|
610
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoConvertRequest {
|
|
611
|
-
return new VideoConvertRequest().fromBinary(bytes, options);
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoConvertRequest {
|
|
615
|
-
return new VideoConvertRequest().fromJson(jsonValue, options);
|
|
616
|
-
}
|
|
256
|
+
dstType: VideoBufferType;
|
|
257
|
+
};
|
|
617
258
|
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
}
|
|
625
|
-
}
|
|
259
|
+
/**
|
|
260
|
+
* Describes the message livekit.proto.VideoConvertRequest.
|
|
261
|
+
* Use `create(VideoConvertRequestSchema)` to create a new message.
|
|
262
|
+
*/
|
|
263
|
+
export const VideoConvertRequestSchema: GenMessage<VideoConvertRequest> = /*@__PURE__*/
|
|
264
|
+
messageDesc(file_video_frame, 8);
|
|
626
265
|
|
|
627
266
|
/**
|
|
628
267
|
* @generated from message livekit.proto.VideoConvertResponse
|
|
629
268
|
*/
|
|
630
|
-
export
|
|
631
|
-
/**
|
|
632
|
-
* @generated from field: optional string error = 1;
|
|
633
|
-
*/
|
|
634
|
-
error?: string;
|
|
635
|
-
|
|
269
|
+
export type VideoConvertResponse = Message<"livekit.proto.VideoConvertResponse"> & {
|
|
636
270
|
/**
|
|
637
|
-
* @generated from
|
|
271
|
+
* @generated from oneof livekit.proto.VideoConvertResponse.message
|
|
638
272
|
*/
|
|
639
|
-
|
|
273
|
+
message: {
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: string error = 1;
|
|
276
|
+
*/
|
|
277
|
+
value: string;
|
|
278
|
+
case: "error";
|
|
279
|
+
} | {
|
|
280
|
+
/**
|
|
281
|
+
* @generated from field: livekit.proto.OwnedVideoBuffer buffer = 2;
|
|
282
|
+
*/
|
|
283
|
+
value: OwnedVideoBuffer;
|
|
284
|
+
case: "buffer";
|
|
285
|
+
} | { case: undefined; value?: undefined };
|
|
286
|
+
};
|
|
640
287
|
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
static readonly typeName = "livekit.proto.VideoConvertResponse";
|
|
648
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
649
|
-
{ no: 1, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
650
|
-
{ no: 2, name: "buffer", kind: "message", T: OwnedVideoBuffer },
|
|
651
|
-
]);
|
|
652
|
-
|
|
653
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoConvertResponse {
|
|
654
|
-
return new VideoConvertResponse().fromBinary(bytes, options);
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoConvertResponse {
|
|
658
|
-
return new VideoConvertResponse().fromJson(jsonValue, options);
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoConvertResponse {
|
|
662
|
-
return new VideoConvertResponse().fromJsonString(jsonString, options);
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
static equals(a: VideoConvertResponse | PlainMessage<VideoConvertResponse> | undefined, b: VideoConvertResponse | PlainMessage<VideoConvertResponse> | undefined): boolean {
|
|
666
|
-
return proto3.util.equals(VideoConvertResponse, a, b);
|
|
667
|
-
}
|
|
668
|
-
}
|
|
288
|
+
/**
|
|
289
|
+
* Describes the message livekit.proto.VideoConvertResponse.
|
|
290
|
+
* Use `create(VideoConvertResponseSchema)` to create a new message.
|
|
291
|
+
*/
|
|
292
|
+
export const VideoConvertResponseSchema: GenMessage<VideoConvertResponse> = /*@__PURE__*/
|
|
293
|
+
messageDesc(file_video_frame, 9);
|
|
669
294
|
|
|
670
295
|
/**
|
|
671
296
|
* @generated from message livekit.proto.VideoResolution
|
|
672
297
|
*/
|
|
673
|
-
export
|
|
298
|
+
export type VideoResolution = Message<"livekit.proto.VideoResolution"> & {
|
|
674
299
|
/**
|
|
675
|
-
* @generated from field: uint32 width = 1;
|
|
300
|
+
* @generated from field: required uint32 width = 1;
|
|
676
301
|
*/
|
|
677
|
-
width
|
|
302
|
+
width: number;
|
|
678
303
|
|
|
679
304
|
/**
|
|
680
|
-
* @generated from field: uint32 height = 2;
|
|
305
|
+
* @generated from field: required uint32 height = 2;
|
|
681
306
|
*/
|
|
682
|
-
height
|
|
307
|
+
height: number;
|
|
683
308
|
|
|
684
309
|
/**
|
|
685
|
-
* @generated from field: double frame_rate = 3;
|
|
310
|
+
* @generated from field: required double frame_rate = 3;
|
|
686
311
|
*/
|
|
687
|
-
frameRate
|
|
688
|
-
|
|
689
|
-
constructor(data?: PartialMessage<VideoResolution>) {
|
|
690
|
-
super();
|
|
691
|
-
proto3.util.initPartial(data, this);
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
695
|
-
static readonly typeName = "livekit.proto.VideoResolution";
|
|
696
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
697
|
-
{ no: 1, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
698
|
-
{ no: 2, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
699
|
-
{ no: 3, name: "frame_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
700
|
-
]);
|
|
312
|
+
frameRate: number;
|
|
313
|
+
};
|
|
701
314
|
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoResolution {
|
|
711
|
-
return new VideoResolution().fromJsonString(jsonString, options);
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
static equals(a: VideoResolution | PlainMessage<VideoResolution> | undefined, b: VideoResolution | PlainMessage<VideoResolution> | undefined): boolean {
|
|
715
|
-
return proto3.util.equals(VideoResolution, a, b);
|
|
716
|
-
}
|
|
717
|
-
}
|
|
315
|
+
/**
|
|
316
|
+
* Describes the message livekit.proto.VideoResolution.
|
|
317
|
+
* Use `create(VideoResolutionSchema)` to create a new message.
|
|
318
|
+
*/
|
|
319
|
+
export const VideoResolutionSchema: GenMessage<VideoResolution> = /*@__PURE__*/
|
|
320
|
+
messageDesc(file_video_frame, 10);
|
|
718
321
|
|
|
719
322
|
/**
|
|
720
323
|
* @generated from message livekit.proto.VideoBufferInfo
|
|
721
324
|
*/
|
|
722
|
-
export
|
|
325
|
+
export type VideoBufferInfo = Message<"livekit.proto.VideoBufferInfo"> & {
|
|
723
326
|
/**
|
|
724
|
-
* @generated from field: livekit.proto.VideoBufferType type = 1;
|
|
327
|
+
* @generated from field: required livekit.proto.VideoBufferType type = 1;
|
|
725
328
|
*/
|
|
726
|
-
type
|
|
329
|
+
type: VideoBufferType;
|
|
727
330
|
|
|
728
331
|
/**
|
|
729
|
-
* @generated from field: uint32 width = 2;
|
|
332
|
+
* @generated from field: required uint32 width = 2;
|
|
730
333
|
*/
|
|
731
|
-
width
|
|
334
|
+
width: number;
|
|
732
335
|
|
|
733
336
|
/**
|
|
734
|
-
* @generated from field: uint32 height = 3;
|
|
337
|
+
* @generated from field: required uint32 height = 3;
|
|
735
338
|
*/
|
|
736
|
-
height
|
|
339
|
+
height: number;
|
|
737
340
|
|
|
738
341
|
/**
|
|
739
|
-
* @generated from field: uint64 data_ptr = 4;
|
|
342
|
+
* @generated from field: required uint64 data_ptr = 4;
|
|
740
343
|
*/
|
|
741
|
-
dataPtr
|
|
344
|
+
dataPtr: bigint;
|
|
742
345
|
|
|
743
346
|
/**
|
|
744
347
|
* only for packed formats
|
|
745
348
|
*
|
|
746
|
-
* @generated from field: uint32 stride = 6;
|
|
349
|
+
* @generated from field: required uint32 stride = 6;
|
|
747
350
|
*/
|
|
748
|
-
stride
|
|
351
|
+
stride: number;
|
|
749
352
|
|
|
750
353
|
/**
|
|
751
354
|
* @generated from field: repeated livekit.proto.VideoBufferInfo.ComponentInfo components = 7;
|
|
752
355
|
*/
|
|
753
|
-
components: VideoBufferInfo_ComponentInfo[]
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
763
|
-
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(VideoBufferType) },
|
|
764
|
-
{ no: 2, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
765
|
-
{ no: 3, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
766
|
-
{ no: 4, name: "data_ptr", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
767
|
-
{ no: 6, name: "stride", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
768
|
-
{ no: 7, name: "components", kind: "message", T: VideoBufferInfo_ComponentInfo, repeated: true },
|
|
769
|
-
]);
|
|
770
|
-
|
|
771
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoBufferInfo {
|
|
772
|
-
return new VideoBufferInfo().fromBinary(bytes, options);
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoBufferInfo {
|
|
776
|
-
return new VideoBufferInfo().fromJson(jsonValue, options);
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoBufferInfo {
|
|
780
|
-
return new VideoBufferInfo().fromJsonString(jsonString, options);
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
static equals(a: VideoBufferInfo | PlainMessage<VideoBufferInfo> | undefined, b: VideoBufferInfo | PlainMessage<VideoBufferInfo> | undefined): boolean {
|
|
784
|
-
return proto3.util.equals(VideoBufferInfo, a, b);
|
|
785
|
-
}
|
|
786
|
-
}
|
|
356
|
+
components: VideoBufferInfo_ComponentInfo[];
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Describes the message livekit.proto.VideoBufferInfo.
|
|
361
|
+
* Use `create(VideoBufferInfoSchema)` to create a new message.
|
|
362
|
+
*/
|
|
363
|
+
export const VideoBufferInfoSchema: GenMessage<VideoBufferInfo> = /*@__PURE__*/
|
|
364
|
+
messageDesc(file_video_frame, 11);
|
|
787
365
|
|
|
788
366
|
/**
|
|
789
367
|
* @generated from message livekit.proto.VideoBufferInfo.ComponentInfo
|
|
790
368
|
*/
|
|
791
|
-
export
|
|
369
|
+
export type VideoBufferInfo_ComponentInfo = Message<"livekit.proto.VideoBufferInfo.ComponentInfo"> & {
|
|
792
370
|
/**
|
|
793
|
-
* @generated from field: uint64 data_ptr = 1;
|
|
371
|
+
* @generated from field: required uint64 data_ptr = 1;
|
|
794
372
|
*/
|
|
795
|
-
dataPtr
|
|
373
|
+
dataPtr: bigint;
|
|
796
374
|
|
|
797
375
|
/**
|
|
798
|
-
* @generated from field: uint32 stride = 2;
|
|
376
|
+
* @generated from field: required uint32 stride = 2;
|
|
799
377
|
*/
|
|
800
|
-
stride
|
|
378
|
+
stride: number;
|
|
801
379
|
|
|
802
380
|
/**
|
|
803
|
-
* @generated from field: uint32 size = 3;
|
|
381
|
+
* @generated from field: required uint32 size = 3;
|
|
804
382
|
*/
|
|
805
|
-
size
|
|
806
|
-
|
|
807
|
-
constructor(data?: PartialMessage<VideoBufferInfo_ComponentInfo>) {
|
|
808
|
-
super();
|
|
809
|
-
proto3.util.initPartial(data, this);
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
813
|
-
static readonly typeName = "livekit.proto.VideoBufferInfo.ComponentInfo";
|
|
814
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
815
|
-
{ no: 1, name: "data_ptr", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
816
|
-
{ no: 2, name: "stride", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
817
|
-
{ no: 3, name: "size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
818
|
-
]);
|
|
819
|
-
|
|
820
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoBufferInfo_ComponentInfo {
|
|
821
|
-
return new VideoBufferInfo_ComponentInfo().fromBinary(bytes, options);
|
|
822
|
-
}
|
|
383
|
+
size: number;
|
|
384
|
+
};
|
|
823
385
|
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
static equals(a: VideoBufferInfo_ComponentInfo | PlainMessage<VideoBufferInfo_ComponentInfo> | undefined, b: VideoBufferInfo_ComponentInfo | PlainMessage<VideoBufferInfo_ComponentInfo> | undefined): boolean {
|
|
833
|
-
return proto3.util.equals(VideoBufferInfo_ComponentInfo, a, b);
|
|
834
|
-
}
|
|
835
|
-
}
|
|
386
|
+
/**
|
|
387
|
+
* Describes the message livekit.proto.VideoBufferInfo.ComponentInfo.
|
|
388
|
+
* Use `create(VideoBufferInfo_ComponentInfoSchema)` to create a new message.
|
|
389
|
+
*/
|
|
390
|
+
export const VideoBufferInfo_ComponentInfoSchema: GenMessage<VideoBufferInfo_ComponentInfo> = /*@__PURE__*/
|
|
391
|
+
messageDesc(file_video_frame, 11, 0);
|
|
836
392
|
|
|
837
393
|
/**
|
|
838
394
|
* @generated from message livekit.proto.OwnedVideoBuffer
|
|
839
395
|
*/
|
|
840
|
-
export
|
|
396
|
+
export type OwnedVideoBuffer = Message<"livekit.proto.OwnedVideoBuffer"> & {
|
|
841
397
|
/**
|
|
842
|
-
* @generated from field: livekit.proto.FfiOwnedHandle handle = 1;
|
|
398
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
843
399
|
*/
|
|
844
400
|
handle?: FfiOwnedHandle;
|
|
845
401
|
|
|
846
402
|
/**
|
|
847
|
-
* @generated from field: livekit.proto.VideoBufferInfo info = 2;
|
|
403
|
+
* @generated from field: required livekit.proto.VideoBufferInfo info = 2;
|
|
848
404
|
*/
|
|
849
405
|
info?: VideoBufferInfo;
|
|
406
|
+
};
|
|
850
407
|
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
static readonly typeName = "livekit.proto.OwnedVideoBuffer";
|
|
858
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
859
|
-
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
860
|
-
{ no: 2, name: "info", kind: "message", T: VideoBufferInfo },
|
|
861
|
-
]);
|
|
862
|
-
|
|
863
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedVideoBuffer {
|
|
864
|
-
return new OwnedVideoBuffer().fromBinary(bytes, options);
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedVideoBuffer {
|
|
868
|
-
return new OwnedVideoBuffer().fromJson(jsonValue, options);
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedVideoBuffer {
|
|
872
|
-
return new OwnedVideoBuffer().fromJsonString(jsonString, options);
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
static equals(a: OwnedVideoBuffer | PlainMessage<OwnedVideoBuffer> | undefined, b: OwnedVideoBuffer | PlainMessage<OwnedVideoBuffer> | undefined): boolean {
|
|
876
|
-
return proto3.util.equals(OwnedVideoBuffer, a, b);
|
|
877
|
-
}
|
|
878
|
-
}
|
|
408
|
+
/**
|
|
409
|
+
* Describes the message livekit.proto.OwnedVideoBuffer.
|
|
410
|
+
* Use `create(OwnedVideoBufferSchema)` to create a new message.
|
|
411
|
+
*/
|
|
412
|
+
export const OwnedVideoBufferSchema: GenMessage<OwnedVideoBuffer> = /*@__PURE__*/
|
|
413
|
+
messageDesc(file_video_frame, 12);
|
|
879
414
|
|
|
880
415
|
/**
|
|
881
416
|
* @generated from message livekit.proto.VideoStreamInfo
|
|
882
417
|
*/
|
|
883
|
-
export
|
|
418
|
+
export type VideoStreamInfo = Message<"livekit.proto.VideoStreamInfo"> & {
|
|
884
419
|
/**
|
|
885
|
-
* @generated from field: livekit.proto.VideoStreamType type = 1;
|
|
420
|
+
* @generated from field: required livekit.proto.VideoStreamType type = 1;
|
|
886
421
|
*/
|
|
887
|
-
type
|
|
888
|
-
|
|
889
|
-
constructor(data?: PartialMessage<VideoStreamInfo>) {
|
|
890
|
-
super();
|
|
891
|
-
proto3.util.initPartial(data, this);
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
895
|
-
static readonly typeName = "livekit.proto.VideoStreamInfo";
|
|
896
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
897
|
-
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(VideoStreamType) },
|
|
898
|
-
]);
|
|
899
|
-
|
|
900
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoStreamInfo {
|
|
901
|
-
return new VideoStreamInfo().fromBinary(bytes, options);
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoStreamInfo {
|
|
905
|
-
return new VideoStreamInfo().fromJson(jsonValue, options);
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoStreamInfo {
|
|
909
|
-
return new VideoStreamInfo().fromJsonString(jsonString, options);
|
|
910
|
-
}
|
|
422
|
+
type: VideoStreamType;
|
|
423
|
+
};
|
|
911
424
|
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
425
|
+
/**
|
|
426
|
+
* Describes the message livekit.proto.VideoStreamInfo.
|
|
427
|
+
* Use `create(VideoStreamInfoSchema)` to create a new message.
|
|
428
|
+
*/
|
|
429
|
+
export const VideoStreamInfoSchema: GenMessage<VideoStreamInfo> = /*@__PURE__*/
|
|
430
|
+
messageDesc(file_video_frame, 13);
|
|
916
431
|
|
|
917
432
|
/**
|
|
918
433
|
* @generated from message livekit.proto.OwnedVideoStream
|
|
919
434
|
*/
|
|
920
|
-
export
|
|
435
|
+
export type OwnedVideoStream = Message<"livekit.proto.OwnedVideoStream"> & {
|
|
921
436
|
/**
|
|
922
|
-
* @generated from field: livekit.proto.FfiOwnedHandle handle = 1;
|
|
437
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
923
438
|
*/
|
|
924
439
|
handle?: FfiOwnedHandle;
|
|
925
440
|
|
|
926
441
|
/**
|
|
927
|
-
* @generated from field: livekit.proto.VideoStreamInfo info = 2;
|
|
442
|
+
* @generated from field: required livekit.proto.VideoStreamInfo info = 2;
|
|
928
443
|
*/
|
|
929
444
|
info?: VideoStreamInfo;
|
|
445
|
+
};
|
|
930
446
|
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
static readonly typeName = "livekit.proto.OwnedVideoStream";
|
|
938
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
939
|
-
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
940
|
-
{ no: 2, name: "info", kind: "message", T: VideoStreamInfo },
|
|
941
|
-
]);
|
|
942
|
-
|
|
943
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedVideoStream {
|
|
944
|
-
return new OwnedVideoStream().fromBinary(bytes, options);
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedVideoStream {
|
|
948
|
-
return new OwnedVideoStream().fromJson(jsonValue, options);
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedVideoStream {
|
|
952
|
-
return new OwnedVideoStream().fromJsonString(jsonString, options);
|
|
953
|
-
}
|
|
954
|
-
|
|
955
|
-
static equals(a: OwnedVideoStream | PlainMessage<OwnedVideoStream> | undefined, b: OwnedVideoStream | PlainMessage<OwnedVideoStream> | undefined): boolean {
|
|
956
|
-
return proto3.util.equals(OwnedVideoStream, a, b);
|
|
957
|
-
}
|
|
958
|
-
}
|
|
447
|
+
/**
|
|
448
|
+
* Describes the message livekit.proto.OwnedVideoStream.
|
|
449
|
+
* Use `create(OwnedVideoStreamSchema)` to create a new message.
|
|
450
|
+
*/
|
|
451
|
+
export const OwnedVideoStreamSchema: GenMessage<OwnedVideoStream> = /*@__PURE__*/
|
|
452
|
+
messageDesc(file_video_frame, 14);
|
|
959
453
|
|
|
960
454
|
/**
|
|
961
455
|
* @generated from message livekit.proto.VideoStreamEvent
|
|
962
456
|
*/
|
|
963
|
-
export
|
|
457
|
+
export type VideoStreamEvent = Message<"livekit.proto.VideoStreamEvent"> & {
|
|
964
458
|
/**
|
|
965
|
-
* @generated from field: uint64 stream_handle = 1;
|
|
459
|
+
* @generated from field: required uint64 stream_handle = 1;
|
|
966
460
|
*/
|
|
967
|
-
streamHandle
|
|
461
|
+
streamHandle: bigint;
|
|
968
462
|
|
|
969
463
|
/**
|
|
970
464
|
* @generated from oneof livekit.proto.VideoStreamEvent.message
|
|
@@ -981,240 +475,286 @@ export class VideoStreamEvent extends Message<VideoStreamEvent> {
|
|
|
981
475
|
*/
|
|
982
476
|
value: VideoStreamEOS;
|
|
983
477
|
case: "eos";
|
|
984
|
-
} | { case: undefined; value?: undefined }
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
994
|
-
{ no: 1, name: "stream_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
995
|
-
{ no: 2, name: "frame_received", kind: "message", T: VideoFrameReceived, oneof: "message" },
|
|
996
|
-
{ no: 3, name: "eos", kind: "message", T: VideoStreamEOS, oneof: "message" },
|
|
997
|
-
]);
|
|
998
|
-
|
|
999
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoStreamEvent {
|
|
1000
|
-
return new VideoStreamEvent().fromBinary(bytes, options);
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoStreamEvent {
|
|
1004
|
-
return new VideoStreamEvent().fromJson(jsonValue, options);
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoStreamEvent {
|
|
1008
|
-
return new VideoStreamEvent().fromJsonString(jsonString, options);
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
|
-
static equals(a: VideoStreamEvent | PlainMessage<VideoStreamEvent> | undefined, b: VideoStreamEvent | PlainMessage<VideoStreamEvent> | undefined): boolean {
|
|
1012
|
-
return proto3.util.equals(VideoStreamEvent, a, b);
|
|
1013
|
-
}
|
|
1014
|
-
}
|
|
478
|
+
} | { case: undefined; value?: undefined };
|
|
479
|
+
};
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* Describes the message livekit.proto.VideoStreamEvent.
|
|
483
|
+
* Use `create(VideoStreamEventSchema)` to create a new message.
|
|
484
|
+
*/
|
|
485
|
+
export const VideoStreamEventSchema: GenMessage<VideoStreamEvent> = /*@__PURE__*/
|
|
486
|
+
messageDesc(file_video_frame, 15);
|
|
1015
487
|
|
|
1016
488
|
/**
|
|
1017
489
|
* @generated from message livekit.proto.VideoFrameReceived
|
|
1018
490
|
*/
|
|
1019
|
-
export
|
|
491
|
+
export type VideoFrameReceived = Message<"livekit.proto.VideoFrameReceived"> & {
|
|
1020
492
|
/**
|
|
1021
|
-
* @generated from field: livekit.proto.OwnedVideoBuffer buffer = 1;
|
|
493
|
+
* @generated from field: required livekit.proto.OwnedVideoBuffer buffer = 1;
|
|
1022
494
|
*/
|
|
1023
495
|
buffer?: OwnedVideoBuffer;
|
|
1024
496
|
|
|
1025
497
|
/**
|
|
1026
498
|
* In microseconds
|
|
1027
499
|
*
|
|
1028
|
-
* @generated from field: int64 timestamp_us = 2;
|
|
500
|
+
* @generated from field: required int64 timestamp_us = 2;
|
|
1029
501
|
*/
|
|
1030
|
-
timestampUs
|
|
502
|
+
timestampUs: bigint;
|
|
1031
503
|
|
|
1032
504
|
/**
|
|
1033
|
-
* @generated from field: livekit.proto.VideoRotation rotation = 3;
|
|
505
|
+
* @generated from field: required livekit.proto.VideoRotation rotation = 3;
|
|
1034
506
|
*/
|
|
1035
|
-
rotation
|
|
507
|
+
rotation: VideoRotation;
|
|
508
|
+
};
|
|
1036
509
|
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
510
|
+
/**
|
|
511
|
+
* Describes the message livekit.proto.VideoFrameReceived.
|
|
512
|
+
* Use `create(VideoFrameReceivedSchema)` to create a new message.
|
|
513
|
+
*/
|
|
514
|
+
export const VideoFrameReceivedSchema: GenMessage<VideoFrameReceived> = /*@__PURE__*/
|
|
515
|
+
messageDesc(file_video_frame, 16);
|
|
1041
516
|
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
{ no: 3, name: "rotation", kind: "enum", T: proto3.getEnumType(VideoRotation) },
|
|
1048
|
-
]);
|
|
517
|
+
/**
|
|
518
|
+
* @generated from message livekit.proto.VideoStreamEOS
|
|
519
|
+
*/
|
|
520
|
+
export type VideoStreamEOS = Message<"livekit.proto.VideoStreamEOS"> & {
|
|
521
|
+
};
|
|
1049
522
|
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
523
|
+
/**
|
|
524
|
+
* Describes the message livekit.proto.VideoStreamEOS.
|
|
525
|
+
* Use `create(VideoStreamEOSSchema)` to create a new message.
|
|
526
|
+
*/
|
|
527
|
+
export const VideoStreamEOSSchema: GenMessage<VideoStreamEOS> = /*@__PURE__*/
|
|
528
|
+
messageDesc(file_video_frame, 17);
|
|
1053
529
|
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
530
|
+
/**
|
|
531
|
+
* @generated from message livekit.proto.VideoSourceResolution
|
|
532
|
+
*/
|
|
533
|
+
export type VideoSourceResolution = Message<"livekit.proto.VideoSourceResolution"> & {
|
|
534
|
+
/**
|
|
535
|
+
* @generated from field: required uint32 width = 1;
|
|
536
|
+
*/
|
|
537
|
+
width: number;
|
|
1057
538
|
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
539
|
+
/**
|
|
540
|
+
* @generated from field: required uint32 height = 2;
|
|
541
|
+
*/
|
|
542
|
+
height: number;
|
|
543
|
+
};
|
|
1061
544
|
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
545
|
+
/**
|
|
546
|
+
* Describes the message livekit.proto.VideoSourceResolution.
|
|
547
|
+
* Use `create(VideoSourceResolutionSchema)` to create a new message.
|
|
548
|
+
*/
|
|
549
|
+
export const VideoSourceResolutionSchema: GenMessage<VideoSourceResolution> = /*@__PURE__*/
|
|
550
|
+
messageDesc(file_video_frame, 18);
|
|
1066
551
|
|
|
1067
552
|
/**
|
|
1068
|
-
* @generated from message livekit.proto.
|
|
553
|
+
* @generated from message livekit.proto.VideoSourceInfo
|
|
1069
554
|
*/
|
|
1070
|
-
export
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1077
|
-
static readonly typeName = "livekit.proto.VideoStreamEOS";
|
|
1078
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1079
|
-
]);
|
|
1080
|
-
|
|
1081
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoStreamEOS {
|
|
1082
|
-
return new VideoStreamEOS().fromBinary(bytes, options);
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoStreamEOS {
|
|
1086
|
-
return new VideoStreamEOS().fromJson(jsonValue, options);
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoStreamEOS {
|
|
1090
|
-
return new VideoStreamEOS().fromJsonString(jsonString, options);
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
static equals(a: VideoStreamEOS | PlainMessage<VideoStreamEOS> | undefined, b: VideoStreamEOS | PlainMessage<VideoStreamEOS> | undefined): boolean {
|
|
1094
|
-
return proto3.util.equals(VideoStreamEOS, a, b);
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
555
|
+
export type VideoSourceInfo = Message<"livekit.proto.VideoSourceInfo"> & {
|
|
556
|
+
/**
|
|
557
|
+
* @generated from field: required livekit.proto.VideoSourceType type = 1;
|
|
558
|
+
*/
|
|
559
|
+
type: VideoSourceType;
|
|
560
|
+
};
|
|
1097
561
|
|
|
1098
562
|
/**
|
|
1099
|
-
*
|
|
563
|
+
* Describes the message livekit.proto.VideoSourceInfo.
|
|
564
|
+
* Use `create(VideoSourceInfoSchema)` to create a new message.
|
|
1100
565
|
*/
|
|
1101
|
-
export
|
|
566
|
+
export const VideoSourceInfoSchema: GenMessage<VideoSourceInfo> = /*@__PURE__*/
|
|
567
|
+
messageDesc(file_video_frame, 19);
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* @generated from message livekit.proto.OwnedVideoSource
|
|
571
|
+
*/
|
|
572
|
+
export type OwnedVideoSource = Message<"livekit.proto.OwnedVideoSource"> & {
|
|
1102
573
|
/**
|
|
1103
|
-
* @generated from field:
|
|
574
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
1104
575
|
*/
|
|
1105
|
-
|
|
576
|
+
handle?: FfiOwnedHandle;
|
|
1106
577
|
|
|
1107
578
|
/**
|
|
1108
|
-
* @generated from field:
|
|
579
|
+
* @generated from field: required livekit.proto.VideoSourceInfo info = 2;
|
|
1109
580
|
*/
|
|
1110
|
-
|
|
581
|
+
info?: VideoSourceInfo;
|
|
582
|
+
};
|
|
1111
583
|
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
584
|
+
/**
|
|
585
|
+
* Describes the message livekit.proto.OwnedVideoSource.
|
|
586
|
+
* Use `create(OwnedVideoSourceSchema)` to create a new message.
|
|
587
|
+
*/
|
|
588
|
+
export const OwnedVideoSourceSchema: GenMessage<OwnedVideoSource> = /*@__PURE__*/
|
|
589
|
+
messageDesc(file_video_frame, 20);
|
|
1116
590
|
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
591
|
+
/**
|
|
592
|
+
* @generated from enum livekit.proto.VideoCodec
|
|
593
|
+
*/
|
|
594
|
+
export enum VideoCodec {
|
|
595
|
+
/**
|
|
596
|
+
* @generated from enum value: VP8 = 0;
|
|
597
|
+
*/
|
|
598
|
+
VP8 = 0,
|
|
1123
599
|
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
600
|
+
/**
|
|
601
|
+
* @generated from enum value: H264 = 1;
|
|
602
|
+
*/
|
|
603
|
+
H264 = 1,
|
|
1127
604
|
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
605
|
+
/**
|
|
606
|
+
* @generated from enum value: AV1 = 2;
|
|
607
|
+
*/
|
|
608
|
+
AV1 = 2,
|
|
1131
609
|
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
610
|
+
/**
|
|
611
|
+
* @generated from enum value: VP9 = 3;
|
|
612
|
+
*/
|
|
613
|
+
VP9 = 3,
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* Describes the enum livekit.proto.VideoCodec.
|
|
618
|
+
*/
|
|
619
|
+
export const VideoCodecSchema: GenEnum<VideoCodec> = /*@__PURE__*/
|
|
620
|
+
enumDesc(file_video_frame, 0);
|
|
1135
621
|
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
622
|
+
/**
|
|
623
|
+
* @generated from enum livekit.proto.VideoRotation
|
|
624
|
+
*/
|
|
625
|
+
export enum VideoRotation {
|
|
626
|
+
/**
|
|
627
|
+
* @generated from enum value: VIDEO_ROTATION_0 = 0;
|
|
628
|
+
*/
|
|
629
|
+
VIDEO_ROTATION_0 = 0,
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* @generated from enum value: VIDEO_ROTATION_90 = 1;
|
|
633
|
+
*/
|
|
634
|
+
VIDEO_ROTATION_90 = 1,
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* @generated from enum value: VIDEO_ROTATION_180 = 2;
|
|
638
|
+
*/
|
|
639
|
+
VIDEO_ROTATION_180 = 2,
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* @generated from enum value: VIDEO_ROTATION_270 = 3;
|
|
643
|
+
*/
|
|
644
|
+
VIDEO_ROTATION_270 = 3,
|
|
1139
645
|
}
|
|
1140
646
|
|
|
1141
647
|
/**
|
|
1142
|
-
*
|
|
648
|
+
* Describes the enum livekit.proto.VideoRotation.
|
|
1143
649
|
*/
|
|
1144
|
-
export
|
|
650
|
+
export const VideoRotationSchema: GenEnum<VideoRotation> = /*@__PURE__*/
|
|
651
|
+
enumDesc(file_video_frame, 1);
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* @generated from enum livekit.proto.VideoBufferType
|
|
655
|
+
*/
|
|
656
|
+
export enum VideoBufferType {
|
|
1145
657
|
/**
|
|
1146
|
-
* @generated from
|
|
658
|
+
* @generated from enum value: RGBA = 0;
|
|
1147
659
|
*/
|
|
1148
|
-
|
|
660
|
+
RGBA = 0,
|
|
1149
661
|
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
662
|
+
/**
|
|
663
|
+
* @generated from enum value: ABGR = 1;
|
|
664
|
+
*/
|
|
665
|
+
ABGR = 1,
|
|
1154
666
|
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
667
|
+
/**
|
|
668
|
+
* @generated from enum value: ARGB = 2;
|
|
669
|
+
*/
|
|
670
|
+
ARGB = 2,
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* @generated from enum value: BGRA = 3;
|
|
674
|
+
*/
|
|
675
|
+
BGRA = 3,
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* @generated from enum value: RGB24 = 4;
|
|
679
|
+
*/
|
|
680
|
+
RGB24 = 4,
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* @generated from enum value: I420 = 5;
|
|
684
|
+
*/
|
|
685
|
+
I420 = 5,
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* @generated from enum value: I420A = 6;
|
|
689
|
+
*/
|
|
690
|
+
I420A = 6,
|
|
1160
691
|
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
692
|
+
/**
|
|
693
|
+
* @generated from enum value: I422 = 7;
|
|
694
|
+
*/
|
|
695
|
+
I422 = 7,
|
|
1164
696
|
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
697
|
+
/**
|
|
698
|
+
* @generated from enum value: I444 = 8;
|
|
699
|
+
*/
|
|
700
|
+
I444 = 8,
|
|
1168
701
|
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
702
|
+
/**
|
|
703
|
+
* @generated from enum value: I010 = 9;
|
|
704
|
+
*/
|
|
705
|
+
I010 = 9,
|
|
1172
706
|
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
707
|
+
/**
|
|
708
|
+
* @generated from enum value: NV12 = 10;
|
|
709
|
+
*/
|
|
710
|
+
NV12 = 10,
|
|
1176
711
|
}
|
|
1177
712
|
|
|
1178
713
|
/**
|
|
1179
|
-
*
|
|
714
|
+
* Describes the enum livekit.proto.VideoBufferType.
|
|
1180
715
|
*/
|
|
1181
|
-
export
|
|
716
|
+
export const VideoBufferTypeSchema: GenEnum<VideoBufferType> = /*@__PURE__*/
|
|
717
|
+
enumDesc(file_video_frame, 2);
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* @generated from enum livekit.proto.VideoStreamType
|
|
721
|
+
*/
|
|
722
|
+
export enum VideoStreamType {
|
|
1182
723
|
/**
|
|
1183
|
-
* @generated from
|
|
724
|
+
* @generated from enum value: VIDEO_STREAM_NATIVE = 0;
|
|
1184
725
|
*/
|
|
1185
|
-
|
|
726
|
+
VIDEO_STREAM_NATIVE = 0,
|
|
1186
727
|
|
|
1187
728
|
/**
|
|
1188
|
-
* @generated from
|
|
729
|
+
* @generated from enum value: VIDEO_STREAM_WEBGL = 1;
|
|
1189
730
|
*/
|
|
1190
|
-
|
|
731
|
+
VIDEO_STREAM_WEBGL = 1,
|
|
1191
732
|
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1198
|
-
static readonly typeName = "livekit.proto.OwnedVideoSource";
|
|
1199
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1200
|
-
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
1201
|
-
{ no: 2, name: "info", kind: "message", T: VideoSourceInfo },
|
|
1202
|
-
]);
|
|
1203
|
-
|
|
1204
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedVideoSource {
|
|
1205
|
-
return new OwnedVideoSource().fromBinary(bytes, options);
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedVideoSource {
|
|
1209
|
-
return new OwnedVideoSource().fromJson(jsonValue, options);
|
|
1210
|
-
}
|
|
1211
|
-
|
|
1212
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedVideoSource {
|
|
1213
|
-
return new OwnedVideoSource().fromJsonString(jsonString, options);
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
static equals(a: OwnedVideoSource | PlainMessage<OwnedVideoSource> | undefined, b: OwnedVideoSource | PlainMessage<OwnedVideoSource> | undefined): boolean {
|
|
1217
|
-
return proto3.util.equals(OwnedVideoSource, a, b);
|
|
1218
|
-
}
|
|
733
|
+
/**
|
|
734
|
+
* @generated from enum value: VIDEO_STREAM_HTML = 2;
|
|
735
|
+
*/
|
|
736
|
+
VIDEO_STREAM_HTML = 2,
|
|
1219
737
|
}
|
|
1220
738
|
|
|
739
|
+
/**
|
|
740
|
+
* Describes the enum livekit.proto.VideoStreamType.
|
|
741
|
+
*/
|
|
742
|
+
export const VideoStreamTypeSchema: GenEnum<VideoStreamType> = /*@__PURE__*/
|
|
743
|
+
enumDesc(file_video_frame, 3);
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* @generated from enum livekit.proto.VideoSourceType
|
|
747
|
+
*/
|
|
748
|
+
export enum VideoSourceType {
|
|
749
|
+
/**
|
|
750
|
+
* @generated from enum value: VIDEO_SOURCE_NATIVE = 0;
|
|
751
|
+
*/
|
|
752
|
+
VIDEO_SOURCE_NATIVE = 0,
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* Describes the enum livekit.proto.VideoSourceType.
|
|
757
|
+
*/
|
|
758
|
+
export const VideoSourceTypeSchema: GenEnum<VideoSourceType> = /*@__PURE__*/
|
|
759
|
+
enumDesc(file_video_frame, 4);
|
|
760
|
+
|