@livekit/rtc-node 0.13.24 → 0.13.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (281) 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 +1 -1
  13. package/dist/audio_mixer.cjs.map +1 -1
  14. package/dist/audio_mixer.d.cts +1 -6
  15. package/dist/audio_mixer.d.ts +1 -6
  16. package/dist/audio_mixer.js +1 -1
  17. package/dist/audio_mixer.js.map +1 -1
  18. package/dist/audio_resampler.cjs +20 -12
  19. package/dist/audio_resampler.cjs.map +1 -1
  20. package/dist/audio_resampler.d.cts +6 -6
  21. package/dist/audio_resampler.d.ts +6 -6
  22. package/dist/audio_resampler.d.ts.map +1 -1
  23. package/dist/audio_resampler.js +12 -4
  24. package/dist/audio_resampler.js.map +1 -1
  25. package/dist/audio_source.cjs +11 -7
  26. package/dist/audio_source.cjs.map +1 -1
  27. package/dist/audio_source.d.cts +1 -7
  28. package/dist/audio_source.d.ts +1 -7
  29. package/dist/audio_source.d.ts.map +1 -1
  30. package/dist/audio_source.js +8 -3
  31. package/dist/audio_source.js.map +1 -1
  32. package/dist/audio_stream.cjs +16 -6
  33. package/dist/audio_stream.cjs.map +1 -1
  34. package/dist/audio_stream.d.cts +1 -14
  35. package/dist/audio_stream.d.ts +1 -14
  36. package/dist/audio_stream.d.ts.map +1 -1
  37. package/dist/audio_stream.js +15 -5
  38. package/dist/audio_stream.js.map +1 -1
  39. package/dist/data_streams/index.d.cts +2 -10
  40. package/dist/data_streams/index.d.ts +2 -10
  41. package/dist/data_streams/stream_reader.cjs +8 -0
  42. package/dist/data_streams/stream_reader.cjs.map +1 -1
  43. package/dist/data_streams/stream_reader.d.cts +2 -10
  44. package/dist/data_streams/stream_reader.d.ts +2 -10
  45. package/dist/data_streams/stream_reader.d.ts.map +1 -1
  46. package/dist/data_streams/stream_reader.js +8 -0
  47. package/dist/data_streams/stream_reader.js.map +1 -1
  48. package/dist/data_streams/stream_writer.d.cts +2 -10
  49. package/dist/data_streams/stream_writer.d.ts +2 -10
  50. package/dist/data_streams/types.cjs.map +1 -1
  51. package/dist/data_streams/types.d.cts +2 -10
  52. package/dist/data_streams/types.d.ts +2 -10
  53. package/dist/data_streams/types.d.ts.map +1 -1
  54. package/dist/e2ee.cjs +21 -21
  55. package/dist/e2ee.cjs.map +1 -1
  56. package/dist/e2ee.d.cts +1 -2
  57. package/dist/e2ee.d.ts +1 -2
  58. package/dist/e2ee.d.ts.map +1 -1
  59. package/dist/e2ee.js +2 -2
  60. package/dist/e2ee.js.map +1 -1
  61. package/dist/ffi_client.cjs +11 -12
  62. package/dist/ffi_client.cjs.map +1 -1
  63. package/dist/ffi_client.d.cts +3 -16
  64. package/dist/ffi_client.d.ts +3 -16
  65. package/dist/ffi_client.d.ts.map +1 -1
  66. package/dist/ffi_client.js +5 -3
  67. package/dist/ffi_client.js.map +1 -1
  68. package/dist/frame_processor.cjs +13 -2
  69. package/dist/frame_processor.cjs.map +1 -1
  70. package/dist/frame_processor.d.cts +5 -8
  71. package/dist/frame_processor.d.ts +5 -8
  72. package/dist/frame_processor.d.ts.map +1 -1
  73. package/dist/frame_processor.js +10 -1
  74. package/dist/frame_processor.js.map +1 -1
  75. package/dist/index.cjs +25 -23
  76. package/dist/index.cjs.map +1 -1
  77. package/dist/index.d.cts +3 -16
  78. package/dist/index.d.ts +3 -16
  79. package/dist/index.d.ts.map +1 -1
  80. package/dist/index.js +9 -7
  81. package/dist/index.js.map +1 -1
  82. package/dist/participant.cjs +38 -38
  83. package/dist/participant.cjs.map +1 -1
  84. package/dist/participant.d.cts +2 -15
  85. package/dist/participant.d.ts +2 -15
  86. package/dist/participant.d.ts.map +1 -1
  87. package/dist/participant.js +12 -12
  88. package/dist/participant.js.map +1 -1
  89. package/dist/room.cjs +14 -14
  90. package/dist/room.cjs.map +1 -1
  91. package/dist/room.d.cts +2 -15
  92. package/dist/room.d.ts +2 -15
  93. package/dist/room.d.ts.map +1 -1
  94. package/dist/room.js +10 -10
  95. package/dist/room.js.map +1 -1
  96. package/dist/rpc.cjs.map +1 -1
  97. package/dist/rpc.d.cts +1 -2
  98. package/dist/rpc.d.ts +1 -2
  99. package/dist/rpc.d.ts.map +1 -1
  100. package/dist/rpc.js.map +1 -1
  101. package/dist/{stream_reader-Ch2zvjU3.d.cts → stream_reader-CuG4b8Y-.d.cts} +1 -1
  102. package/dist/{stream_reader-DRyR29vo.d.ts → stream_reader-CuG4b8Y-.d.ts} +1 -1
  103. package/dist/track.cjs +3 -3
  104. package/dist/track.cjs.map +1 -1
  105. package/dist/track.d.cts +1 -14
  106. package/dist/track.d.ts +1 -14
  107. package/dist/track.d.ts.map +1 -1
  108. package/dist/track.js +1 -1
  109. package/dist/track.js.map +1 -1
  110. package/dist/track_publication.cjs +4 -4
  111. package/dist/track_publication.cjs.map +1 -1
  112. package/dist/track_publication.d.cts +1 -14
  113. package/dist/track_publication.d.ts +1 -14
  114. package/dist/track_publication.d.ts.map +1 -1
  115. package/dist/track_publication.js +2 -2
  116. package/dist/track_publication.js.map +1 -1
  117. package/dist/version.cjs +1 -1
  118. package/dist/version.cjs.map +1 -1
  119. package/dist/version.d.cts +1 -1
  120. package/dist/version.d.ts +1 -1
  121. package/dist/version.js +1 -1
  122. package/dist/version.js.map +1 -1
  123. package/dist/video_frame.cjs +42 -42
  124. package/dist/video_frame.cjs.map +1 -1
  125. package/dist/video_frame.d.cts +1 -6
  126. package/dist/video_frame.d.ts +1 -6
  127. package/dist/video_frame.d.ts.map +1 -1
  128. package/dist/video_frame.js +2 -2
  129. package/dist/video_frame.js.map +1 -1
  130. package/dist/video_source.cjs +5 -5
  131. package/dist/video_source.cjs.map +1 -1
  132. package/dist/video_source.d.cts +1 -14
  133. package/dist/video_source.d.ts +1 -14
  134. package/dist/video_source.d.ts.map +1 -1
  135. package/dist/video_source.js +2 -2
  136. package/dist/video_source.js.map +1 -1
  137. package/dist/video_stream.cjs +12 -4
  138. package/dist/video_stream.cjs.map +1 -1
  139. package/dist/video_stream.d.cts +1 -14
  140. package/dist/video_stream.d.ts +1 -14
  141. package/dist/video_stream.d.ts.map +1 -1
  142. package/dist/video_stream.js +10 -2
  143. package/dist/video_stream.js.map +1 -1
  144. package/package.json +7 -37
  145. package/src/audio_filter.ts +2 -2
  146. package/src/audio_frame.ts +17 -5
  147. package/src/audio_mixer.ts +1 -1
  148. package/src/audio_resampler.ts +14 -4
  149. package/src/audio_source.ts +13 -5
  150. package/src/audio_stream.ts +21 -6
  151. package/src/data_streams/stream_reader.ts +19 -1
  152. package/src/data_streams/types.ts +1 -1
  153. package/src/e2ee.ts +3 -3
  154. package/src/ffi_client.ts +7 -5
  155. package/src/frame_processor.ts +21 -0
  156. package/src/index.ts +6 -5
  157. package/src/participant.ts +17 -17
  158. package/src/room.ts +22 -22
  159. package/src/rpc.ts +1 -1
  160. package/src/tests/e2e.test.ts +11 -8
  161. package/src/track.ts +4 -4
  162. package/src/track_publication.ts +6 -6
  163. package/src/version.ts +1 -1
  164. package/src/video_frame.ts +3 -3
  165. package/src/video_source.ts +3 -3
  166. package/src/video_stream.ts +15 -3
  167. package/Cargo.toml +0 -25
  168. package/build.rs +0 -9
  169. package/dist/napi/native.cjs +0 -301
  170. package/dist/napi/native.d.cjs +0 -17
  171. package/dist/napi/native.d.cjs.map +0 -1
  172. package/dist/napi/native.d.d.cts +0 -21
  173. package/dist/napi/native.d.d.ts +0 -21
  174. package/dist/napi/native.d.js +0 -1
  175. package/dist/napi/native.d.js.map +0 -1
  176. package/dist/napi/native.d.ts +0 -19
  177. package/dist/napi/native.js +0 -15
  178. package/dist/native.cjs +0 -301
  179. package/dist/native.d.ts +0 -19
  180. package/dist/native.js +0 -15
  181. package/dist/proto/audio_frame_pb.cjs +0 -1357
  182. package/dist/proto/audio_frame_pb.cjs.map +0 -1
  183. package/dist/proto/audio_frame_pb.d.cts +0 -1183
  184. package/dist/proto/audio_frame_pb.d.ts +0 -1183
  185. package/dist/proto/audio_frame_pb.d.ts.map +0 -1
  186. package/dist/proto/audio_frame_pb.js +0 -1283
  187. package/dist/proto/audio_frame_pb.js.map +0 -1
  188. package/dist/proto/data_stream_pb.cjs +0 -1638
  189. package/dist/proto/data_stream_pb.cjs.map +0 -1
  190. package/dist/proto/data_stream_pb.d.cts +0 -1449
  191. package/dist/proto/data_stream_pb.d.ts +0 -1449
  192. package/dist/proto/data_stream_pb.d.ts.map +0 -1
  193. package/dist/proto/data_stream_pb.js +0 -1559
  194. package/dist/proto/data_stream_pb.js.map +0 -1
  195. package/dist/proto/e2ee_pb.cjs +0 -746
  196. package/dist/proto/e2ee_pb.cjs.map +0 -1
  197. package/dist/proto/e2ee_pb.d.cts +0 -653
  198. package/dist/proto/e2ee_pb.d.ts +0 -653
  199. package/dist/proto/e2ee_pb.d.ts.map +0 -1
  200. package/dist/proto/e2ee_pb.js +0 -696
  201. package/dist/proto/e2ee_pb.js.map +0 -1
  202. package/dist/proto/ffi_pb.cjs +0 -477
  203. package/dist/proto/ffi_pb.cjs.map +0 -1
  204. package/dist/proto/ffi_pb.d.cts +0 -1321
  205. package/dist/proto/ffi_pb.d.ts +0 -1321
  206. package/dist/proto/ffi_pb.d.ts.map +0 -1
  207. package/dist/proto/ffi_pb.js +0 -444
  208. package/dist/proto/ffi_pb.js.map +0 -1
  209. package/dist/proto/handle_pb.cjs +0 -53
  210. package/dist/proto/handle_pb.cjs.map +0 -1
  211. package/dist/proto/handle_pb.d.cts +0 -31
  212. package/dist/proto/handle_pb.d.ts +0 -31
  213. package/dist/proto/handle_pb.d.ts.map +0 -1
  214. package/dist/proto/handle_pb.js +0 -29
  215. package/dist/proto/handle_pb.js.map +0 -1
  216. package/dist/proto/participant_pb.cjs +0 -173
  217. package/dist/proto/participant_pb.cjs.map +0 -1
  218. package/dist/proto/participant_pb.d.cts +0 -218
  219. package/dist/proto/participant_pb.d.ts +0 -218
  220. package/dist/proto/participant_pb.d.ts.map +0 -1
  221. package/dist/proto/participant_pb.js +0 -145
  222. package/dist/proto/participant_pb.js.map +0 -1
  223. package/dist/proto/room_pb.cjs +0 -3374
  224. package/dist/proto/room_pb.cjs.map +0 -1
  225. package/dist/proto/room_pb.d.cts +0 -3028
  226. package/dist/proto/room_pb.d.ts +0 -3028
  227. package/dist/proto/room_pb.d.ts.map +0 -1
  228. package/dist/proto/room_pb.js +0 -3232
  229. package/dist/proto/room_pb.js.map +0 -1
  230. package/dist/proto/rpc_pb.cjs +0 -328
  231. package/dist/proto/rpc_pb.cjs.map +0 -1
  232. package/dist/proto/rpc_pb.d.cts +0 -267
  233. package/dist/proto/rpc_pb.d.ts +0 -267
  234. package/dist/proto/rpc_pb.d.ts.map +0 -1
  235. package/dist/proto/rpc_pb.js +0 -294
  236. package/dist/proto/rpc_pb.js.map +0 -1
  237. package/dist/proto/stats_pb.cjs +0 -1370
  238. package/dist/proto/stats_pb.cjs.map +0 -1
  239. package/dist/proto/stats_pb.d.cts +0 -1764
  240. package/dist/proto/stats_pb.d.ts +0 -1764
  241. package/dist/proto/stats_pb.d.ts.map +0 -1
  242. package/dist/proto/stats_pb.js +0 -1300
  243. package/dist/proto/stats_pb.js.map +0 -1
  244. package/dist/proto/track_pb.cjs +0 -630
  245. package/dist/proto/track_pb.cjs.map +0 -1
  246. package/dist/proto/track_pb.d.cts +0 -542
  247. package/dist/proto/track_pb.d.ts +0 -542
  248. package/dist/proto/track_pb.d.ts.map +0 -1
  249. package/dist/proto/track_pb.js +0 -584
  250. package/dist/proto/track_pb.js.map +0 -1
  251. package/dist/proto/track_publication_pb.cjs +0 -194
  252. package/dist/proto/track_publication_pb.cjs.map +0 -1
  253. package/dist/proto/track_publication_pb.d.cts +0 -135
  254. package/dist/proto/track_publication_pb.d.ts +0 -135
  255. package/dist/proto/track_publication_pb.d.ts.map +0 -1
  256. package/dist/proto/track_publication_pb.js +0 -164
  257. package/dist/proto/track_publication_pb.js.map +0 -1
  258. package/dist/proto/video_frame_pb.cjs +0 -723
  259. package/dist/proto/video_frame_pb.cjs.map +0 -1
  260. package/dist/proto/video_frame_pb.d.cts +0 -667
  261. package/dist/proto/video_frame_pb.d.ts +0 -667
  262. package/dist/proto/video_frame_pb.d.ts.map +0 -1
  263. package/dist/proto/video_frame_pb.js +0 -673
  264. package/dist/proto/video_frame_pb.js.map +0 -1
  265. package/src/lib.rs +0 -9
  266. package/src/napi/native.cjs +0 -301
  267. package/src/napi/native.d.ts +0 -19
  268. package/src/napi/native.js +0 -15
  269. package/src/nodejs.rs +0 -134
  270. package/src/proto/audio_frame_pb.ts +0 -2270
  271. package/src/proto/data_stream_pb.ts +0 -2674
  272. package/src/proto/e2ee_pb.ts +0 -1231
  273. package/src/proto/ffi_pb.ts +0 -1700
  274. package/src/proto/handle_pb.ts +0 -69
  275. package/src/proto/participant_pb.ts +0 -351
  276. package/src/proto/room_pb.ts +0 -5661
  277. package/src/proto/rpc_pb.ts +0 -539
  278. package/src/proto/stats_pb.ts +0 -3050
  279. package/src/proto/track_pb.ts +0 -1040
  280. package/src/proto/track_publication_pb.ts +0 -284
  281. package/src/proto/video_frame_pb.ts +0 -1236
