@livekit/rtc-node 0.10.4 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/README.md +54 -2
  2. package/build.rs +1 -1
  3. package/dist/audio_frame.d.ts +1 -1
  4. package/dist/audio_frame.d.ts.map +1 -1
  5. package/dist/audio_frame.js +4 -4
  6. package/dist/audio_frame.js.map +1 -1
  7. package/dist/audio_resampler.d.ts.map +1 -1
  8. package/dist/audio_resampler.js +8 -7
  9. package/dist/audio_resampler.js.map +1 -1
  10. package/dist/audio_source.d.ts.map +1 -1
  11. package/dist/audio_source.js +8 -4
  12. package/dist/audio_source.js.map +1 -1
  13. package/dist/audio_stream.d.ts +1 -1
  14. package/dist/audio_stream.d.ts.map +1 -1
  15. package/dist/audio_stream.js +4 -3
  16. package/dist/audio_stream.js.map +1 -1
  17. package/dist/e2ee.d.ts.map +1 -1
  18. package/dist/e2ee.js +25 -25
  19. package/dist/e2ee.js.map +1 -1
  20. package/dist/ffi_client.d.ts +3 -3
  21. package/dist/ffi_client.d.ts.map +1 -1
  22. package/dist/ffi_client.js +9 -7
  23. package/dist/ffi_client.js.map +1 -1
  24. package/dist/index.d.ts +29 -1
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +34 -4
  27. package/dist/index.js.map +1 -1
  28. package/dist/napi/native.d.ts +1 -0
  29. package/dist/participant.d.ts +48 -2
  30. package/dist/participant.d.ts.map +1 -1
  31. package/dist/participant.js +143 -24
  32. package/dist/participant.js.map +1 -1
  33. package/dist/proto/audio_frame_pb.d.ts +451 -526
  34. package/dist/proto/audio_frame_pb.d.ts.map +1 -1
  35. package/dist/proto/audio_frame_pb.js +200 -1179
  36. package/dist/proto/audio_frame_pb.js.map +1 -1
  37. package/dist/proto/e2ee_pb.d.ts +264 -333
  38. package/dist/proto/e2ee_pb.d.ts.map +1 -1
  39. package/dist/proto/e2ee_pb.js +136 -810
  40. package/dist/proto/e2ee_pb.js.map +1 -1
  41. package/dist/proto/ffi_pb.d.ts +175 -129
  42. package/dist/proto/ffi_pb.d.ts.map +1 -1
  43. package/dist/proto/ffi_pb.js +58 -395
  44. package/dist/proto/ffi_pb.js.map +1 -1
  45. package/dist/proto/handle_pb.d.ts +14 -13
  46. package/dist/proto/handle_pb.d.ts.map +1 -1
  47. package/dist/proto/handle_pb.js +8 -39
  48. package/dist/proto/handle_pb.js.map +1 -1
  49. package/dist/proto/participant_pb.d.ts +54 -52
  50. package/dist/proto/participant_pb.d.ts.map +1 -1
  51. package/dist/proto/participant_pb.js +18 -90
  52. package/dist/proto/participant_pb.js.map +1 -1
  53. package/dist/proto/room_pb.d.ts +1042 -1187
  54. package/dist/proto/room_pb.d.ts.map +1 -1
  55. package/dist/proto/room_pb.js +470 -2938
  56. package/dist/proto/room_pb.js.map +1 -1
  57. package/dist/proto/rpc_pb.d.ts +235 -0
  58. package/dist/proto/rpc_pb.d.ts.map +1 -0
  59. package/dist/proto/rpc_pb.js +74 -0
  60. package/dist/proto/rpc_pb.js.map +1 -0
  61. package/dist/proto/stats_pb.d.ts +738 -800
  62. package/dist/proto/stats_pb.d.ts.map +1 -1
  63. package/dist/proto/stats_pb.js +218 -1960
  64. package/dist/proto/stats_pb.js.map +1 -1
  65. package/dist/proto/track_pb.d.ts +225 -258
  66. package/dist/proto/track_pb.d.ts.map +1 -1
  67. package/dist/proto/track_pb.js +98 -591
  68. package/dist/proto/track_pb.js.map +1 -1
  69. package/dist/proto/video_frame_pb.d.ts +357 -390
  70. package/dist/proto/video_frame_pb.d.ts.map +1 -1
  71. package/dist/proto/video_frame_pb.js +137 -790
  72. package/dist/proto/video_frame_pb.js.map +1 -1
  73. package/dist/room.d.ts +21 -7
  74. package/dist/room.d.ts.map +1 -1
  75. package/dist/room.js +134 -54
  76. package/dist/room.js.map +1 -1
  77. package/dist/rpc.d.ts +78 -0
  78. package/dist/rpc.d.ts.map +1 -0
  79. package/dist/rpc.js +69 -0
  80. package/dist/rpc.js.map +1 -0
  81. package/dist/track.d.ts.map +1 -1
  82. package/dist/track.js +7 -3
  83. package/dist/track.js.map +1 -1
  84. package/dist/track_publication.d.ts.map +1 -1
  85. package/dist/track_publication.js +3 -2
  86. package/dist/track_publication.js.map +1 -1
  87. package/dist/version.d.ts +2 -0
  88. package/dist/version.d.ts.map +1 -0
  89. package/dist/version.js +2 -0
  90. package/dist/version.js.map +1 -0
  91. package/dist/video_frame.d.ts +2 -2
  92. package/dist/video_frame.d.ts.map +1 -1
  93. package/dist/video_frame.js +47 -25
  94. package/dist/video_frame.js.map +1 -1
  95. package/dist/video_source.d.ts.map +1 -1
  96. package/dist/video_source.js +4 -3
  97. package/dist/video_source.js.map +1 -1
  98. package/dist/video_stream.d.ts +1 -1
  99. package/dist/video_stream.d.ts.map +1 -1
  100. package/dist/video_stream.js +7 -3
  101. package/dist/video_stream.js.map +1 -1
  102. package/package.json +13 -10
  103. package/src/audio_frame.ts +6 -6
  104. package/src/audio_resampler.ts +10 -9
  105. package/src/audio_source.ts +9 -8
  106. package/src/audio_stream.ts +7 -6
  107. package/src/e2ee.ts +34 -34
  108. package/src/ffi_client.ts +23 -10
  109. package/src/index.ts +61 -2
  110. package/src/napi/native.d.ts +1 -0
  111. package/src/nodejs.rs +6 -3
  112. package/src/participant.ts +207 -47
  113. package/src/proto/audio_frame_pb.ts +562 -1279
  114. package/src/proto/e2ee_pb.ts +365 -886
  115. package/src/proto/ffi_pb.ts +206 -405
  116. package/src/proto/handle_pb.ts +21 -35
  117. package/src/proto/participant_pb.ts +71 -112
  118. package/src/proto/room_pb.ts +1284 -2995
  119. package/src/proto/rpc_pb.ts +310 -0
  120. package/src/proto/stats_pb.ts +1028 -1947
  121. package/src/proto/track_pb.ts +287 -621
  122. package/src/proto/video_frame_pb.ts +445 -905
  123. package/src/room.ts +181 -75
  124. package/src/rpc.ts +121 -0
  125. package/src/track.ts +8 -7
  126. package/src/track_publication.ts +5 -4
  127. package/src/version.ts +1 -0
  128. package/src/video_frame.ts +54 -27
  129. package/src/video_source.ts +7 -6
  130. package/src/video_stream.ts +7 -6
  131. package/dist/utils.d.ts +0 -7
  132. package/dist/utils.d.ts.map +0 -1
  133. package/dist/utils.js +0 -48
  134. package/dist/utils.js.map +0 -1
  135. package/src/utils.test.ts +0 -47
  136. package/src/utils.ts +0 -44
