@livekit/rtc-node 0.13.24 → 0.13.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/audio_filter.cjs +2 -2
- package/dist/audio_filter.cjs.map +1 -1
- package/dist/audio_filter.js +1 -1
- package/dist/audio_filter.js.map +1 -1
- package/dist/audio_frame.cjs +9 -5
- package/dist/audio_frame.cjs.map +1 -1
- package/dist/audio_frame.d.cts +2 -7
- package/dist/audio_frame.d.ts +2 -7
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +8 -4
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_mixer.cjs +10 -4
- package/dist/audio_mixer.cjs.map +1 -1
- package/dist/audio_mixer.d.cts +4 -7
- package/dist/audio_mixer.d.ts +4 -7
- package/dist/audio_mixer.d.ts.map +1 -1
- package/dist/audio_mixer.js +10 -4
- package/dist/audio_mixer.js.map +1 -1
- package/dist/audio_resampler.cjs +20 -12
- package/dist/audio_resampler.cjs.map +1 -1
- package/dist/audio_resampler.d.cts +6 -6
- package/dist/audio_resampler.d.ts +6 -6
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +12 -4
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.cjs +11 -7
- package/dist/audio_source.cjs.map +1 -1
- package/dist/audio_source.d.cts +1 -7
- package/dist/audio_source.d.ts +1 -7
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +8 -3
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.cjs +16 -6
- package/dist/audio_stream.cjs.map +1 -1
- package/dist/audio_stream.d.cts +1 -14
- package/dist/audio_stream.d.ts +1 -14
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +15 -5
- package/dist/audio_stream.js.map +1 -1
- package/dist/data_streams/index.d.cts +2 -10
- package/dist/data_streams/index.d.ts +2 -10
- package/dist/data_streams/stream_reader.cjs +8 -0
- package/dist/data_streams/stream_reader.cjs.map +1 -1
- package/dist/data_streams/stream_reader.d.cts +2 -10
- package/dist/data_streams/stream_reader.d.ts +2 -10
- package/dist/data_streams/stream_reader.d.ts.map +1 -1
- package/dist/data_streams/stream_reader.js +8 -0
- package/dist/data_streams/stream_reader.js.map +1 -1
- package/dist/data_streams/stream_writer.d.cts +2 -10
- package/dist/data_streams/stream_writer.d.ts +2 -10
- package/dist/data_streams/types.cjs.map +1 -1
- package/dist/data_streams/types.d.cts +2 -10
- package/dist/data_streams/types.d.ts +2 -10
- package/dist/data_streams/types.d.ts.map +1 -1
- package/dist/e2ee.cjs +21 -21
- package/dist/e2ee.cjs.map +1 -1
- package/dist/e2ee.d.cts +1 -2
- package/dist/e2ee.d.ts +1 -2
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +2 -2
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.cjs +30 -15
- package/dist/ffi_client.cjs.map +1 -1
- package/dist/ffi_client.d.cts +6 -17
- package/dist/ffi_client.d.ts +6 -17
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +24 -6
- package/dist/ffi_client.js.map +1 -1
- package/dist/frame_processor.cjs +13 -2
- package/dist/frame_processor.cjs.map +1 -1
- package/dist/frame_processor.d.cts +5 -8
- package/dist/frame_processor.d.ts +5 -8
- package/dist/frame_processor.d.ts.map +1 -1
- package/dist/frame_processor.js +10 -1
- package/dist/frame_processor.js.map +1 -1
- package/dist/index.cjs +25 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -16
- package/dist/index.d.ts +3 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/dist/participant.cjs +146 -101
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +4 -16
- package/dist/participant.d.ts +4 -16
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +120 -75
- package/dist/participant.js.map +1 -1
- package/dist/room.cjs +116 -58
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +6 -15
- package/dist/room.d.ts +6 -15
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +113 -55
- package/dist/room.js.map +1 -1
- package/dist/rpc.cjs.map +1 -1
- package/dist/rpc.d.cts +1 -2
- package/dist/rpc.d.ts +1 -2
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js.map +1 -1
- package/dist/{stream_reader-Ch2zvjU3.d.cts → stream_reader-CuG4b8Y-.d.cts} +1 -1
- package/dist/{stream_reader-DRyR29vo.d.ts → stream_reader-CuG4b8Y-.d.ts} +1 -1
- package/dist/track.cjs +3 -3
- package/dist/track.cjs.map +1 -1
- package/dist/track.d.cts +1 -14
- package/dist/track.d.ts +1 -14
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +1 -1
- package/dist/track.js.map +1 -1
- package/dist/track_publication.cjs +4 -4
- package/dist/track_publication.cjs.map +1 -1
- package/dist/track_publication.d.cts +1 -14
- package/dist/track_publication.d.ts +1 -14
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +2 -2
- package/dist/track_publication.js.map +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.d.cts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/video_frame.cjs +42 -42
- package/dist/video_frame.cjs.map +1 -1
- package/dist/video_frame.d.cts +1 -6
- package/dist/video_frame.d.ts +1 -6
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +2 -2
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.cjs +5 -5
- package/dist/video_source.cjs.map +1 -1
- package/dist/video_source.d.cts +1 -14
- package/dist/video_source.d.ts +1 -14
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +2 -2
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.cjs +12 -4
- package/dist/video_stream.cjs.map +1 -1
- package/dist/video_stream.d.cts +1 -14
- package/dist/video_stream.d.ts +1 -14
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +10 -2
- package/dist/video_stream.js.map +1 -1
- package/package.json +7 -37
- package/src/audio_filter.ts +2 -2
- package/src/audio_frame.ts +17 -5
- package/src/audio_mixer.test.ts +102 -0
- package/src/audio_mixer.ts +10 -4
- package/src/audio_resampler.ts +14 -4
- package/src/audio_source.ts +13 -5
- package/src/audio_stream.ts +21 -6
- package/src/data_streams/stream_reader.ts +19 -1
- package/src/data_streams/types.ts +1 -1
- package/src/e2ee.ts +3 -3
- package/src/ffi_client.ts +33 -8
- package/src/frame_processor.ts +21 -0
- package/src/index.ts +6 -5
- package/src/participant.ts +117 -66
- package/src/room.ts +161 -69
- package/src/rpc.ts +1 -1
- package/src/tests/e2e.test.ts +179 -8
- package/src/track.ts +4 -4
- package/src/track_publication.ts +6 -6
- package/src/version.ts +1 -1
- package/src/video_frame.ts +3 -3
- package/src/video_source.ts +3 -3
- package/src/video_stream.ts +15 -3
- package/Cargo.toml +0 -25
- package/build.rs +0 -9
- package/dist/napi/native.cjs +0 -301
- package/dist/napi/native.d.cjs +0 -17
- package/dist/napi/native.d.cjs.map +0 -1
- package/dist/napi/native.d.d.cts +0 -21
- package/dist/napi/native.d.d.ts +0 -21
- package/dist/napi/native.d.js +0 -1
- package/dist/napi/native.d.js.map +0 -1
- package/dist/napi/native.d.ts +0 -19
- package/dist/napi/native.js +0 -15
- package/dist/native.cjs +0 -301
- package/dist/native.d.ts +0 -19
- package/dist/native.js +0 -15
- package/dist/proto/audio_frame_pb.cjs +0 -1357
- package/dist/proto/audio_frame_pb.cjs.map +0 -1
- package/dist/proto/audio_frame_pb.d.cts +0 -1183
- package/dist/proto/audio_frame_pb.d.ts +0 -1183
- package/dist/proto/audio_frame_pb.d.ts.map +0 -1
- package/dist/proto/audio_frame_pb.js +0 -1283
- package/dist/proto/audio_frame_pb.js.map +0 -1
- package/dist/proto/data_stream_pb.cjs +0 -1638
- package/dist/proto/data_stream_pb.cjs.map +0 -1
- package/dist/proto/data_stream_pb.d.cts +0 -1449
- package/dist/proto/data_stream_pb.d.ts +0 -1449
- package/dist/proto/data_stream_pb.d.ts.map +0 -1
- package/dist/proto/data_stream_pb.js +0 -1559
- package/dist/proto/data_stream_pb.js.map +0 -1
- package/dist/proto/e2ee_pb.cjs +0 -746
- package/dist/proto/e2ee_pb.cjs.map +0 -1
- package/dist/proto/e2ee_pb.d.cts +0 -653
- package/dist/proto/e2ee_pb.d.ts +0 -653
- package/dist/proto/e2ee_pb.d.ts.map +0 -1
- package/dist/proto/e2ee_pb.js +0 -696
- package/dist/proto/e2ee_pb.js.map +0 -1
- package/dist/proto/ffi_pb.cjs +0 -477
- package/dist/proto/ffi_pb.cjs.map +0 -1
- package/dist/proto/ffi_pb.d.cts +0 -1321
- package/dist/proto/ffi_pb.d.ts +0 -1321
- package/dist/proto/ffi_pb.d.ts.map +0 -1
- package/dist/proto/ffi_pb.js +0 -444
- package/dist/proto/ffi_pb.js.map +0 -1
- package/dist/proto/handle_pb.cjs +0 -53
- package/dist/proto/handle_pb.cjs.map +0 -1
- package/dist/proto/handle_pb.d.cts +0 -31
- package/dist/proto/handle_pb.d.ts +0 -31
- package/dist/proto/handle_pb.d.ts.map +0 -1
- package/dist/proto/handle_pb.js +0 -29
- package/dist/proto/handle_pb.js.map +0 -1
- package/dist/proto/participant_pb.cjs +0 -173
- package/dist/proto/participant_pb.cjs.map +0 -1
- package/dist/proto/participant_pb.d.cts +0 -218
- package/dist/proto/participant_pb.d.ts +0 -218
- package/dist/proto/participant_pb.d.ts.map +0 -1
- package/dist/proto/participant_pb.js +0 -145
- package/dist/proto/participant_pb.js.map +0 -1
- package/dist/proto/room_pb.cjs +0 -3374
- package/dist/proto/room_pb.cjs.map +0 -1
- package/dist/proto/room_pb.d.cts +0 -3028
- package/dist/proto/room_pb.d.ts +0 -3028
- package/dist/proto/room_pb.d.ts.map +0 -1
- package/dist/proto/room_pb.js +0 -3232
- package/dist/proto/room_pb.js.map +0 -1
- package/dist/proto/rpc_pb.cjs +0 -328
- package/dist/proto/rpc_pb.cjs.map +0 -1
- package/dist/proto/rpc_pb.d.cts +0 -267
- package/dist/proto/rpc_pb.d.ts +0 -267
- package/dist/proto/rpc_pb.d.ts.map +0 -1
- package/dist/proto/rpc_pb.js +0 -294
- package/dist/proto/rpc_pb.js.map +0 -1
- package/dist/proto/stats_pb.cjs +0 -1370
- package/dist/proto/stats_pb.cjs.map +0 -1
- package/dist/proto/stats_pb.d.cts +0 -1764
- package/dist/proto/stats_pb.d.ts +0 -1764
- package/dist/proto/stats_pb.d.ts.map +0 -1
- package/dist/proto/stats_pb.js +0 -1300
- package/dist/proto/stats_pb.js.map +0 -1
- package/dist/proto/track_pb.cjs +0 -630
- package/dist/proto/track_pb.cjs.map +0 -1
- package/dist/proto/track_pb.d.cts +0 -542
- package/dist/proto/track_pb.d.ts +0 -542
- package/dist/proto/track_pb.d.ts.map +0 -1
- package/dist/proto/track_pb.js +0 -584
- package/dist/proto/track_pb.js.map +0 -1
- package/dist/proto/track_publication_pb.cjs +0 -194
- package/dist/proto/track_publication_pb.cjs.map +0 -1
- package/dist/proto/track_publication_pb.d.cts +0 -135
- package/dist/proto/track_publication_pb.d.ts +0 -135
- package/dist/proto/track_publication_pb.d.ts.map +0 -1
- package/dist/proto/track_publication_pb.js +0 -164
- package/dist/proto/track_publication_pb.js.map +0 -1
- package/dist/proto/video_frame_pb.cjs +0 -723
- package/dist/proto/video_frame_pb.cjs.map +0 -1
- package/dist/proto/video_frame_pb.d.cts +0 -667
- package/dist/proto/video_frame_pb.d.ts +0 -667
- package/dist/proto/video_frame_pb.d.ts.map +0 -1
- package/dist/proto/video_frame_pb.js +0 -673
- package/dist/proto/video_frame_pb.js.map +0 -1
- package/src/lib.rs +0 -9
- package/src/napi/native.cjs +0 -301
- package/src/napi/native.d.ts +0 -19
- package/src/napi/native.js +0 -15
- package/src/nodejs.rs +0 -134
- package/src/proto/audio_frame_pb.ts +0 -2270
- package/src/proto/data_stream_pb.ts +0 -2674
- package/src/proto/e2ee_pb.ts +0 -1231
- package/src/proto/ffi_pb.ts +0 -1700
- package/src/proto/handle_pb.ts +0 -69
- package/src/proto/participant_pb.ts +0 -351
- package/src/proto/room_pb.ts +0 -5661
- package/src/proto/rpc_pb.ts +0 -539
- package/src/proto/stats_pb.ts +0 -3050
- package/src/proto/track_pb.ts +0 -1040
- package/src/proto/track_publication_pb.ts +0 -284
- package/src/proto/video_frame_pb.ts +0 -1236
|
@@ -1,1357 +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 audio_frame_pb_exports = {};
|
|
20
|
-
__export(audio_frame_pb_exports, {
|
|
21
|
-
ApmProcessReverseStreamRequest: () => ApmProcessReverseStreamRequest,
|
|
22
|
-
ApmProcessReverseStreamResponse: () => ApmProcessReverseStreamResponse,
|
|
23
|
-
ApmProcessStreamRequest: () => ApmProcessStreamRequest,
|
|
24
|
-
ApmProcessStreamResponse: () => ApmProcessStreamResponse,
|
|
25
|
-
ApmSetStreamDelayRequest: () => ApmSetStreamDelayRequest,
|
|
26
|
-
ApmSetStreamDelayResponse: () => ApmSetStreamDelayResponse,
|
|
27
|
-
AudioFrameBufferInfo: () => AudioFrameBufferInfo,
|
|
28
|
-
AudioFrameReceived: () => AudioFrameReceived,
|
|
29
|
-
AudioResamplerInfo: () => AudioResamplerInfo,
|
|
30
|
-
AudioSourceInfo: () => AudioSourceInfo,
|
|
31
|
-
AudioSourceOptions: () => AudioSourceOptions,
|
|
32
|
-
AudioSourceType: () => AudioSourceType,
|
|
33
|
-
AudioStreamEOS: () => AudioStreamEOS,
|
|
34
|
-
AudioStreamEvent: () => AudioStreamEvent,
|
|
35
|
-
AudioStreamFromParticipantRequest: () => AudioStreamFromParticipantRequest,
|
|
36
|
-
AudioStreamFromParticipantResponse: () => AudioStreamFromParticipantResponse,
|
|
37
|
-
AudioStreamInfo: () => AudioStreamInfo,
|
|
38
|
-
AudioStreamType: () => AudioStreamType,
|
|
39
|
-
CaptureAudioFrameCallback: () => CaptureAudioFrameCallback,
|
|
40
|
-
CaptureAudioFrameRequest: () => CaptureAudioFrameRequest,
|
|
41
|
-
CaptureAudioFrameResponse: () => CaptureAudioFrameResponse,
|
|
42
|
-
ClearAudioBufferRequest: () => ClearAudioBufferRequest,
|
|
43
|
-
ClearAudioBufferResponse: () => ClearAudioBufferResponse,
|
|
44
|
-
FlushSoxResamplerRequest: () => FlushSoxResamplerRequest,
|
|
45
|
-
FlushSoxResamplerResponse: () => FlushSoxResamplerResponse,
|
|
46
|
-
LoadAudioFilterPluginRequest: () => LoadAudioFilterPluginRequest,
|
|
47
|
-
LoadAudioFilterPluginResponse: () => LoadAudioFilterPluginResponse,
|
|
48
|
-
NewApmRequest: () => NewApmRequest,
|
|
49
|
-
NewApmResponse: () => NewApmResponse,
|
|
50
|
-
NewAudioResamplerRequest: () => NewAudioResamplerRequest,
|
|
51
|
-
NewAudioResamplerResponse: () => NewAudioResamplerResponse,
|
|
52
|
-
NewAudioSourceRequest: () => NewAudioSourceRequest,
|
|
53
|
-
NewAudioSourceResponse: () => NewAudioSourceResponse,
|
|
54
|
-
NewAudioStreamRequest: () => NewAudioStreamRequest,
|
|
55
|
-
NewAudioStreamResponse: () => NewAudioStreamResponse,
|
|
56
|
-
NewSoxResamplerRequest: () => NewSoxResamplerRequest,
|
|
57
|
-
NewSoxResamplerResponse: () => NewSoxResamplerResponse,
|
|
58
|
-
OwnedApm: () => OwnedApm,
|
|
59
|
-
OwnedAudioFrameBuffer: () => OwnedAudioFrameBuffer,
|
|
60
|
-
OwnedAudioResampler: () => OwnedAudioResampler,
|
|
61
|
-
OwnedAudioSource: () => OwnedAudioSource,
|
|
62
|
-
OwnedAudioStream: () => OwnedAudioStream,
|
|
63
|
-
OwnedSoxResampler: () => OwnedSoxResampler,
|
|
64
|
-
PushSoxResamplerRequest: () => PushSoxResamplerRequest,
|
|
65
|
-
PushSoxResamplerResponse: () => PushSoxResamplerResponse,
|
|
66
|
-
RemixAndResampleRequest: () => RemixAndResampleRequest,
|
|
67
|
-
RemixAndResampleResponse: () => RemixAndResampleResponse,
|
|
68
|
-
SoxFlagBits: () => SoxFlagBits,
|
|
69
|
-
SoxQualityRecipe: () => SoxQualityRecipe,
|
|
70
|
-
SoxResamplerDataType: () => SoxResamplerDataType,
|
|
71
|
-
SoxResamplerInfo: () => SoxResamplerInfo
|
|
72
|
-
});
|
|
73
|
-
module.exports = __toCommonJS(audio_frame_pb_exports);
|
|
74
|
-
var import_protobuf = require("@bufbuild/protobuf");
|
|
75
|
-
var import_track_pb = require("./track_pb.cjs");
|
|
76
|
-
var import_handle_pb = require("./handle_pb.cjs");
|
|
77
|
-
var SoxResamplerDataType = /* @__PURE__ */ ((SoxResamplerDataType2) => {
|
|
78
|
-
SoxResamplerDataType2[SoxResamplerDataType2["SOXR_DATATYPE_INT16I"] = 0] = "SOXR_DATATYPE_INT16I";
|
|
79
|
-
SoxResamplerDataType2[SoxResamplerDataType2["SOXR_DATATYPE_INT16S"] = 1] = "SOXR_DATATYPE_INT16S";
|
|
80
|
-
return SoxResamplerDataType2;
|
|
81
|
-
})(SoxResamplerDataType || {});
|
|
82
|
-
import_protobuf.proto2.util.setEnumType(SoxResamplerDataType, "livekit.proto.SoxResamplerDataType", [
|
|
83
|
-
{ no: 0, name: "SOXR_DATATYPE_INT16I" },
|
|
84
|
-
{ no: 1, name: "SOXR_DATATYPE_INT16S" }
|
|
85
|
-
]);
|
|
86
|
-
var SoxQualityRecipe = /* @__PURE__ */ ((SoxQualityRecipe2) => {
|
|
87
|
-
SoxQualityRecipe2[SoxQualityRecipe2["SOXR_QUALITY_QUICK"] = 0] = "SOXR_QUALITY_QUICK";
|
|
88
|
-
SoxQualityRecipe2[SoxQualityRecipe2["SOXR_QUALITY_LOW"] = 1] = "SOXR_QUALITY_LOW";
|
|
89
|
-
SoxQualityRecipe2[SoxQualityRecipe2["SOXR_QUALITY_MEDIUM"] = 2] = "SOXR_QUALITY_MEDIUM";
|
|
90
|
-
SoxQualityRecipe2[SoxQualityRecipe2["SOXR_QUALITY_HIGH"] = 3] = "SOXR_QUALITY_HIGH";
|
|
91
|
-
SoxQualityRecipe2[SoxQualityRecipe2["SOXR_QUALITY_VERYHIGH"] = 4] = "SOXR_QUALITY_VERYHIGH";
|
|
92
|
-
return SoxQualityRecipe2;
|
|
93
|
-
})(SoxQualityRecipe || {});
|
|
94
|
-
import_protobuf.proto2.util.setEnumType(SoxQualityRecipe, "livekit.proto.SoxQualityRecipe", [
|
|
95
|
-
{ no: 0, name: "SOXR_QUALITY_QUICK" },
|
|
96
|
-
{ no: 1, name: "SOXR_QUALITY_LOW" },
|
|
97
|
-
{ no: 2, name: "SOXR_QUALITY_MEDIUM" },
|
|
98
|
-
{ no: 3, name: "SOXR_QUALITY_HIGH" },
|
|
99
|
-
{ no: 4, name: "SOXR_QUALITY_VERYHIGH" }
|
|
100
|
-
]);
|
|
101
|
-
var SoxFlagBits = /* @__PURE__ */ ((SoxFlagBits2) => {
|
|
102
|
-
SoxFlagBits2[SoxFlagBits2["SOXR_ROLLOFF_SMALL"] = 0] = "SOXR_ROLLOFF_SMALL";
|
|
103
|
-
SoxFlagBits2[SoxFlagBits2["SOXR_ROLLOFF_MEDIUM"] = 1] = "SOXR_ROLLOFF_MEDIUM";
|
|
104
|
-
SoxFlagBits2[SoxFlagBits2["SOXR_ROLLOFF_NONE"] = 2] = "SOXR_ROLLOFF_NONE";
|
|
105
|
-
SoxFlagBits2[SoxFlagBits2["SOXR_HIGH_PREC_CLOCK"] = 3] = "SOXR_HIGH_PREC_CLOCK";
|
|
106
|
-
SoxFlagBits2[SoxFlagBits2["SOXR_DOUBLE_PRECISION"] = 4] = "SOXR_DOUBLE_PRECISION";
|
|
107
|
-
SoxFlagBits2[SoxFlagBits2["SOXR_VR"] = 5] = "SOXR_VR";
|
|
108
|
-
return SoxFlagBits2;
|
|
109
|
-
})(SoxFlagBits || {});
|
|
110
|
-
import_protobuf.proto2.util.setEnumType(SoxFlagBits, "livekit.proto.SoxFlagBits", [
|
|
111
|
-
{ no: 0, name: "SOXR_ROLLOFF_SMALL" },
|
|
112
|
-
{ no: 1, name: "SOXR_ROLLOFF_MEDIUM" },
|
|
113
|
-
{ no: 2, name: "SOXR_ROLLOFF_NONE" },
|
|
114
|
-
{ no: 3, name: "SOXR_HIGH_PREC_CLOCK" },
|
|
115
|
-
{ no: 4, name: "SOXR_DOUBLE_PRECISION" },
|
|
116
|
-
{ no: 5, name: "SOXR_VR" }
|
|
117
|
-
]);
|
|
118
|
-
var AudioStreamType = /* @__PURE__ */ ((AudioStreamType2) => {
|
|
119
|
-
AudioStreamType2[AudioStreamType2["AUDIO_STREAM_NATIVE"] = 0] = "AUDIO_STREAM_NATIVE";
|
|
120
|
-
AudioStreamType2[AudioStreamType2["AUDIO_STREAM_HTML"] = 1] = "AUDIO_STREAM_HTML";
|
|
121
|
-
return AudioStreamType2;
|
|
122
|
-
})(AudioStreamType || {});
|
|
123
|
-
import_protobuf.proto2.util.setEnumType(AudioStreamType, "livekit.proto.AudioStreamType", [
|
|
124
|
-
{ no: 0, name: "AUDIO_STREAM_NATIVE" },
|
|
125
|
-
{ no: 1, name: "AUDIO_STREAM_HTML" }
|
|
126
|
-
]);
|
|
127
|
-
var AudioSourceType = /* @__PURE__ */ ((AudioSourceType2) => {
|
|
128
|
-
AudioSourceType2[AudioSourceType2["AUDIO_SOURCE_NATIVE"] = 0] = "AUDIO_SOURCE_NATIVE";
|
|
129
|
-
return AudioSourceType2;
|
|
130
|
-
})(AudioSourceType || {});
|
|
131
|
-
import_protobuf.proto2.util.setEnumType(AudioSourceType, "livekit.proto.AudioSourceType", [
|
|
132
|
-
{ no: 0, name: "AUDIO_SOURCE_NATIVE" }
|
|
133
|
-
]);
|
|
134
|
-
const _NewAudioStreamRequest = class _NewAudioStreamRequest extends import_protobuf.Message {
|
|
135
|
-
constructor(data) {
|
|
136
|
-
super();
|
|
137
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
138
|
-
}
|
|
139
|
-
static fromBinary(bytes, options) {
|
|
140
|
-
return new _NewAudioStreamRequest().fromBinary(bytes, options);
|
|
141
|
-
}
|
|
142
|
-
static fromJson(jsonValue, options) {
|
|
143
|
-
return new _NewAudioStreamRequest().fromJson(jsonValue, options);
|
|
144
|
-
}
|
|
145
|
-
static fromJsonString(jsonString, options) {
|
|
146
|
-
return new _NewAudioStreamRequest().fromJsonString(jsonString, options);
|
|
147
|
-
}
|
|
148
|
-
static equals(a, b) {
|
|
149
|
-
return import_protobuf.proto2.util.equals(_NewAudioStreamRequest, a, b);
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
_NewAudioStreamRequest.runtime = import_protobuf.proto2;
|
|
153
|
-
_NewAudioStreamRequest.typeName = "livekit.proto.NewAudioStreamRequest";
|
|
154
|
-
_NewAudioStreamRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
155
|
-
{ no: 1, name: "track_handle", kind: "scalar", T: 4, req: true },
|
|
156
|
-
{ no: 2, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(AudioStreamType), req: true },
|
|
157
|
-
{ no: 3, name: "sample_rate", kind: "scalar", T: 13, opt: true },
|
|
158
|
-
{ no: 4, name: "num_channels", kind: "scalar", T: 13, opt: true },
|
|
159
|
-
{ no: 5, name: "audio_filter_module_id", kind: "scalar", T: 9, opt: true },
|
|
160
|
-
{ no: 6, name: "audio_filter_options", kind: "scalar", T: 9, opt: true },
|
|
161
|
-
{ no: 7, name: "frame_size_ms", kind: "scalar", T: 13, opt: true }
|
|
162
|
-
]);
|
|
163
|
-
let NewAudioStreamRequest = _NewAudioStreamRequest;
|
|
164
|
-
const _NewAudioStreamResponse = class _NewAudioStreamResponse extends import_protobuf.Message {
|
|
165
|
-
constructor(data) {
|
|
166
|
-
super();
|
|
167
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
168
|
-
}
|
|
169
|
-
static fromBinary(bytes, options) {
|
|
170
|
-
return new _NewAudioStreamResponse().fromBinary(bytes, options);
|
|
171
|
-
}
|
|
172
|
-
static fromJson(jsonValue, options) {
|
|
173
|
-
return new _NewAudioStreamResponse().fromJson(jsonValue, options);
|
|
174
|
-
}
|
|
175
|
-
static fromJsonString(jsonString, options) {
|
|
176
|
-
return new _NewAudioStreamResponse().fromJsonString(jsonString, options);
|
|
177
|
-
}
|
|
178
|
-
static equals(a, b) {
|
|
179
|
-
return import_protobuf.proto2.util.equals(_NewAudioStreamResponse, a, b);
|
|
180
|
-
}
|
|
181
|
-
};
|
|
182
|
-
_NewAudioStreamResponse.runtime = import_protobuf.proto2;
|
|
183
|
-
_NewAudioStreamResponse.typeName = "livekit.proto.NewAudioStreamResponse";
|
|
184
|
-
_NewAudioStreamResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
185
|
-
{ no: 1, name: "stream", kind: "message", T: OwnedAudioStream, req: true }
|
|
186
|
-
]);
|
|
187
|
-
let NewAudioStreamResponse = _NewAudioStreamResponse;
|
|
188
|
-
const _AudioStreamFromParticipantRequest = class _AudioStreamFromParticipantRequest extends import_protobuf.Message {
|
|
189
|
-
constructor(data) {
|
|
190
|
-
super();
|
|
191
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
192
|
-
}
|
|
193
|
-
static fromBinary(bytes, options) {
|
|
194
|
-
return new _AudioStreamFromParticipantRequest().fromBinary(bytes, options);
|
|
195
|
-
}
|
|
196
|
-
static fromJson(jsonValue, options) {
|
|
197
|
-
return new _AudioStreamFromParticipantRequest().fromJson(jsonValue, options);
|
|
198
|
-
}
|
|
199
|
-
static fromJsonString(jsonString, options) {
|
|
200
|
-
return new _AudioStreamFromParticipantRequest().fromJsonString(jsonString, options);
|
|
201
|
-
}
|
|
202
|
-
static equals(a, b) {
|
|
203
|
-
return import_protobuf.proto2.util.equals(_AudioStreamFromParticipantRequest, a, b);
|
|
204
|
-
}
|
|
205
|
-
};
|
|
206
|
-
_AudioStreamFromParticipantRequest.runtime = import_protobuf.proto2;
|
|
207
|
-
_AudioStreamFromParticipantRequest.typeName = "livekit.proto.AudioStreamFromParticipantRequest";
|
|
208
|
-
_AudioStreamFromParticipantRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
209
|
-
{ no: 1, name: "participant_handle", kind: "scalar", T: 4, req: true },
|
|
210
|
-
{ no: 2, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(AudioStreamType), req: true },
|
|
211
|
-
{ no: 3, name: "track_source", kind: "enum", T: import_protobuf.proto2.getEnumType(import_track_pb.TrackSource), opt: true },
|
|
212
|
-
{ no: 5, name: "sample_rate", kind: "scalar", T: 13, opt: true },
|
|
213
|
-
{ no: 6, name: "num_channels", kind: "scalar", T: 13, opt: true },
|
|
214
|
-
{ no: 7, name: "audio_filter_module_id", kind: "scalar", T: 9, opt: true },
|
|
215
|
-
{ no: 8, name: "audio_filter_options", kind: "scalar", T: 9, opt: true },
|
|
216
|
-
{ no: 9, name: "frame_size_ms", kind: "scalar", T: 13, opt: true }
|
|
217
|
-
]);
|
|
218
|
-
let AudioStreamFromParticipantRequest = _AudioStreamFromParticipantRequest;
|
|
219
|
-
const _AudioStreamFromParticipantResponse = class _AudioStreamFromParticipantResponse extends import_protobuf.Message {
|
|
220
|
-
constructor(data) {
|
|
221
|
-
super();
|
|
222
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
223
|
-
}
|
|
224
|
-
static fromBinary(bytes, options) {
|
|
225
|
-
return new _AudioStreamFromParticipantResponse().fromBinary(bytes, options);
|
|
226
|
-
}
|
|
227
|
-
static fromJson(jsonValue, options) {
|
|
228
|
-
return new _AudioStreamFromParticipantResponse().fromJson(jsonValue, options);
|
|
229
|
-
}
|
|
230
|
-
static fromJsonString(jsonString, options) {
|
|
231
|
-
return new _AudioStreamFromParticipantResponse().fromJsonString(jsonString, options);
|
|
232
|
-
}
|
|
233
|
-
static equals(a, b) {
|
|
234
|
-
return import_protobuf.proto2.util.equals(_AudioStreamFromParticipantResponse, a, b);
|
|
235
|
-
}
|
|
236
|
-
};
|
|
237
|
-
_AudioStreamFromParticipantResponse.runtime = import_protobuf.proto2;
|
|
238
|
-
_AudioStreamFromParticipantResponse.typeName = "livekit.proto.AudioStreamFromParticipantResponse";
|
|
239
|
-
_AudioStreamFromParticipantResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
240
|
-
{ no: 1, name: "stream", kind: "message", T: OwnedAudioStream, req: true }
|
|
241
|
-
]);
|
|
242
|
-
let AudioStreamFromParticipantResponse = _AudioStreamFromParticipantResponse;
|
|
243
|
-
const _NewAudioSourceRequest = class _NewAudioSourceRequest 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 _NewAudioSourceRequest().fromBinary(bytes, options);
|
|
250
|
-
}
|
|
251
|
-
static fromJson(jsonValue, options) {
|
|
252
|
-
return new _NewAudioSourceRequest().fromJson(jsonValue, options);
|
|
253
|
-
}
|
|
254
|
-
static fromJsonString(jsonString, options) {
|
|
255
|
-
return new _NewAudioSourceRequest().fromJsonString(jsonString, options);
|
|
256
|
-
}
|
|
257
|
-
static equals(a, b) {
|
|
258
|
-
return import_protobuf.proto2.util.equals(_NewAudioSourceRequest, a, b);
|
|
259
|
-
}
|
|
260
|
-
};
|
|
261
|
-
_NewAudioSourceRequest.runtime = import_protobuf.proto2;
|
|
262
|
-
_NewAudioSourceRequest.typeName = "livekit.proto.NewAudioSourceRequest";
|
|
263
|
-
_NewAudioSourceRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
264
|
-
{ no: 1, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(AudioSourceType), req: true },
|
|
265
|
-
{ no: 2, name: "options", kind: "message", T: AudioSourceOptions, opt: true },
|
|
266
|
-
{ no: 3, name: "sample_rate", kind: "scalar", T: 13, req: true },
|
|
267
|
-
{ no: 4, name: "num_channels", kind: "scalar", T: 13, req: true },
|
|
268
|
-
{ no: 5, name: "queue_size_ms", kind: "scalar", T: 13, opt: true }
|
|
269
|
-
]);
|
|
270
|
-
let NewAudioSourceRequest = _NewAudioSourceRequest;
|
|
271
|
-
const _NewAudioSourceResponse = class _NewAudioSourceResponse extends import_protobuf.Message {
|
|
272
|
-
constructor(data) {
|
|
273
|
-
super();
|
|
274
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
275
|
-
}
|
|
276
|
-
static fromBinary(bytes, options) {
|
|
277
|
-
return new _NewAudioSourceResponse().fromBinary(bytes, options);
|
|
278
|
-
}
|
|
279
|
-
static fromJson(jsonValue, options) {
|
|
280
|
-
return new _NewAudioSourceResponse().fromJson(jsonValue, options);
|
|
281
|
-
}
|
|
282
|
-
static fromJsonString(jsonString, options) {
|
|
283
|
-
return new _NewAudioSourceResponse().fromJsonString(jsonString, options);
|
|
284
|
-
}
|
|
285
|
-
static equals(a, b) {
|
|
286
|
-
return import_protobuf.proto2.util.equals(_NewAudioSourceResponse, a, b);
|
|
287
|
-
}
|
|
288
|
-
};
|
|
289
|
-
_NewAudioSourceResponse.runtime = import_protobuf.proto2;
|
|
290
|
-
_NewAudioSourceResponse.typeName = "livekit.proto.NewAudioSourceResponse";
|
|
291
|
-
_NewAudioSourceResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
292
|
-
{ no: 1, name: "source", kind: "message", T: OwnedAudioSource, req: true }
|
|
293
|
-
]);
|
|
294
|
-
let NewAudioSourceResponse = _NewAudioSourceResponse;
|
|
295
|
-
const _CaptureAudioFrameRequest = class _CaptureAudioFrameRequest extends import_protobuf.Message {
|
|
296
|
-
constructor(data) {
|
|
297
|
-
super();
|
|
298
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
299
|
-
}
|
|
300
|
-
static fromBinary(bytes, options) {
|
|
301
|
-
return new _CaptureAudioFrameRequest().fromBinary(bytes, options);
|
|
302
|
-
}
|
|
303
|
-
static fromJson(jsonValue, options) {
|
|
304
|
-
return new _CaptureAudioFrameRequest().fromJson(jsonValue, options);
|
|
305
|
-
}
|
|
306
|
-
static fromJsonString(jsonString, options) {
|
|
307
|
-
return new _CaptureAudioFrameRequest().fromJsonString(jsonString, options);
|
|
308
|
-
}
|
|
309
|
-
static equals(a, b) {
|
|
310
|
-
return import_protobuf.proto2.util.equals(_CaptureAudioFrameRequest, a, b);
|
|
311
|
-
}
|
|
312
|
-
};
|
|
313
|
-
_CaptureAudioFrameRequest.runtime = import_protobuf.proto2;
|
|
314
|
-
_CaptureAudioFrameRequest.typeName = "livekit.proto.CaptureAudioFrameRequest";
|
|
315
|
-
_CaptureAudioFrameRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
316
|
-
{ no: 1, name: "source_handle", kind: "scalar", T: 4, req: true },
|
|
317
|
-
{ no: 2, name: "buffer", kind: "message", T: AudioFrameBufferInfo, req: true }
|
|
318
|
-
]);
|
|
319
|
-
let CaptureAudioFrameRequest = _CaptureAudioFrameRequest;
|
|
320
|
-
const _CaptureAudioFrameResponse = class _CaptureAudioFrameResponse extends import_protobuf.Message {
|
|
321
|
-
constructor(data) {
|
|
322
|
-
super();
|
|
323
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
324
|
-
}
|
|
325
|
-
static fromBinary(bytes, options) {
|
|
326
|
-
return new _CaptureAudioFrameResponse().fromBinary(bytes, options);
|
|
327
|
-
}
|
|
328
|
-
static fromJson(jsonValue, options) {
|
|
329
|
-
return new _CaptureAudioFrameResponse().fromJson(jsonValue, options);
|
|
330
|
-
}
|
|
331
|
-
static fromJsonString(jsonString, options) {
|
|
332
|
-
return new _CaptureAudioFrameResponse().fromJsonString(jsonString, options);
|
|
333
|
-
}
|
|
334
|
-
static equals(a, b) {
|
|
335
|
-
return import_protobuf.proto2.util.equals(_CaptureAudioFrameResponse, a, b);
|
|
336
|
-
}
|
|
337
|
-
};
|
|
338
|
-
_CaptureAudioFrameResponse.runtime = import_protobuf.proto2;
|
|
339
|
-
_CaptureAudioFrameResponse.typeName = "livekit.proto.CaptureAudioFrameResponse";
|
|
340
|
-
_CaptureAudioFrameResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
341
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true }
|
|
342
|
-
]);
|
|
343
|
-
let CaptureAudioFrameResponse = _CaptureAudioFrameResponse;
|
|
344
|
-
const _CaptureAudioFrameCallback = class _CaptureAudioFrameCallback extends import_protobuf.Message {
|
|
345
|
-
constructor(data) {
|
|
346
|
-
super();
|
|
347
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
348
|
-
}
|
|
349
|
-
static fromBinary(bytes, options) {
|
|
350
|
-
return new _CaptureAudioFrameCallback().fromBinary(bytes, options);
|
|
351
|
-
}
|
|
352
|
-
static fromJson(jsonValue, options) {
|
|
353
|
-
return new _CaptureAudioFrameCallback().fromJson(jsonValue, options);
|
|
354
|
-
}
|
|
355
|
-
static fromJsonString(jsonString, options) {
|
|
356
|
-
return new _CaptureAudioFrameCallback().fromJsonString(jsonString, options);
|
|
357
|
-
}
|
|
358
|
-
static equals(a, b) {
|
|
359
|
-
return import_protobuf.proto2.util.equals(_CaptureAudioFrameCallback, a, b);
|
|
360
|
-
}
|
|
361
|
-
};
|
|
362
|
-
_CaptureAudioFrameCallback.runtime = import_protobuf.proto2;
|
|
363
|
-
_CaptureAudioFrameCallback.typeName = "livekit.proto.CaptureAudioFrameCallback";
|
|
364
|
-
_CaptureAudioFrameCallback.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
365
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4, req: true },
|
|
366
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, opt: true }
|
|
367
|
-
]);
|
|
368
|
-
let CaptureAudioFrameCallback = _CaptureAudioFrameCallback;
|
|
369
|
-
const _ClearAudioBufferRequest = class _ClearAudioBufferRequest extends import_protobuf.Message {
|
|
370
|
-
constructor(data) {
|
|
371
|
-
super();
|
|
372
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
373
|
-
}
|
|
374
|
-
static fromBinary(bytes, options) {
|
|
375
|
-
return new _ClearAudioBufferRequest().fromBinary(bytes, options);
|
|
376
|
-
}
|
|
377
|
-
static fromJson(jsonValue, options) {
|
|
378
|
-
return new _ClearAudioBufferRequest().fromJson(jsonValue, options);
|
|
379
|
-
}
|
|
380
|
-
static fromJsonString(jsonString, options) {
|
|
381
|
-
return new _ClearAudioBufferRequest().fromJsonString(jsonString, options);
|
|
382
|
-
}
|
|
383
|
-
static equals(a, b) {
|
|
384
|
-
return import_protobuf.proto2.util.equals(_ClearAudioBufferRequest, a, b);
|
|
385
|
-
}
|
|
386
|
-
};
|
|
387
|
-
_ClearAudioBufferRequest.runtime = import_protobuf.proto2;
|
|
388
|
-
_ClearAudioBufferRequest.typeName = "livekit.proto.ClearAudioBufferRequest";
|
|
389
|
-
_ClearAudioBufferRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
390
|
-
{ no: 1, name: "source_handle", kind: "scalar", T: 4, req: true }
|
|
391
|
-
]);
|
|
392
|
-
let ClearAudioBufferRequest = _ClearAudioBufferRequest;
|
|
393
|
-
const _ClearAudioBufferResponse = class _ClearAudioBufferResponse extends import_protobuf.Message {
|
|
394
|
-
constructor(data) {
|
|
395
|
-
super();
|
|
396
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
397
|
-
}
|
|
398
|
-
static fromBinary(bytes, options) {
|
|
399
|
-
return new _ClearAudioBufferResponse().fromBinary(bytes, options);
|
|
400
|
-
}
|
|
401
|
-
static fromJson(jsonValue, options) {
|
|
402
|
-
return new _ClearAudioBufferResponse().fromJson(jsonValue, options);
|
|
403
|
-
}
|
|
404
|
-
static fromJsonString(jsonString, options) {
|
|
405
|
-
return new _ClearAudioBufferResponse().fromJsonString(jsonString, options);
|
|
406
|
-
}
|
|
407
|
-
static equals(a, b) {
|
|
408
|
-
return import_protobuf.proto2.util.equals(_ClearAudioBufferResponse, a, b);
|
|
409
|
-
}
|
|
410
|
-
};
|
|
411
|
-
_ClearAudioBufferResponse.runtime = import_protobuf.proto2;
|
|
412
|
-
_ClearAudioBufferResponse.typeName = "livekit.proto.ClearAudioBufferResponse";
|
|
413
|
-
_ClearAudioBufferResponse.fields = import_protobuf.proto2.util.newFieldList(() => []);
|
|
414
|
-
let ClearAudioBufferResponse = _ClearAudioBufferResponse;
|
|
415
|
-
const _NewAudioResamplerRequest = class _NewAudioResamplerRequest extends import_protobuf.Message {
|
|
416
|
-
constructor(data) {
|
|
417
|
-
super();
|
|
418
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
419
|
-
}
|
|
420
|
-
static fromBinary(bytes, options) {
|
|
421
|
-
return new _NewAudioResamplerRequest().fromBinary(bytes, options);
|
|
422
|
-
}
|
|
423
|
-
static fromJson(jsonValue, options) {
|
|
424
|
-
return new _NewAudioResamplerRequest().fromJson(jsonValue, options);
|
|
425
|
-
}
|
|
426
|
-
static fromJsonString(jsonString, options) {
|
|
427
|
-
return new _NewAudioResamplerRequest().fromJsonString(jsonString, options);
|
|
428
|
-
}
|
|
429
|
-
static equals(a, b) {
|
|
430
|
-
return import_protobuf.proto2.util.equals(_NewAudioResamplerRequest, a, b);
|
|
431
|
-
}
|
|
432
|
-
};
|
|
433
|
-
_NewAudioResamplerRequest.runtime = import_protobuf.proto2;
|
|
434
|
-
_NewAudioResamplerRequest.typeName = "livekit.proto.NewAudioResamplerRequest";
|
|
435
|
-
_NewAudioResamplerRequest.fields = import_protobuf.proto2.util.newFieldList(() => []);
|
|
436
|
-
let NewAudioResamplerRequest = _NewAudioResamplerRequest;
|
|
437
|
-
const _NewAudioResamplerResponse = class _NewAudioResamplerResponse extends import_protobuf.Message {
|
|
438
|
-
constructor(data) {
|
|
439
|
-
super();
|
|
440
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
441
|
-
}
|
|
442
|
-
static fromBinary(bytes, options) {
|
|
443
|
-
return new _NewAudioResamplerResponse().fromBinary(bytes, options);
|
|
444
|
-
}
|
|
445
|
-
static fromJson(jsonValue, options) {
|
|
446
|
-
return new _NewAudioResamplerResponse().fromJson(jsonValue, options);
|
|
447
|
-
}
|
|
448
|
-
static fromJsonString(jsonString, options) {
|
|
449
|
-
return new _NewAudioResamplerResponse().fromJsonString(jsonString, options);
|
|
450
|
-
}
|
|
451
|
-
static equals(a, b) {
|
|
452
|
-
return import_protobuf.proto2.util.equals(_NewAudioResamplerResponse, a, b);
|
|
453
|
-
}
|
|
454
|
-
};
|
|
455
|
-
_NewAudioResamplerResponse.runtime = import_protobuf.proto2;
|
|
456
|
-
_NewAudioResamplerResponse.typeName = "livekit.proto.NewAudioResamplerResponse";
|
|
457
|
-
_NewAudioResamplerResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
458
|
-
{ no: 1, name: "resampler", kind: "message", T: OwnedAudioResampler, req: true }
|
|
459
|
-
]);
|
|
460
|
-
let NewAudioResamplerResponse = _NewAudioResamplerResponse;
|
|
461
|
-
const _RemixAndResampleRequest = class _RemixAndResampleRequest extends import_protobuf.Message {
|
|
462
|
-
constructor(data) {
|
|
463
|
-
super();
|
|
464
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
465
|
-
}
|
|
466
|
-
static fromBinary(bytes, options) {
|
|
467
|
-
return new _RemixAndResampleRequest().fromBinary(bytes, options);
|
|
468
|
-
}
|
|
469
|
-
static fromJson(jsonValue, options) {
|
|
470
|
-
return new _RemixAndResampleRequest().fromJson(jsonValue, options);
|
|
471
|
-
}
|
|
472
|
-
static fromJsonString(jsonString, options) {
|
|
473
|
-
return new _RemixAndResampleRequest().fromJsonString(jsonString, options);
|
|
474
|
-
}
|
|
475
|
-
static equals(a, b) {
|
|
476
|
-
return import_protobuf.proto2.util.equals(_RemixAndResampleRequest, a, b);
|
|
477
|
-
}
|
|
478
|
-
};
|
|
479
|
-
_RemixAndResampleRequest.runtime = import_protobuf.proto2;
|
|
480
|
-
_RemixAndResampleRequest.typeName = "livekit.proto.RemixAndResampleRequest";
|
|
481
|
-
_RemixAndResampleRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
482
|
-
{ no: 1, name: "resampler_handle", kind: "scalar", T: 4, req: true },
|
|
483
|
-
{ no: 2, name: "buffer", kind: "message", T: AudioFrameBufferInfo, req: true },
|
|
484
|
-
{ no: 3, name: "num_channels", kind: "scalar", T: 13, req: true },
|
|
485
|
-
{ no: 4, name: "sample_rate", kind: "scalar", T: 13, req: true }
|
|
486
|
-
]);
|
|
487
|
-
let RemixAndResampleRequest = _RemixAndResampleRequest;
|
|
488
|
-
const _RemixAndResampleResponse = class _RemixAndResampleResponse extends import_protobuf.Message {
|
|
489
|
-
constructor(data) {
|
|
490
|
-
super();
|
|
491
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
492
|
-
}
|
|
493
|
-
static fromBinary(bytes, options) {
|
|
494
|
-
return new _RemixAndResampleResponse().fromBinary(bytes, options);
|
|
495
|
-
}
|
|
496
|
-
static fromJson(jsonValue, options) {
|
|
497
|
-
return new _RemixAndResampleResponse().fromJson(jsonValue, options);
|
|
498
|
-
}
|
|
499
|
-
static fromJsonString(jsonString, options) {
|
|
500
|
-
return new _RemixAndResampleResponse().fromJsonString(jsonString, options);
|
|
501
|
-
}
|
|
502
|
-
static equals(a, b) {
|
|
503
|
-
return import_protobuf.proto2.util.equals(_RemixAndResampleResponse, a, b);
|
|
504
|
-
}
|
|
505
|
-
};
|
|
506
|
-
_RemixAndResampleResponse.runtime = import_protobuf.proto2;
|
|
507
|
-
_RemixAndResampleResponse.typeName = "livekit.proto.RemixAndResampleResponse";
|
|
508
|
-
_RemixAndResampleResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
509
|
-
{ no: 1, name: "buffer", kind: "message", T: OwnedAudioFrameBuffer, req: true }
|
|
510
|
-
]);
|
|
511
|
-
let RemixAndResampleResponse = _RemixAndResampleResponse;
|
|
512
|
-
const _NewApmRequest = class _NewApmRequest extends import_protobuf.Message {
|
|
513
|
-
constructor(data) {
|
|
514
|
-
super();
|
|
515
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
516
|
-
}
|
|
517
|
-
static fromBinary(bytes, options) {
|
|
518
|
-
return new _NewApmRequest().fromBinary(bytes, options);
|
|
519
|
-
}
|
|
520
|
-
static fromJson(jsonValue, options) {
|
|
521
|
-
return new _NewApmRequest().fromJson(jsonValue, options);
|
|
522
|
-
}
|
|
523
|
-
static fromJsonString(jsonString, options) {
|
|
524
|
-
return new _NewApmRequest().fromJsonString(jsonString, options);
|
|
525
|
-
}
|
|
526
|
-
static equals(a, b) {
|
|
527
|
-
return import_protobuf.proto2.util.equals(_NewApmRequest, a, b);
|
|
528
|
-
}
|
|
529
|
-
};
|
|
530
|
-
_NewApmRequest.runtime = import_protobuf.proto2;
|
|
531
|
-
_NewApmRequest.typeName = "livekit.proto.NewApmRequest";
|
|
532
|
-
_NewApmRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
533
|
-
{ no: 1, name: "echo_canceller_enabled", kind: "scalar", T: 8, req: true },
|
|
534
|
-
{ no: 2, name: "gain_controller_enabled", kind: "scalar", T: 8, req: true },
|
|
535
|
-
{ no: 3, name: "high_pass_filter_enabled", kind: "scalar", T: 8, req: true },
|
|
536
|
-
{ no: 4, name: "noise_suppression_enabled", kind: "scalar", T: 8, req: true }
|
|
537
|
-
]);
|
|
538
|
-
let NewApmRequest = _NewApmRequest;
|
|
539
|
-
const _NewApmResponse = class _NewApmResponse extends import_protobuf.Message {
|
|
540
|
-
constructor(data) {
|
|
541
|
-
super();
|
|
542
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
543
|
-
}
|
|
544
|
-
static fromBinary(bytes, options) {
|
|
545
|
-
return new _NewApmResponse().fromBinary(bytes, options);
|
|
546
|
-
}
|
|
547
|
-
static fromJson(jsonValue, options) {
|
|
548
|
-
return new _NewApmResponse().fromJson(jsonValue, options);
|
|
549
|
-
}
|
|
550
|
-
static fromJsonString(jsonString, options) {
|
|
551
|
-
return new _NewApmResponse().fromJsonString(jsonString, options);
|
|
552
|
-
}
|
|
553
|
-
static equals(a, b) {
|
|
554
|
-
return import_protobuf.proto2.util.equals(_NewApmResponse, a, b);
|
|
555
|
-
}
|
|
556
|
-
};
|
|
557
|
-
_NewApmResponse.runtime = import_protobuf.proto2;
|
|
558
|
-
_NewApmResponse.typeName = "livekit.proto.NewApmResponse";
|
|
559
|
-
_NewApmResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
560
|
-
{ no: 1, name: "apm", kind: "message", T: OwnedApm, req: true }
|
|
561
|
-
]);
|
|
562
|
-
let NewApmResponse = _NewApmResponse;
|
|
563
|
-
const _ApmProcessStreamRequest = class _ApmProcessStreamRequest extends import_protobuf.Message {
|
|
564
|
-
constructor(data) {
|
|
565
|
-
super();
|
|
566
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
567
|
-
}
|
|
568
|
-
static fromBinary(bytes, options) {
|
|
569
|
-
return new _ApmProcessStreamRequest().fromBinary(bytes, options);
|
|
570
|
-
}
|
|
571
|
-
static fromJson(jsonValue, options) {
|
|
572
|
-
return new _ApmProcessStreamRequest().fromJson(jsonValue, options);
|
|
573
|
-
}
|
|
574
|
-
static fromJsonString(jsonString, options) {
|
|
575
|
-
return new _ApmProcessStreamRequest().fromJsonString(jsonString, options);
|
|
576
|
-
}
|
|
577
|
-
static equals(a, b) {
|
|
578
|
-
return import_protobuf.proto2.util.equals(_ApmProcessStreamRequest, a, b);
|
|
579
|
-
}
|
|
580
|
-
};
|
|
581
|
-
_ApmProcessStreamRequest.runtime = import_protobuf.proto2;
|
|
582
|
-
_ApmProcessStreamRequest.typeName = "livekit.proto.ApmProcessStreamRequest";
|
|
583
|
-
_ApmProcessStreamRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
584
|
-
{ no: 1, name: "apm_handle", kind: "scalar", T: 4, req: true },
|
|
585
|
-
{ no: 2, name: "data_ptr", kind: "scalar", T: 4, req: true },
|
|
586
|
-
{ no: 3, name: "size", kind: "scalar", T: 13, req: true },
|
|
587
|
-
{ no: 4, name: "sample_rate", kind: "scalar", T: 13, req: true },
|
|
588
|
-
{ no: 5, name: "num_channels", kind: "scalar", T: 13, req: true }
|
|
589
|
-
]);
|
|
590
|
-
let ApmProcessStreamRequest = _ApmProcessStreamRequest;
|
|
591
|
-
const _ApmProcessStreamResponse = class _ApmProcessStreamResponse extends import_protobuf.Message {
|
|
592
|
-
constructor(data) {
|
|
593
|
-
super();
|
|
594
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
595
|
-
}
|
|
596
|
-
static fromBinary(bytes, options) {
|
|
597
|
-
return new _ApmProcessStreamResponse().fromBinary(bytes, options);
|
|
598
|
-
}
|
|
599
|
-
static fromJson(jsonValue, options) {
|
|
600
|
-
return new _ApmProcessStreamResponse().fromJson(jsonValue, options);
|
|
601
|
-
}
|
|
602
|
-
static fromJsonString(jsonString, options) {
|
|
603
|
-
return new _ApmProcessStreamResponse().fromJsonString(jsonString, options);
|
|
604
|
-
}
|
|
605
|
-
static equals(a, b) {
|
|
606
|
-
return import_protobuf.proto2.util.equals(_ApmProcessStreamResponse, a, b);
|
|
607
|
-
}
|
|
608
|
-
};
|
|
609
|
-
_ApmProcessStreamResponse.runtime = import_protobuf.proto2;
|
|
610
|
-
_ApmProcessStreamResponse.typeName = "livekit.proto.ApmProcessStreamResponse";
|
|
611
|
-
_ApmProcessStreamResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
612
|
-
{ no: 1, name: "error", kind: "scalar", T: 9, opt: true }
|
|
613
|
-
]);
|
|
614
|
-
let ApmProcessStreamResponse = _ApmProcessStreamResponse;
|
|
615
|
-
const _ApmProcessReverseStreamRequest = class _ApmProcessReverseStreamRequest extends import_protobuf.Message {
|
|
616
|
-
constructor(data) {
|
|
617
|
-
super();
|
|
618
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
619
|
-
}
|
|
620
|
-
static fromBinary(bytes, options) {
|
|
621
|
-
return new _ApmProcessReverseStreamRequest().fromBinary(bytes, options);
|
|
622
|
-
}
|
|
623
|
-
static fromJson(jsonValue, options) {
|
|
624
|
-
return new _ApmProcessReverseStreamRequest().fromJson(jsonValue, options);
|
|
625
|
-
}
|
|
626
|
-
static fromJsonString(jsonString, options) {
|
|
627
|
-
return new _ApmProcessReverseStreamRequest().fromJsonString(jsonString, options);
|
|
628
|
-
}
|
|
629
|
-
static equals(a, b) {
|
|
630
|
-
return import_protobuf.proto2.util.equals(_ApmProcessReverseStreamRequest, a, b);
|
|
631
|
-
}
|
|
632
|
-
};
|
|
633
|
-
_ApmProcessReverseStreamRequest.runtime = import_protobuf.proto2;
|
|
634
|
-
_ApmProcessReverseStreamRequest.typeName = "livekit.proto.ApmProcessReverseStreamRequest";
|
|
635
|
-
_ApmProcessReverseStreamRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
636
|
-
{ no: 1, name: "apm_handle", kind: "scalar", T: 4, req: true },
|
|
637
|
-
{ no: 2, name: "data_ptr", kind: "scalar", T: 4, req: true },
|
|
638
|
-
{ no: 3, name: "size", kind: "scalar", T: 13, req: true },
|
|
639
|
-
{ no: 4, name: "sample_rate", kind: "scalar", T: 13, req: true },
|
|
640
|
-
{ no: 5, name: "num_channels", kind: "scalar", T: 13, req: true }
|
|
641
|
-
]);
|
|
642
|
-
let ApmProcessReverseStreamRequest = _ApmProcessReverseStreamRequest;
|
|
643
|
-
const _ApmProcessReverseStreamResponse = class _ApmProcessReverseStreamResponse extends import_protobuf.Message {
|
|
644
|
-
constructor(data) {
|
|
645
|
-
super();
|
|
646
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
647
|
-
}
|
|
648
|
-
static fromBinary(bytes, options) {
|
|
649
|
-
return new _ApmProcessReverseStreamResponse().fromBinary(bytes, options);
|
|
650
|
-
}
|
|
651
|
-
static fromJson(jsonValue, options) {
|
|
652
|
-
return new _ApmProcessReverseStreamResponse().fromJson(jsonValue, options);
|
|
653
|
-
}
|
|
654
|
-
static fromJsonString(jsonString, options) {
|
|
655
|
-
return new _ApmProcessReverseStreamResponse().fromJsonString(jsonString, options);
|
|
656
|
-
}
|
|
657
|
-
static equals(a, b) {
|
|
658
|
-
return import_protobuf.proto2.util.equals(_ApmProcessReverseStreamResponse, a, b);
|
|
659
|
-
}
|
|
660
|
-
};
|
|
661
|
-
_ApmProcessReverseStreamResponse.runtime = import_protobuf.proto2;
|
|
662
|
-
_ApmProcessReverseStreamResponse.typeName = "livekit.proto.ApmProcessReverseStreamResponse";
|
|
663
|
-
_ApmProcessReverseStreamResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
664
|
-
{ no: 1, name: "error", kind: "scalar", T: 9, opt: true }
|
|
665
|
-
]);
|
|
666
|
-
let ApmProcessReverseStreamResponse = _ApmProcessReverseStreamResponse;
|
|
667
|
-
const _ApmSetStreamDelayRequest = class _ApmSetStreamDelayRequest extends import_protobuf.Message {
|
|
668
|
-
constructor(data) {
|
|
669
|
-
super();
|
|
670
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
671
|
-
}
|
|
672
|
-
static fromBinary(bytes, options) {
|
|
673
|
-
return new _ApmSetStreamDelayRequest().fromBinary(bytes, options);
|
|
674
|
-
}
|
|
675
|
-
static fromJson(jsonValue, options) {
|
|
676
|
-
return new _ApmSetStreamDelayRequest().fromJson(jsonValue, options);
|
|
677
|
-
}
|
|
678
|
-
static fromJsonString(jsonString, options) {
|
|
679
|
-
return new _ApmSetStreamDelayRequest().fromJsonString(jsonString, options);
|
|
680
|
-
}
|
|
681
|
-
static equals(a, b) {
|
|
682
|
-
return import_protobuf.proto2.util.equals(_ApmSetStreamDelayRequest, a, b);
|
|
683
|
-
}
|
|
684
|
-
};
|
|
685
|
-
_ApmSetStreamDelayRequest.runtime = import_protobuf.proto2;
|
|
686
|
-
_ApmSetStreamDelayRequest.typeName = "livekit.proto.ApmSetStreamDelayRequest";
|
|
687
|
-
_ApmSetStreamDelayRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
688
|
-
{ no: 1, name: "apm_handle", kind: "scalar", T: 4, req: true },
|
|
689
|
-
{ no: 2, name: "delay_ms", kind: "scalar", T: 5, req: true }
|
|
690
|
-
]);
|
|
691
|
-
let ApmSetStreamDelayRequest = _ApmSetStreamDelayRequest;
|
|
692
|
-
const _ApmSetStreamDelayResponse = class _ApmSetStreamDelayResponse extends import_protobuf.Message {
|
|
693
|
-
constructor(data) {
|
|
694
|
-
super();
|
|
695
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
696
|
-
}
|
|
697
|
-
static fromBinary(bytes, options) {
|
|
698
|
-
return new _ApmSetStreamDelayResponse().fromBinary(bytes, options);
|
|
699
|
-
}
|
|
700
|
-
static fromJson(jsonValue, options) {
|
|
701
|
-
return new _ApmSetStreamDelayResponse().fromJson(jsonValue, options);
|
|
702
|
-
}
|
|
703
|
-
static fromJsonString(jsonString, options) {
|
|
704
|
-
return new _ApmSetStreamDelayResponse().fromJsonString(jsonString, options);
|
|
705
|
-
}
|
|
706
|
-
static equals(a, b) {
|
|
707
|
-
return import_protobuf.proto2.util.equals(_ApmSetStreamDelayResponse, a, b);
|
|
708
|
-
}
|
|
709
|
-
};
|
|
710
|
-
_ApmSetStreamDelayResponse.runtime = import_protobuf.proto2;
|
|
711
|
-
_ApmSetStreamDelayResponse.typeName = "livekit.proto.ApmSetStreamDelayResponse";
|
|
712
|
-
_ApmSetStreamDelayResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
713
|
-
{ no: 1, name: "error", kind: "scalar", T: 9, opt: true }
|
|
714
|
-
]);
|
|
715
|
-
let ApmSetStreamDelayResponse = _ApmSetStreamDelayResponse;
|
|
716
|
-
const _NewSoxResamplerRequest = class _NewSoxResamplerRequest extends import_protobuf.Message {
|
|
717
|
-
constructor(data) {
|
|
718
|
-
super();
|
|
719
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
720
|
-
}
|
|
721
|
-
static fromBinary(bytes, options) {
|
|
722
|
-
return new _NewSoxResamplerRequest().fromBinary(bytes, options);
|
|
723
|
-
}
|
|
724
|
-
static fromJson(jsonValue, options) {
|
|
725
|
-
return new _NewSoxResamplerRequest().fromJson(jsonValue, options);
|
|
726
|
-
}
|
|
727
|
-
static fromJsonString(jsonString, options) {
|
|
728
|
-
return new _NewSoxResamplerRequest().fromJsonString(jsonString, options);
|
|
729
|
-
}
|
|
730
|
-
static equals(a, b) {
|
|
731
|
-
return import_protobuf.proto2.util.equals(_NewSoxResamplerRequest, a, b);
|
|
732
|
-
}
|
|
733
|
-
};
|
|
734
|
-
_NewSoxResamplerRequest.runtime = import_protobuf.proto2;
|
|
735
|
-
_NewSoxResamplerRequest.typeName = "livekit.proto.NewSoxResamplerRequest";
|
|
736
|
-
_NewSoxResamplerRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
737
|
-
{ no: 1, name: "input_rate", kind: "scalar", T: 1, req: true },
|
|
738
|
-
{ no: 2, name: "output_rate", kind: "scalar", T: 1, req: true },
|
|
739
|
-
{ no: 3, name: "num_channels", kind: "scalar", T: 13, req: true },
|
|
740
|
-
{ no: 4, name: "input_data_type", kind: "enum", T: import_protobuf.proto2.getEnumType(SoxResamplerDataType), req: true },
|
|
741
|
-
{ no: 5, name: "output_data_type", kind: "enum", T: import_protobuf.proto2.getEnumType(SoxResamplerDataType), req: true },
|
|
742
|
-
{ no: 6, name: "quality_recipe", kind: "enum", T: import_protobuf.proto2.getEnumType(SoxQualityRecipe), req: true },
|
|
743
|
-
{ no: 7, name: "flags", kind: "scalar", T: 13, opt: true }
|
|
744
|
-
]);
|
|
745
|
-
let NewSoxResamplerRequest = _NewSoxResamplerRequest;
|
|
746
|
-
const _NewSoxResamplerResponse = class _NewSoxResamplerResponse extends import_protobuf.Message {
|
|
747
|
-
constructor(data) {
|
|
748
|
-
super();
|
|
749
|
-
/**
|
|
750
|
-
* @generated from oneof livekit.proto.NewSoxResamplerResponse.message
|
|
751
|
-
*/
|
|
752
|
-
this.message = { case: void 0 };
|
|
753
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
754
|
-
}
|
|
755
|
-
static fromBinary(bytes, options) {
|
|
756
|
-
return new _NewSoxResamplerResponse().fromBinary(bytes, options);
|
|
757
|
-
}
|
|
758
|
-
static fromJson(jsonValue, options) {
|
|
759
|
-
return new _NewSoxResamplerResponse().fromJson(jsonValue, options);
|
|
760
|
-
}
|
|
761
|
-
static fromJsonString(jsonString, options) {
|
|
762
|
-
return new _NewSoxResamplerResponse().fromJsonString(jsonString, options);
|
|
763
|
-
}
|
|
764
|
-
static equals(a, b) {
|
|
765
|
-
return import_protobuf.proto2.util.equals(_NewSoxResamplerResponse, a, b);
|
|
766
|
-
}
|
|
767
|
-
};
|
|
768
|
-
_NewSoxResamplerResponse.runtime = import_protobuf.proto2;
|
|
769
|
-
_NewSoxResamplerResponse.typeName = "livekit.proto.NewSoxResamplerResponse";
|
|
770
|
-
_NewSoxResamplerResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
771
|
-
{ no: 1, name: "resampler", kind: "message", T: OwnedSoxResampler, oneof: "message" },
|
|
772
|
-
{ no: 2, name: "error", kind: "scalar", T: 9, oneof: "message" }
|
|
773
|
-
]);
|
|
774
|
-
let NewSoxResamplerResponse = _NewSoxResamplerResponse;
|
|
775
|
-
const _PushSoxResamplerRequest = class _PushSoxResamplerRequest extends import_protobuf.Message {
|
|
776
|
-
constructor(data) {
|
|
777
|
-
super();
|
|
778
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
779
|
-
}
|
|
780
|
-
static fromBinary(bytes, options) {
|
|
781
|
-
return new _PushSoxResamplerRequest().fromBinary(bytes, options);
|
|
782
|
-
}
|
|
783
|
-
static fromJson(jsonValue, options) {
|
|
784
|
-
return new _PushSoxResamplerRequest().fromJson(jsonValue, options);
|
|
785
|
-
}
|
|
786
|
-
static fromJsonString(jsonString, options) {
|
|
787
|
-
return new _PushSoxResamplerRequest().fromJsonString(jsonString, options);
|
|
788
|
-
}
|
|
789
|
-
static equals(a, b) {
|
|
790
|
-
return import_protobuf.proto2.util.equals(_PushSoxResamplerRequest, a, b);
|
|
791
|
-
}
|
|
792
|
-
};
|
|
793
|
-
_PushSoxResamplerRequest.runtime = import_protobuf.proto2;
|
|
794
|
-
_PushSoxResamplerRequest.typeName = "livekit.proto.PushSoxResamplerRequest";
|
|
795
|
-
_PushSoxResamplerRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
796
|
-
{ no: 1, name: "resampler_handle", kind: "scalar", T: 4, req: true },
|
|
797
|
-
{ no: 2, name: "data_ptr", kind: "scalar", T: 4, req: true },
|
|
798
|
-
{ no: 3, name: "size", kind: "scalar", T: 13, req: true }
|
|
799
|
-
]);
|
|
800
|
-
let PushSoxResamplerRequest = _PushSoxResamplerRequest;
|
|
801
|
-
const _PushSoxResamplerResponse = class _PushSoxResamplerResponse extends import_protobuf.Message {
|
|
802
|
-
constructor(data) {
|
|
803
|
-
super();
|
|
804
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
805
|
-
}
|
|
806
|
-
static fromBinary(bytes, options) {
|
|
807
|
-
return new _PushSoxResamplerResponse().fromBinary(bytes, options);
|
|
808
|
-
}
|
|
809
|
-
static fromJson(jsonValue, options) {
|
|
810
|
-
return new _PushSoxResamplerResponse().fromJson(jsonValue, options);
|
|
811
|
-
}
|
|
812
|
-
static fromJsonString(jsonString, options) {
|
|
813
|
-
return new _PushSoxResamplerResponse().fromJsonString(jsonString, options);
|
|
814
|
-
}
|
|
815
|
-
static equals(a, b) {
|
|
816
|
-
return import_protobuf.proto2.util.equals(_PushSoxResamplerResponse, a, b);
|
|
817
|
-
}
|
|
818
|
-
};
|
|
819
|
-
_PushSoxResamplerResponse.runtime = import_protobuf.proto2;
|
|
820
|
-
_PushSoxResamplerResponse.typeName = "livekit.proto.PushSoxResamplerResponse";
|
|
821
|
-
_PushSoxResamplerResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
822
|
-
{ no: 1, name: "output_ptr", kind: "scalar", T: 4, req: true },
|
|
823
|
-
{ no: 2, name: "size", kind: "scalar", T: 13, req: true },
|
|
824
|
-
{ no: 3, name: "error", kind: "scalar", T: 9, opt: true }
|
|
825
|
-
]);
|
|
826
|
-
let PushSoxResamplerResponse = _PushSoxResamplerResponse;
|
|
827
|
-
const _FlushSoxResamplerRequest = class _FlushSoxResamplerRequest extends import_protobuf.Message {
|
|
828
|
-
constructor(data) {
|
|
829
|
-
super();
|
|
830
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
831
|
-
}
|
|
832
|
-
static fromBinary(bytes, options) {
|
|
833
|
-
return new _FlushSoxResamplerRequest().fromBinary(bytes, options);
|
|
834
|
-
}
|
|
835
|
-
static fromJson(jsonValue, options) {
|
|
836
|
-
return new _FlushSoxResamplerRequest().fromJson(jsonValue, options);
|
|
837
|
-
}
|
|
838
|
-
static fromJsonString(jsonString, options) {
|
|
839
|
-
return new _FlushSoxResamplerRequest().fromJsonString(jsonString, options);
|
|
840
|
-
}
|
|
841
|
-
static equals(a, b) {
|
|
842
|
-
return import_protobuf.proto2.util.equals(_FlushSoxResamplerRequest, a, b);
|
|
843
|
-
}
|
|
844
|
-
};
|
|
845
|
-
_FlushSoxResamplerRequest.runtime = import_protobuf.proto2;
|
|
846
|
-
_FlushSoxResamplerRequest.typeName = "livekit.proto.FlushSoxResamplerRequest";
|
|
847
|
-
_FlushSoxResamplerRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
848
|
-
{ no: 1, name: "resampler_handle", kind: "scalar", T: 4, req: true }
|
|
849
|
-
]);
|
|
850
|
-
let FlushSoxResamplerRequest = _FlushSoxResamplerRequest;
|
|
851
|
-
const _FlushSoxResamplerResponse = class _FlushSoxResamplerResponse extends import_protobuf.Message {
|
|
852
|
-
constructor(data) {
|
|
853
|
-
super();
|
|
854
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
855
|
-
}
|
|
856
|
-
static fromBinary(bytes, options) {
|
|
857
|
-
return new _FlushSoxResamplerResponse().fromBinary(bytes, options);
|
|
858
|
-
}
|
|
859
|
-
static fromJson(jsonValue, options) {
|
|
860
|
-
return new _FlushSoxResamplerResponse().fromJson(jsonValue, options);
|
|
861
|
-
}
|
|
862
|
-
static fromJsonString(jsonString, options) {
|
|
863
|
-
return new _FlushSoxResamplerResponse().fromJsonString(jsonString, options);
|
|
864
|
-
}
|
|
865
|
-
static equals(a, b) {
|
|
866
|
-
return import_protobuf.proto2.util.equals(_FlushSoxResamplerResponse, a, b);
|
|
867
|
-
}
|
|
868
|
-
};
|
|
869
|
-
_FlushSoxResamplerResponse.runtime = import_protobuf.proto2;
|
|
870
|
-
_FlushSoxResamplerResponse.typeName = "livekit.proto.FlushSoxResamplerResponse";
|
|
871
|
-
_FlushSoxResamplerResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
872
|
-
{ no: 1, name: "output_ptr", kind: "scalar", T: 4, req: true },
|
|
873
|
-
{ no: 2, name: "size", kind: "scalar", T: 13, req: true },
|
|
874
|
-
{ no: 3, name: "error", kind: "scalar", T: 9, opt: true }
|
|
875
|
-
]);
|
|
876
|
-
let FlushSoxResamplerResponse = _FlushSoxResamplerResponse;
|
|
877
|
-
const _AudioFrameBufferInfo = class _AudioFrameBufferInfo extends import_protobuf.Message {
|
|
878
|
-
constructor(data) {
|
|
879
|
-
super();
|
|
880
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
881
|
-
}
|
|
882
|
-
static fromBinary(bytes, options) {
|
|
883
|
-
return new _AudioFrameBufferInfo().fromBinary(bytes, options);
|
|
884
|
-
}
|
|
885
|
-
static fromJson(jsonValue, options) {
|
|
886
|
-
return new _AudioFrameBufferInfo().fromJson(jsonValue, options);
|
|
887
|
-
}
|
|
888
|
-
static fromJsonString(jsonString, options) {
|
|
889
|
-
return new _AudioFrameBufferInfo().fromJsonString(jsonString, options);
|
|
890
|
-
}
|
|
891
|
-
static equals(a, b) {
|
|
892
|
-
return import_protobuf.proto2.util.equals(_AudioFrameBufferInfo, a, b);
|
|
893
|
-
}
|
|
894
|
-
};
|
|
895
|
-
_AudioFrameBufferInfo.runtime = import_protobuf.proto2;
|
|
896
|
-
_AudioFrameBufferInfo.typeName = "livekit.proto.AudioFrameBufferInfo";
|
|
897
|
-
_AudioFrameBufferInfo.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
898
|
-
{ no: 1, name: "data_ptr", kind: "scalar", T: 4, req: true },
|
|
899
|
-
{ no: 2, name: "num_channels", kind: "scalar", T: 13, req: true },
|
|
900
|
-
{ no: 3, name: "sample_rate", kind: "scalar", T: 13, req: true },
|
|
901
|
-
{ no: 4, name: "samples_per_channel", kind: "scalar", T: 13, req: true }
|
|
902
|
-
]);
|
|
903
|
-
let AudioFrameBufferInfo = _AudioFrameBufferInfo;
|
|
904
|
-
const _OwnedAudioFrameBuffer = class _OwnedAudioFrameBuffer extends import_protobuf.Message {
|
|
905
|
-
constructor(data) {
|
|
906
|
-
super();
|
|
907
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
908
|
-
}
|
|
909
|
-
static fromBinary(bytes, options) {
|
|
910
|
-
return new _OwnedAudioFrameBuffer().fromBinary(bytes, options);
|
|
911
|
-
}
|
|
912
|
-
static fromJson(jsonValue, options) {
|
|
913
|
-
return new _OwnedAudioFrameBuffer().fromJson(jsonValue, options);
|
|
914
|
-
}
|
|
915
|
-
static fromJsonString(jsonString, options) {
|
|
916
|
-
return new _OwnedAudioFrameBuffer().fromJsonString(jsonString, options);
|
|
917
|
-
}
|
|
918
|
-
static equals(a, b) {
|
|
919
|
-
return import_protobuf.proto2.util.equals(_OwnedAudioFrameBuffer, a, b);
|
|
920
|
-
}
|
|
921
|
-
};
|
|
922
|
-
_OwnedAudioFrameBuffer.runtime = import_protobuf.proto2;
|
|
923
|
-
_OwnedAudioFrameBuffer.typeName = "livekit.proto.OwnedAudioFrameBuffer";
|
|
924
|
-
_OwnedAudioFrameBuffer.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
925
|
-
{ no: 1, name: "handle", kind: "message", T: import_handle_pb.FfiOwnedHandle, req: true },
|
|
926
|
-
{ no: 2, name: "info", kind: "message", T: AudioFrameBufferInfo, req: true }
|
|
927
|
-
]);
|
|
928
|
-
let OwnedAudioFrameBuffer = _OwnedAudioFrameBuffer;
|
|
929
|
-
const _AudioStreamInfo = class _AudioStreamInfo extends import_protobuf.Message {
|
|
930
|
-
constructor(data) {
|
|
931
|
-
super();
|
|
932
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
933
|
-
}
|
|
934
|
-
static fromBinary(bytes, options) {
|
|
935
|
-
return new _AudioStreamInfo().fromBinary(bytes, options);
|
|
936
|
-
}
|
|
937
|
-
static fromJson(jsonValue, options) {
|
|
938
|
-
return new _AudioStreamInfo().fromJson(jsonValue, options);
|
|
939
|
-
}
|
|
940
|
-
static fromJsonString(jsonString, options) {
|
|
941
|
-
return new _AudioStreamInfo().fromJsonString(jsonString, options);
|
|
942
|
-
}
|
|
943
|
-
static equals(a, b) {
|
|
944
|
-
return import_protobuf.proto2.util.equals(_AudioStreamInfo, a, b);
|
|
945
|
-
}
|
|
946
|
-
};
|
|
947
|
-
_AudioStreamInfo.runtime = import_protobuf.proto2;
|
|
948
|
-
_AudioStreamInfo.typeName = "livekit.proto.AudioStreamInfo";
|
|
949
|
-
_AudioStreamInfo.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
950
|
-
{ no: 1, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(AudioStreamType), req: true }
|
|
951
|
-
]);
|
|
952
|
-
let AudioStreamInfo = _AudioStreamInfo;
|
|
953
|
-
const _OwnedAudioStream = class _OwnedAudioStream extends import_protobuf.Message {
|
|
954
|
-
constructor(data) {
|
|
955
|
-
super();
|
|
956
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
957
|
-
}
|
|
958
|
-
static fromBinary(bytes, options) {
|
|
959
|
-
return new _OwnedAudioStream().fromBinary(bytes, options);
|
|
960
|
-
}
|
|
961
|
-
static fromJson(jsonValue, options) {
|
|
962
|
-
return new _OwnedAudioStream().fromJson(jsonValue, options);
|
|
963
|
-
}
|
|
964
|
-
static fromJsonString(jsonString, options) {
|
|
965
|
-
return new _OwnedAudioStream().fromJsonString(jsonString, options);
|
|
966
|
-
}
|
|
967
|
-
static equals(a, b) {
|
|
968
|
-
return import_protobuf.proto2.util.equals(_OwnedAudioStream, a, b);
|
|
969
|
-
}
|
|
970
|
-
};
|
|
971
|
-
_OwnedAudioStream.runtime = import_protobuf.proto2;
|
|
972
|
-
_OwnedAudioStream.typeName = "livekit.proto.OwnedAudioStream";
|
|
973
|
-
_OwnedAudioStream.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
974
|
-
{ no: 1, name: "handle", kind: "message", T: import_handle_pb.FfiOwnedHandle, req: true },
|
|
975
|
-
{ no: 2, name: "info", kind: "message", T: AudioStreamInfo, req: true }
|
|
976
|
-
]);
|
|
977
|
-
let OwnedAudioStream = _OwnedAudioStream;
|
|
978
|
-
const _AudioStreamEvent = class _AudioStreamEvent extends import_protobuf.Message {
|
|
979
|
-
constructor(data) {
|
|
980
|
-
super();
|
|
981
|
-
/**
|
|
982
|
-
* @generated from oneof livekit.proto.AudioStreamEvent.message
|
|
983
|
-
*/
|
|
984
|
-
this.message = { case: void 0 };
|
|
985
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
986
|
-
}
|
|
987
|
-
static fromBinary(bytes, options) {
|
|
988
|
-
return new _AudioStreamEvent().fromBinary(bytes, options);
|
|
989
|
-
}
|
|
990
|
-
static fromJson(jsonValue, options) {
|
|
991
|
-
return new _AudioStreamEvent().fromJson(jsonValue, options);
|
|
992
|
-
}
|
|
993
|
-
static fromJsonString(jsonString, options) {
|
|
994
|
-
return new _AudioStreamEvent().fromJsonString(jsonString, options);
|
|
995
|
-
}
|
|
996
|
-
static equals(a, b) {
|
|
997
|
-
return import_protobuf.proto2.util.equals(_AudioStreamEvent, a, b);
|
|
998
|
-
}
|
|
999
|
-
};
|
|
1000
|
-
_AudioStreamEvent.runtime = import_protobuf.proto2;
|
|
1001
|
-
_AudioStreamEvent.typeName = "livekit.proto.AudioStreamEvent";
|
|
1002
|
-
_AudioStreamEvent.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1003
|
-
{ no: 1, name: "stream_handle", kind: "scalar", T: 4, req: true },
|
|
1004
|
-
{ no: 2, name: "frame_received", kind: "message", T: AudioFrameReceived, oneof: "message" },
|
|
1005
|
-
{ no: 3, name: "eos", kind: "message", T: AudioStreamEOS, oneof: "message" }
|
|
1006
|
-
]);
|
|
1007
|
-
let AudioStreamEvent = _AudioStreamEvent;
|
|
1008
|
-
const _AudioFrameReceived = class _AudioFrameReceived extends import_protobuf.Message {
|
|
1009
|
-
constructor(data) {
|
|
1010
|
-
super();
|
|
1011
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1012
|
-
}
|
|
1013
|
-
static fromBinary(bytes, options) {
|
|
1014
|
-
return new _AudioFrameReceived().fromBinary(bytes, options);
|
|
1015
|
-
}
|
|
1016
|
-
static fromJson(jsonValue, options) {
|
|
1017
|
-
return new _AudioFrameReceived().fromJson(jsonValue, options);
|
|
1018
|
-
}
|
|
1019
|
-
static fromJsonString(jsonString, options) {
|
|
1020
|
-
return new _AudioFrameReceived().fromJsonString(jsonString, options);
|
|
1021
|
-
}
|
|
1022
|
-
static equals(a, b) {
|
|
1023
|
-
return import_protobuf.proto2.util.equals(_AudioFrameReceived, a, b);
|
|
1024
|
-
}
|
|
1025
|
-
};
|
|
1026
|
-
_AudioFrameReceived.runtime = import_protobuf.proto2;
|
|
1027
|
-
_AudioFrameReceived.typeName = "livekit.proto.AudioFrameReceived";
|
|
1028
|
-
_AudioFrameReceived.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1029
|
-
{ no: 1, name: "frame", kind: "message", T: OwnedAudioFrameBuffer, req: true }
|
|
1030
|
-
]);
|
|
1031
|
-
let AudioFrameReceived = _AudioFrameReceived;
|
|
1032
|
-
const _AudioStreamEOS = class _AudioStreamEOS extends import_protobuf.Message {
|
|
1033
|
-
constructor(data) {
|
|
1034
|
-
super();
|
|
1035
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1036
|
-
}
|
|
1037
|
-
static fromBinary(bytes, options) {
|
|
1038
|
-
return new _AudioStreamEOS().fromBinary(bytes, options);
|
|
1039
|
-
}
|
|
1040
|
-
static fromJson(jsonValue, options) {
|
|
1041
|
-
return new _AudioStreamEOS().fromJson(jsonValue, options);
|
|
1042
|
-
}
|
|
1043
|
-
static fromJsonString(jsonString, options) {
|
|
1044
|
-
return new _AudioStreamEOS().fromJsonString(jsonString, options);
|
|
1045
|
-
}
|
|
1046
|
-
static equals(a, b) {
|
|
1047
|
-
return import_protobuf.proto2.util.equals(_AudioStreamEOS, a, b);
|
|
1048
|
-
}
|
|
1049
|
-
};
|
|
1050
|
-
_AudioStreamEOS.runtime = import_protobuf.proto2;
|
|
1051
|
-
_AudioStreamEOS.typeName = "livekit.proto.AudioStreamEOS";
|
|
1052
|
-
_AudioStreamEOS.fields = import_protobuf.proto2.util.newFieldList(() => []);
|
|
1053
|
-
let AudioStreamEOS = _AudioStreamEOS;
|
|
1054
|
-
const _AudioSourceOptions = class _AudioSourceOptions extends import_protobuf.Message {
|
|
1055
|
-
constructor(data) {
|
|
1056
|
-
super();
|
|
1057
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1058
|
-
}
|
|
1059
|
-
static fromBinary(bytes, options) {
|
|
1060
|
-
return new _AudioSourceOptions().fromBinary(bytes, options);
|
|
1061
|
-
}
|
|
1062
|
-
static fromJson(jsonValue, options) {
|
|
1063
|
-
return new _AudioSourceOptions().fromJson(jsonValue, options);
|
|
1064
|
-
}
|
|
1065
|
-
static fromJsonString(jsonString, options) {
|
|
1066
|
-
return new _AudioSourceOptions().fromJsonString(jsonString, options);
|
|
1067
|
-
}
|
|
1068
|
-
static equals(a, b) {
|
|
1069
|
-
return import_protobuf.proto2.util.equals(_AudioSourceOptions, a, b);
|
|
1070
|
-
}
|
|
1071
|
-
};
|
|
1072
|
-
_AudioSourceOptions.runtime = import_protobuf.proto2;
|
|
1073
|
-
_AudioSourceOptions.typeName = "livekit.proto.AudioSourceOptions";
|
|
1074
|
-
_AudioSourceOptions.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1075
|
-
{ no: 1, name: "echo_cancellation", kind: "scalar", T: 8, req: true },
|
|
1076
|
-
{ no: 2, name: "noise_suppression", kind: "scalar", T: 8, req: true },
|
|
1077
|
-
{ no: 3, name: "auto_gain_control", kind: "scalar", T: 8, req: true }
|
|
1078
|
-
]);
|
|
1079
|
-
let AudioSourceOptions = _AudioSourceOptions;
|
|
1080
|
-
const _AudioSourceInfo = class _AudioSourceInfo extends import_protobuf.Message {
|
|
1081
|
-
constructor(data) {
|
|
1082
|
-
super();
|
|
1083
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1084
|
-
}
|
|
1085
|
-
static fromBinary(bytes, options) {
|
|
1086
|
-
return new _AudioSourceInfo().fromBinary(bytes, options);
|
|
1087
|
-
}
|
|
1088
|
-
static fromJson(jsonValue, options) {
|
|
1089
|
-
return new _AudioSourceInfo().fromJson(jsonValue, options);
|
|
1090
|
-
}
|
|
1091
|
-
static fromJsonString(jsonString, options) {
|
|
1092
|
-
return new _AudioSourceInfo().fromJsonString(jsonString, options);
|
|
1093
|
-
}
|
|
1094
|
-
static equals(a, b) {
|
|
1095
|
-
return import_protobuf.proto2.util.equals(_AudioSourceInfo, a, b);
|
|
1096
|
-
}
|
|
1097
|
-
};
|
|
1098
|
-
_AudioSourceInfo.runtime = import_protobuf.proto2;
|
|
1099
|
-
_AudioSourceInfo.typeName = "livekit.proto.AudioSourceInfo";
|
|
1100
|
-
_AudioSourceInfo.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1101
|
-
{ no: 2, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(AudioSourceType), req: true }
|
|
1102
|
-
]);
|
|
1103
|
-
let AudioSourceInfo = _AudioSourceInfo;
|
|
1104
|
-
const _OwnedAudioSource = class _OwnedAudioSource extends import_protobuf.Message {
|
|
1105
|
-
constructor(data) {
|
|
1106
|
-
super();
|
|
1107
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1108
|
-
}
|
|
1109
|
-
static fromBinary(bytes, options) {
|
|
1110
|
-
return new _OwnedAudioSource().fromBinary(bytes, options);
|
|
1111
|
-
}
|
|
1112
|
-
static fromJson(jsonValue, options) {
|
|
1113
|
-
return new _OwnedAudioSource().fromJson(jsonValue, options);
|
|
1114
|
-
}
|
|
1115
|
-
static fromJsonString(jsonString, options) {
|
|
1116
|
-
return new _OwnedAudioSource().fromJsonString(jsonString, options);
|
|
1117
|
-
}
|
|
1118
|
-
static equals(a, b) {
|
|
1119
|
-
return import_protobuf.proto2.util.equals(_OwnedAudioSource, a, b);
|
|
1120
|
-
}
|
|
1121
|
-
};
|
|
1122
|
-
_OwnedAudioSource.runtime = import_protobuf.proto2;
|
|
1123
|
-
_OwnedAudioSource.typeName = "livekit.proto.OwnedAudioSource";
|
|
1124
|
-
_OwnedAudioSource.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1125
|
-
{ no: 1, name: "handle", kind: "message", T: import_handle_pb.FfiOwnedHandle, req: true },
|
|
1126
|
-
{ no: 2, name: "info", kind: "message", T: AudioSourceInfo, req: true }
|
|
1127
|
-
]);
|
|
1128
|
-
let OwnedAudioSource = _OwnedAudioSource;
|
|
1129
|
-
const _AudioResamplerInfo = class _AudioResamplerInfo extends import_protobuf.Message {
|
|
1130
|
-
constructor(data) {
|
|
1131
|
-
super();
|
|
1132
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1133
|
-
}
|
|
1134
|
-
static fromBinary(bytes, options) {
|
|
1135
|
-
return new _AudioResamplerInfo().fromBinary(bytes, options);
|
|
1136
|
-
}
|
|
1137
|
-
static fromJson(jsonValue, options) {
|
|
1138
|
-
return new _AudioResamplerInfo().fromJson(jsonValue, options);
|
|
1139
|
-
}
|
|
1140
|
-
static fromJsonString(jsonString, options) {
|
|
1141
|
-
return new _AudioResamplerInfo().fromJsonString(jsonString, options);
|
|
1142
|
-
}
|
|
1143
|
-
static equals(a, b) {
|
|
1144
|
-
return import_protobuf.proto2.util.equals(_AudioResamplerInfo, a, b);
|
|
1145
|
-
}
|
|
1146
|
-
};
|
|
1147
|
-
_AudioResamplerInfo.runtime = import_protobuf.proto2;
|
|
1148
|
-
_AudioResamplerInfo.typeName = "livekit.proto.AudioResamplerInfo";
|
|
1149
|
-
_AudioResamplerInfo.fields = import_protobuf.proto2.util.newFieldList(() => []);
|
|
1150
|
-
let AudioResamplerInfo = _AudioResamplerInfo;
|
|
1151
|
-
const _OwnedAudioResampler = class _OwnedAudioResampler extends import_protobuf.Message {
|
|
1152
|
-
constructor(data) {
|
|
1153
|
-
super();
|
|
1154
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1155
|
-
}
|
|
1156
|
-
static fromBinary(bytes, options) {
|
|
1157
|
-
return new _OwnedAudioResampler().fromBinary(bytes, options);
|
|
1158
|
-
}
|
|
1159
|
-
static fromJson(jsonValue, options) {
|
|
1160
|
-
return new _OwnedAudioResampler().fromJson(jsonValue, options);
|
|
1161
|
-
}
|
|
1162
|
-
static fromJsonString(jsonString, options) {
|
|
1163
|
-
return new _OwnedAudioResampler().fromJsonString(jsonString, options);
|
|
1164
|
-
}
|
|
1165
|
-
static equals(a, b) {
|
|
1166
|
-
return import_protobuf.proto2.util.equals(_OwnedAudioResampler, a, b);
|
|
1167
|
-
}
|
|
1168
|
-
};
|
|
1169
|
-
_OwnedAudioResampler.runtime = import_protobuf.proto2;
|
|
1170
|
-
_OwnedAudioResampler.typeName = "livekit.proto.OwnedAudioResampler";
|
|
1171
|
-
_OwnedAudioResampler.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1172
|
-
{ no: 1, name: "handle", kind: "message", T: import_handle_pb.FfiOwnedHandle, req: true },
|
|
1173
|
-
{ no: 2, name: "info", kind: "message", T: AudioResamplerInfo, req: true }
|
|
1174
|
-
]);
|
|
1175
|
-
let OwnedAudioResampler = _OwnedAudioResampler;
|
|
1176
|
-
const _OwnedApm = class _OwnedApm extends import_protobuf.Message {
|
|
1177
|
-
constructor(data) {
|
|
1178
|
-
super();
|
|
1179
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1180
|
-
}
|
|
1181
|
-
static fromBinary(bytes, options) {
|
|
1182
|
-
return new _OwnedApm().fromBinary(bytes, options);
|
|
1183
|
-
}
|
|
1184
|
-
static fromJson(jsonValue, options) {
|
|
1185
|
-
return new _OwnedApm().fromJson(jsonValue, options);
|
|
1186
|
-
}
|
|
1187
|
-
static fromJsonString(jsonString, options) {
|
|
1188
|
-
return new _OwnedApm().fromJsonString(jsonString, options);
|
|
1189
|
-
}
|
|
1190
|
-
static equals(a, b) {
|
|
1191
|
-
return import_protobuf.proto2.util.equals(_OwnedApm, a, b);
|
|
1192
|
-
}
|
|
1193
|
-
};
|
|
1194
|
-
_OwnedApm.runtime = import_protobuf.proto2;
|
|
1195
|
-
_OwnedApm.typeName = "livekit.proto.OwnedApm";
|
|
1196
|
-
_OwnedApm.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1197
|
-
{ no: 1, name: "handle", kind: "message", T: import_handle_pb.FfiOwnedHandle, req: true }
|
|
1198
|
-
]);
|
|
1199
|
-
let OwnedApm = _OwnedApm;
|
|
1200
|
-
const _SoxResamplerInfo = class _SoxResamplerInfo extends import_protobuf.Message {
|
|
1201
|
-
constructor(data) {
|
|
1202
|
-
super();
|
|
1203
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1204
|
-
}
|
|
1205
|
-
static fromBinary(bytes, options) {
|
|
1206
|
-
return new _SoxResamplerInfo().fromBinary(bytes, options);
|
|
1207
|
-
}
|
|
1208
|
-
static fromJson(jsonValue, options) {
|
|
1209
|
-
return new _SoxResamplerInfo().fromJson(jsonValue, options);
|
|
1210
|
-
}
|
|
1211
|
-
static fromJsonString(jsonString, options) {
|
|
1212
|
-
return new _SoxResamplerInfo().fromJsonString(jsonString, options);
|
|
1213
|
-
}
|
|
1214
|
-
static equals(a, b) {
|
|
1215
|
-
return import_protobuf.proto2.util.equals(_SoxResamplerInfo, a, b);
|
|
1216
|
-
}
|
|
1217
|
-
};
|
|
1218
|
-
_SoxResamplerInfo.runtime = import_protobuf.proto2;
|
|
1219
|
-
_SoxResamplerInfo.typeName = "livekit.proto.SoxResamplerInfo";
|
|
1220
|
-
_SoxResamplerInfo.fields = import_protobuf.proto2.util.newFieldList(() => []);
|
|
1221
|
-
let SoxResamplerInfo = _SoxResamplerInfo;
|
|
1222
|
-
const _OwnedSoxResampler = class _OwnedSoxResampler extends import_protobuf.Message {
|
|
1223
|
-
constructor(data) {
|
|
1224
|
-
super();
|
|
1225
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1226
|
-
}
|
|
1227
|
-
static fromBinary(bytes, options) {
|
|
1228
|
-
return new _OwnedSoxResampler().fromBinary(bytes, options);
|
|
1229
|
-
}
|
|
1230
|
-
static fromJson(jsonValue, options) {
|
|
1231
|
-
return new _OwnedSoxResampler().fromJson(jsonValue, options);
|
|
1232
|
-
}
|
|
1233
|
-
static fromJsonString(jsonString, options) {
|
|
1234
|
-
return new _OwnedSoxResampler().fromJsonString(jsonString, options);
|
|
1235
|
-
}
|
|
1236
|
-
static equals(a, b) {
|
|
1237
|
-
return import_protobuf.proto2.util.equals(_OwnedSoxResampler, a, b);
|
|
1238
|
-
}
|
|
1239
|
-
};
|
|
1240
|
-
_OwnedSoxResampler.runtime = import_protobuf.proto2;
|
|
1241
|
-
_OwnedSoxResampler.typeName = "livekit.proto.OwnedSoxResampler";
|
|
1242
|
-
_OwnedSoxResampler.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1243
|
-
{ no: 1, name: "handle", kind: "message", T: import_handle_pb.FfiOwnedHandle, req: true },
|
|
1244
|
-
{ no: 2, name: "info", kind: "message", T: SoxResamplerInfo, req: true }
|
|
1245
|
-
]);
|
|
1246
|
-
let OwnedSoxResampler = _OwnedSoxResampler;
|
|
1247
|
-
const _LoadAudioFilterPluginRequest = class _LoadAudioFilterPluginRequest extends import_protobuf.Message {
|
|
1248
|
-
constructor(data) {
|
|
1249
|
-
super();
|
|
1250
|
-
/**
|
|
1251
|
-
* Optional: paths for dependency dylibs
|
|
1252
|
-
*
|
|
1253
|
-
* @generated from field: repeated string dependencies = 2;
|
|
1254
|
-
*/
|
|
1255
|
-
this.dependencies = [];
|
|
1256
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1257
|
-
}
|
|
1258
|
-
static fromBinary(bytes, options) {
|
|
1259
|
-
return new _LoadAudioFilterPluginRequest().fromBinary(bytes, options);
|
|
1260
|
-
}
|
|
1261
|
-
static fromJson(jsonValue, options) {
|
|
1262
|
-
return new _LoadAudioFilterPluginRequest().fromJson(jsonValue, options);
|
|
1263
|
-
}
|
|
1264
|
-
static fromJsonString(jsonString, options) {
|
|
1265
|
-
return new _LoadAudioFilterPluginRequest().fromJsonString(jsonString, options);
|
|
1266
|
-
}
|
|
1267
|
-
static equals(a, b) {
|
|
1268
|
-
return import_protobuf.proto2.util.equals(_LoadAudioFilterPluginRequest, a, b);
|
|
1269
|
-
}
|
|
1270
|
-
};
|
|
1271
|
-
_LoadAudioFilterPluginRequest.runtime = import_protobuf.proto2;
|
|
1272
|
-
_LoadAudioFilterPluginRequest.typeName = "livekit.proto.LoadAudioFilterPluginRequest";
|
|
1273
|
-
_LoadAudioFilterPluginRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1274
|
-
{ no: 1, name: "plugin_path", kind: "scalar", T: 9, req: true },
|
|
1275
|
-
{ no: 2, name: "dependencies", kind: "scalar", T: 9, repeated: true },
|
|
1276
|
-
{ no: 3, name: "module_id", kind: "scalar", T: 9, req: true }
|
|
1277
|
-
]);
|
|
1278
|
-
let LoadAudioFilterPluginRequest = _LoadAudioFilterPluginRequest;
|
|
1279
|
-
const _LoadAudioFilterPluginResponse = class _LoadAudioFilterPluginResponse extends import_protobuf.Message {
|
|
1280
|
-
constructor(data) {
|
|
1281
|
-
super();
|
|
1282
|
-
import_protobuf.proto2.util.initPartial(data, this);
|
|
1283
|
-
}
|
|
1284
|
-
static fromBinary(bytes, options) {
|
|
1285
|
-
return new _LoadAudioFilterPluginResponse().fromBinary(bytes, options);
|
|
1286
|
-
}
|
|
1287
|
-
static fromJson(jsonValue, options) {
|
|
1288
|
-
return new _LoadAudioFilterPluginResponse().fromJson(jsonValue, options);
|
|
1289
|
-
}
|
|
1290
|
-
static fromJsonString(jsonString, options) {
|
|
1291
|
-
return new _LoadAudioFilterPluginResponse().fromJsonString(jsonString, options);
|
|
1292
|
-
}
|
|
1293
|
-
static equals(a, b) {
|
|
1294
|
-
return import_protobuf.proto2.util.equals(_LoadAudioFilterPluginResponse, a, b);
|
|
1295
|
-
}
|
|
1296
|
-
};
|
|
1297
|
-
_LoadAudioFilterPluginResponse.runtime = import_protobuf.proto2;
|
|
1298
|
-
_LoadAudioFilterPluginResponse.typeName = "livekit.proto.LoadAudioFilterPluginResponse";
|
|
1299
|
-
_LoadAudioFilterPluginResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1300
|
-
{ no: 1, name: "error", kind: "scalar", T: 9, opt: true }
|
|
1301
|
-
]);
|
|
1302
|
-
let LoadAudioFilterPluginResponse = _LoadAudioFilterPluginResponse;
|
|
1303
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1304
|
-
0 && (module.exports = {
|
|
1305
|
-
ApmProcessReverseStreamRequest,
|
|
1306
|
-
ApmProcessReverseStreamResponse,
|
|
1307
|
-
ApmProcessStreamRequest,
|
|
1308
|
-
ApmProcessStreamResponse,
|
|
1309
|
-
ApmSetStreamDelayRequest,
|
|
1310
|
-
ApmSetStreamDelayResponse,
|
|
1311
|
-
AudioFrameBufferInfo,
|
|
1312
|
-
AudioFrameReceived,
|
|
1313
|
-
AudioResamplerInfo,
|
|
1314
|
-
AudioSourceInfo,
|
|
1315
|
-
AudioSourceOptions,
|
|
1316
|
-
AudioSourceType,
|
|
1317
|
-
AudioStreamEOS,
|
|
1318
|
-
AudioStreamEvent,
|
|
1319
|
-
AudioStreamFromParticipantRequest,
|
|
1320
|
-
AudioStreamFromParticipantResponse,
|
|
1321
|
-
AudioStreamInfo,
|
|
1322
|
-
AudioStreamType,
|
|
1323
|
-
CaptureAudioFrameCallback,
|
|
1324
|
-
CaptureAudioFrameRequest,
|
|
1325
|
-
CaptureAudioFrameResponse,
|
|
1326
|
-
ClearAudioBufferRequest,
|
|
1327
|
-
ClearAudioBufferResponse,
|
|
1328
|
-
FlushSoxResamplerRequest,
|
|
1329
|
-
FlushSoxResamplerResponse,
|
|
1330
|
-
LoadAudioFilterPluginRequest,
|
|
1331
|
-
LoadAudioFilterPluginResponse,
|
|
1332
|
-
NewApmRequest,
|
|
1333
|
-
NewApmResponse,
|
|
1334
|
-
NewAudioResamplerRequest,
|
|
1335
|
-
NewAudioResamplerResponse,
|
|
1336
|
-
NewAudioSourceRequest,
|
|
1337
|
-
NewAudioSourceResponse,
|
|
1338
|
-
NewAudioStreamRequest,
|
|
1339
|
-
NewAudioStreamResponse,
|
|
1340
|
-
NewSoxResamplerRequest,
|
|
1341
|
-
NewSoxResamplerResponse,
|
|
1342
|
-
OwnedApm,
|
|
1343
|
-
OwnedAudioFrameBuffer,
|
|
1344
|
-
OwnedAudioResampler,
|
|
1345
|
-
OwnedAudioSource,
|
|
1346
|
-
OwnedAudioStream,
|
|
1347
|
-
OwnedSoxResampler,
|
|
1348
|
-
PushSoxResamplerRequest,
|
|
1349
|
-
PushSoxResamplerResponse,
|
|
1350
|
-
RemixAndResampleRequest,
|
|
1351
|
-
RemixAndResampleResponse,
|
|
1352
|
-
SoxFlagBits,
|
|
1353
|
-
SoxQualityRecipe,
|
|
1354
|
-
SoxResamplerDataType,
|
|
1355
|
-
SoxResamplerInfo
|
|
1356
|
-
});
|
|
1357
|
-
//# sourceMappingURL=audio_frame_pb.cjs.map
|