@@ -1,477 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var ffi_pb_exports = {};
20
- __export(ffi_pb_exports, {
21
- DisposeCallback: () => DisposeCallback,
22
- DisposeRequest: () => DisposeRequest,
23
- DisposeResponse: () => DisposeResponse,
24
- FfiEvent: () => FfiEvent,
25
- FfiRequest: () => FfiRequest,
26
- FfiResponse: () => FfiResponse,
27
- LogBatch: () => LogBatch,
28
- LogLevel: () => LogLevel,
29
- LogRecord: () => LogRecord,
30
- Panic: () => Panic
31
- });
32
- module.exports = __toCommonJS(ffi_pb_exports);
33
- var import_protobuf = require("@bufbuild/protobuf");
34
- var import_room_pb = require("./room_pb.cjs");
35
- var import_track_pb = require("./track_pb.cjs");
36
- var import_video_frame_pb = require("./video_frame_pb.cjs");
37
- var import_audio_frame_pb = require("./audio_frame_pb.cjs");
38
- var import_e2ee_pb = require("./e2ee_pb.cjs");
39
- var import_rpc_pb = require("./rpc_pb.cjs");
40
- var import_track_publication_pb = require("./track_publication_pb.cjs");
41
- var import_data_stream_pb = require("./data_stream_pb.cjs");
42
- var LogLevel = /* @__PURE__ */ ((LogLevel2) => {
43
- LogLevel2[LogLevel2["LOG_ERROR"] = 0] = "LOG_ERROR";
44
- LogLevel2[LogLevel2["LOG_WARN"] = 1] = "LOG_WARN";
45
- LogLevel2[LogLevel2["LOG_INFO"] = 2] = "LOG_INFO";
46
- LogLevel2[LogLevel2["LOG_DEBUG"] = 3] = "LOG_DEBUG";
47
- LogLevel2[LogLevel2["LOG_TRACE"] = 4] = "LOG_TRACE";
48
- return LogLevel2;
49
- })(LogLevel || {});
50
- import_protobuf.proto2.util.setEnumType(LogLevel, "livekit.proto.LogLevel", [
51
- { no: 0, name: "LOG_ERROR" },
52
- { no: 1, name: "LOG_WARN" },
53
- { no: 2, name: "LOG_INFO" },
54
- { no: 3, name: "LOG_DEBUG" },
55
- { no: 4, name: "LOG_TRACE" }
56
- ]);
57
- const _FfiRequest = class _FfiRequest extends import_protobuf.Message {
58
- constructor(data) {
59
- super();
60
- /**
61
- * @generated from oneof livekit.proto.FfiRequest.message
62
- */
63
- this.message = { case: void 0 };
64
- import_protobuf.proto2.util.initPartial(data, this);
65
- }
66
- static fromBinary(bytes, options) {
67
- return new _FfiRequest().fromBinary(bytes, options);
68
- }
69
- static fromJson(jsonValue, options) {
70
- return new _FfiRequest().fromJson(jsonValue, options);
71
- }
72
- static fromJsonString(jsonString, options) {
73
- return new _FfiRequest().fromJsonString(jsonString, options);
74
- }
75
- static equals(a, b) {
76
- return import_protobuf.proto2.util.equals(_FfiRequest, a, b);
77
- }
78
- };
79
- _FfiRequest.runtime = import_protobuf.proto2;
80
- _FfiRequest.typeName = "livekit.proto.FfiRequest";
81
- _FfiRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
82
- { no: 2, name: "dispose", kind: "message", T: DisposeRequest, oneof: "message" },
83
- { no: 3, name: "connect", kind: "message", T: import_room_pb.ConnectRequest, oneof: "message" },
84
- { no: 4, name: "disconnect", kind: "message", T: import_room_pb.DisconnectRequest, oneof: "message" },
85
- { no: 5, name: "publish_track", kind: "message", T: import_room_pb.PublishTrackRequest, oneof: "message" },
86
- { no: 6, name: "unpublish_track", kind: "message", T: import_room_pb.UnpublishTrackRequest, oneof: "message" },
87
- { no: 7, name: "publish_data", kind: "message", T: import_room_pb.PublishDataRequest, oneof: "message" },
88
- { no: 8, name: "set_subscribed", kind: "message", T: import_room_pb.SetSubscribedRequest, oneof: "message" },
89
- { no: 9, name: "set_local_metadata", kind: "message", T: import_room_pb.SetLocalMetadataRequest, oneof: "message" },
90
- { no: 10, name: "set_local_name", kind: "message", T: import_room_pb.SetLocalNameRequest, oneof: "message" },
91
- { no: 11, name: "set_local_attributes", kind: "message", T: import_room_pb.SetLocalAttributesRequest, oneof: "message" },
92
- { no: 12, name: "get_session_stats", kind: "message", T: import_room_pb.GetSessionStatsRequest, oneof: "message" },
93
- { no: 13, name: "publish_transcription", kind: "message", T: import_room_pb.PublishTranscriptionRequest, oneof: "message" },
94
- { no: 14, name: "publish_sip_dtmf", kind: "message", T: import_room_pb.PublishSipDtmfRequest, oneof: "message" },
95
- { no: 15, name: "create_video_track", kind: "message", T: import_track_pb.CreateVideoTrackRequest, oneof: "message" },
96
- { no: 16, name: "create_audio_track", kind: "message", T: import_track_pb.CreateAudioTrackRequest, oneof: "message" },
97
- { no: 17, name: "local_track_mute", kind: "message", T: import_track_pb.LocalTrackMuteRequest, oneof: "message" },
98
- { no: 18, name: "enable_remote_track", kind: "message", T: import_track_pb.EnableRemoteTrackRequest, oneof: "message" },
99
- { no: 19, name: "get_stats", kind: "message", T: import_track_pb.GetStatsRequest, oneof: "message" },
100
- { no: 48, name: "set_track_subscription_permissions", kind: "message", T: import_track_pb.SetTrackSubscriptionPermissionsRequest, oneof: "message" },
101
- { no: 20, name: "new_video_stream", kind: "message", T: import_video_frame_pb.NewVideoStreamRequest, oneof: "message" },
102
- { no: 21, name: "new_video_source", kind: "message", T: import_video_frame_pb.NewVideoSourceRequest, oneof: "message" },
103
- { no: 22, name: "capture_video_frame", kind: "message", T: import_video_frame_pb.CaptureVideoFrameRequest, oneof: "message" },
104
- { no: 23, name: "video_convert", kind: "message", T: import_video_frame_pb.VideoConvertRequest, oneof: "message" },
105
- { no: 24, name: "video_stream_from_participant", kind: "message", T: import_video_frame_pb.VideoStreamFromParticipantRequest, oneof: "message" },
106
- { no: 25, name: "new_audio_stream", kind: "message", T: import_audio_frame_pb.NewAudioStreamRequest, oneof: "message" },
107
- { no: 26, name: "new_audio_source", kind: "message", T: import_audio_frame_pb.NewAudioSourceRequest, oneof: "message" },
108
- { no: 27, name: "capture_audio_frame", kind: "message", T: import_audio_frame_pb.CaptureAudioFrameRequest, oneof: "message" },
109
- { no: 28, name: "clear_audio_buffer", kind: "message", T: import_audio_frame_pb.ClearAudioBufferRequest, oneof: "message" },
110
- { no: 29, name: "new_audio_resampler", kind: "message", T: import_audio_frame_pb.NewAudioResamplerRequest, oneof: "message" },
111
- { no: 30, name: "remix_and_resample", kind: "message", T: import_audio_frame_pb.RemixAndResampleRequest, oneof: "message" },
112
- { no: 31, name: "e2ee", kind: "message", T: import_e2ee_pb.E2eeRequest, oneof: "message" },
113
- { no: 32, name: "audio_stream_from_participant", kind: "message", T: import_audio_frame_pb.AudioStreamFromParticipantRequest, oneof: "message" },
114
- { no: 33, name: "new_sox_resampler", kind: "message", T: import_audio_frame_pb.NewSoxResamplerRequest, oneof: "message" },
115
- { no: 34, name: "push_sox_resampler", kind: "message", T: import_audio_frame_pb.PushSoxResamplerRequest, oneof: "message" },
116
- { no: 35, name: "flush_sox_resampler", kind: "message", T: import_audio_frame_pb.FlushSoxResamplerRequest, oneof: "message" },
117
- { no: 36, name: "send_chat_message", kind: "message", T: import_room_pb.SendChatMessageRequest, oneof: "message" },
118
- { no: 37, name: "edit_chat_message", kind: "message", T: import_room_pb.EditChatMessageRequest, oneof: "message" },
119
- { no: 38, name: "perform_rpc", kind: "message", T: import_rpc_pb.PerformRpcRequest, oneof: "message" },
120
- { no: 39, name: "register_rpc_method", kind: "message", T: import_rpc_pb.RegisterRpcMethodRequest, oneof: "message" },
121
- { no: 40, name: "unregister_rpc_method", kind: "message", T: import_rpc_pb.UnregisterRpcMethodRequest, oneof: "message" },
122
- { no: 41, name: "rpc_method_invocation_response", kind: "message", T: import_rpc_pb.RpcMethodInvocationResponseRequest, oneof: "message" },
123
- { no: 42, name: "enable_remote_track_publication", kind: "message", T: import_track_publication_pb.EnableRemoteTrackPublicationRequest, oneof: "message" },
124
- { no: 43, name: "update_remote_track_publication_dimension", kind: "message", T: import_track_publication_pb.UpdateRemoteTrackPublicationDimensionRequest, oneof: "message" },
125
- { no: 44, name: "send_stream_header", kind: "message", T: import_room_pb.SendStreamHeaderRequest, oneof: "message" },
126
- { no: 45, name: "send_stream_chunk", kind: "message", T: import_room_pb.SendStreamChunkRequest, oneof: "message" },
127
- { no: 46, name: "send_stream_trailer", kind: "message", T: import_room_pb.SendStreamTrailerRequest, oneof: "message" },
128
- { no: 47, name: "set_data_channel_buffered_amount_low_threshold", kind: "message", T: import_room_pb.SetDataChannelBufferedAmountLowThresholdRequest, oneof: "message" },
129
- { no: 49, name: "load_audio_filter_plugin", kind: "message", T: import_audio_frame_pb.LoadAudioFilterPluginRequest, oneof: "message" },
130
- { no: 50, name: "new_apm", kind: "message", T: import_audio_frame_pb.NewApmRequest, oneof: "message" },
131
- { no: 51, name: "apm_process_stream", kind: "message", T: import_audio_frame_pb.ApmProcessStreamRequest, oneof: "message" },
132
- { no: 52, name: "apm_process_reverse_stream", kind: "message", T: import_audio_frame_pb.ApmProcessReverseStreamRequest, oneof: "message" },
133
- { no: 53, name: "apm_set_stream_delay", kind: "message", T: import_audio_frame_pb.ApmSetStreamDelayRequest, oneof: "message" },
134
- { no: 54, name: "byte_read_incremental", kind: "message", T: import_data_stream_pb.ByteStreamReaderReadIncrementalRequest, oneof: "message" },
135
- { no: 55, name: "byte_read_all", kind: "message", T: import_data_stream_pb.ByteStreamReaderReadAllRequest, oneof: "message" },
136
- { no: 56, name: "byte_write_to_file", kind: "message", T: import_data_stream_pb.ByteStreamReaderWriteToFileRequest, oneof: "message" },
137
- { no: 57, name: "text_read_incremental", kind: "message", T: import_data_stream_pb.TextStreamReaderReadIncrementalRequest, oneof: "message" },
138
- { no: 58, name: "text_read_all", kind: "message", T: import_data_stream_pb.TextStreamReaderReadAllRequest, oneof: "message" },
139
- { no: 59, name: "send_file", kind: "message", T: import_data_stream_pb.StreamSendFileRequest, oneof: "message" },
140
- { no: 60, name: "send_text", kind: "message", T: import_data_stream_pb.StreamSendTextRequest, oneof: "message" },
141
- { no: 61, name: "byte_stream_open", kind: "message", T: import_data_stream_pb.ByteStreamOpenRequest, oneof: "message" },
142
- { no: 62, name: "byte_stream_write", kind: "message", T: import_data_stream_pb.ByteStreamWriterWriteRequest, oneof: "message" },
143
- { no: 63, name: "byte_stream_close", kind: "message", T: import_data_stream_pb.ByteStreamWriterCloseRequest, oneof: "message" },
144
- { no: 64, name: "text_stream_open", kind: "message", T: import_data_stream_pb.TextStreamOpenRequest, oneof: "message" },
145
- { no: 65, name: "text_stream_write", kind: "message", T: import_data_stream_pb.TextStreamWriterWriteRequest, oneof: "message" },
146
- { no: 66, name: "text_stream_close", kind: "message", T: import_data_stream_pb.TextStreamWriterCloseRequest, oneof: "message" },
147
- { no: 67, name: "send_bytes", kind: "message", T: import_data_stream_pb.StreamSendBytesRequest, oneof: "message" },
148
- { no: 68, name: "set_remote_track_publication_quality", kind: "message", T: import_track_publication_pb.SetRemoteTrackPublicationQualityRequest, oneof: "message" }
149
- ]);
150
- let FfiRequest = _FfiRequest;
151
- const _FfiResponse = class _FfiResponse extends import_protobuf.Message {
152
- constructor(data) {
153
- super();
154
- /**
155
- * @generated from oneof livekit.proto.FfiResponse.message
156
- */
157
- this.message = { case: void 0 };
158
- import_protobuf.proto2.util.initPartial(data, this);
159
- }
160
- static fromBinary(bytes, options) {
161
- return new _FfiResponse().fromBinary(bytes, options);
162
- }
163
- static fromJson(jsonValue, options) {
164
- return new _FfiResponse().fromJson(jsonValue, options);
165
- }
166
- static fromJsonString(jsonString, options) {
167
- return new _FfiResponse().fromJsonString(jsonString, options);
168
- }
169
- static equals(a, b) {
170
- return import_protobuf.proto2.util.equals(_FfiResponse, a, b);
171
- }
172
- };
173
- _FfiResponse.runtime = import_protobuf.proto2;
174
- _FfiResponse.typeName = "livekit.proto.FfiResponse";
175
- _FfiResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
176
- { no: 2, name: "dispose", kind: "message", T: DisposeResponse, oneof: "message" },
177
- { no: 3, name: "connect", kind: "message", T: import_room_pb.ConnectResponse, oneof: "message" },
178
- { no: 4, name: "disconnect", kind: "message", T: import_room_pb.DisconnectResponse, oneof: "message" },
179
- { no: 5, name: "publish_track", kind: "message", T: import_room_pb.PublishTrackResponse, oneof: "message" },
180
- { no: 6, name: "unpublish_track", kind: "message", T: import_room_pb.UnpublishTrackResponse, oneof: "message" },
181
- { no: 7, name: "publish_data", kind: "message", T: import_room_pb.PublishDataResponse, oneof: "message" },
182
- { no: 8, name: "set_subscribed", kind: "message", T: import_room_pb.SetSubscribedResponse, oneof: "message" },
183
- { no: 9, name: "set_local_metadata", kind: "message", T: import_room_pb.SetLocalMetadataResponse, oneof: "message" },
184
- { no: 10, name: "set_local_name", kind: "message", T: import_room_pb.SetLocalNameResponse, oneof: "message" },
185
- { no: 11, name: "set_local_attributes", kind: "message", T: import_room_pb.SetLocalAttributesResponse, oneof: "message" },
186
- { no: 12, name: "get_session_stats", kind: "message", T: import_room_pb.GetSessionStatsResponse, oneof: "message" },
187
- { no: 13, name: "publish_transcription", kind: "message", T: import_room_pb.PublishTranscriptionResponse, oneof: "message" },
188
- { no: 14, name: "publish_sip_dtmf", kind: "message", T: import_room_pb.PublishSipDtmfResponse, oneof: "message" },
189
- { no: 15, name: "create_video_track", kind: "message", T: import_track_pb.CreateVideoTrackResponse, oneof: "message" },
190
- { no: 16, name: "create_audio_track", kind: "message", T: import_track_pb.CreateAudioTrackResponse, oneof: "message" },
191
- { no: 17, name: "local_track_mute", kind: "message", T: import_track_pb.LocalTrackMuteResponse, oneof: "message" },
192
- { no: 18, name: "enable_remote_track", kind: "message", T: import_track_pb.EnableRemoteTrackResponse, oneof: "message" },
193
- { no: 19, name: "get_stats", kind: "message", T: import_track_pb.GetStatsResponse, oneof: "message" },
194
- { no: 47, name: "set_track_subscription_permissions", kind: "message", T: import_track_pb.SetTrackSubscriptionPermissionsResponse, oneof: "message" },
195
- { no: 20, name: "new_video_stream", kind: "message", T: import_video_frame_pb.NewVideoStreamResponse, oneof: "message" },
196
- { no: 21, name: "new_video_source", kind: "message", T: import_video_frame_pb.NewVideoSourceResponse, oneof: "message" },
197
- { no: 22, name: "capture_video_frame", kind: "message", T: import_video_frame_pb.CaptureVideoFrameResponse, oneof: "message" },
198
- { no: 23, name: "video_convert", kind: "message", T: import_video_frame_pb.VideoConvertResponse, oneof: "message" },
199
- { no: 24, name: "video_stream_from_participant", kind: "message", T: import_video_frame_pb.VideoStreamFromParticipantResponse, oneof: "message" },
200
- { no: 25, name: "new_audio_stream", kind: "message", T: import_audio_frame_pb.NewAudioStreamResponse, oneof: "message" },
201
- { no: 26, name: "new_audio_source", kind: "message", T: import_audio_frame_pb.NewAudioSourceResponse, oneof: "message" },
202
- { no: 27, name: "capture_audio_frame", kind: "message", T: import_audio_frame_pb.CaptureAudioFrameResponse, oneof: "message" },
203
- { no: 28, name: "clear_audio_buffer", kind: "message", T: import_audio_frame_pb.ClearAudioBufferResponse, oneof: "message" },
204
- { no: 29, name: "new_audio_resampler", kind: "message", T: import_audio_frame_pb.NewAudioResamplerResponse, oneof: "message" },
205
- { no: 30, name: "remix_and_resample", kind: "message", T: import_audio_frame_pb.RemixAndResampleResponse, oneof: "message" },
206
- { no: 31, name: "audio_stream_from_participant", kind: "message", T: import_audio_frame_pb.AudioStreamFromParticipantResponse, oneof: "message" },
207
- { no: 32, name: "e2ee", kind: "message", T: import_e2ee_pb.E2eeResponse, oneof: "message" },
208
- { no: 33, name: "new_sox_resampler", kind: "message", T: import_audio_frame_pb.NewSoxResamplerResponse, oneof: "message" },
209
- { no: 34, name: "push_sox_resampler", kind: "message", T: import_audio_frame_pb.PushSoxResamplerResponse, oneof: "message" },
210
- { no: 35, name: "flush_sox_resampler", kind: "message", T: import_audio_frame_pb.FlushSoxResamplerResponse, oneof: "message" },
211
- { no: 36, name: "send_chat_message", kind: "message", T: import_room_pb.SendChatMessageResponse, oneof: "message" },
212
- { no: 37, name: "perform_rpc", kind: "message", T: import_rpc_pb.PerformRpcResponse, oneof: "message" },
213
- { no: 38, name: "register_rpc_method", kind: "message", T: import_rpc_pb.RegisterRpcMethodResponse, oneof: "message" },
214
- { no: 39, name: "unregister_rpc_method", kind: "message", T: import_rpc_pb.UnregisterRpcMethodResponse, oneof: "message" },
215
- { no: 40, name: "rpc_method_invocation_response", kind: "message", T: import_rpc_pb.RpcMethodInvocationResponseResponse, oneof: "message" },
216
- { no: 41, name: "enable_remote_track_publication", kind: "message", T: import_track_publication_pb.EnableRemoteTrackPublicationResponse, oneof: "message" },
217
- { no: 42, name: "update_remote_track_publication_dimension", kind: "message", T: import_track_publication_pb.UpdateRemoteTrackPublicationDimensionResponse, oneof: "message" },
218
- { no: 43, name: "send_stream_header", kind: "message", T: import_room_pb.SendStreamHeaderResponse, oneof: "message" },
219
- { no: 44, name: "send_stream_chunk", kind: "message", T: import_room_pb.SendStreamChunkResponse, oneof: "message" },
220
- { no: 45, name: "send_stream_trailer", kind: "message", T: import_room_pb.SendStreamTrailerResponse, oneof: "message" },
221
- { no: 46, name: "set_data_channel_buffered_amount_low_threshold", kind: "message", T: import_room_pb.SetDataChannelBufferedAmountLowThresholdResponse, oneof: "message" },
222
- { no: 48, name: "load_audio_filter_plugin", kind: "message", T: import_audio_frame_pb.LoadAudioFilterPluginResponse, oneof: "message" },
223
- { no: 49, name: "new_apm", kind: "message", T: import_audio_frame_pb.NewApmResponse, oneof: "message" },
224
- { no: 50, name: "apm_process_stream", kind: "message", T: import_audio_frame_pb.ApmProcessStreamResponse, oneof: "message" },
225
- { no: 51, name: "apm_process_reverse_stream", kind: "message", T: import_audio_frame_pb.ApmProcessReverseStreamResponse, oneof: "message" },
226
- { no: 52, name: "apm_set_stream_delay", kind: "message", T: import_audio_frame_pb.ApmSetStreamDelayResponse, oneof: "message" },
227
- { no: 53, name: "byte_read_incremental", kind: "message", T: import_data_stream_pb.ByteStreamReaderReadIncrementalResponse, oneof: "message" },
228
- { no: 54, name: "byte_read_all", kind: "message", T: import_data_stream_pb.ByteStreamReaderReadAllResponse, oneof: "message" },
229
- { no: 55, name: "byte_write_to_file", kind: "message", T: import_data_stream_pb.ByteStreamReaderWriteToFileResponse, oneof: "message" },
230
- { no: 56, name: "text_read_incremental", kind: "message", T: import_data_stream_pb.TextStreamReaderReadIncrementalResponse, oneof: "message" },
231
- { no: 57, name: "text_read_all", kind: "message", T: import_data_stream_pb.TextStreamReaderReadAllResponse, oneof: "message" },
232
- { no: 58, name: "send_file", kind: "message", T: import_data_stream_pb.StreamSendFileResponse, oneof: "message" },
233
- { no: 59, name: "send_text", kind: "message", T: import_data_stream_pb.StreamSendTextResponse, oneof: "message" },
234
- { no: 60, name: "byte_stream_open", kind: "message", T: import_data_stream_pb.ByteStreamOpenResponse, oneof: "message" },
235
- { no: 61, name: "byte_stream_write", kind: "message", T: import_data_stream_pb.ByteStreamWriterWriteResponse, oneof: "message" },
236
- { no: 62, name: "byte_stream_close", kind: "message", T: import_data_stream_pb.ByteStreamWriterCloseResponse, oneof: "message" },
237
- { no: 63, name: "text_stream_open", kind: "message", T: import_data_stream_pb.TextStreamOpenResponse, oneof: "message" },
238
- { no: 64, name: "text_stream_write", kind: "message", T: import_data_stream_pb.TextStreamWriterWriteResponse, oneof: "message" },
239
- { no: 65, name: "text_stream_close", kind: "message", T: import_data_stream_pb.TextStreamWriterCloseResponse, oneof: "message" },
240
- { no: 66, name: "send_bytes", kind: "message", T: import_data_stream_pb.StreamSendBytesResponse, oneof: "message" },
241
- { no: 67, name: "set_remote_track_publication_quality", kind: "message", T: import_track_publication_pb.SetRemoteTrackPublicationQualityResponse, oneof: "message" }
242
- ]);
243
- let FfiResponse = _FfiResponse;
244
- const _FfiEvent = class _FfiEvent extends import_protobuf.Message {
245
- constructor(data) {
246
- super();
247
- /**
248
- * @generated from oneof livekit.proto.FfiEvent.message
249
- */
250
- this.message = { case: void 0 };
251
- import_protobuf.proto2.util.initPartial(data, this);
252
- }
253
- static fromBinary(bytes, options) {
254
- return new _FfiEvent().fromBinary(bytes, options);
255
- }
256
- static fromJson(jsonValue, options) {
257
- return new _FfiEvent().fromJson(jsonValue, options);
258
- }
259
- static fromJsonString(jsonString, options) {
260
- return new _FfiEvent().fromJsonString(jsonString, options);
261
- }
262
- static equals(a, b) {
263
- return import_protobuf.proto2.util.equals(_FfiEvent, a, b);
264
- }
265
- };
266
- _FfiEvent.runtime = import_protobuf.proto2;
267
- _FfiEvent.typeName = "livekit.proto.FfiEvent";
268
- _FfiEvent.fields = import_protobuf.proto2.util.newFieldList(() => [
269
- { no: 1, name: "room_event", kind: "message", T: import_room_pb.RoomEvent, oneof: "message" },
270
- { no: 2, name: "track_event", kind: "message", T: import_track_pb.TrackEvent, oneof: "message" },
271
- { no: 3, name: "video_stream_event", kind: "message", T: import_video_frame_pb.VideoStreamEvent, oneof: "message" },
272
- { no: 4, name: "audio_stream_event", kind: "message", T: import_audio_frame_pb.AudioStreamEvent, oneof: "message" },
273
- { no: 5, name: "connect", kind: "message", T: import_room_pb.ConnectCallback, oneof: "message" },
274
- { no: 7, name: "disconnect", kind: "message", T: import_room_pb.DisconnectCallback, oneof: "message" },
275
- { no: 8, name: "dispose", kind: "message", T: DisposeCallback, oneof: "message" },
276
- { no: 9, name: "publish_track", kind: "message", T: import_room_pb.PublishTrackCallback, oneof: "message" },
277
- { no: 10, name: "unpublish_track", kind: "message", T: import_room_pb.UnpublishTrackCallback, oneof: "message" },
278
- { no: 11, name: "publish_data", kind: "message", T: import_room_pb.PublishDataCallback, oneof: "message" },
279
- { no: 12, name: "publish_transcription", kind: "message", T: import_room_pb.PublishTranscriptionCallback, oneof: "message" },
280
- { no: 13, name: "capture_audio_frame", kind: "message", T: import_audio_frame_pb.CaptureAudioFrameCallback, oneof: "message" },
281
- { no: 14, name: "set_local_metadata", kind: "message", T: import_room_pb.SetLocalMetadataCallback, oneof: "message" },
282
- { no: 15, name: "set_local_name", kind: "message", T: import_room_pb.SetLocalNameCallback, oneof: "message" },
283
- { no: 16, name: "set_local_attributes", kind: "message", T: import_room_pb.SetLocalAttributesCallback, oneof: "message" },
284
- { no: 17, name: "get_stats", kind: "message", T: import_track_pb.GetStatsCallback, oneof: "message" },
285
- { no: 18, name: "logs", kind: "message", T: LogBatch, oneof: "message" },
286
- { no: 19, name: "get_session_stats", kind: "message", T: import_room_pb.GetSessionStatsCallback, oneof: "message" },
287
- { no: 20, name: "panic", kind: "message", T: Panic, oneof: "message" },
288
- { no: 21, name: "publish_sip_dtmf", kind: "message", T: import_room_pb.PublishSipDtmfCallback, oneof: "message" },
289
- { no: 22, name: "chat_message", kind: "message", T: import_room_pb.SendChatMessageCallback, oneof: "message" },
290
- { no: 23, name: "perform_rpc", kind: "message", T: import_rpc_pb.PerformRpcCallback, oneof: "message" },
291
- { no: 24, name: "rpc_method_invocation", kind: "message", T: import_rpc_pb.RpcMethodInvocationEvent, oneof: "message" },
292
- { no: 25, name: "send_stream_header", kind: "message", T: import_room_pb.SendStreamHeaderCallback, oneof: "message" },
293
- { no: 26, name: "send_stream_chunk", kind: "message", T: import_room_pb.SendStreamChunkCallback, oneof: "message" },
294
- { no: 27, name: "send_stream_trailer", kind: "message", T: import_room_pb.SendStreamTrailerCallback, oneof: "message" },
295
- { no: 28, name: "byte_stream_reader_event", kind: "message", T: import_data_stream_pb.ByteStreamReaderEvent, oneof: "message" },
296
- { no: 29, name: "byte_stream_reader_read_all", kind: "message", T: import_data_stream_pb.ByteStreamReaderReadAllCallback, oneof: "message" },
297
- { no: 30, name: "byte_stream_reader_write_to_file", kind: "message", T: import_data_stream_pb.ByteStreamReaderWriteToFileCallback, oneof: "message" },
298
- { no: 31, name: "byte_stream_open", kind: "message", T: import_data_stream_pb.ByteStreamOpenCallback, oneof: "message" },
299
- { no: 32, name: "byte_stream_writer_write", kind: "message", T: import_data_stream_pb.ByteStreamWriterWriteCallback, oneof: "message" },
300
- { no: 33, name: "byte_stream_writer_close", kind: "message", T: import_data_stream_pb.ByteStreamWriterCloseCallback, oneof: "message" },
301
- { no: 34, name: "send_file", kind: "message", T: import_data_stream_pb.StreamSendFileCallback, oneof: "message" },
302
- { no: 35, name: "text_stream_reader_event", kind: "message", T: import_data_stream_pb.TextStreamReaderEvent, oneof: "message" },
303
- { no: 36, name: "text_stream_reader_read_all", kind: "message", T: import_data_stream_pb.TextStreamReaderReadAllCallback, oneof: "message" },
304
- { no: 37, name: "text_stream_open", kind: "message", T: import_data_stream_pb.TextStreamOpenCallback, oneof: "message" },
305
- { no: 38, name: "text_stream_writer_write", kind: "message", T: import_data_stream_pb.TextStreamWriterWriteCallback, oneof: "message" },
306
- { no: 39, name: "text_stream_writer_close", kind: "message", T: import_data_stream_pb.TextStreamWriterCloseCallback, oneof: "message" },
307
- { no: 40, name: "send_text", kind: "message", T: import_data_stream_pb.StreamSendTextCallback, oneof: "message" },
308
- { no: 41, name: "send_bytes", kind: "message", T: import_data_stream_pb.StreamSendBytesCallback, oneof: "message" }
309
- ]);
310
- let FfiEvent = _FfiEvent;
311
- const _DisposeRequest = class _DisposeRequest extends import_protobuf.Message {
312
- constructor(data) {
313
- super();
314
- import_protobuf.proto2.util.initPartial(data, this);
315
- }
316
- static fromBinary(bytes, options) {
317
- return new _DisposeRequest().fromBinary(bytes, options);
318
- }
319
- static fromJson(jsonValue, options) {
320
- return new _DisposeRequest().fromJson(jsonValue, options);
321
- }
322
- static fromJsonString(jsonString, options) {
323
- return new _DisposeRequest().fromJsonString(jsonString, options);
324
- }
325
- static equals(a, b) {
326
- return import_protobuf.proto2.util.equals(_DisposeRequest, a, b);
327
- }
328
- };
329
- _DisposeRequest.runtime = import_protobuf.proto2;
330
- _DisposeRequest.typeName = "livekit.proto.DisposeRequest";
331
- _DisposeRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
332
- { no: 1, name: "async", kind: "scalar", T: 8, req: true }
333
- ]);
334
- let DisposeRequest = _DisposeRequest;
335
- const _DisposeResponse = class _DisposeResponse extends import_protobuf.Message {
336
- constructor(data) {
337
- super();
338
- import_protobuf.proto2.util.initPartial(data, this);
339
- }
340
- static fromBinary(bytes, options) {
341
- return new _DisposeResponse().fromBinary(bytes, options);
342
- }
343
- static fromJson(jsonValue, options) {
344
- return new _DisposeResponse().fromJson(jsonValue, options);
345
- }
346
- static fromJsonString(jsonString, options) {
347
- return new _DisposeResponse().fromJsonString(jsonString, options);
348
- }
349
- static equals(a, b) {
350
- return import_protobuf.proto2.util.equals(_DisposeResponse, a, b);
351
- }
352
- };
353
- _DisposeResponse.runtime = import_protobuf.proto2;
354
- _DisposeResponse.typeName = "livekit.proto.DisposeResponse";
355
- _DisposeResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
356
- { no: 1, name: "async_id", kind: "scalar", T: 4, opt: true }
357
- ]);
358
- let DisposeResponse = _DisposeResponse;
359
- const _DisposeCallback = class _DisposeCallback extends import_protobuf.Message {
360
- constructor(data) {
361
- super();
362
- import_protobuf.proto2.util.initPartial(data, this);
363
- }
364
- static fromBinary(bytes, options) {
365
- return new _DisposeCallback().fromBinary(bytes, options);
366
- }
367
- static fromJson(jsonValue, options) {
368
- return new _DisposeCallback().fromJson(jsonValue, options);
369
- }
370
- static fromJsonString(jsonString, options) {
371
- return new _DisposeCallback().fromJsonString(jsonString, options);
372
- }
373
- static equals(a, b) {
374
- return import_protobuf.proto2.util.equals(_DisposeCallback, a, b);
375
- }
376
- };
377
- _DisposeCallback.runtime = import_protobuf.proto2;
378
- _DisposeCallback.typeName = "livekit.proto.DisposeCallback";
379
- _DisposeCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
380
- { no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
381
- ]);
382
- let DisposeCallback = _DisposeCallback;
383
- const _LogRecord = class _LogRecord extends import_protobuf.Message {
384
- constructor(data) {
385
- super();
386
- import_protobuf.proto2.util.initPartial(data, this);
387
- }
388
- static fromBinary(bytes, options) {
389
- return new _LogRecord().fromBinary(bytes, options);
390
- }
391
- static fromJson(jsonValue, options) {
392
- return new _LogRecord().fromJson(jsonValue, options);
393
- }
394
- static fromJsonString(jsonString, options) {
395
- return new _LogRecord().fromJsonString(jsonString, options);
396
- }
397
- static equals(a, b) {
398
- return import_protobuf.proto2.util.equals(_LogRecord, a, b);
399
- }
400
- };
401
- _LogRecord.runtime = import_protobuf.proto2;
402
- _LogRecord.typeName = "livekit.proto.LogRecord";
403
- _LogRecord.fields = import_protobuf.proto2.util.newFieldList(() => [
404
- { no: 1, name: "level", kind: "enum", T: import_protobuf.proto2.getEnumType(LogLevel), req: true },
405
- { no: 2, name: "target", kind: "scalar", T: 9, req: true },
406
- { no: 3, name: "module_path", kind: "scalar", T: 9, opt: true },
407
- { no: 4, name: "file", kind: "scalar", T: 9, opt: true },
408
- { no: 5, name: "line", kind: "scalar", T: 13, opt: true },
409
- { no: 6, name: "message", kind: "scalar", T: 9, req: true }
410
- ]);
411
- let LogRecord = _LogRecord;
412
- const _LogBatch = class _LogBatch extends import_protobuf.Message {
413
- constructor(data) {
414
- super();
415
- /**
416
- * @generated from field: repeated livekit.proto.LogRecord records = 1;
417
- */
418
- this.records = [];
419
- import_protobuf.proto2.util.initPartial(data, this);
420
- }
421
- static fromBinary(bytes, options) {
422
- return new _LogBatch().fromBinary(bytes, options);
423
- }
424
- static fromJson(jsonValue, options) {
425
- return new _LogBatch().fromJson(jsonValue, options);
426
- }
427
- static fromJsonString(jsonString, options) {
428
- return new _LogBatch().fromJsonString(jsonString, options);
429
- }
430
- static equals(a, b) {
431
- return import_protobuf.proto2.util.equals(_LogBatch, a, b);
432
- }
433
- };
434
- _LogBatch.runtime = import_protobuf.proto2;
435
- _LogBatch.typeName = "livekit.proto.LogBatch";
436
- _LogBatch.fields = import_protobuf.proto2.util.newFieldList(() => [
437
- { no: 1, name: "records", kind: "message", T: LogRecord, repeated: true }
438
- ]);
439
- let LogBatch = _LogBatch;
440
- const _Panic = class _Panic extends import_protobuf.Message {
441
- constructor(data) {
442
- super();
443
- import_protobuf.proto2.util.initPartial(data, this);
444
- }
445
- static fromBinary(bytes, options) {
446
- return new _Panic().fromBinary(bytes, options);
447
- }
448
- static fromJson(jsonValue, options) {
449
- return new _Panic().fromJson(jsonValue, options);
450
- }
451
- static fromJsonString(jsonString, options) {
452
- return new _Panic().fromJsonString(jsonString, options);
453
- }
454
- static equals(a, b) {
455
- return import_protobuf.proto2.util.equals(_Panic, a, b);
456
- }
457
- };
458
- _Panic.runtime = import_protobuf.proto2;
459
- _Panic.typeName = "livekit.proto.Panic";
460
- _Panic.fields = import_protobuf.proto2.util.newFieldList(() => [
461
- { no: 1, name: "message", kind: "scalar", T: 9, req: true }
462
- ]);
463
- let Panic = _Panic;
464
- // Annotate the CommonJS export names for ESM import in node:
465
- 0 && (module.exports = {
466
- DisposeCallback,
467
- DisposeRequest,
468
- DisposeResponse,
469
- FfiEvent,
470
- FfiRequest,
471
- FfiResponse,
472
- LogBatch,
473
- LogLevel,
474
- LogRecord,
475
- Panic
476
- });
477
- //# sourceMappingURL=ffi_pb.cjs.map