@@ -12,56 +12,31 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
16
- // @generated from file ffi.proto (package livekit.proto, syntax proto3)
15
+ // @generated by protoc-gen-es v2.2.0 with parameter "target=ts,import_extension=js"
16
+ // @generated from file ffi.proto (package livekit.proto, syntax proto2)
17
17
  /* eslint-disable */
18
- // @ts-nocheck
19
18
 
20
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
- import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
22
- import { ConnectCallback, ConnectRequest, ConnectResponse, DisconnectCallback, DisconnectRequest, DisconnectResponse, EditChatMessageRequest, GetSessionStatsCallback, GetSessionStatsRequest, GetSessionStatsResponse, PublishDataCallback, PublishDataRequest, PublishDataResponse, PublishSipDtmfCallback, PublishSipDtmfRequest, PublishSipDtmfResponse, PublishTrackCallback, PublishTrackRequest, PublishTrackResponse, PublishTranscriptionCallback, PublishTranscriptionRequest, PublishTranscriptionResponse, RoomEvent, SendChatMessageCallback, SendChatMessageRequest, SendChatMessageResponse, SetLocalAttributesCallback, SetLocalAttributesRequest, SetLocalAttributesResponse, SetLocalMetadataCallback, SetLocalMetadataRequest, SetLocalMetadataResponse, SetLocalNameCallback, SetLocalNameRequest, SetLocalNameResponse, SetSubscribedRequest, SetSubscribedResponse, UnpublishTrackCallback, UnpublishTrackRequest, UnpublishTrackResponse } from "./room_pb.js";
23
- import { CreateAudioTrackRequest, CreateAudioTrackResponse, CreateVideoTrackRequest, CreateVideoTrackResponse, EnableRemoteTrackRequest, EnableRemoteTrackResponse, GetStatsCallback, GetStatsRequest, GetStatsResponse, LocalTrackMuteRequest, LocalTrackMuteResponse, TrackEvent } from "./track_pb.js";
24
- import { CaptureVideoFrameRequest, CaptureVideoFrameResponse, NewVideoSourceRequest, NewVideoSourceResponse, NewVideoStreamRequest, NewVideoStreamResponse, VideoConvertRequest, VideoConvertResponse, VideoStreamEvent, VideoStreamFromParticipantRequest, VideoStreamFromParticipantResponse } from "./video_frame_pb.js";
25
- import { AudioStreamEvent, AudioStreamFromParticipantRequest, AudioStreamFromParticipantResponse, CaptureAudioFrameCallback, CaptureAudioFrameRequest, CaptureAudioFrameResponse, ClearAudioBufferRequest, ClearAudioBufferResponse, FlushSoxResamplerRequest, FlushSoxResamplerResponse, NewAudioResamplerRequest, NewAudioResamplerResponse, NewAudioSourceRequest, NewAudioSourceResponse, NewAudioStreamRequest, NewAudioStreamResponse, NewSoxResamplerRequest, NewSoxResamplerResponse, PushSoxResamplerRequest, PushSoxResamplerResponse, RemixAndResampleRequest, RemixAndResampleResponse } from "./audio_frame_pb.js";
26
- import { E2eeRequest, E2eeResponse } from "./e2ee_pb.js";
19
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
20
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
21
+ import type { E2eeRequest, E2eeResponse } from "./e2ee_pb.js";
22
+ import { file_e2ee } from "./e2ee_pb.js";
23
+ import type { CreateAudioTrackRequest, CreateAudioTrackResponse, CreateVideoTrackRequest, CreateVideoTrackResponse, EnableRemoteTrackRequest, EnableRemoteTrackResponse, GetStatsCallback, GetStatsRequest, GetStatsResponse, LocalTrackMuteRequest, LocalTrackMuteResponse, TrackEvent } from "./track_pb.js";
24
+ import { file_track } from "./track_pb.js";
25
+ import type { ConnectCallback, ConnectRequest, ConnectResponse, DisconnectCallback, DisconnectRequest, DisconnectResponse, EditChatMessageRequest, GetSessionStatsCallback, GetSessionStatsRequest, GetSessionStatsResponse, PublishDataCallback, PublishDataRequest, PublishDataResponse, PublishSipDtmfCallback, PublishSipDtmfRequest, PublishSipDtmfResponse, PublishTrackCallback, PublishTrackRequest, PublishTrackResponse, PublishTranscriptionCallback, PublishTranscriptionRequest, PublishTranscriptionResponse, RoomEvent, SendChatMessageCallback, SendChatMessageRequest, SendChatMessageResponse, SetLocalAttributesCallback, SetLocalAttributesRequest, SetLocalAttributesResponse, SetLocalMetadataCallback, SetLocalMetadataRequest, SetLocalMetadataResponse, SetLocalNameCallback, SetLocalNameRequest, SetLocalNameResponse, SetSubscribedRequest, SetSubscribedResponse, UnpublishTrackCallback, UnpublishTrackRequest, UnpublishTrackResponse } from "./room_pb.js";
26
+ import { file_room } from "./room_pb.js";
27
+ import type { CaptureVideoFrameRequest, CaptureVideoFrameResponse, NewVideoSourceRequest, NewVideoSourceResponse, NewVideoStreamRequest, NewVideoStreamResponse, VideoConvertRequest, VideoConvertResponse, VideoStreamEvent, VideoStreamFromParticipantRequest, VideoStreamFromParticipantResponse } from "./video_frame_pb.js";
28
+ import { file_video_frame } from "./video_frame_pb.js";
29
+ import type { AudioStreamEvent, AudioStreamFromParticipantRequest, AudioStreamFromParticipantResponse, CaptureAudioFrameCallback, CaptureAudioFrameRequest, CaptureAudioFrameResponse, ClearAudioBufferRequest, ClearAudioBufferResponse, FlushSoxResamplerRequest, FlushSoxResamplerResponse, NewAudioResamplerRequest, NewAudioResamplerResponse, NewAudioSourceRequest, NewAudioSourceResponse, NewAudioStreamRequest, NewAudioStreamResponse, NewSoxResamplerRequest, NewSoxResamplerResponse, PushSoxResamplerRequest, PushSoxResamplerResponse, RemixAndResampleRequest, RemixAndResampleResponse } from "./audio_frame_pb.js";
30
+ import { file_audio_frame } from "./audio_frame_pb.js";
31
+ import type { PerformRpcCallback, PerformRpcRequest, PerformRpcResponse, RegisterRpcMethodRequest, RegisterRpcMethodResponse, RpcMethodInvocationEvent, RpcMethodInvocationResponseRequest, RpcMethodInvocationResponseResponse, UnregisterRpcMethodRequest, UnregisterRpcMethodResponse } from "./rpc_pb.js";
32
+ import { file_rpc } from "./rpc_pb.js";
33
+ import type { Message } from "@bufbuild/protobuf";
27
34
 
