@livekit/rtc-node 0.12.1 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/audio_frame.cjs +2 -2
- package/dist/audio_frame.cjs.map +1 -1
- package/dist/audio_frame.d.cts +31 -0
- package/dist/audio_frame.d.ts +11 -5
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +3 -3
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_resampler.cjs +10 -7
- package/dist/audio_resampler.cjs.map +1 -1
- package/dist/audio_resampler.d.cts +59 -0
- package/dist/audio_resampler.d.ts +11 -3
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +13 -10
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.cjs +6 -4
- package/dist/audio_source.cjs.map +1 -1
- package/dist/audio_source.d.cts +37 -0
- package/dist/audio_source.d.ts +13 -5
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +9 -7
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.cjs +1 -2
- package/dist/audio_stream.cjs.map +1 -1
- package/dist/audio_stream.d.cts +37 -0
- package/dist/audio_stream.d.ts +16 -5
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +2 -3
- package/dist/audio_stream.js.map +1 -1
- package/dist/e2ee.cjs +19 -20
- package/dist/e2ee.cjs.map +1 -1
- package/dist/e2ee.d.cts +47 -0
- package/dist/e2ee.d.ts +11 -8
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +29 -30
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.cjs +6 -5
- package/dist/ffi_client.cjs.map +1 -1
- package/dist/ffi_client.d.cts +35 -0
- package/dist/ffi_client.d.ts +23 -11
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +6 -10
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.cjs +16 -49
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -0
- package/dist/index.d.ts +20 -41
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -46
- package/dist/index.js.map +1 -1
- package/dist/napi/native.d.cjs.map +1 -1
- package/dist/napi/native.d.d.cts +21 -0
- package/dist/napi/native.d.d.ts +21 -0
- package/dist/napi/native.d.ts +5 -5
- package/dist/native.d.ts +5 -5
- package/dist/participant.cjs +57 -34
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +126 -0
- package/dist/participant.d.ts +34 -20
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +75 -50
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.cjs +977 -125
- package/dist/proto/audio_frame_pb.cjs.map +1 -1
- package/dist/proto/audio_frame_pb.d.cts +898 -0
- package/dist/proto/audio_frame_pb.d.ts +506 -417
- package/dist/proto/audio_frame_pb.d.ts.map +1 -1
- package/dist/proto/audio_frame_pb.js +943 -85
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/e2ee_pb.cjs +700 -85
- package/dist/proto/e2ee_pb.cjs.map +1 -1
- package/dist/proto/e2ee_pb.d.cts +653 -0
- package/dist/proto/e2ee_pb.d.ts +333 -263
- package/dist/proto/e2ee_pb.d.ts.map +1 -1
- package/dist/proto/e2ee_pb.js +675 -57
- package/dist/proto/e2ee_pb.js.map +1 -1
- package/dist/proto/ffi_pb.cjs +369 -36
- package/dist/proto/ffi_pb.cjs.map +1 -1
- package/dist/proto/ffi_pb.d.cts +898 -0
- package/dist/proto/ffi_pb.d.ts +164 -112
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +364 -29
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/handle_pb.cjs +27 -7
- package/dist/proto/handle_pb.cjs.map +1 -1
- package/dist/proto/handle_pb.d.cts +31 -0
- package/dist/proto/handle_pb.d.ts +15 -15
- package/dist/proto/handle_pb.d.ts.map +1 -1
- package/dist/proto/handle_pb.js +26 -5
- package/dist/proto/handle_pb.js.map +1 -1
- package/dist/proto/participant_pb.cjs +112 -15
- package/dist/proto/participant_pb.cjs.map +1 -1
- package/dist/proto/participant_pb.d.cts +181 -0
- package/dist/proto/participant_pb.d.ts +143 -53
- package/dist/proto/participant_pb.d.ts.map +1 -1
- package/dist/proto/participant_pb.js +109 -11
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.cjs +2693 -302
- package/dist/proto/room_pb.cjs.map +1 -1
- package/dist/proto/room_pb.d.cts +2475 -0
- package/dist/proto/room_pb.d.ts +1269 -864
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +2603 -210
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/rpc_pb.cjs +302 -37
- package/dist/proto/rpc_pb.cjs.map +1 -1
- package/dist/proto/rpc_pb.d.cts +267 -0
- package/dist/proto/rpc_pb.d.ts +140 -108
- package/dist/proto/rpc_pb.d.ts.map +1 -1
- package/dist/proto/rpc_pb.js +291 -25
- package/dist/proto/rpc_pb.js.map +1 -1
- package/dist/proto/stats_pb.cjs +1253 -139
- package/dist/proto/stats_pb.cjs.map +1 -1
- package/dist/proto/stats_pb.d.cts +1764 -0
- package/dist/proto/stats_pb.d.ts +806 -693
- package/dist/proto/stats_pb.d.ts.map +1 -1
- package/dist/proto/stats_pb.js +1216 -93
- package/dist/proto/stats_pb.js.map +1 -1
- package/dist/proto/track_pb.cjs +462 -64
- package/dist/proto/track_pb.cjs.map +1 -1
- package/dist/proto/track_pb.d.cts +434 -0
- package/dist/proto/track_pb.d.ts +254 -220
- package/dist/proto/track_pb.d.ts.map +1 -1
- package/dist/proto/track_pb.js +447 -45
- package/dist/proto/track_pb.js.map +1 -1
- package/dist/proto/track_publication_pb.cjs +130 -0
- package/dist/proto/track_publication_pb.cjs.map +1 -0
- package/dist/proto/track_publication_pb.d.cts +80 -0
- package/dist/proto/track_publication_pb.d.ts +80 -0
- package/dist/proto/track_publication_pb.d.ts.map +1 -0
- package/dist/proto/track_publication_pb.js +103 -0
- package/dist/proto/track_publication_pb.js.map +1 -0
- package/dist/proto/video_frame_pb.cjs +648 -88
- package/dist/proto/video_frame_pb.cjs.map +1 -1
- package/dist/proto/video_frame_pb.d.cts +660 -0
- package/dist/proto/video_frame_pb.d.ts +375 -328
- package/dist/proto/video_frame_pb.d.ts.map +1 -1
- package/dist/proto/video_frame_pb.js +626 -60
- package/dist/proto/video_frame_pb.js.map +1 -1
- package/dist/room.cjs +93 -125
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +123 -0
- package/dist/room.d.ts +37 -34
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +92 -122
- package/dist/room.js.map +1 -1
- package/dist/rpc.cjs.map +1 -1
- package/dist/rpc.d.cts +81 -0
- package/dist/rpc.d.ts +10 -7
- package/dist/rpc.js.map +1 -1
- package/dist/track.cjs +12 -8
- package/dist/track.cjs.map +1 -1
- package/dist/track.d.cts +45 -0
- package/dist/track.d.ts +30 -20
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +13 -9
- package/dist/track.js.map +1 -1
- package/dist/track_publication.cjs +21 -12
- package/dist/track_publication.cjs.map +1 -1
- package/dist/track_publication.d.cts +47 -0
- package/dist/track_publication.d.ts +30 -19
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +22 -13
- package/dist/track_publication.js.map +1 -1
- package/dist/transcription.d.cts +15 -0
- package/dist/transcription.d.ts +4 -3
- package/dist/types.d.cts +9 -0
- package/dist/types.d.ts +3 -2
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.d.cts +3 -0
- package/dist/version.d.ts +3 -2
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/video_frame.cjs +26 -45
- package/dist/video_frame.cjs.map +1 -1
- package/dist/video_frame.d.cts +24 -0
- package/dist/video_frame.d.ts +10 -4
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +29 -48
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.cjs +7 -4
- package/dist/video_source.cjs.map +1 -1
- package/dist/video_source.d.cts +22 -0
- package/dist/video_source.d.ts +14 -7
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +9 -6
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.cjs +16 -5
- package/dist/video_stream.cjs.map +1 -1
- package/dist/video_stream.d.cts +40 -0
- package/dist/video_stream.d.ts +18 -7
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +17 -6
- package/dist/video_stream.js.map +1 -1
- package/package.json +17 -12
- package/src/audio_frame.ts +10 -10
- package/src/audio_resampler.ts +15 -13
- package/src/audio_source.ts +11 -8
- package/src/audio_stream.ts +3 -4
- package/src/e2ee.ts +36 -37
- package/src/ffi_client.ts +8 -16
- package/src/index.ts +5 -68
- package/src/napi/native.d.ts +5 -5
- package/src/participant.ts +100 -72
- package/src/proto/audio_frame_pb.ts +1220 -496
- package/src/proto/e2ee_pb.ts +858 -337
- package/src/proto/ffi_pb.ts +442 -135
- package/src/proto/handle_pb.ts +33 -19
- package/src/proto/participant_pb.ts +225 -60
- package/src/proto/room_pb.ts +3149 -1013
- package/src/proto/rpc_pb.ts +358 -129
- package/src/proto/stats_pb.ts +1891 -877
- package/src/proto/track_pb.ts +587 -253
- package/src/proto/track_publication_pb.ts +180 -0
- package/src/proto/video_frame_pb.ts +861 -394
- package/src/room.ts +143 -188
- package/src/rpc.ts +1 -1
- package/src/track.ts +16 -17
- package/src/track_publication.ts +25 -26
- package/src/version.ts +1 -1
- package/src/video_frame.ts +48 -72
- package/src/video_source.ts +11 -8
- package/src/video_stream.ts +18 -8
package/dist/proto/ffi_pb.cjs
CHANGED
|
@@ -18,37 +18,26 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var ffi_pb_exports = {};
|
|
20
20
|
__export(ffi_pb_exports, {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
DisposeCallback: () => DisposeCallback,
|
|
22
|
+
DisposeRequest: () => DisposeRequest,
|
|
23
|
+
DisposeResponse: () => DisposeResponse,
|
|
24
|
+
FfiEvent: () => FfiEvent,
|
|
25
|
+
FfiRequest: () => FfiRequest,
|
|
26
|
+
FfiResponse: () => FfiResponse,
|
|
27
|
+
LogBatch: () => LogBatch,
|
|
28
28
|
LogLevel: () => LogLevel,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
PanicSchema: () => PanicSchema,
|
|
32
|
-
file_ffi: () => file_ffi
|
|
29
|
+
LogRecord: () => LogRecord,
|
|
30
|
+
Panic: () => Panic
|
|
33
31
|
});
|
|
34
32
|
module.exports = __toCommonJS(ffi_pb_exports);
|
|
35
|
-
var
|
|
36
|
-
var import_e2ee_pb = require("./e2ee_pb.cjs");
|
|
37
|
-
var import_track_pb = require("./track_pb.cjs");
|
|
33
|
+
var import_protobuf = require("@bufbuild/protobuf");
|
|
38
34
|
var import_room_pb = require("./room_pb.cjs");
|
|
35
|
+
var import_track_pb = require("./track_pb.cjs");
|
|
39
36
|
var import_video_frame_pb = require("./video_frame_pb.cjs");
|
|
40
37
|
var import_audio_frame_pb = require("./audio_frame_pb.cjs");
|
|
38
|
+
var import_e2ee_pb = require("./e2ee_pb.cjs");
|
|
41
39
|
var import_rpc_pb = require("./rpc_pb.cjs");
|
|
42
|
-
|
|
43
|
-
const FfiRequestSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_ffi, 0);
|
|
44
|
-
const FfiResponseSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_ffi, 1);
|
|
45
|
-
const FfiEventSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_ffi, 2);
|
|
46
|
-
const DisposeRequestSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_ffi, 3);
|
|
47
|
-
const DisposeResponseSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_ffi, 4);
|
|
48
|
-
const DisposeCallbackSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_ffi, 5);
|
|
49
|
-
const LogRecordSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_ffi, 6);
|
|
50
|
-
const LogBatchSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_ffi, 7);
|
|
51
|
-
const PanicSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_ffi, 8);
|
|
40
|
+
var import_track_publication_pb = require("./track_publication_pb.cjs");
|
|
52
41
|
var LogLevel = /* @__PURE__ */ ((LogLevel2) => {
|
|
53
42
|
LogLevel2[LogLevel2["LOG_ERROR"] = 0] = "LOG_ERROR";
|
|
54
43
|
LogLevel2[LogLevel2["LOG_WARN"] = 1] = "LOG_WARN";
|
|
@@ -57,20 +46,364 @@ var LogLevel = /* @__PURE__ */ ((LogLevel2) => {
|
|
|
57
46
|
LogLevel2[LogLevel2["LOG_TRACE"] = 4] = "LOG_TRACE";
|
|
58
47
|
return LogLevel2;
|
|
59
48
|
})(LogLevel || {});
|
|
60
|
-
|
|
49
|
+
import_protobuf.proto2.util.setEnumType(LogLevel, "livekit.proto.LogLevel", [
|
|
50
|
+
{ no: 0, name: "LOG_ERROR" },
|
|
51
|
+
{ no: 1, name: "LOG_WARN" },
|
|
52
|
+
{ no: 2, name: "LOG_INFO" },
|
|
53
|
+
{ no: 3, name: "LOG_DEBUG" },
|
|
54
|
+
{ no: 4, name: "LOG_TRACE" }
|
|
55
|
+
]);
|
|
56
|
+
const _FfiRequest = class _FfiRequest extends import_protobuf.Message {
|
|
57
|
+
constructor(data) {
|
|
58
|
+
super();
|
|
59
|
+
/**
|
|
60
|
+
* @generated from oneof livekit.proto.FfiRequest.message
|
|
61
|
+
*/
|
|
62
|
+
this.message = { case: void 0 };
|
|
63
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
64
|
+
}
|
|
65
|
+
static fromBinary(bytes, options) {
|
|
66
|
+
return new _FfiRequest().fromBinary(bytes, options);
|
|
67
|
+
}
|
|
68
|
+
static fromJson(jsonValue, options) {
|
|
69
|
+
return new _FfiRequest().fromJson(jsonValue, options);
|
|
70
|
+
}
|
|
71
|
+
static fromJsonString(jsonString, options) {
|
|
72
|
+
return new _FfiRequest().fromJsonString(jsonString, options);
|
|
73
|
+
}
|
|
74
|
+
static equals(a, b) {
|
|
75
|
+
return import_protobuf.proto2.util.equals(_FfiRequest, a, b);
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
_FfiRequest.runtime = import_protobuf.proto2;
|
|
79
|
+
_FfiRequest.typeName = "livekit.proto.FfiRequest";
|
|
80
|
+
_FfiRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
81
|
+
{ no: 2, name: "dispose", kind: "message", T: DisposeRequest, oneof: "message" },
|
|
82
|
+
{ no: 3, name: "connect", kind: "message", T: import_room_pb.ConnectRequest, oneof: "message" },
|
|
83
|
+
{ no: 4, name: "disconnect", kind: "message", T: import_room_pb.DisconnectRequest, oneof: "message" },
|
|
84
|
+
{ no: 5, name: "publish_track", kind: "message", T: import_room_pb.PublishTrackRequest, oneof: "message" },
|
|
85
|
+
{ no: 6, name: "unpublish_track", kind: "message", T: import_room_pb.UnpublishTrackRequest, oneof: "message" },
|
|
86
|
+
{ no: 7, name: "publish_data", kind: "message", T: import_room_pb.PublishDataRequest, oneof: "message" },
|
|
87
|
+
{ no: 8, name: "set_subscribed", kind: "message", T: import_room_pb.SetSubscribedRequest, oneof: "message" },
|
|
88
|
+
{ no: 9, name: "set_local_metadata", kind: "message", T: import_room_pb.SetLocalMetadataRequest, oneof: "message" },
|
|
89
|
+
{ no: 10, name: "set_local_name", kind: "message", T: import_room_pb.SetLocalNameRequest, oneof: "message" },
|
|
90
|
+
{ no: 11, name: "set_local_attributes", kind: "message", T: import_room_pb.SetLocalAttributesRequest, oneof: "message" },
|
|
91
|
+
{ no: 12, name: "get_session_stats", kind: "message", T: import_room_pb.GetSessionStatsRequest, oneof: "message" },
|
|
92
|
+
{ no: 13, name: "publish_transcription", kind: "message", T: import_room_pb.PublishTranscriptionRequest, oneof: "message" },
|
|
93
|
+
{ no: 14, name: "publish_sip_dtmf", kind: "message", T: import_room_pb.PublishSipDtmfRequest, oneof: "message" },
|
|
94
|
+
{ no: 15, name: "create_video_track", kind: "message", T: import_track_pb.CreateVideoTrackRequest, oneof: "message" },
|
|
95
|
+
{ no: 16, name: "create_audio_track", kind: "message", T: import_track_pb.CreateAudioTrackRequest, oneof: "message" },
|
|
96
|
+
{ no: 17, name: "local_track_mute", kind: "message", T: import_track_pb.LocalTrackMuteRequest, oneof: "message" },
|
|
97
|
+
{ no: 18, name: "enable_remote_track", kind: "message", T: import_track_pb.EnableRemoteTrackRequest, oneof: "message" },
|
|
98
|
+
{ no: 19, name: "get_stats", kind: "message", T: import_track_pb.GetStatsRequest, oneof: "message" },
|
|
99
|
+
{ no: 20, name: "new_video_stream", kind: "message", T: import_video_frame_pb.NewVideoStreamRequest, oneof: "message" },
|
|
100
|
+
{ no: 21, name: "new_video_source", kind: "message", T: import_video_frame_pb.NewVideoSourceRequest, oneof: "message" },
|
|
101
|
+
{ no: 22, name: "capture_video_frame", kind: "message", T: import_video_frame_pb.CaptureVideoFrameRequest, oneof: "message" },
|
|
102
|
+
{ no: 23, name: "video_convert", kind: "message", T: import_video_frame_pb.VideoConvertRequest, oneof: "message" },
|
|
103
|
+
{ no: 24, name: "video_stream_from_participant", kind: "message", T: import_video_frame_pb.VideoStreamFromParticipantRequest, oneof: "message" },
|
|
104
|
+
{ no: 25, name: "new_audio_stream", kind: "message", T: import_audio_frame_pb.NewAudioStreamRequest, oneof: "message" },
|
|
105
|
+
{ no: 26, name: "new_audio_source", kind: "message", T: import_audio_frame_pb.NewAudioSourceRequest, oneof: "message" },
|
|
106
|
+
{ no: 27, name: "capture_audio_frame", kind: "message", T: import_audio_frame_pb.CaptureAudioFrameRequest, oneof: "message" },
|
|
107
|
+
{ no: 28, name: "clear_audio_buffer", kind: "message", T: import_audio_frame_pb.ClearAudioBufferRequest, oneof: "message" },
|
|
108
|
+
{ no: 29, name: "new_audio_resampler", kind: "message", T: import_audio_frame_pb.NewAudioResamplerRequest, oneof: "message" },
|
|
109
|
+
{ no: 30, name: "remix_and_resample", kind: "message", T: import_audio_frame_pb.RemixAndResampleRequest, oneof: "message" },
|
|
110
|
+
{ no: 31, name: "e2ee", kind: "message", T: import_e2ee_pb.E2eeRequest, oneof: "message" },
|
|
111
|
+
{ no: 32, name: "audio_stream_from_participant", kind: "message", T: import_audio_frame_pb.AudioStreamFromParticipantRequest, oneof: "message" },
|
|
112
|
+
{ no: 33, name: "new_sox_resampler", kind: "message", T: import_audio_frame_pb.NewSoxResamplerRequest, oneof: "message" },
|
|
113
|
+
{ no: 34, name: "push_sox_resampler", kind: "message", T: import_audio_frame_pb.PushSoxResamplerRequest, oneof: "message" },
|
|
114
|
+
{ no: 35, name: "flush_sox_resampler", kind: "message", T: import_audio_frame_pb.FlushSoxResamplerRequest, oneof: "message" },
|
|
115
|
+
{ no: 36, name: "send_chat_message", kind: "message", T: import_room_pb.SendChatMessageRequest, oneof: "message" },
|
|
116
|
+
{ no: 37, name: "edit_chat_message", kind: "message", T: import_room_pb.EditChatMessageRequest, oneof: "message" },
|
|
117
|
+
{ no: 38, name: "perform_rpc", kind: "message", T: import_rpc_pb.PerformRpcRequest, oneof: "message" },
|
|
118
|
+
{ no: 39, name: "register_rpc_method", kind: "message", T: import_rpc_pb.RegisterRpcMethodRequest, oneof: "message" },
|
|
119
|
+
{ no: 40, name: "unregister_rpc_method", kind: "message", T: import_rpc_pb.UnregisterRpcMethodRequest, oneof: "message" },
|
|
120
|
+
{ no: 41, name: "rpc_method_invocation_response", kind: "message", T: import_rpc_pb.RpcMethodInvocationResponseRequest, oneof: "message" },
|
|
121
|
+
{ no: 42, name: "enable_remote_track_publication", kind: "message", T: import_track_publication_pb.EnableRemoteTrackPublicationRequest, oneof: "message" },
|
|
122
|
+
{ no: 43, name: "update_remote_track_publication_dimension", kind: "message", T: import_track_publication_pb.UpdateRemoteTrackPublicationDimensionRequest, oneof: "message" }
|
|
123
|
+
]);
|
|
124
|
+
let FfiRequest = _FfiRequest;
|
|
125
|
+
const _FfiResponse = class _FfiResponse extends import_protobuf.Message {
|
|
126
|
+
constructor(data) {
|
|
127
|
+
super();
|
|
128
|
+
/**
|
|
129
|
+
* @generated from oneof livekit.proto.FfiResponse.message
|
|
130
|
+
*/
|
|
131
|
+
this.message = { case: void 0 };
|
|
132
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
133
|
+
}
|
|
134
|
+
static fromBinary(bytes, options) {
|
|
135
|
+
return new _FfiResponse().fromBinary(bytes, options);
|
|
136
|
+
}
|
|
137
|
+
static fromJson(jsonValue, options) {
|
|
138
|
+
return new _FfiResponse().fromJson(jsonValue, options);
|
|
139
|
+
}
|
|
140
|
+
static fromJsonString(jsonString, options) {
|
|
141
|
+
return new _FfiResponse().fromJsonString(jsonString, options);
|
|
142
|
+
}
|
|
143
|
+
static equals(a, b) {
|
|
144
|
+
return import_protobuf.proto2.util.equals(_FfiResponse, a, b);
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
_FfiResponse.runtime = import_protobuf.proto2;
|
|
148
|
+
_FfiResponse.typeName = "livekit.proto.FfiResponse";
|
|
149
|
+
_FfiResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
150
|
+
{ no: 2, name: "dispose", kind: "message", T: DisposeResponse, oneof: "message" },
|
|
151
|
+
{ no: 3, name: "connect", kind: "message", T: import_room_pb.ConnectResponse, oneof: "message" },
|
|
152
|
+
{ no: 4, name: "disconnect", kind: "message", T: import_room_pb.DisconnectResponse, oneof: "message" },
|
|
153
|
+
{ no: 5, name: "publish_track", kind: "message", T: import_room_pb.PublishTrackResponse, oneof: "message" },
|
|
154
|
+
{ no: 6, name: "unpublish_track", kind: "message", T: import_room_pb.UnpublishTrackResponse, oneof: "message" },
|
|
155
|
+
{ no: 7, name: "publish_data", kind: "message", T: import_room_pb.PublishDataResponse, oneof: "message" },
|
|
156
|
+
{ no: 8, name: "set_subscribed", kind: "message", T: import_room_pb.SetSubscribedResponse, oneof: "message" },
|
|
157
|
+
{ no: 9, name: "set_local_metadata", kind: "message", T: import_room_pb.SetLocalMetadataResponse, oneof: "message" },
|
|
158
|
+
{ no: 10, name: "set_local_name", kind: "message", T: import_room_pb.SetLocalNameResponse, oneof: "message" },
|
|
159
|
+
{ no: 11, name: "set_local_attributes", kind: "message", T: import_room_pb.SetLocalAttributesResponse, oneof: "message" },
|
|
160
|
+
{ no: 12, name: "get_session_stats", kind: "message", T: import_room_pb.GetSessionStatsResponse, oneof: "message" },
|
|
161
|
+
{ no: 13, name: "publish_transcription", kind: "message", T: import_room_pb.PublishTranscriptionResponse, oneof: "message" },
|
|
162
|
+
{ no: 14, name: "publish_sip_dtmf", kind: "message", T: import_room_pb.PublishSipDtmfResponse, oneof: "message" },
|
|
163
|
+
{ no: 15, name: "create_video_track", kind: "message", T: import_track_pb.CreateVideoTrackResponse, oneof: "message" },
|
|
164
|
+
{ no: 16, name: "create_audio_track", kind: "message", T: import_track_pb.CreateAudioTrackResponse, oneof: "message" },
|
|
165
|
+
{ no: 17, name: "local_track_mute", kind: "message", T: import_track_pb.LocalTrackMuteResponse, oneof: "message" },
|
|
166
|
+
{ no: 18, name: "enable_remote_track", kind: "message", T: import_track_pb.EnableRemoteTrackResponse, oneof: "message" },
|
|
167
|
+
{ no: 19, name: "get_stats", kind: "message", T: import_track_pb.GetStatsResponse, oneof: "message" },
|
|
168
|
+
{ no: 20, name: "new_video_stream", kind: "message", T: import_video_frame_pb.NewVideoStreamResponse, oneof: "message" },
|
|
169
|
+
{ no: 21, name: "new_video_source", kind: "message", T: import_video_frame_pb.NewVideoSourceResponse, oneof: "message" },
|
|
170
|
+
{ no: 22, name: "capture_video_frame", kind: "message", T: import_video_frame_pb.CaptureVideoFrameResponse, oneof: "message" },
|
|
171
|
+
{ no: 23, name: "video_convert", kind: "message", T: import_video_frame_pb.VideoConvertResponse, oneof: "message" },
|
|
172
|
+
{ no: 24, name: "video_stream_from_participant", kind: "message", T: import_video_frame_pb.VideoStreamFromParticipantResponse, oneof: "message" },
|
|
173
|
+
{ no: 25, name: "new_audio_stream", kind: "message", T: import_audio_frame_pb.NewAudioStreamResponse, oneof: "message" },
|
|
174
|
+
{ no: 26, name: "new_audio_source", kind: "message", T: import_audio_frame_pb.NewAudioSourceResponse, oneof: "message" },
|
|
175
|
+
{ no: 27, name: "capture_audio_frame", kind: "message", T: import_audio_frame_pb.CaptureAudioFrameResponse, oneof: "message" },
|
|
176
|
+
{ no: 28, name: "clear_audio_buffer", kind: "message", T: import_audio_frame_pb.ClearAudioBufferResponse, oneof: "message" },
|
|
177
|
+
{ no: 29, name: "new_audio_resampler", kind: "message", T: import_audio_frame_pb.NewAudioResamplerResponse, oneof: "message" },
|
|
178
|
+
{ no: 30, name: "remix_and_resample", kind: "message", T: import_audio_frame_pb.RemixAndResampleResponse, oneof: "message" },
|
|
179
|
+
{ no: 31, name: "audio_stream_from_participant", kind: "message", T: import_audio_frame_pb.AudioStreamFromParticipantResponse, oneof: "message" },
|
|
180
|
+
{ no: 32, name: "e2ee", kind: "message", T: import_e2ee_pb.E2eeResponse, oneof: "message" },
|
|
181
|
+
{ no: 33, name: "new_sox_resampler", kind: "message", T: import_audio_frame_pb.NewSoxResamplerResponse, oneof: "message" },
|
|
182
|
+
{ no: 34, name: "push_sox_resampler", kind: "message", T: import_audio_frame_pb.PushSoxResamplerResponse, oneof: "message" },
|
|
183
|
+
{ no: 35, name: "flush_sox_resampler", kind: "message", T: import_audio_frame_pb.FlushSoxResamplerResponse, oneof: "message" },
|
|
184
|
+
{ no: 36, name: "send_chat_message", kind: "message", T: import_room_pb.SendChatMessageResponse, oneof: "message" },
|
|
185
|
+
{ no: 37, name: "perform_rpc", kind: "message", T: import_rpc_pb.PerformRpcResponse, oneof: "message" },
|
|
186
|
+
{ no: 38, name: "register_rpc_method", kind: "message", T: import_rpc_pb.RegisterRpcMethodResponse, oneof: "message" },
|
|
187
|
+
{ no: 39, name: "unregister_rpc_method", kind: "message", T: import_rpc_pb.UnregisterRpcMethodResponse, oneof: "message" },
|
|
188
|
+
{ no: 40, name: "rpc_method_invocation_response", kind: "message", T: import_rpc_pb.RpcMethodInvocationResponseResponse, oneof: "message" },
|
|
189
|
+
{ no: 41, name: "enable_remote_track_publication", kind: "message", T: import_track_publication_pb.EnableRemoteTrackPublicationResponse, oneof: "message" },
|
|
190
|
+
{ no: 42, name: "update_remote_track_publication_dimension", kind: "message", T: import_track_publication_pb.UpdateRemoteTrackPublicationDimensionResponse, oneof: "message" }
|
|
191
|
+
]);
|
|
192
|
+
let FfiResponse = _FfiResponse;
|
|
193
|
+
const _FfiEvent = class _FfiEvent extends import_protobuf.Message {
|
|
194
|
+
constructor(data) {
|
|
195
|
+
super();
|
|
196
|
+
/**
|
|
197
|
+
* @generated from oneof livekit.proto.FfiEvent.message
|
|
198
|
+
*/
|
|
199
|
+
this.message = { case: void 0 };
|
|
200
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
201
|
+
}
|
|
202
|
+
static fromBinary(bytes, options) {
|
|
203
|
+
return new _FfiEvent().fromBinary(bytes, options);
|
|
204
|
+
}
|
|
205
|
+
static fromJson(jsonValue, options) {
|
|
206
|
+
return new _FfiEvent().fromJson(jsonValue, options);
|
|
207
|
+
}
|
|
208
|
+
static fromJsonString(jsonString, options) {
|
|
209
|
+
return new _FfiEvent().fromJsonString(jsonString, options);
|
|
210
|
+
}
|
|
211
|
+
static equals(a, b) {
|
|
212
|
+
return import_protobuf.proto2.util.equals(_FfiEvent, a, b);
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
_FfiEvent.runtime = import_protobuf.proto2;
|
|
216
|
+
_FfiEvent.typeName = "livekit.proto.FfiEvent";
|
|
217
|
+
_FfiEvent.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
218
|
+
{ no: 1, name: "room_event", kind: "message", T: import_room_pb.RoomEvent, oneof: "message" },
|
|
219
|
+
{ no: 2, name: "track_event", kind: "message", T: import_track_pb.TrackEvent, oneof: "message" },
|
|
220
|
+
{ no: 3, name: "video_stream_event", kind: "message", T: import_video_frame_pb.VideoStreamEvent, oneof: "message" },
|
|
221
|
+
{ no: 4, name: "audio_stream_event", kind: "message", T: import_audio_frame_pb.AudioStreamEvent, oneof: "message" },
|
|
222
|
+
{ no: 5, name: "connect", kind: "message", T: import_room_pb.ConnectCallback, oneof: "message" },
|
|
223
|
+
{ no: 7, name: "disconnect", kind: "message", T: import_room_pb.DisconnectCallback, oneof: "message" },
|
|
224
|
+
{ no: 8, name: "dispose", kind: "message", T: DisposeCallback, oneof: "message" },
|
|
225
|
+
{ no: 9, name: "publish_track", kind: "message", T: import_room_pb.PublishTrackCallback, oneof: "message" },
|
|
226
|
+
{ no: 10, name: "unpublish_track", kind: "message", T: import_room_pb.UnpublishTrackCallback, oneof: "message" },
|
|
227
|
+
{ no: 11, name: "publish_data", kind: "message", T: import_room_pb.PublishDataCallback, oneof: "message" },
|
|
228
|
+
{ no: 12, name: "publish_transcription", kind: "message", T: import_room_pb.PublishTranscriptionCallback, oneof: "message" },
|
|
229
|
+
{ no: 13, name: "capture_audio_frame", kind: "message", T: import_audio_frame_pb.CaptureAudioFrameCallback, oneof: "message" },
|
|
230
|
+
{ no: 14, name: "set_local_metadata", kind: "message", T: import_room_pb.SetLocalMetadataCallback, oneof: "message" },
|
|
231
|
+
{ no: 15, name: "set_local_name", kind: "message", T: import_room_pb.SetLocalNameCallback, oneof: "message" },
|
|
232
|
+
{ no: 16, name: "set_local_attributes", kind: "message", T: import_room_pb.SetLocalAttributesCallback, oneof: "message" },
|
|
233
|
+
{ no: 17, name: "get_stats", kind: "message", T: import_track_pb.GetStatsCallback, oneof: "message" },
|
|
234
|
+
{ no: 18, name: "logs", kind: "message", T: LogBatch, oneof: "message" },
|
|
235
|
+
{ no: 19, name: "get_session_stats", kind: "message", T: import_room_pb.GetSessionStatsCallback, oneof: "message" },
|
|
236
|
+
{ no: 20, name: "panic", kind: "message", T: Panic, oneof: "message" },
|
|
237
|
+
{ no: 21, name: "publish_sip_dtmf", kind: "message", T: import_room_pb.PublishSipDtmfCallback, oneof: "message" },
|
|
238
|
+
{ no: 22, name: "chat_message", kind: "message", T: import_room_pb.SendChatMessageCallback, oneof: "message" },
|
|
239
|
+
{ no: 23, name: "perform_rpc", kind: "message", T: import_rpc_pb.PerformRpcCallback, oneof: "message" },
|
|
240
|
+
{ no: 24, name: "rpc_method_invocation", kind: "message", T: import_rpc_pb.RpcMethodInvocationEvent, oneof: "message" }
|
|
241
|
+
]);
|
|
242
|
+
let FfiEvent = _FfiEvent;
|
|
243
|
+
const _DisposeRequest = class _DisposeRequest extends import_protobuf.Message {
|
|
244
|
+
constructor(data) {
|
|
245
|
+
super();
|
|
246
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
247
|
+
}
|
|
248
|
+
static fromBinary(bytes, options) {
|
|
249
|
+
return new _DisposeRequest().fromBinary(bytes, options);
|
|
250
|
+
}
|
|
251
|
+
static fromJson(jsonValue, options) {
|
|
252
|
+
return new _DisposeRequest().fromJson(jsonValue, options);
|
|
253
|
+
}
|
|
254
|
+
static fromJsonString(jsonString, options) {
|
|
255
|
+
return new _DisposeRequest().fromJsonString(jsonString, options);
|
|
256
|
+
}
|
|
257
|
+
static equals(a, b) {
|
|
258
|
+
return import_protobuf.proto2.util.equals(_DisposeRequest, a, b);
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
_DisposeRequest.runtime = import_protobuf.proto2;
|
|
262
|
+
_DisposeRequest.typeName = "livekit.proto.DisposeRequest";
|
|
263
|
+
_DisposeRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
264
|
+
{ no: 1, name: "async", kind: "scalar", T: 8, req: true }
|
|
265
|
+
]);
|
|
266
|
+
let DisposeRequest = _DisposeRequest;
|
|
267
|
+
const _DisposeResponse = class _DisposeResponse extends import_protobuf.Message {
|
|
268
|
+
constructor(data) {
|
|
269
|
+
super();
|
|
270
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
271
|
+
}
|
|
272
|
+
static fromBinary(bytes, options) {
|
|
273
|
+
return new _DisposeResponse().fromBinary(bytes, options);
|
|
274
|
+
}
|
|
275
|
+
static fromJson(jsonValue, options) {
|
|
276
|
+
return new _DisposeResponse().fromJson(jsonValue, options);
|
|
277
|
+
}
|
|
278
|
+
static fromJsonString(jsonString, options) {
|
|
279
|
+
return new _DisposeResponse().fromJsonString(jsonString, options);
|
|
280
|
+
}
|
|
281
|
+
static equals(a, b) {
|
|
282
|
+
return import_protobuf.proto2.util.equals(_DisposeResponse, a, b);
|
|
283
|
+
}
|
|
284
|
+
};
|
|
285
|
+
_DisposeResponse.runtime = import_protobuf.proto2;
|
|
286
|
+
_DisposeResponse.typeName = "livekit.proto.DisposeResponse";
|
|
287
|
+
_DisposeResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
288
|
+
{ no: 1, name: "async_id", kind: "scalar", T: 4, opt: true }
|
|
289
|
+
]);
|
|
290
|
+
let DisposeResponse = _DisposeResponse;
|
|
291
|
+
const _DisposeCallback = class _DisposeCallback extends import_protobuf.Message {
|
|
292
|
+
constructor(data) {
|
|
293
|
+
super();
|
|
294
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
295
|
+
}
|
|
296
|
+
static fromBinary(bytes, options) {
|
|
297
|
+
return new _DisposeCallback().fromBinary(bytes, options);
|
|
298
|
+
}
|
|
299
|
+
static fromJson(jsonValue, options) {
|
|
300
|
+
return new _DisposeCallback().fromJson(jsonValue, options);
|
|
301
|
+
}
|
|
302
|
+
static fromJsonString(jsonString, options) {
|
|
303
|
+
return new _DisposeCallback().fromJsonString(jsonString, options);
|
|
304
|
+
}
|
|
305
|
+
static equals(a, b) {
|
|
306
|
+
return import_protobuf.proto2.util.equals(_DisposeCallback, a, b);
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
_DisposeCallback.runtime = import_protobuf.proto2;
|
|
310
|
+
_DisposeCallback.typeName = "livekit.proto.DisposeCallback";
|
|
311
|
+
_DisposeCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
312
|
+
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
313
|
+
]);
|
|
314
|
+
let DisposeCallback = _DisposeCallback;
|
|
315
|
+
const _LogRecord = class _LogRecord extends import_protobuf.Message {
|
|
316
|
+
constructor(data) {
|
|
317
|
+
super();
|
|
318
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
319
|
+
}
|
|
320
|
+
static fromBinary(bytes, options) {
|
|
321
|
+
return new _LogRecord().fromBinary(bytes, options);
|
|
322
|
+
}
|
|
323
|
+
static fromJson(jsonValue, options) {
|
|
324
|
+
return new _LogRecord().fromJson(jsonValue, options);
|
|
325
|
+
}
|
|
326
|
+
static fromJsonString(jsonString, options) {
|
|
327
|
+
return new _LogRecord().fromJsonString(jsonString, options);
|
|
328
|
+
}
|
|
329
|
+
static equals(a, b) {
|
|
330
|
+
return import_protobuf.proto2.util.equals(_LogRecord, a, b);
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
_LogRecord.runtime = import_protobuf.proto2;
|
|
334
|
+
_LogRecord.typeName = "livekit.proto.LogRecord";
|
|
335
|
+
_LogRecord.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
336
|
+
{ no: 1, name: "level", kind: "enum", T: import_protobuf.proto2.getEnumType(LogLevel), req: true },
|
|
337
|
+
{ no: 2, name: "target", kind: "scalar", T: 9, req: true },
|
|
338
|
+
{ no: 3, name: "module_path", kind: "scalar", T: 9, opt: true },
|
|
339
|
+
{ no: 4, name: "file", kind: "scalar", T: 9, opt: true },
|
|
340
|
+
{ no: 5, name: "line", kind: "scalar", T: 13, opt: true },
|
|
341
|
+
{ no: 6, name: "message", kind: "scalar", T: 9, req: true }
|
|
342
|
+
]);
|
|
343
|
+
let LogRecord = _LogRecord;
|
|
344
|
+
const _LogBatch = class _LogBatch extends import_protobuf.Message {
|
|
345
|
+
constructor(data) {
|
|
346
|
+
super();
|
|
347
|
+
/**
|
|
348
|
+
* @generated from field: repeated livekit.proto.LogRecord records = 1;
|
|
349
|
+
*/
|
|
350
|
+
this.records = [];
|
|
351
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
352
|
+
}
|
|
353
|
+
static fromBinary(bytes, options) {
|
|
354
|
+
return new _LogBatch().fromBinary(bytes, options);
|
|
355
|
+
}
|
|
356
|
+
static fromJson(jsonValue, options) {
|
|
357
|
+
return new _LogBatch().fromJson(jsonValue, options);
|
|
358
|
+
}
|
|
359
|
+
static fromJsonString(jsonString, options) {
|
|
360
|
+
return new _LogBatch().fromJsonString(jsonString, options);
|
|
361
|
+
}
|
|
362
|
+
static equals(a, b) {
|
|
363
|
+
return import_protobuf.proto2.util.equals(_LogBatch, a, b);
|
|
364
|
+
}
|
|
365
|
+
};
|
|
366
|
+
_LogBatch.runtime = import_protobuf.proto2;
|
|
367
|
+
_LogBatch.typeName = "livekit.proto.LogBatch";
|
|
368
|
+
_LogBatch.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
369
|
+
{ no: 1, name: "records", kind: "message", T: LogRecord, repeated: true }
|
|
370
|
+
]);
|
|
371
|
+
let LogBatch = _LogBatch;
|
|
372
|
+
const _Panic = class _Panic extends import_protobuf.Message {
|
|
373
|
+
constructor(data) {
|
|
374
|
+
super();
|
|
375
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
376
|
+
}
|
|
377
|
+
static fromBinary(bytes, options) {
|
|
378
|
+
return new _Panic().fromBinary(bytes, options);
|
|
379
|
+
}
|
|
380
|
+
static fromJson(jsonValue, options) {
|
|
381
|
+
return new _Panic().fromJson(jsonValue, options);
|
|
382
|
+
}
|
|
383
|
+
static fromJsonString(jsonString, options) {
|
|
384
|
+
return new _Panic().fromJsonString(jsonString, options);
|
|
385
|
+
}
|
|
386
|
+
static equals(a, b) {
|
|
387
|
+
return import_protobuf.proto2.util.equals(_Panic, a, b);
|
|
388
|
+
}
|
|
389
|
+
};
|
|
390
|
+
_Panic.runtime = import_protobuf.proto2;
|
|
391
|
+
_Panic.typeName = "livekit.proto.Panic";
|
|
392
|
+
_Panic.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
393
|
+
{ no: 1, name: "message", kind: "scalar", T: 9, req: true }
|
|
394
|
+
]);
|
|
395
|
+
let Panic = _Panic;
|
|
61
396
|
// Annotate the CommonJS export names for ESM import in node:
|
|
62
397
|
0 && (module.exports = {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
398
|
+
DisposeCallback,
|
|
399
|
+
DisposeRequest,
|
|
400
|
+
DisposeResponse,
|
|
401
|
+
FfiEvent,
|
|
402
|
+
FfiRequest,
|
|
403
|
+
FfiResponse,
|
|
404
|
+
LogBatch,
|
|
70
405
|
LogLevel,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
PanicSchema,
|
|
74
|
-
file_ffi
|
|
406
|
+
LogRecord,
|
|
407
|
+
Panic
|
|
75
408
|
});
|
|
76
409
|
//# sourceMappingURL=ffi_pb.cjs.map
|