@livekit/rtc-node 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/Cargo.toml +21 -0
  2. package/build.rs +5 -0
  3. package/dist/audio_frame.d.ts +13 -0
  4. package/dist/audio_frame.js +36 -0
  5. package/dist/audio_frame.js.map +1 -0
  6. package/dist/audio_source.d.ts +13 -0
  7. package/dist/audio_source.js +42 -0
  8. package/dist/audio_source.js.map +1 -0
  9. package/dist/audio_stream.d.ts +23 -0
  10. package/dist/audio_stream.js +54 -0
  11. package/dist/audio_stream.js.map +1 -0
  12. package/dist/e2ee.d.ts +43 -0
  13. package/dist/e2ee.js +232 -0
  14. package/dist/e2ee.js.map +1 -0
  15. package/dist/ffi_client.d.ts +22 -0
  16. package/dist/ffi_client.js +57 -0
  17. package/dist/ffi_client.js.map +1 -0
  18. package/dist/index.d.ts +15 -0
  19. package/dist/index.js +71 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/native.d.ts +5 -0
  22. package/dist/native.js +297 -0
  23. package/dist/native.js.map +1 -0
  24. package/dist/participant.d.ts +29 -0
  25. package/dist/participant.js +120 -0
  26. package/dist/participant.js.map +1 -0
  27. package/dist/proto/audio_frame_pb.d.ts +555 -0
  28. package/dist/proto/audio_frame_pb.js +861 -0
  29. package/dist/proto/audio_frame_pb.js.map +1 -0
  30. package/dist/proto/e2ee_pb.d.ts +651 -0
  31. package/dist/proto/e2ee_pb.js +906 -0
  32. package/dist/proto/e2ee_pb.js.map +1 -0
  33. package/dist/proto/ffi_pb.d.ts +671 -0
  34. package/dist/proto/ffi_pb.js +459 -0
  35. package/dist/proto/ffi_pb.js.map +1 -0
  36. package/dist/proto/handle_pb.d.ts +29 -0
  37. package/dist/proto/handle_pb.js +59 -0
  38. package/dist/proto/handle_pb.js.map +1 -0
  39. package/dist/proto/participant_pb.d.ts +53 -0
  40. package/dist/proto/participant_pb.js +93 -0
  41. package/dist/proto/participant_pb.js.map +1 -0
  42. package/dist/proto/room_pb.d.ts +1479 -0
  43. package/dist/proto/room_pb.js +2172 -0
  44. package/dist/proto/room_pb.js.map +1 -0
  45. package/dist/proto/stats_pb.d.ts +1712 -0
  46. package/dist/proto/stats_pb.js +2238 -0
  47. package/dist/proto/stats_pb.js.map +1 -0
  48. package/dist/proto/track_pb.d.ts +352 -0
  49. package/dist/proto/track_pb.js +550 -0
  50. package/dist/proto/track_pb.js.map +1 -0
  51. package/dist/proto/video_frame_pb.d.ts +854 -0
  52. package/dist/proto/video_frame_pb.js +1214 -0
  53. package/dist/proto/video_frame_pb.js.map +1 -0
  54. package/dist/room.d.ts +94 -0
  55. package/dist/room.js +285 -0
  56. package/dist/room.js.map +1 -0
  57. package/dist/track.d.ts +34 -0
  58. package/dist/track.js +72 -0
  59. package/dist/track.js.map +1 -0
  60. package/dist/track_publication.d.ts +30 -0
  61. package/dist/track_publication.js +66 -0
  62. package/dist/track_publication.js.map +1 -0
  63. package/dist/video_frame.d.ts +110 -0
  64. package/dist/video_frame.js +364 -0
  65. package/dist/video_frame.js.map +1 -0
  66. package/dist/video_source.d.ts +13 -0
  67. package/dist/video_source.js +44 -0
  68. package/dist/video_source.js.map +1 -0
  69. package/dist/video_stream.d.ts +23 -0
  70. package/dist/video_stream.js +56 -0
  71. package/dist/video_stream.js.map +1 -0
  72. package/package.json +15 -11
  73. package/src/audio_frame.ts +45 -0
  74. package/src/audio_source.ts +64 -0
  75. package/src/audio_stream.ts +74 -0
  76. package/src/e2ee.ts +311 -0
  77. package/src/ffi_client.ts +68 -0
  78. package/src/index.ts +52 -0
  79. package/src/lib.rs +5 -0
  80. package/src/native.d.ts +14 -0
  81. package/src/native.js +269 -0
  82. package/src/nodejs.rs +115 -0
  83. package/src/participant.ts +171 -0
  84. package/src/proto/audio_frame_pb.ts +1121 -0
  85. package/src/proto/e2ee_pb.ts +1231 -0
  86. package/src/proto/ffi_pb.ts +969 -0
  87. package/src/proto/handle_pb.ts +69 -0
  88. package/src/proto/participant_pb.ts +121 -0
  89. package/src/proto/room_pb.ts +2843 -0
  90. package/src/proto/stats_pb.ts +2955 -0
  91. package/src/proto/track_pb.ts +683 -0
  92. package/src/proto/video_frame_pb.ts +1568 -0
  93. package/src/room.ts +370 -0
  94. package/src/track.ts +101 -0
  95. package/src/track_publication.ts +90 -0
  96. package/src/video_frame.ts +620 -0
  97. package/src/video_source.ts +61 -0
  98. package/src/video_stream.ts +76 -0