28
35
  /**
29
- * @generated from enum livekit.proto.LogLevel
36
+ * Describes the file ffi.proto.
30
37
  */
31
- export enum LogLevel {
32
- /**
33
- * @generated from enum value: LOG_ERROR = 0;
34
- */
35
- LOG_ERROR = 0,
36
-
37
- /**
38
- * @generated from enum value: LOG_WARN = 1;
39
- */
40
- LOG_WARN = 1,
41
-
42
- /**
43
- * @generated from enum value: LOG_INFO = 2;
44
- */
45
- LOG_INFO = 2,
46
-
47
- /**
48
- * @generated from enum value: LOG_DEBUG = 3;
49
- */
50
- LOG_DEBUG = 3,
51
-
52
- /**
53
- * @generated from enum value: LOG_TRACE = 4;
54
- */
55
- LOG_TRACE = 4,
56
- }
57
- // Retrieve enum metadata with: proto3.getEnumType(LogLevel)
58
- proto3.util.setEnumType(LogLevel, "livekit.proto.LogLevel", [
59
- { no: 0, name: "LOG_ERROR" },
60
- { no: 1, name: "LOG_WARN" },
61
- { no: 2, name: "LOG_INFO" },
62
- { no: 3, name: "LOG_DEBUG" },
63
- { no: 4, name: "LOG_TRACE" },
64
- ]);
38
+ export const file_ffi: GenFile = /*@__PURE__*/
39
+ fileDesc("CglmZmkucHJvdG8SDWxpdmVraXQucHJvdG8iphUKCkZmaVJlcXVlc3QSMAoHZGlzcG9zZRgCIAEoCzIdLmxpdmVraXQucHJvdG8uRGlzcG9zZVJlcXVlc3RIABIwCgdjb25uZWN0GAMgASgLMh0ubGl2ZWtpdC5wcm90by5Db25uZWN0UmVxdWVzdEgAEjYKCmRpc2Nvbm5lY3QYBCABKAsyIC5saXZla2l0LnByb3RvLkRpc2Nvbm5lY3RSZXF1ZXN0SAASOwoNcHVibGlzaF90cmFjaxgFIAEoCzIiLmxpdmVraXQucHJvdG8uUHVibGlzaFRyYWNrUmVxdWVzdEgAEj8KD3VucHVibGlzaF90cmFjax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lBlcmZvcm1ScGNDYWxsYmFja0gAEkgKFXJwY19tZXRob2RfaW52b2NhdGlvbhgYIAEoCzInLmxpdmVraXQucHJvdG8uUnBjTWV0aG9kSW52b2NhdGlvbkV2ZW50SABCCQoHbWVzc2FnZSIfCg5EaXNwb3NlUmVxdWVzdBINCgVhc3luYxgBIAIoCCIjCg9EaXNwb3NlUmVzcG9uc2USEAoIYXN5bmNfaWQYASABKAQiIwoPRGlzcG9zZUNhbGxiYWNrEhAKCGFzeW5jX2lkGAEgAigEIoUBCglMb2dSZWNvcmQSJgoFbGV2ZWwYASACKA4yFy5saXZla2l0LnByb3RvLkxvZ0xldmVsEg4KBnRhcmdldBgCIAIoCRITCgttb2R1bGVfcGF0aBgDIAEoCRIMCgRmaWxlGAQgASgJEgwKBGxpbmUYBSABKA0SDwoHbWVzc2FnZRgGIAIoCSI1CghMb2dCYXRjaBIpCgdyZWNvcmRzGAEgAygLMhgubGl2ZWtpdC5wcm90by5Mb2dSZWNvcmQiGAoFUGFuaWMSDwoHbWVzc2FnZRgBIAIoCSpTCghMb2dMZXZlbBINCglMT0dfRVJST1IQABIMCghMT0dfV0FSThABEgwKCExPR19JTkZPEAISDQoJTE9HX0RFQlVHEAMSDQoJTE9HX1RSQUNFEARCEKoCDUxpdmVLaXQuUHJvdG8", [file_e2ee, file_track, file_room, file_video_frame, file_audio_frame, file_rpc]);
65
40
 
66
41
  /**
67
42
  * This is the input of livekit_ffi_request function
@@ -69,7 +44,7 @@ proto3.util.setEnumType(LogLevel, "livekit.proto.LogLevel", [
69
44
  *
70
45
  * @generated from message livekit.proto.FfiRequest
71
46
  */
