@livekit/rtc-node 0.13.24 → 0.13.26

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