@@ -0,0 +1,854 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3 } from "@bufbuild/protobuf";
3
+ import { FfiOwnedHandle } from "./handle_pb.js";
4
+ /**
5
+ * @generated from enum livekit.proto.VideoCodec
6
+ */
7
+ export declare enum VideoCodec {
8
+ /**
9
+ * @generated from enum value: VP8 = 0;
10
+ */
11
+ VP8 = 0,
12
+ /**
13
+ * @generated from enum value: H264 = 1;
14
+ */
15
+ H264 = 1,
16
+ /**
17
+ * @generated from enum value: AV1 = 2;
18
+ */
19
+ AV1 = 2
20
+ }
21
+ /**
22
+ * @generated from enum livekit.proto.VideoRotation
23
+ */
24
+ export declare enum VideoRotation {
25
+ /**
26
+ * @generated from enum value: VIDEO_ROTATION_0 = 0;
27
+ */
28
+ VIDEO_ROTATION_0 = 0,
29
+ /**
30
+ * @generated from enum value: VIDEO_ROTATION_90 = 1;
31
+ */
32
+ VIDEO_ROTATION_90 = 1,
33
+ /**
34
+ * @generated from enum value: VIDEO_ROTATION_180 = 2;
35
+ */
36
+ VIDEO_ROTATION_180 = 2,
37
+ /**
38
+ * @generated from enum value: VIDEO_ROTATION_270 = 3;
39
+ */
40
+ VIDEO_ROTATION_270 = 3
41
+ }
42
+ /**
43
+ * @generated from enum livekit.proto.VideoFormatType
44
+ */
45
+ export declare enum VideoFormatType {
46
+ /**
47
+ * @generated from enum value: FORMAT_ARGB = 0;
48
+ */
49
+ FORMAT_ARGB = 0,
50
+ /**
51
+ * @generated from enum value: FORMAT_BGRA = 1;
52
+ */
53
+ FORMAT_BGRA = 1,
54
+ /**
55
+ * @generated from enum value: FORMAT_ABGR = 2;
56
+ */
57
+ FORMAT_ABGR = 2,
58
+ /**
59
+ * @generated from enum value: FORMAT_RGBA = 3;
60
+ */
61
+ FORMAT_RGBA = 3
62
+ }
63
+ /**
64
+ * @generated from enum livekit.proto.VideoFrameBufferType
65
+ */
66
+ export declare enum VideoFrameBufferType {
67
+ /**
68
+ * @generated from enum value: NATIVE = 0;
69
+ */
70
+ NATIVE = 0,
71
+ /**
72
+ * @generated from enum value: I420 = 1;
73
+ */
74
+ I420 = 1,
75
+ /**
76
+ * @generated from enum value: I420A = 2;
77
+ */
78
+ I420A = 2,
79
+ /**
80
+ * @generated from enum value: I422 = 3;
81
+ */
82
+ I422 = 3,
83
+ /**
84
+ * @generated from enum value: I444 = 4;
85
+ */
86
+ I444 = 4,
87
+ /**
88
+ * @generated from enum value: I010 = 5;
89
+ */
90
+ I010 = 5,
91
+ /**
92
+ * @generated from enum value: NV12 = 6;
93
+ */
94
+ NV12 = 6
95
+ }
96
+ /**
97
+ * @generated from enum livekit.proto.VideoStreamType
98
+ */
99
+ export declare enum VideoStreamType {
100
+ /**
101
+ * @generated from enum value: VIDEO_STREAM_NATIVE = 0;
102
+ */
103
+ VIDEO_STREAM_NATIVE = 0,
104
+ /**
105
+ * @generated from enum value: VIDEO_STREAM_WEBGL = 1;
106
+ */
107
+ VIDEO_STREAM_WEBGL = 1,
108
+ /**
109
+ * @generated from enum value: VIDEO_STREAM_HTML = 2;
110
+ */
111
+ VIDEO_STREAM_HTML = 2
112
+ }
113
+ /**
114
+ * @generated from enum livekit.proto.VideoSourceType
115
+ */
116
+ export declare enum VideoSourceType {
117
+ /**
118
+ * @generated from enum value: VIDEO_SOURCE_NATIVE = 0;
119
+ */
120
+ VIDEO_SOURCE_NATIVE = 0
121
+ }
122
+ /**
123
+ * Allocate a new VideoFrameBuffer
124
+ *
125
+ * @generated from message livekit.proto.AllocVideoBufferRequest
126
+ */
127
+ export declare class AllocVideoBufferRequest extends Message<AllocVideoBufferRequest> {
128
+ /**
129
+ * Only I420 is supported atm
130
+ *
131
+ * @generated from field: livekit.proto.VideoFrameBufferType type = 1;
132
+ */
133
+ type: VideoFrameBufferType;
134
+ /**
135
+ * @generated from field: uint32 width = 2;
136
+ */
137
+ width: number;
138
+ /**
139
+ * @generated from field: uint32 height = 3;
140
+ */
141
+ height: number;
142
+ constructor(data?: PartialMessage<AllocVideoBufferRequest>);
143
+ static readonly runtime: typeof proto3;
144
+ static readonly typeName = "livekit.proto.AllocVideoBufferRequest";
145
+ static readonly fields: FieldList;
146
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AllocVideoBufferRequest;
147
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AllocVideoBufferRequest;
148
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AllocVideoBufferRequest;
149
+ static equals(a: AllocVideoBufferRequest | PlainMessage<AllocVideoBufferRequest> | undefined, b: AllocVideoBufferRequest | PlainMessage<AllocVideoBufferRequest> | undefined): boolean;
150
+ }
151
+ /**
152
+ * @generated from message livekit.proto.AllocVideoBufferResponse
153
+ */
154
+ export declare class AllocVideoBufferResponse extends Message<AllocVideoBufferResponse> {
155
+ /**
156
+ * @generated from field: livekit.proto.OwnedVideoFrameBuffer buffer = 1;
157
+ */
158
+ buffer?: OwnedVideoFrameBuffer;
159
+ constructor(data?: PartialMessage<AllocVideoBufferResponse>);
160
+ static readonly runtime: typeof proto3;
161
+ static readonly typeName = "livekit.proto.AllocVideoBufferResponse";
162
+ static readonly fields: FieldList;
163
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AllocVideoBufferResponse;
164
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AllocVideoBufferResponse;
165
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AllocVideoBufferResponse;
166
+ static equals(a: AllocVideoBufferResponse | PlainMessage<AllocVideoBufferResponse> | undefined, b: AllocVideoBufferResponse | PlainMessage<AllocVideoBufferResponse> | undefined): boolean;
167
+ }
168
+ /**
169
+ * Create a new VideoStream
170
+ * VideoStream is used to receive video frames from a track
171
+ *
172
+ * @generated from message livekit.proto.NewVideoStreamRequest
173
+ */
174
+ export declare class NewVideoStreamRequest extends Message<NewVideoStreamRequest> {
175
+ /**
176
+ * @generated from field: uint64 track_handle = 1;
177
+ */
178
+ trackHandle: bigint;
179
+ /**
180
+ * @generated from field: livekit.proto.VideoStreamType type = 2;
181
+ */
182
+ type: VideoStreamType;
183
+ constructor(data?: PartialMessage<NewVideoStreamRequest>);
184
+ static readonly runtime: typeof proto3;
185
+ static readonly typeName = "livekit.proto.NewVideoStreamRequest";
186
+ static readonly fields: FieldList;
187
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewVideoStreamRequest;
188
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewVideoStreamRequest;
189
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewVideoStreamRequest;
190
+ static equals(a: NewVideoStreamRequest | PlainMessage<NewVideoStreamRequest> | undefined, b: NewVideoStreamRequest | PlainMessage<NewVideoStreamRequest> | undefined): boolean;
191
+ }
192
+ /**
193
+ * @generated from message livekit.proto.NewVideoStreamResponse
194
+ */
195
+ export declare class NewVideoStreamResponse extends Message<NewVideoStreamResponse> {
196
+ /**
197
+ * @generated from field: livekit.proto.OwnedVideoStream stream = 1;
198
+ */
199
+ stream?: OwnedVideoStream;
200
+ constructor(data?: PartialMessage<NewVideoStreamResponse>);
201
+ static readonly runtime: typeof proto3;
202
+ static readonly typeName = "livekit.proto.NewVideoStreamResponse";
203
+ static readonly fields: FieldList;
204
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewVideoStreamResponse;
205
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewVideoStreamResponse;
206
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewVideoStreamResponse;
207
+ static equals(a: NewVideoStreamResponse | PlainMessage<NewVideoStreamResponse> | undefined, b: NewVideoStreamResponse | PlainMessage<NewVideoStreamResponse> | undefined): boolean;
208
+ }
209
+ /**
210
+ * Create a new VideoSource
211
+ * VideoSource is used to send video frame to a track
212
+ *
213
+ * @generated from message livekit.proto.NewVideoSourceRequest
214
+ */
215
+ export declare class NewVideoSourceRequest extends Message<NewVideoSourceRequest> {
216
+ /**
217
+ * @generated from field: livekit.proto.VideoSourceType type = 1;
218
+ */
219
+ type: VideoSourceType;
220
+ /**
221
+ * Used to determine which encodings to use + simulcast layers
222
+ * Most of the time it corresponds to the source resolution
223
+ *
224
+ * @generated from field: livekit.proto.VideoSourceResolution resolution = 2;
225
+ */
226
+ resolution?: VideoSourceResolution;
227
+ constructor(data?: PartialMessage<NewVideoSourceRequest>);
228
+ static readonly runtime: typeof proto3;
229
+ static readonly typeName = "livekit.proto.NewVideoSourceRequest";
230
+ static readonly fields: FieldList;
231
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewVideoSourceRequest;
232
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewVideoSourceRequest;
233
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewVideoSourceRequest;
234
+ static equals(a: NewVideoSourceRequest | PlainMessage<NewVideoSourceRequest> | undefined, b: NewVideoSourceRequest | PlainMessage<NewVideoSourceRequest> | undefined): boolean;
235
+ }
236
+ /**
237
+ * @generated from message livekit.proto.NewVideoSourceResponse
238
+ */
239
+ export declare class NewVideoSourceResponse extends Message<NewVideoSourceResponse> {
240
+ /**
241
+ * @generated from field: livekit.proto.OwnedVideoSource source = 1;
242
+ */
243
+ source?: OwnedVideoSource;
244
+ constructor(data?: PartialMessage<NewVideoSourceResponse>);
245
+ static readonly runtime: typeof proto3;
246
+ static readonly typeName = "livekit.proto.NewVideoSourceResponse";
247
+ static readonly fields: FieldList;
248
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewVideoSourceResponse;
249
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewVideoSourceResponse;
250
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewVideoSourceResponse;
251
+ static equals(a: NewVideoSourceResponse | PlainMessage<NewVideoSourceResponse> | undefined, b: NewVideoSourceResponse | PlainMessage<NewVideoSourceResponse> | undefined): boolean;
252
+ }
253
+ /**
254
+ * Push a frame to a VideoSource
255
+ *
256
+ * @generated from message livekit.proto.CaptureVideoFrameRequest
257
+ */
258
+ export declare class CaptureVideoFrameRequest extends Message<CaptureVideoFrameRequest> {
259
+ /**
260
+ * @generated from field: uint64 source_handle = 1;
261
+ */
262
+ sourceHandle: bigint;
263
+ /**
264
+ * @generated from field: livekit.proto.VideoFrameInfo frame = 2;
265
+ */
266
+ frame?: VideoFrameInfo;
267
+ /**
268
+ * @generated from oneof livekit.proto.CaptureVideoFrameRequest.from
269
+ */
270
+ from: {
271
+ /**
272
+ * @generated from field: livekit.proto.VideoFrameBufferInfo info = 3;
273
+ */
274
+ value: VideoFrameBufferInfo;
275
+ case: "info";
276
+ } | {
277
+ /**
278
+ * @generated from field: uint64 handle = 4;
279
+ */
280
+ value: bigint;
281
+ case: "handle";
282
+ } | {
283
+ case: undefined;
284
+ value?: undefined;
285
+ };
286
+ constructor(data?: PartialMessage<CaptureVideoFrameRequest>);
287
+ static readonly runtime: typeof proto3;
288
+ static readonly typeName = "livekit.proto.CaptureVideoFrameRequest";
289
+ static readonly fields: FieldList;
290
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CaptureVideoFrameRequest;
291
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CaptureVideoFrameRequest;
292
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CaptureVideoFrameRequest;
293
+ static equals(a: CaptureVideoFrameRequest | PlainMessage<CaptureVideoFrameRequest> | undefined, b: CaptureVideoFrameRequest | PlainMessage<CaptureVideoFrameRequest> | undefined): boolean;
294
+ }
295
+ /**
296
+ * @generated from message livekit.proto.CaptureVideoFrameResponse
297
+ */
298
+ export declare class CaptureVideoFrameResponse extends Message<CaptureVideoFrameResponse> {
299
+ constructor(data?: PartialMessage<CaptureVideoFrameResponse>);
300
+ static readonly runtime: typeof proto3;
301
+ static readonly typeName = "livekit.proto.CaptureVideoFrameResponse";
302
+ static readonly fields: FieldList;
303
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CaptureVideoFrameResponse;
304
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CaptureVideoFrameResponse;
305
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CaptureVideoFrameResponse;
306
+ static equals(a: CaptureVideoFrameResponse | PlainMessage<CaptureVideoFrameResponse> | undefined, b: CaptureVideoFrameResponse | PlainMessage<CaptureVideoFrameResponse> | undefined): boolean;
307
+ }
308
+ /**
309
+ * Convert a RGBA frame to a I420 YUV frame
310
+ * Or convert another YUV frame format to I420
311
+ *
312
+ * @generated from message livekit.proto.ToI420Request
313
+ */
314
+ export declare class ToI420Request extends Message<ToI420Request> {
315
+ /**
316
+ * @generated from field: bool flip_y = 1;
317
+ */
318
+ flipY: boolean;
319
+ /**
320
+ * @generated from oneof livekit.proto.ToI420Request.from
321
+ */
322
+ from: {
323
+ /**
324
+ * @generated from field: livekit.proto.ArgbBufferInfo argb = 2;
325
+ */
326
+ value: ArgbBufferInfo;
327
+ case: "argb";
328
+ } | {
329
+ /**
330
+ * @generated from field: livekit.proto.VideoFrameBufferInfo buffer = 3;
331
+ */
332
+ value: VideoFrameBufferInfo;
333
+ case: "buffer";
334
+ } | {
335
+ /**
336
+ * @generated from field: uint64 handle = 4;
337
+ */
338
+ value: bigint;
339
+ case: "handle";
340
+ } | {
341
+ case: undefined;
342
+ value?: undefined;
343
+ };
344
+ constructor(data?: PartialMessage<ToI420Request>);
345
+ static readonly runtime: typeof proto3;
346
+ static readonly typeName = "livekit.proto.ToI420Request";
347
+ static readonly fields: FieldList;
348
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToI420Request;
349
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToI420Request;
350
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToI420Request;
351
+ static equals(a: ToI420Request | PlainMessage<ToI420Request> | undefined, b: ToI420Request | PlainMessage<ToI420Request> | undefined): boolean;
352
+ }
353
+ /**
354
+ * @generated from message livekit.proto.ToI420Response
355
+ */
356
+ export declare class ToI420Response extends Message<ToI420Response> {
357
+ /**
358
+ * @generated from field: livekit.proto.OwnedVideoFrameBuffer buffer = 1;
359
+ */
360
+ buffer?: OwnedVideoFrameBuffer;
361
+ constructor(data?: PartialMessage<ToI420Response>);
362
+ static readonly runtime: typeof proto3;
363
+ static readonly typeName = "livekit.proto.ToI420Response";
364
+ static readonly fields: FieldList;
365
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToI420Response;
366
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToI420Response;
367
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToI420Response;
368
+ static equals(a: ToI420Response | PlainMessage<ToI420Response> | undefined, b: ToI420Response | PlainMessage<ToI420Response> | undefined): boolean;
369
+ }
370
+ /**
371
+ * Convert a YUV frame to a RGBA frame
372
+ * Only I420 is supported atm
373
+ *
374
+ * @generated from message livekit.proto.ToArgbRequest
375
+ */
376
+ export declare class ToArgbRequest extends Message<ToArgbRequest> {
377
+ /**
378
+ * @generated from field: livekit.proto.VideoFrameBufferInfo buffer = 1;
379
+ */
380
+ buffer?: VideoFrameBufferInfo;
381
+ /**
382
+ * @generated from field: uint64 dst_ptr = 2;
383
+ */
384
+ dstPtr: bigint;
385
+ /**
386
+ * @generated from field: livekit.proto.VideoFormatType dst_format = 3;
387
+ */
388
+ dstFormat: VideoFormatType;
389
+ /**
390
+ * @generated from field: uint32 dst_stride = 4;
391
+ */
392
+ dstStride: number;
393
+ /**
394
+ * @generated from field: uint32 dst_width = 5;
395
+ */
396
+ dstWidth: number;
397
+ /**
398
+ * @generated from field: uint32 dst_height = 6;
399
+ */
400
+ dstHeight: number;
401
+ /**
402
+ * @generated from field: bool flip_y = 7;
403
+ */
404
+ flipY: boolean;
405
+ constructor(data?: PartialMessage<ToArgbRequest>);
406
+ static readonly runtime: typeof proto3;
407
+ static readonly typeName = "livekit.proto.ToArgbRequest";
408
+ static readonly fields: FieldList;
409
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToArgbRequest;
410
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToArgbRequest;
411
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToArgbRequest;
412
+ static equals(a: ToArgbRequest | PlainMessage<ToArgbRequest> | undefined, b: ToArgbRequest | PlainMessage<ToArgbRequest> | undefined): boolean;
413
+ }
414
+ /**
415
+ * @generated from message livekit.proto.ToArgbResponse
416
+ */
417
+ export declare class ToArgbResponse extends Message<ToArgbResponse> {
418
+ constructor(data?: PartialMessage<ToArgbResponse>);
419
+ static readonly runtime: typeof proto3;
420
+ static readonly typeName = "livekit.proto.ToArgbResponse";
421
+ static readonly fields: FieldList;
422
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToArgbResponse;
423
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToArgbResponse;
424
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToArgbResponse;
425
+ static equals(a: ToArgbResponse | PlainMessage<ToArgbResponse> | undefined, b: ToArgbResponse | PlainMessage<ToArgbResponse> | undefined): boolean;
426
+ }
427
+ /**
428
+ * @generated from message livekit.proto.VideoResolution
429
+ */
430
+ export declare class VideoResolution extends Message<VideoResolution> {
431
+ /**
432
+ * @generated from field: uint32 width = 1;
433
+ */
434
+ width: number;
435
+ /**
436
+ * @generated from field: uint32 height = 2;
437
+ */
438
+ height: number;
439
+ /**
440
+ * @generated from field: double frame_rate = 3;
441
+ */
442
+ frameRate: number;
443
+ constructor(data?: PartialMessage<VideoResolution>);
444
+ static readonly runtime: typeof proto3;
445
+ static readonly typeName = "livekit.proto.VideoResolution";
446
+ static readonly fields: FieldList;
447
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoResolution;
448
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoResolution;
449
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoResolution;
450
+ static equals(a: VideoResolution | PlainMessage<VideoResolution> | undefined, b: VideoResolution | PlainMessage<VideoResolution> | undefined): boolean;
451
+ }
452
+ /**
453
+ * @generated from message livekit.proto.ArgbBufferInfo
454
+ */
455
+ export declare class ArgbBufferInfo extends Message<ArgbBufferInfo> {
456
+ /**
457
+ * @generated from field: uint64 ptr = 1;
458
+ */
459
+ ptr: bigint;
460
+ /**
461
+ * @generated from field: livekit.proto.VideoFormatType format = 2;
462
+ */
463
+ format: VideoFormatType;
464
+ /**
465
+ * @generated from field: uint32 stride = 3;
466
+ */
467
+ stride: number;
468
+ /**
469
+ * @generated from field: uint32 width = 4;
470
+ */
471
+ width: number;
472
+ /**
473
+ * @generated from field: uint32 height = 5;
474
+ */
475
+ height: number;
476
+ constructor(data?: PartialMessage<ArgbBufferInfo>);
477
+ static readonly runtime: typeof proto3;
478
+ static readonly typeName = "livekit.proto.ArgbBufferInfo";
479
+ static readonly fields: FieldList;
480
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ArgbBufferInfo;
481
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ArgbBufferInfo;
482
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ArgbBufferInfo;
483
+ static equals(a: ArgbBufferInfo | PlainMessage<ArgbBufferInfo> | undefined, b: ArgbBufferInfo | PlainMessage<ArgbBufferInfo> | undefined): boolean;
484
+ }
485
+ /**
486
+ * @generated from message livekit.proto.VideoFrameInfo
487
+ */
488
+ export declare class VideoFrameInfo extends Message<VideoFrameInfo> {
489
+ /**
490
+ * In microseconds
491
+ *
492
+ * @generated from field: int64 timestamp_us = 1;
493
+ */
494
+ timestampUs: bigint;
495
+ /**
496
+ * @generated from field: livekit.proto.VideoRotation rotation = 2;
497
+ */
498
+ rotation: VideoRotation;
499
+ constructor(data?: PartialMessage<VideoFrameInfo>);
500
+ static readonly runtime: typeof proto3;
501
+ static readonly typeName = "livekit.proto.VideoFrameInfo";
502
+ static readonly fields: FieldList;
503
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoFrameInfo;
504
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoFrameInfo;
505
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoFrameInfo;
506
+ static equals(a: VideoFrameInfo | PlainMessage<VideoFrameInfo> | undefined, b: VideoFrameInfo | PlainMessage<VideoFrameInfo> | undefined): boolean;
507
+ }
508
+ /**
509
+ * @generated from message livekit.proto.VideoFrameBufferInfo
510
+ */
511
+ export declare class VideoFrameBufferInfo extends Message<VideoFrameBufferInfo> {
512
+ /**
513
+ * @generated from field: livekit.proto.VideoFrameBufferType buffer_type = 1;
514
+ */
515
+ bufferType: VideoFrameBufferType;
516
+ /**
517
+ * @generated from field: uint32 width = 2;
518
+ */
519
+ width: number;
520
+ /**
521
+ * @generated from field: uint32 height = 3;
522
+ */
523
+ height: number;
524
+ /**
525
+ * @generated from oneof livekit.proto.VideoFrameBufferInfo.buffer
526
+ */
527
+ buffer: {
528
+ /**
529
+ * @generated from field: livekit.proto.PlanarYuvBufferInfo yuv = 4;
530
+ */
531
+ value: PlanarYuvBufferInfo;
532
+ case: "yuv";
533
+ } | {
534
+ /**
535
+ * @generated from field: livekit.proto.BiplanarYuvBufferInfo bi_yuv = 5;
536
+ */
537
+ value: BiplanarYuvBufferInfo;
538
+ case: "biYuv";
539
+ } | {
540
+ /**
541
+ * @generated from field: livekit.proto.NativeBufferInfo native = 6;
542
+ */
543
+ value: NativeBufferInfo;
544
+ case: "native";
545
+ } | {
546
+ case: undefined;
547
+ value?: undefined;
548
+ };
549
+ constructor(data?: PartialMessage<VideoFrameBufferInfo>);
550
+ static readonly runtime: typeof proto3;
551
+ static readonly typeName = "livekit.proto.VideoFrameBufferInfo";
552
+ static readonly fields: FieldList;
553
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoFrameBufferInfo;
554
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoFrameBufferInfo;
555
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoFrameBufferInfo;
556
+ static equals(a: VideoFrameBufferInfo | PlainMessage<VideoFrameBufferInfo> | undefined, b: VideoFrameBufferInfo | PlainMessage<VideoFrameBufferInfo> | undefined): boolean;
557
+ }
558
+ /**
559
+ * @generated from message livekit.proto.OwnedVideoFrameBuffer
560
+ */
561
+ export declare class OwnedVideoFrameBuffer extends Message<OwnedVideoFrameBuffer> {
562
+ /**
563
+ * @generated from field: livekit.proto.FfiOwnedHandle handle = 1;
564
+ */
565
+ handle?: FfiOwnedHandle;
566
+ /**
567
+ * @generated from field: livekit.proto.VideoFrameBufferInfo info = 2;
568
+ */
569
+ info?: VideoFrameBufferInfo;
570
+ constructor(data?: PartialMessage<OwnedVideoFrameBuffer>);
571
+ static readonly runtime: typeof proto3;
572
+ static readonly typeName = "livekit.proto.OwnedVideoFrameBuffer";
573
+ static readonly fields: FieldList;
574
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedVideoFrameBuffer;
575
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedVideoFrameBuffer;
576
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedVideoFrameBuffer;
577
+ static equals(a: OwnedVideoFrameBuffer | PlainMessage<OwnedVideoFrameBuffer> | undefined, b: OwnedVideoFrameBuffer | PlainMessage<OwnedVideoFrameBuffer> | undefined): boolean;
578
+ }
579
+ /**
580
+ * @generated from message livekit.proto.PlanarYuvBufferInfo
581
+ */
582
+ export declare class PlanarYuvBufferInfo extends Message<PlanarYuvBufferInfo> {
583
+ /**
584
+ * @generated from field: uint32 chroma_width = 1;
585
+ */
586
+ chromaWidth: number;
587
+ /**
588
+ * @generated from field: uint32 chroma_height = 2;
589
+ */
590
+ chromaHeight: number;
591
+ /**
592
+ * @generated from field: uint32 stride_y = 3;
593
+ */
594
+ strideY: number;
595
+ /**
596
+ * @generated from field: uint32 stride_u = 4;
597
+ */
598
+ strideU: number;
599
+ /**
600
+ * @generated from field: uint32 stride_v = 5;
601
+ */
602
+ strideV: number;
603
+ /**
604
+ * @generated from field: uint32 stride_a = 6;
605
+ */
606
+ strideA: number;
607
+ /**
608
+ * *const u8 or *const u16
609
+ *
610
+ * @generated from field: uint64 data_y_ptr = 7;
611
+ */
612
+ dataYPtr: bigint;
613
+ /**
614
+ * @generated from field: uint64 data_u_ptr = 8;
615
+ */
616
+ dataUPtr: bigint;
617
+ /**
618
+ * @generated from field: uint64 data_v_ptr = 9;
619
+ */
620
+ dataVPtr: bigint;
621
+ /**
622
+ * nullptr = no alpha
623
+ *
624
+ * @generated from field: uint64 data_a_ptr = 10;
625
+ */
626
+ dataAPtr: bigint;
627
+ constructor(data?: PartialMessage<PlanarYuvBufferInfo>);
628
+ static readonly runtime: typeof proto3;
629
+ static readonly typeName = "livekit.proto.PlanarYuvBufferInfo";
630
+ static readonly fields: FieldList;
631
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlanarYuvBufferInfo;
632
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlanarYuvBufferInfo;
633
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlanarYuvBufferInfo;
634
+ static equals(a: PlanarYuvBufferInfo | PlainMessage<PlanarYuvBufferInfo> | undefined, b: PlanarYuvBufferInfo | PlainMessage<PlanarYuvBufferInfo> | undefined): boolean;
635
+ }
636
+ /**
637
+ * @generated from message livekit.proto.BiplanarYuvBufferInfo
638
+ */
639
+ export declare class BiplanarYuvBufferInfo extends Message<BiplanarYuvBufferInfo> {
640
+ /**
641
+ * @generated from field: uint32 chroma_width = 1;
642
+ */
643
+ chromaWidth: number;
644
+ /**
645
+ * @generated from field: uint32 chroma_height = 2;
646
+ */
647
+ chromaHeight: number;
648
+ /**
649
+ * @generated from field: uint32 stride_y = 3;
650
+ */
651
+ strideY: number;
652
+ /**
653
+ * @generated from field: uint32 stride_uv = 4;
654
+ */
655
+ strideUv: number;
656
+ /**
657
+ * @generated from field: uint64 data_y_ptr = 5;
658
+ */
659
+ dataYPtr: bigint;
660
+ /**
661
+ * @generated from field: uint64 data_uv_ptr = 6;
662
+ */
663
+ dataUvPtr: bigint;
664
+ constructor(data?: PartialMessage<BiplanarYuvBufferInfo>);
665
+ static readonly runtime: typeof proto3;
666
+ static readonly typeName = "livekit.proto.BiplanarYuvBufferInfo";
667
+ static readonly fields: FieldList;
668
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BiplanarYuvBufferInfo;
669
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BiplanarYuvBufferInfo;
670
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BiplanarYuvBufferInfo;
671
+ static equals(a: BiplanarYuvBufferInfo | PlainMessage<BiplanarYuvBufferInfo> | undefined, b: BiplanarYuvBufferInfo | PlainMessage<BiplanarYuvBufferInfo> | undefined): boolean;
672
+ }
673
+ /**
674
+ * TODO(theomonnom): Expose graphic context?
675
+ *
676
+ * @generated from message livekit.proto.NativeBufferInfo
677
+ */
678
+ export declare class NativeBufferInfo extends Message<NativeBufferInfo> {
679
+ constructor(data?: PartialMessage<NativeBufferInfo>);
680
+ static readonly runtime: typeof proto3;
681
+ static readonly typeName = "livekit.proto.NativeBufferInfo";
682
+ static readonly fields: FieldList;
683
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NativeBufferInfo;
684
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NativeBufferInfo;
685
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NativeBufferInfo;
686
+ static equals(a: NativeBufferInfo | PlainMessage<NativeBufferInfo> | undefined, b: NativeBufferInfo | PlainMessage<NativeBufferInfo> | undefined): boolean;
687
+ }
688
+ /**
689
+ * @generated from message livekit.proto.VideoStreamInfo
690
+ */
691
+ export declare class VideoStreamInfo extends Message<VideoStreamInfo> {
692
+ /**
693
+ * @generated from field: livekit.proto.VideoStreamType type = 1;
694
+ */
695
+ type: VideoStreamType;
696
+ constructor(data?: PartialMessage<VideoStreamInfo>);
697
+ static readonly runtime: typeof proto3;
698
+ static readonly typeName = "livekit.proto.VideoStreamInfo";
699
+ static readonly fields: FieldList;
700
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoStreamInfo;
701
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoStreamInfo;
702
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoStreamInfo;
703
+ static equals(a: VideoStreamInfo | PlainMessage<VideoStreamInfo> | undefined, b: VideoStreamInfo | PlainMessage<VideoStreamInfo> | undefined): boolean;
704
+ }
705
+ /**
706
+ * @generated from message livekit.proto.OwnedVideoStream
707
+ */
708
+ export declare class OwnedVideoStream extends Message<OwnedVideoStream> {
709
+ /**
710
+ * @generated from field: livekit.proto.FfiOwnedHandle handle = 1;
711
+ */
712
+ handle?: FfiOwnedHandle;
713
+ /**
714
+ * @generated from field: livekit.proto.VideoStreamInfo info = 2;
715
+ */
716
+ info?: VideoStreamInfo;
717
+ constructor(data?: PartialMessage<OwnedVideoStream>);
718
+ static readonly runtime: typeof proto3;
719
+ static readonly typeName = "livekit.proto.OwnedVideoStream";
720
+ static readonly fields: FieldList;
721
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedVideoStream;
722
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedVideoStream;
723
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedVideoStream;
724
+ static equals(a: OwnedVideoStream | PlainMessage<OwnedVideoStream> | undefined, b: OwnedVideoStream | PlainMessage<OwnedVideoStream> | undefined): boolean;
725
+ }
726
+ /**
727
+ * @generated from message livekit.proto.VideoStreamEvent
728
+ */
729
+ export declare class VideoStreamEvent extends Message<VideoStreamEvent> {
730
+ /**
731
+ * @generated from field: uint64 stream_handle = 1;
732
+ */
733
+ streamHandle: bigint;
734
+ /**
735
+ * @generated from oneof livekit.proto.VideoStreamEvent.message
736
+ */
737
+ message: {
738
+ /**
739
+ * @generated from field: livekit.proto.VideoFrameReceived frame_received = 2;
740
+ */
741
+ value: VideoFrameReceived;
742
+ case: "frameReceived";
743
+ } | {
744
+ /**
745
+ * @generated from field: livekit.proto.VideoStreamEOS eos = 3;
746
+ */
747
+ value: VideoStreamEOS;
748
+ case: "eos";
749
+ } | {
750
+ case: undefined;
751
+ value?: undefined;
752
+ };
753
+ constructor(data?: PartialMessage<VideoStreamEvent>);
754
+ static readonly runtime: typeof proto3;
755
+ static readonly typeName = "livekit.proto.VideoStreamEvent";
756
+ static readonly fields: FieldList;
757
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoStreamEvent;
758
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoStreamEvent;
759
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoStreamEvent;
760
+ static equals(a: VideoStreamEvent | PlainMessage<VideoStreamEvent> | undefined, b: VideoStreamEvent | PlainMessage<VideoStreamEvent> | undefined): boolean;
761
+ }
762
+ /**
763
+ * @generated from message livekit.proto.VideoFrameReceived
764
+ */
765
+ export declare class VideoFrameReceived extends Message<VideoFrameReceived> {
766
+ /**
767
+ * @generated from field: livekit.proto.VideoFrameInfo frame = 1;
768
+ */
769
+ frame?: VideoFrameInfo;
770
+ /**
771
+ * @generated from field: livekit.proto.OwnedVideoFrameBuffer buffer = 2;
772
+ */
773
+ buffer?: OwnedVideoFrameBuffer;
774
+ constructor(data?: PartialMessage<VideoFrameReceived>);
775
+ static readonly runtime: typeof proto3;
776
+ static readonly typeName = "livekit.proto.VideoFrameReceived";
777
+ static readonly fields: FieldList;
778
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoFrameReceived;
779
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoFrameReceived;
780
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoFrameReceived;
781
+ static equals(a: VideoFrameReceived | PlainMessage<VideoFrameReceived> | undefined, b: VideoFrameReceived | PlainMessage<VideoFrameReceived> | undefined): boolean;
782
+ }
783
+ /**
784
+ * @generated from message livekit.proto.VideoStreamEOS
785
+ */
786
+ export declare class VideoStreamEOS extends Message<VideoStreamEOS> {
787
+ constructor(data?: PartialMessage<VideoStreamEOS>);
788
+ static readonly runtime: typeof proto3;
789
+ static readonly typeName = "livekit.proto.VideoStreamEOS";
790
+ static readonly fields: FieldList;
791
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoStreamEOS;
792
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoStreamEOS;
793
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoStreamEOS;
794
+ static equals(a: VideoStreamEOS | PlainMessage<VideoStreamEOS> | undefined, b: VideoStreamEOS | PlainMessage<VideoStreamEOS> | undefined): boolean;
795
+ }
796
+ /**
797
+ * @generated from message livekit.proto.VideoSourceResolution
798
+ */
799
+ export declare class VideoSourceResolution extends Message<VideoSourceResolution> {
800
+ /**
801
+ * @generated from field: uint32 width = 1;
802
+ */
803
+ width: number;
804
+ /**
805
+ * @generated from field: uint32 height = 2;
806
+ */
807
+ height: number;
808
+ constructor(data?: PartialMessage<VideoSourceResolution>);
809
+ static readonly runtime: typeof proto3;
810
+ static readonly typeName = "livekit.proto.VideoSourceResolution";
811
+ static readonly fields: FieldList;
812
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoSourceResolution;
813
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoSourceResolution;
814
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoSourceResolution;
815
+ static equals(a: VideoSourceResolution | PlainMessage<VideoSourceResolution> | undefined, b: VideoSourceResolution | PlainMessage<VideoSourceResolution> | undefined): boolean;
816
+ }
817
+ /**
818
+ * @generated from message livekit.proto.VideoSourceInfo
819
+ */
820
+ export declare class VideoSourceInfo extends Message<VideoSourceInfo> {
821
+ /**
822
+ * @generated from field: livekit.proto.VideoSourceType type = 1;
823
+ */
824
+ type: VideoSourceType;
825
+ constructor(data?: PartialMessage<VideoSourceInfo>);
826
+ static readonly runtime: typeof proto3;
827
+ static readonly typeName = "livekit.proto.VideoSourceInfo";
828
+ static readonly fields: FieldList;
829
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoSourceInfo;
830
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoSourceInfo;
831
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoSourceInfo;
832
+ static equals(a: VideoSourceInfo | PlainMessage<VideoSourceInfo> | undefined, b: VideoSourceInfo | PlainMessage<VideoSourceInfo> | undefined): boolean;
833
+ }
834
+ /**
835
+ * @generated from message livekit.proto.OwnedVideoSource
836
+ */
837
+ export declare class OwnedVideoSource extends Message<OwnedVideoSource> {
838
+ /**
839
+ * @generated from field: livekit.proto.FfiOwnedHandle handle = 1;
840
+ */
841
+ handle?: FfiOwnedHandle;
842
+ /**
843
+ * @generated from field: livekit.proto.VideoSourceInfo info = 2;
844
+ */
845
+ info?: VideoSourceInfo;
846
+ constructor(data?: PartialMessage<OwnedVideoSource>);
847
+ static readonly runtime: typeof proto3;
848
+ static readonly typeName = "livekit.proto.OwnedVideoSource";
849
+ static readonly fields: FieldList;
850
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedVideoSource;
851
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedVideoSource;
852
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedVideoSource;
853
+ static equals(a: OwnedVideoSource | PlainMessage<OwnedVideoSource> | undefined, b: OwnedVideoSource | PlainMessage<OwnedVideoSource> | undefined): boolean;
854
+ }