72
- export class FfiRequest extends Message<FfiRequest> {
47
+ export type FfiRequest = Message<"livekit.proto.FfiRequest"> & {
73
48
  /**
74
49
  * @generated from oneof livekit.proto.FfiRequest.message
75
50
  */
@@ -297,77 +272,48 @@ export class FfiRequest extends Message<FfiRequest> {
297
272
  */
298
273
  value: EditChatMessageRequest;
299
274
  case: "editChatMessage";
300
- } | { case: undefined; value?: undefined } = { case: undefined };
301
-
302
- constructor(data?: PartialMessage<FfiRequest>) {
303
- super();
304
- proto3.util.initPartial(data, this);
305
- }
306
-
307
- static readonly runtime: typeof proto3 = proto3;
308
- static readonly typeName = "livekit.proto.FfiRequest";
309
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
310
- { no: 2, name: "dispose", kind: "message", T: DisposeRequest, oneof: "message" },
311
- { no: 3, name: "connect", kind: "message", T: ConnectRequest, oneof: "message" },
312
- { no: 4, name: "disconnect", kind: "message", T: DisconnectRequest, oneof: "message" },
313
- { no: 5, name: "publish_track", kind: "message", T: PublishTrackRequest, oneof: "message" },
314
- { no: 6, name: "unpublish_track", kind: "message", T: UnpublishTrackRequest, oneof: "message" },
315
- { no: 7, name: "publish_data", kind: "message", T: PublishDataRequest, oneof: "message" },
316
- { no: 8, name: "set_subscribed", kind: "message", T: SetSubscribedRequest, oneof: "message" },
317
- { no: 9, name: "set_local_metadata", kind: "message", T: SetLocalMetadataRequest, oneof: "message" },
318
- { no: 10, name: "set_local_name", kind: "message", T: SetLocalNameRequest, oneof: "message" },
319
- { no: 11, name: "set_local_attributes", kind: "message", T: SetLocalAttributesRequest, oneof: "message" },
320
- { no: 12, name: "get_session_stats", kind: "message", T: GetSessionStatsRequest, oneof: "message" },
321
- { no: 13, name: "publish_transcription", kind: "message", T: PublishTranscriptionRequest, oneof: "message" },
322
- { no: 14, name: "publish_sip_dtmf", kind: "message", T: PublishSipDtmfRequest, oneof: "message" },
323
- { no: 15, name: "create_video_track", kind: "message", T: CreateVideoTrackRequest, oneof: "message" },
324
- { no: 16, name: "create_audio_track", kind: "message", T: CreateAudioTrackRequest, oneof: "message" },
325
- { no: 17, name: "local_track_mute", kind: "message", T: LocalTrackMuteRequest, oneof: "message" },
326
- { no: 18, name: "enable_remote_track", kind: "message", T: EnableRemoteTrackRequest, oneof: "message" },
327
- { no: 19, name: "get_stats", kind: "message", T: GetStatsRequest, oneof: "message" },
328
- { no: 20, name: "new_video_stream", kind: "message", T: NewVideoStreamRequest, oneof: "message" },
329
- { no: 21, name: "new_video_source", kind: "message", T: NewVideoSourceRequest, oneof: "message" },
330
- { no: 22, name: "capture_video_frame", kind: "message", T: CaptureVideoFrameRequest, oneof: "message" },
331
- { no: 23, name: "video_convert", kind: "message", T: VideoConvertRequest, oneof: "message" },
332
- { no: 24, name: "video_stream_from_participant", kind: "message", T: VideoStreamFromParticipantRequest, oneof: "message" },
333
- { no: 25, name: "new_audio_stream", kind: "message", T: NewAudioStreamRequest, oneof: "message" },
334
- { no: 26, name: "new_audio_source", kind: "message", T: NewAudioSourceRequest, oneof: "message" },
335
- { no: 27, name: "capture_audio_frame", kind: "message", T: CaptureAudioFrameRequest, oneof: "message" },
336
- { no: 28, name: "clear_audio_buffer", kind: "message", T: ClearAudioBufferRequest, oneof: "message" },
337
- { no: 29, name: "new_audio_resampler", kind: "message", T: NewAudioResamplerRequest, oneof: "message" },
338
- { no: 30, name: "remix_and_resample", kind: "message", T: RemixAndResampleRequest, oneof: "message" },
339
- { no: 31, name: "e2ee", kind: "message", T: E2eeRequest, oneof: "message" },
340
- { no: 32, name: "audio_stream_from_participant", kind: "message", T: AudioStreamFromParticipantRequest, oneof: "message" },
341
- { no: 33, name: "new_sox_resampler", kind: "message", T: NewSoxResamplerRequest, oneof: "message" },
342
- { no: 34, name: "push_sox_resampler", kind: "message", T: PushSoxResamplerRequest, oneof: "message" },
343
- { no: 35, name: "flush_sox_resampler", kind: "message", T: FlushSoxResamplerRequest, oneof: "message" },
344
- { no: 36, name: "send_chat_message", kind: "message", T: SendChatMessageRequest, oneof: "message" },
345
- { no: 37, name: "edit_chat_message", kind: "message", T: EditChatMessageRequest, oneof: "message" },
346
- ]);
347
-
348
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FfiRequest {
349
- return new FfiRequest().fromBinary(bytes, options);
350
- }
351
-
352
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FfiRequest {
353
- return new FfiRequest().fromJson(jsonValue, options);
354
- }
355
-
356
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FfiRequest {
357
- return new FfiRequest().fromJsonString(jsonString, options);
358
- }
275
+ } | {
276
+ /**
277
+ * RPC
278
+ *
279
+ * @generated from field: livekit.proto.PerformRpcRequest perform_rpc = 38;
280
+ */
281
+ value: PerformRpcRequest;
282
+ case: "performRpc";
283
+ } | {
284
+ /**
285
+ * @generated from field: livekit.proto.RegisterRpcMethodRequest register_rpc_method = 39;
286
+ */
287
+ value: RegisterRpcMethodRequest;
288
+ case: "registerRpcMethod";
289
+ } | {
290
+ /**
291
+ * @generated from field: livekit.proto.UnregisterRpcMethodRequest unregister_rpc_method = 40;
292
+ */
293
+ value: UnregisterRpcMethodRequest;
294
+ case: "unregisterRpcMethod";
295
+ } | {
296
+ /**
297
+ * @generated from field: livekit.proto.RpcMethodInvocationResponseRequest rpc_method_invocation_response = 41;
298
+ */
299
+ value: RpcMethodInvocationResponseRequest;
300
+ case: "rpcMethodInvocationResponse";
301
+ } | { case: undefined; value?: undefined };
302
+ };
359
303
 
360
- static equals(a: FfiRequest | PlainMessage<FfiRequest> | undefined, b: FfiRequest | PlainMessage<FfiRequest> | undefined): boolean {
361
- return proto3.util.equals(FfiRequest, a, b);
362
- }
363
- }
304
+ /**
305
+ * Describes the message livekit.proto.FfiRequest.
306
+ * Use `create(FfiRequestSchema)` to create a new message.
307
+ */
308
+ export const FfiRequestSchema: GenMessage<FfiRequest> = /*@__PURE__*/
309
+ messageDesc(file_ffi, 0);
364
310
 
365
311
  /**
366
312
  * This is the output of livekit_ffi_request function.
367
313
  *
368
314
  * @generated from message livekit.proto.FfiResponse
369
315
  */
370
- export class FfiResponse extends Message<FfiResponse> {
316
+ export type FfiResponse = Message<"livekit.proto.FfiResponse"> & {
371
317
  /**
372
318
  * @generated from oneof livekit.proto.FfiResponse.message
373
319
  */
@@ -589,69 +535,41 @@ export class FfiResponse extends Message<FfiResponse> {
589
535
  */
590
536
  value: SendChatMessageResponse;
591
537
  case: "sendChatMessage";
592
- } | { case: undefined; value?: undefined } = { case: undefined };
593
-
594
- constructor(data?: PartialMessage<FfiResponse>) {
595
- super();
596
- proto3.util.initPartial(data, this);
597
- }
598
-
599
- static readonly runtime: typeof proto3 = proto3;
600
- static readonly typeName = "livekit.proto.FfiResponse";
601
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
602
- { no: 2, name: "dispose", kind: "message", T: DisposeResponse, oneof: "message" },
603
- { no: 3, name: "connect", kind: "message", T: ConnectResponse, oneof: "message" },
604
- { no: 4, name: "disconnect", kind: "message", T: DisconnectResponse, oneof: "message" },
605
- { no: 5, name: "publish_track", kind: "message", T: PublishTrackResponse, oneof: "message" },
606
- { no: 6, name: "unpublish_track", kind: "message", T: UnpublishTrackResponse, oneof: "message" },
607
- { no: 7, name: "publish_data", kind: "message", T: PublishDataResponse, oneof: "message" },
608
- { no: 8, name: "set_subscribed", kind: "message", T: SetSubscribedResponse, oneof: "message" },
609
- { no: 9, name: "set_local_metadata", kind: "message", T: SetLocalMetadataResponse, oneof: "message" },
610
- { no: 10, name: "set_local_name", kind: "message", T: SetLocalNameResponse, oneof: "message" },
611
- { no: 11, name: "set_local_attributes", kind: "message", T: SetLocalAttributesResponse, oneof: "message" },
612
- { no: 12, name: "get_session_stats", kind: "message", T: GetSessionStatsResponse, oneof: "message" },
613
- { no: 13, name: "publish_transcription", kind: "message", T: PublishTranscriptionResponse, oneof: "message" },
614
- { no: 14, name: "publish_sip_dtmf", kind: "message", T: PublishSipDtmfResponse, oneof: "message" },
615
- { no: 15, name: "create_video_track", kind: "message", T: CreateVideoTrackResponse, oneof: "message" },
616
- { no: 16, name: "create_audio_track", kind: "message", T: CreateAudioTrackResponse, oneof: "message" },
617
- { no: 17, name: "local_track_mute", kind: "message", T: LocalTrackMuteResponse, oneof: "message" },
618
- { no: 18, name: "enable_remote_track", kind: "message", T: EnableRemoteTrackResponse, oneof: "message" },
619
- { no: 19, name: "get_stats", kind: "message", T: GetStatsResponse, oneof: "message" },
620
- { no: 20, name: "new_video_stream", kind: "message", T: NewVideoStreamResponse, oneof: "message" },
621
- { no: 21, name: "new_video_source", kind: "message", T: NewVideoSourceResponse, oneof: "message" },
622
- { no: 22, name: "capture_video_frame", kind: "message", T: CaptureVideoFrameResponse, oneof: "message" },
623
- { no: 23, name: "video_convert", kind: "message", T: VideoConvertResponse, oneof: "message" },
624
- { no: 24, name: "video_stream_from_participant", kind: "message", T: VideoStreamFromParticipantResponse, oneof: "message" },
625
- { no: 25, name: "new_audio_stream", kind: "message", T: NewAudioStreamResponse, oneof: "message" },
626
- { no: 26, name: "new_audio_source", kind: "message", T: NewAudioSourceResponse, oneof: "message" },
627
- { no: 27, name: "capture_audio_frame", kind: "message", T: CaptureAudioFrameResponse, oneof: "message" },
628
- { no: 28, name: "clear_audio_buffer", kind: "message", T: ClearAudioBufferResponse, oneof: "message" },
629
- { no: 29, name: "new_audio_resampler", kind: "message", T: NewAudioResamplerResponse, oneof: "message" },
630
- { no: 30, name: "remix_and_resample", kind: "message", T: RemixAndResampleResponse, oneof: "message" },
631
- { no: 31, name: "audio_stream_from_participant", kind: "message", T: AudioStreamFromParticipantResponse, oneof: "message" },
632
- { no: 32, name: "e2ee", kind: "message", T: E2eeResponse, oneof: "message" },
633
- { no: 33, name: "new_sox_resampler", kind: "message", T: NewSoxResamplerResponse, oneof: "message" },
634
- { no: 34, name: "push_sox_resampler", kind: "message", T: PushSoxResamplerResponse, oneof: "message" },
635
- { no: 35, name: "flush_sox_resampler", kind: "message", T: FlushSoxResamplerResponse, oneof: "message" },
636
- { no: 36, name: "send_chat_message", kind: "message", T: SendChatMessageResponse, oneof: "message" },
637
- ]);
638
-
639
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FfiResponse {
640
- return new FfiResponse().fromBinary(bytes, options);
641
- }
642
-
643
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FfiResponse {
644
- return new FfiResponse().fromJson(jsonValue, options);
645
- }
646
-
647
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FfiResponse {
648
- return new FfiResponse().fromJsonString(jsonString, options);
649
- }
538
+ } | {
539
+ /**
540
+ * RPC
541
+ *
542
+ * @generated from field: livekit.proto.PerformRpcResponse perform_rpc = 37;
543
+ */
544
+ value: PerformRpcResponse;
545
+ case: "performRpc";
546
+ } | {
547
+ /**
548
+ * @generated from field: livekit.proto.RegisterRpcMethodResponse register_rpc_method = 38;
549
+ */
550
+ value: RegisterRpcMethodResponse;
551
+ case: "registerRpcMethod";
552
+ } | {
553
+ /**
554
+ * @generated from field: livekit.proto.UnregisterRpcMethodResponse unregister_rpc_method = 39;
555
+ */
556
+ value: UnregisterRpcMethodResponse;
557
+ case: "unregisterRpcMethod";
558
+ } | {
559
+ /**
560
+ * @generated from field: livekit.proto.RpcMethodInvocationResponseResponse rpc_method_invocation_response = 40;
561
+ */
562
+ value: RpcMethodInvocationResponseResponse;
563
+ case: "rpcMethodInvocationResponse";
564
+ } | { case: undefined; value?: undefined };
565
+ };
650
566
 
651
- static equals(a: FfiResponse | PlainMessage<FfiResponse> | undefined, b: FfiResponse | PlainMessage<FfiResponse> | undefined): boolean {
652
- return proto3.util.equals(FfiResponse, a, b);
653
- }
654
- }
567
+ /**
568
+ * Describes the message livekit.proto.FfiResponse.
569
+ * Use `create(FfiResponseSchema)` to create a new message.
570
+ */
571
+ export const FfiResponseSchema: GenMessage<FfiResponse> = /*@__PURE__*/
572
+ messageDesc(file_ffi, 1);
655
573
 
656
574
  /**
657
575
  * To minimize complexity, participant events are not included in the protocol.
@@ -660,7 +578,7 @@ export class FfiResponse extends Message<FfiResponse> {
660
578
  *
661
579
  * @generated from message livekit.proto.FfiEvent
662
580
  */
663
- export class FfiEvent extends Message<FfiEvent> {
581
+ export type FfiEvent = Message<"livekit.proto.FfiEvent"> & {
664
582
  /**
665
583
  * @generated from oneof livekit.proto.FfiEvent.message
666
584
  */
@@ -790,55 +708,27 @@ export class FfiEvent extends Message<FfiEvent> {
790
708
  */
791
709
  value: SendChatMessageCallback;
792
710
  case: "chatMessage";
793
- } | { case: undefined; value?: undefined } = { case: undefined };
794
-
795
- constructor(data?: PartialMessage<FfiEvent>) {
796
- super();
797
- proto3.util.initPartial(data, this);
798
- }
799
-
800
- static readonly runtime: typeof proto3 = proto3;
801
- static readonly typeName = "livekit.proto.FfiEvent";
802
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
803
- { no: 1, name: "room_event", kind: "message", T: RoomEvent, oneof: "message" },
804
- { no: 2, name: "track_event", kind: "message", T: TrackEvent, oneof: "message" },
805
- { no: 3, name: "video_stream_event", kind: "message", T: VideoStreamEvent, oneof: "message" },
806
- { no: 4, name: "audio_stream_event", kind: "message", T: AudioStreamEvent, oneof: "message" },
807
- { no: 5, name: "connect", kind: "message", T: ConnectCallback, oneof: "message" },
808
- { no: 7, name: "disconnect", kind: "message", T: DisconnectCallback, oneof: "message" },
809
- { no: 8, name: "dispose", kind: "message", T: DisposeCallback, oneof: "message" },
810
- { no: 9, name: "publish_track", kind: "message", T: PublishTrackCallback, oneof: "message" },
811
- { no: 10, name: "unpublish_track", kind: "message", T: UnpublishTrackCallback, oneof: "message" },
812
- { no: 11, name: "publish_data", kind: "message", T: PublishDataCallback, oneof: "message" },
813
- { no: 12, name: "publish_transcription", kind: "message", T: PublishTranscriptionCallback, oneof: "message" },
814
- { no: 13, name: "capture_audio_frame", kind: "message", T: CaptureAudioFrameCallback, oneof: "message" },
815
- { no: 14, name: "set_local_metadata", kind: "message", T: SetLocalMetadataCallback, oneof: "message" },
816
- { no: 15, name: "set_local_name", kind: "message", T: SetLocalNameCallback, oneof: "message" },
817
- { no: 16, name: "set_local_attributes", kind: "message", T: SetLocalAttributesCallback, oneof: "message" },
818
- { no: 17, name: "get_stats", kind: "message", T: GetStatsCallback, oneof: "message" },
819
- { no: 18, name: "logs", kind: "message", T: LogBatch, oneof: "message" },
820
- { no: 19, name: "get_session_stats", kind: "message", T: GetSessionStatsCallback, oneof: "message" },
821
- { no: 20, name: "panic", kind: "message", T: Panic, oneof: "message" },
822
- { no: 21, name: "publish_sip_dtmf", kind: "message", T: PublishSipDtmfCallback, oneof: "message" },
823
- { no: 22, name: "chat_message", kind: "message", T: SendChatMessageCallback, oneof: "message" },
824
- ]);
825
-
826
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FfiEvent {
827
- return new FfiEvent().fromBinary(bytes, options);
828
- }
829
-
830
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FfiEvent {
831
- return new FfiEvent().fromJson(jsonValue, options);
832
- }
833
-
834
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FfiEvent {
835
- return new FfiEvent().fromJsonString(jsonString, options);
836
- }
711
+ } | {
712
+ /**
713
+ * @generated from field: livekit.proto.PerformRpcCallback perform_rpc = 23;
714
+ */
715
+ value: PerformRpcCallback;
716
+ case: "performRpc";
717
+ } | {
718
+ /**
719
+ * @generated from field: livekit.proto.RpcMethodInvocationEvent rpc_method_invocation = 24;
720
+ */
721
+ value: RpcMethodInvocationEvent;
722
+ case: "rpcMethodInvocation";
723
+ } | { case: undefined; value?: undefined };
724
+ };
837
725
 
838
- static equals(a: FfiEvent | PlainMessage<FfiEvent> | undefined, b: FfiEvent | PlainMessage<FfiEvent> | undefined): boolean {
839
- return proto3.util.equals(FfiEvent, a, b);
840
- }
841
- }
726
+ /**
727
+ * Describes the message livekit.proto.FfiEvent.
728
+ * Use `create(FfiEventSchema)` to create a new message.
729
+ */
730
+ export const FfiEventSchema: GenMessage<FfiEvent> = /*@__PURE__*/
731
+ messageDesc(file_ffi, 2);
842
732
 
843
733
  /**
844
734
  * Stop all rooms synchronously (Do we need async here?).
@@ -847,256 +737,167 @@ export class FfiEvent extends Message<FfiEvent> {
847
737
  *
848
738
  * @generated from message livekit.proto.DisposeRequest
849
739
  */
850
- export class DisposeRequest extends Message<DisposeRequest> {
740
+ export type DisposeRequest = Message<"livekit.proto.DisposeRequest"> & {
851
741
  /**
852
- * @generated from field: bool async = 1;
742
+ * @generated from field: required bool async = 1;
853
743
  */
854
- async = false;
855
-
856
- constructor(data?: PartialMessage<DisposeRequest>) {
857
- super();
858
- proto3.util.initPartial(data, this);
859
- }
860
-
861
- static readonly runtime: typeof proto3 = proto3;
862
- static readonly typeName = "livekit.proto.DisposeRequest";
863
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
864
- { no: 1, name: "async", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
865
- ]);
866
-
867
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DisposeRequest {
868
- return new DisposeRequest().fromBinary(bytes, options);
869
- }
744
+ async: boolean;
745
+ };
870
746
 
871
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DisposeRequest {
872
- return new DisposeRequest().fromJson(jsonValue, options);
873
- }
874
-
875
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisposeRequest {
876
- return new DisposeRequest().fromJsonString(jsonString, options);
877
- }
878
-
879
- static equals(a: DisposeRequest | PlainMessage<DisposeRequest> | undefined, b: DisposeRequest | PlainMessage<DisposeRequest> | undefined): boolean {
880
- return proto3.util.equals(DisposeRequest, a, b);
881
- }
882
- }
747
+ /**
748
+ * Describes the message livekit.proto.DisposeRequest.
749
+ * Use `create(DisposeRequestSchema)` to create a new message.
750
+ */
751
+ export const DisposeRequestSchema: GenMessage<DisposeRequest> = /*@__PURE__*/
752
+ messageDesc(file_ffi, 3);
883
753
 
884
754
  /**
885
755
  * @generated from message livekit.proto.DisposeResponse
886
756
  */
887
- export class DisposeResponse extends Message<DisposeResponse> {
757
+ export type DisposeResponse = Message<"livekit.proto.DisposeResponse"> & {
888
758
  /**
889
759
  * None if sync
890
760
  *
891
761
  * @generated from field: optional uint64 async_id = 1;
892
762
  */
893
- asyncId?: bigint;
894
-
895
- constructor(data?: PartialMessage<DisposeResponse>) {
896
- super();
897
- proto3.util.initPartial(data, this);
898
- }
899
-
900
- static readonly runtime: typeof proto3 = proto3;
901
- static readonly typeName = "livekit.proto.DisposeResponse";
902
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
903
- { no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
904
- ]);
905
-
906
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DisposeResponse {
907
- return new DisposeResponse().fromBinary(bytes, options);
908
- }
909
-
910
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DisposeResponse {
911
- return new DisposeResponse().fromJson(jsonValue, options);
912
- }
763
+ asyncId: bigint;
764
+ };
913
765
 
914
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisposeResponse {
915
- return new DisposeResponse().fromJsonString(jsonString, options);
916
- }
917
-
918
- static equals(a: DisposeResponse | PlainMessage<DisposeResponse> | undefined, b: DisposeResponse | PlainMessage<DisposeResponse> | undefined): boolean {
919
- return proto3.util.equals(DisposeResponse, a, b);
920
- }
921
- }
766
+ /**
767
+ * Describes the message livekit.proto.DisposeResponse.
768
+ * Use `create(DisposeResponseSchema)` to create a new message.
769
+ */
770
+ export const DisposeResponseSchema: GenMessage<DisposeResponse> = /*@__PURE__*/
771
+ messageDesc(file_ffi, 4);
922
772
 
923
773
  /**
924
774
  * @generated from message livekit.proto.DisposeCallback
925
775
  */
926
- export class DisposeCallback extends Message<DisposeCallback> {
776
+ export type DisposeCallback = Message<"livekit.proto.DisposeCallback"> & {
927
777
  /**
928
- * @generated from field: uint64 async_id = 1;
778
+ * @generated from field: required uint64 async_id = 1;
929
779
  */
930
- asyncId = protoInt64.zero;
931
-
932
- constructor(data?: PartialMessage<DisposeCallback>) {
933
- super();
934
- proto3.util.initPartial(data, this);
935
- }
780
+ asyncId: bigint;
781
+ };
936
782
 
937
- static readonly runtime: typeof proto3 = proto3;
938
- static readonly typeName = "livekit.proto.DisposeCallback";
939
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
940
- { no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
941
- ]);
942
-
943
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DisposeCallback {
944
- return new DisposeCallback().fromBinary(bytes, options);
945
- }
946
-
947
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DisposeCallback {
948
- return new DisposeCallback().fromJson(jsonValue, options);
949
- }
950
-
951
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisposeCallback {
952
- return new DisposeCallback().fromJsonString(jsonString, options);
953
- }
954
-
955
- static equals(a: DisposeCallback | PlainMessage<DisposeCallback> | undefined, b: DisposeCallback | PlainMessage<DisposeCallback> | undefined): boolean {
956
- return proto3.util.equals(DisposeCallback, a, b);
957
- }
958
- }
783
+ /**
784
+ * Describes the message livekit.proto.DisposeCallback.
785
+ * Use `create(DisposeCallbackSchema)` to create a new message.
786
+ */
787
+ export const DisposeCallbackSchema: GenMessage<DisposeCallback> = /*@__PURE__*/
788
+ messageDesc(file_ffi, 5);
959
789
 
960
790
  /**
961
791
  * @generated from message livekit.proto.LogRecord
962
792
  */
963
- export class LogRecord extends Message<LogRecord> {
793
+ export type LogRecord = Message<"livekit.proto.LogRecord"> & {
964
794
  /**
965
- * @generated from field: livekit.proto.LogLevel level = 1;
795
+ * @generated from field: required livekit.proto.LogLevel level = 1;
966
796
  */
967
- level = LogLevel.LOG_ERROR;
797
+ level: LogLevel;
968
798
 
969
799
  /**
970
800
  * e.g "livekit", "libwebrtc", "tokio-tungstenite", etc...
971
801
  *
972
- * @generated from field: string target = 2;
802
+ * @generated from field: required string target = 2;
973
803
  */
974
- target = "";
804
+ target: string;
975
805
 
976
806
  /**
977
807
  * @generated from field: optional string module_path = 3;
978
808
  */
979
- modulePath?: string;
809
+ modulePath: string;
980
810
 
981
811
  /**
982
812
  * @generated from field: optional string file = 4;
983
813
  */
984
- file?: string;
814
+ file: string;
985
815
 
986
816
  /**
987
817
  * @generated from field: optional uint32 line = 5;
988
818
  */
989
- line?: number;
819
+ line: number;
990
820
 
991
821
  /**
992
- * @generated from field: string message = 6;
822
+ * @generated from field: required string message = 6;
993
823
  */
994
- message = "";
995
-
996
- constructor(data?: PartialMessage<LogRecord>) {
997
- super();
998
- proto3.util.initPartial(data, this);
999
- }
1000
-
1001
- static readonly runtime: typeof proto3 = proto3;
1002
- static readonly typeName = "livekit.proto.LogRecord";
1003
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1004
- { no: 1, name: "level", kind: "enum", T: proto3.getEnumType(LogLevel) },
1005
- { no: 2, name: "target", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1006
- { no: 3, name: "module_path", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1007
- { no: 4, name: "file", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1008
- { no: 5, name: "line", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1009
- { no: 6, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1010
- ]);
1011
-
1012
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LogRecord {
1013
- return new LogRecord().fromBinary(bytes, options);
1014
- }
824
+ message: string;
825
+ };
1015
826
 
1016
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LogRecord {
1017
- return new LogRecord().fromJson(jsonValue, options);
1018
- }
1019
-
1020
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LogRecord {
1021
- return new LogRecord().fromJsonString(jsonString, options);
1022
- }
1023
-
1024
- static equals(a: LogRecord | PlainMessage<LogRecord> | undefined, b: LogRecord | PlainMessage<LogRecord> | undefined): boolean {
1025
- return proto3.util.equals(LogRecord, a, b);
1026
- }
1027
- }
827
+ /**
828
+ * Describes the message livekit.proto.LogRecord.
829
+ * Use `create(LogRecordSchema)` to create a new message.
830
+ */
831
+ export const LogRecordSchema: GenMessage<LogRecord> = /*@__PURE__*/
832
+ messageDesc(file_ffi, 6);
1028
833
 
1029
834
  /**
1030
835
  * @generated from message livekit.proto.LogBatch
1031
836
  */
1032
- export class LogBatch extends Message<LogBatch> {
837
+ export type LogBatch = Message<"livekit.proto.LogBatch"> & {
1033
838
  /**
1034
839
  * @generated from field: repeated livekit.proto.LogRecord records = 1;
1035
840
  */
1036
- records: LogRecord[] = [];
1037
-
1038
- constructor(data?: PartialMessage<LogBatch>) {
1039
- super();
1040
- proto3.util.initPartial(data, this);
1041
- }
1042
-
1043
- static readonly runtime: typeof proto3 = proto3;
1044
- static readonly typeName = "livekit.proto.LogBatch";
1045
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1046
- { no: 1, name: "records", kind: "message", T: LogRecord, repeated: true },
1047
- ]);
1048
-
1049
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LogBatch {
1050
- return new LogBatch().fromBinary(bytes, options);
1051
- }
1052
-
1053
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LogBatch {
1054
- return new LogBatch().fromJson(jsonValue, options);
1055
- }
841
+ records: LogRecord[];
842
+ };
1056
843
 
1057
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LogBatch {
1058
- return new LogBatch().fromJsonString(jsonString, options);
1059
- }
1060
-
1061
- static equals(a: LogBatch | PlainMessage<LogBatch> | undefined, b: LogBatch | PlainMessage<LogBatch> | undefined): boolean {
1062
- return proto3.util.equals(LogBatch, a, b);
1063
- }
1064
- }
844
+ /**
845
+ * Describes the message livekit.proto.LogBatch.
846
+ * Use `create(LogBatchSchema)` to create a new message.
847
+ */
848
+ export const LogBatchSchema: GenMessage<LogBatch> = /*@__PURE__*/
849
+ messageDesc(file_ffi, 7);
1065
850
 
1066
851
  /**
1067
852
  * @generated from message livekit.proto.Panic
1068
853
  */
1069
- export class Panic extends Message<Panic> {
854
+ export type Panic = Message<"livekit.proto.Panic"> & {
1070
855
  /**
1071
- * @generated from field: string message = 1;
856
+ * @generated from field: required string message = 1;
1072
857
  */
1073
- message = "";
858
+ message: string;
859
+ };
1074
860
 
1075
- constructor(data?: PartialMessage<Panic>) {
1076
- super();
1077
- proto3.util.initPartial(data, this);
1078
- }
861
+ /**
862
+ * Describes the message livekit.proto.Panic.
863
+ * Use `create(PanicSchema)` to create a new message.
864
+ */
865
+ export const PanicSchema: GenMessage<Panic> = /*@__PURE__*/
866
+ messageDesc(file_ffi, 8);
1079
867
 
1080
- static readonly runtime: typeof proto3 = proto3;
1081
- static readonly typeName = "livekit.proto.Panic";
1082
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
1083
- { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1084
- ]);
868
+ /**
869
+ * @generated from enum livekit.proto.LogLevel
870
+ */
871
+ export enum LogLevel {
872
+ /**
873
+ * @generated from enum value: LOG_ERROR = 0;
874
+ */
875
+ LOG_ERROR = 0,
1085
876
 
1086
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Panic {
1087
- return new Panic().fromBinary(bytes, options);
1088
- }
877
+ /**
878
+ * @generated from enum value: LOG_WARN = 1;
879
+ */
880
+ LOG_WARN = 1,
1089
881
 
1090
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Panic {
1091
- return new Panic().fromJson(jsonValue, options);
1092
- }
882
+ /**
883
+ * @generated from enum value: LOG_INFO = 2;
884
+ */
885
+ LOG_INFO = 2,
1093
886
 
1094
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Panic {
1095
- return new Panic().fromJsonString(jsonString, options);
1096
- }
887
+ /**
888
+ * @generated from enum value: LOG_DEBUG = 3;
889
+ */
890
+ LOG_DEBUG = 3,
1097
891
 
1098
- static equals(a: Panic | PlainMessage<Panic> | undefined, b: Panic | PlainMessage<Panic> | undefined): boolean {
1099
- return proto3.util.equals(Panic, a, b);
1100
- }
892
+ /**
893
+ * @generated from enum value: LOG_TRACE = 4;
894
+ */
895
+ LOG_TRACE = 4,
1101
896
  }
1102
897
 
898
+ /**
899
+ * Describes the enum livekit.proto.LogLevel.
900
+ */
901
+ export const LogLevelSchema: GenEnum<LogLevel> = /*@__PURE__*/
902
+ enumDesc(file_ffi, 0);
903
+