@livekit/rtc-node 0.13.10 → 0.13.11
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 +48 -0
- package/dist/audio_filter.cjs.map +1 -0
- package/dist/audio_filter.d.cts +5 -0
- package/dist/audio_filter.d.ts +5 -0
- package/dist/audio_filter.d.ts.map +1 -0
- package/dist/audio_filter.js +27 -0
- package/dist/audio_filter.js.map +1 -0
- package/dist/audio_stream.cjs +15 -5
- package/dist/audio_stream.cjs.map +1 -1
- package/dist/audio_stream.d.cts +15 -2
- package/dist/audio_stream.d.ts +15 -2
- 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/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/proto/audio_frame_pb.cjs +312 -2
- package/dist/proto/audio_frame_pb.cjs.map +1 -1
- package/dist/proto/audio_frame_pb.d.cts +278 -1
- package/dist/proto/audio_frame_pb.d.ts +278 -1
- package/dist/proto/audio_frame_pb.d.ts.map +1 -1
- package/dist/proto/audio_frame_pb.js +301 -2
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/ffi_pb.cjs +12 -2
- package/dist/proto/ffi_pb.cjs.map +1 -1
- package/dist/proto/ffi_pb.d.cts +65 -1
- package/dist/proto/ffi_pb.d.ts +65 -1
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +13 -3
- package/dist/proto/ffi_pb.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/package.json +6 -6
- package/src/audio_filter.ts +29 -0
- package/src/audio_stream.ts +38 -5
- package/src/index.ts +2 -0
- package/src/proto/audio_frame_pb.ts +533 -0
- package/src/proto/ffi_pb.ts +75 -1
- package/src/version.ts +1 -1
|
@@ -18,6 +18,12 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var audio_frame_pb_exports = {};
|
|
20
20
|
__export(audio_frame_pb_exports, {
|
|
21
|
+
ApmProcessReverseStreamRequest: () => ApmProcessReverseStreamRequest,
|
|
22
|
+
ApmProcessReverseStreamResponse: () => ApmProcessReverseStreamResponse,
|
|
23
|
+
ApmProcessStreamRequest: () => ApmProcessStreamRequest,
|
|
24
|
+
ApmProcessStreamResponse: () => ApmProcessStreamResponse,
|
|
25
|
+
ApmSetStreamDelayRequest: () => ApmSetStreamDelayRequest,
|
|
26
|
+
ApmSetStreamDelayResponse: () => ApmSetStreamDelayResponse,
|
|
21
27
|
AudioFrameBufferInfo: () => AudioFrameBufferInfo,
|
|
22
28
|
AudioFrameReceived: () => AudioFrameReceived,
|
|
23
29
|
AudioResamplerInfo: () => AudioResamplerInfo,
|
|
@@ -37,6 +43,10 @@ __export(audio_frame_pb_exports, {
|
|
|
37
43
|
ClearAudioBufferResponse: () => ClearAudioBufferResponse,
|
|
38
44
|
FlushSoxResamplerRequest: () => FlushSoxResamplerRequest,
|
|
39
45
|
FlushSoxResamplerResponse: () => FlushSoxResamplerResponse,
|
|
46
|
+
LoadAudioFilterPluginRequest: () => LoadAudioFilterPluginRequest,
|
|
47
|
+
LoadAudioFilterPluginResponse: () => LoadAudioFilterPluginResponse,
|
|
48
|
+
NewApmRequest: () => NewApmRequest,
|
|
49
|
+
NewApmResponse: () => NewApmResponse,
|
|
40
50
|
NewAudioResamplerRequest: () => NewAudioResamplerRequest,
|
|
41
51
|
NewAudioResamplerResponse: () => NewAudioResamplerResponse,
|
|
42
52
|
NewAudioSourceRequest: () => NewAudioSourceRequest,
|
|
@@ -45,6 +55,7 @@ __export(audio_frame_pb_exports, {
|
|
|
45
55
|
NewAudioStreamResponse: () => NewAudioStreamResponse,
|
|
46
56
|
NewSoxResamplerRequest: () => NewSoxResamplerRequest,
|
|
47
57
|
NewSoxResamplerResponse: () => NewSoxResamplerResponse,
|
|
58
|
+
OwnedApm: () => OwnedApm,
|
|
48
59
|
OwnedAudioFrameBuffer: () => OwnedAudioFrameBuffer,
|
|
49
60
|
OwnedAudioResampler: () => OwnedAudioResampler,
|
|
50
61
|
OwnedAudioSource: () => OwnedAudioSource,
|
|
@@ -144,7 +155,9 @@ _NewAudioStreamRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
|
144
155
|
{ no: 1, name: "track_handle", kind: "scalar", T: 4, req: true },
|
|
145
156
|
{ no: 2, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(AudioStreamType), req: true },
|
|
146
157
|
{ no: 3, name: "sample_rate", kind: "scalar", T: 13, opt: true },
|
|
147
|
-
{ no: 4, name: "num_channels", 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 }
|
|
148
161
|
]);
|
|
149
162
|
let NewAudioStreamRequest = _NewAudioStreamRequest;
|
|
150
163
|
const _NewAudioStreamResponse = class _NewAudioStreamResponse extends import_protobuf.Message {
|
|
@@ -196,7 +209,9 @@ _AudioStreamFromParticipantRequest.fields = import_protobuf.proto2.util.newField
|
|
|
196
209
|
{ no: 2, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(AudioStreamType), req: true },
|
|
197
210
|
{ no: 3, name: "track_source", kind: "enum", T: import_protobuf.proto2.getEnumType(import_track_pb.TrackSource), opt: true },
|
|
198
211
|
{ no: 5, name: "sample_rate", kind: "scalar", T: 13, opt: true },
|
|
199
|
-
{ no: 6, name: "num_channels", kind: "scalar", T: 13, opt: true }
|
|
212
|
+
{ no: 6, name: "num_channels", kind: "scalar", T: 13, opt: true },
|
|
213
|
+
{ no: 7, name: "audio_filter_module_id", kind: "scalar", T: 9, opt: true },
|
|
214
|
+
{ no: 8, name: "audio_filter_options", kind: "scalar", T: 9, opt: true }
|
|
200
215
|
]);
|
|
201
216
|
let AudioStreamFromParticipantRequest = _AudioStreamFromParticipantRequest;
|
|
202
217
|
const _AudioStreamFromParticipantResponse = class _AudioStreamFromParticipantResponse extends import_protobuf.Message {
|
|
@@ -492,6 +507,210 @@ _RemixAndResampleResponse.fields = import_protobuf.proto2.util.newFieldList(() =
|
|
|
492
507
|
{ no: 1, name: "buffer", kind: "message", T: OwnedAudioFrameBuffer, req: true }
|
|
493
508
|
]);
|
|
494
509
|
let RemixAndResampleResponse = _RemixAndResampleResponse;
|
|
510
|
+
const _NewApmRequest = class _NewApmRequest extends import_protobuf.Message {
|
|
511
|
+
constructor(data) {
|
|
512
|
+
super();
|
|
513
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
514
|
+
}
|
|
515
|
+
static fromBinary(bytes, options) {
|
|
516
|
+
return new _NewApmRequest().fromBinary(bytes, options);
|
|
517
|
+
}
|
|
518
|
+
static fromJson(jsonValue, options) {
|
|
519
|
+
return new _NewApmRequest().fromJson(jsonValue, options);
|
|
520
|
+
}
|
|
521
|
+
static fromJsonString(jsonString, options) {
|
|
522
|
+
return new _NewApmRequest().fromJsonString(jsonString, options);
|
|
523
|
+
}
|
|
524
|
+
static equals(a, b) {
|
|
525
|
+
return import_protobuf.proto2.util.equals(_NewApmRequest, a, b);
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
_NewApmRequest.runtime = import_protobuf.proto2;
|
|
529
|
+
_NewApmRequest.typeName = "livekit.proto.NewApmRequest";
|
|
530
|
+
_NewApmRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
531
|
+
{ no: 1, name: "echo_canceller_enabled", kind: "scalar", T: 8, req: true },
|
|
532
|
+
{ no: 2, name: "gain_controller_enabled", kind: "scalar", T: 8, req: true },
|
|
533
|
+
{ no: 3, name: "high_pass_filter_enabled", kind: "scalar", T: 8, req: true },
|
|
534
|
+
{ no: 4, name: "noise_suppression_enabled", kind: "scalar", T: 8, req: true }
|
|
535
|
+
]);
|
|
536
|
+
let NewApmRequest = _NewApmRequest;
|
|
537
|
+
const _NewApmResponse = class _NewApmResponse extends import_protobuf.Message {
|
|
538
|
+
constructor(data) {
|
|
539
|
+
super();
|
|
540
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
541
|
+
}
|
|
542
|
+
static fromBinary(bytes, options) {
|
|
543
|
+
return new _NewApmResponse().fromBinary(bytes, options);
|
|
544
|
+
}
|
|
545
|
+
static fromJson(jsonValue, options) {
|
|
546
|
+
return new _NewApmResponse().fromJson(jsonValue, options);
|
|
547
|
+
}
|
|
548
|
+
static fromJsonString(jsonString, options) {
|
|
549
|
+
return new _NewApmResponse().fromJsonString(jsonString, options);
|
|
550
|
+
}
|
|
551
|
+
static equals(a, b) {
|
|
552
|
+
return import_protobuf.proto2.util.equals(_NewApmResponse, a, b);
|
|
553
|
+
}
|
|
554
|
+
};
|
|
555
|
+
_NewApmResponse.runtime = import_protobuf.proto2;
|
|
556
|
+
_NewApmResponse.typeName = "livekit.proto.NewApmResponse";
|
|
557
|
+
_NewApmResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
558
|
+
{ no: 1, name: "apm", kind: "message", T: OwnedApm, req: true }
|
|
559
|
+
]);
|
|
560
|
+
let NewApmResponse = _NewApmResponse;
|
|
561
|
+
const _ApmProcessStreamRequest = class _ApmProcessStreamRequest extends import_protobuf.Message {
|
|
562
|
+
constructor(data) {
|
|
563
|
+
super();
|
|
564
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
565
|
+
}
|
|
566
|
+
static fromBinary(bytes, options) {
|
|
567
|
+
return new _ApmProcessStreamRequest().fromBinary(bytes, options);
|
|
568
|
+
}
|
|
569
|
+
static fromJson(jsonValue, options) {
|
|
570
|
+
return new _ApmProcessStreamRequest().fromJson(jsonValue, options);
|
|
571
|
+
}
|
|
572
|
+
static fromJsonString(jsonString, options) {
|
|
573
|
+
return new _ApmProcessStreamRequest().fromJsonString(jsonString, options);
|
|
574
|
+
}
|
|
575
|
+
static equals(a, b) {
|
|
576
|
+
return import_protobuf.proto2.util.equals(_ApmProcessStreamRequest, a, b);
|
|
577
|
+
}
|
|
578
|
+
};
|
|
579
|
+
_ApmProcessStreamRequest.runtime = import_protobuf.proto2;
|
|
580
|
+
_ApmProcessStreamRequest.typeName = "livekit.proto.ApmProcessStreamRequest";
|
|
581
|
+
_ApmProcessStreamRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
582
|
+
{ no: 1, name: "apm_handle", kind: "scalar", T: 4, req: true },
|
|
583
|
+
{ no: 2, name: "data_ptr", kind: "scalar", T: 4, req: true },
|
|
584
|
+
{ no: 3, name: "size", kind: "scalar", T: 13, req: true },
|
|
585
|
+
{ no: 4, name: "sample_rate", kind: "scalar", T: 13, req: true },
|
|
586
|
+
{ no: 5, name: "num_channels", kind: "scalar", T: 13, req: true }
|
|
587
|
+
]);
|
|
588
|
+
let ApmProcessStreamRequest = _ApmProcessStreamRequest;
|
|
589
|
+
const _ApmProcessStreamResponse = class _ApmProcessStreamResponse extends import_protobuf.Message {
|
|
590
|
+
constructor(data) {
|
|
591
|
+
super();
|
|
592
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
593
|
+
}
|
|
594
|
+
static fromBinary(bytes, options) {
|
|
595
|
+
return new _ApmProcessStreamResponse().fromBinary(bytes, options);
|
|
596
|
+
}
|
|
597
|
+
static fromJson(jsonValue, options) {
|
|
598
|
+
return new _ApmProcessStreamResponse().fromJson(jsonValue, options);
|
|
599
|
+
}
|
|
600
|
+
static fromJsonString(jsonString, options) {
|
|
601
|
+
return new _ApmProcessStreamResponse().fromJsonString(jsonString, options);
|
|
602
|
+
}
|
|
603
|
+
static equals(a, b) {
|
|
604
|
+
return import_protobuf.proto2.util.equals(_ApmProcessStreamResponse, a, b);
|
|
605
|
+
}
|
|
606
|
+
};
|
|
607
|
+
_ApmProcessStreamResponse.runtime = import_protobuf.proto2;
|
|
608
|
+
_ApmProcessStreamResponse.typeName = "livekit.proto.ApmProcessStreamResponse";
|
|
609
|
+
_ApmProcessStreamResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
610
|
+
{ no: 1, name: "error", kind: "scalar", T: 9, opt: true }
|
|
611
|
+
]);
|
|
612
|
+
let ApmProcessStreamResponse = _ApmProcessStreamResponse;
|
|
613
|
+
const _ApmProcessReverseStreamRequest = class _ApmProcessReverseStreamRequest extends import_protobuf.Message {
|
|
614
|
+
constructor(data) {
|
|
615
|
+
super();
|
|
616
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
617
|
+
}
|
|
618
|
+
static fromBinary(bytes, options) {
|
|
619
|
+
return new _ApmProcessReverseStreamRequest().fromBinary(bytes, options);
|
|
620
|
+
}
|
|
621
|
+
static fromJson(jsonValue, options) {
|
|
622
|
+
return new _ApmProcessReverseStreamRequest().fromJson(jsonValue, options);
|
|
623
|
+
}
|
|
624
|
+
static fromJsonString(jsonString, options) {
|
|
625
|
+
return new _ApmProcessReverseStreamRequest().fromJsonString(jsonString, options);
|
|
626
|
+
}
|
|
627
|
+
static equals(a, b) {
|
|
628
|
+
return import_protobuf.proto2.util.equals(_ApmProcessReverseStreamRequest, a, b);
|
|
629
|
+
}
|
|
630
|
+
};
|
|
631
|
+
_ApmProcessReverseStreamRequest.runtime = import_protobuf.proto2;
|
|
632
|
+
_ApmProcessReverseStreamRequest.typeName = "livekit.proto.ApmProcessReverseStreamRequest";
|
|
633
|
+
_ApmProcessReverseStreamRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
634
|
+
{ no: 1, name: "apm_handle", kind: "scalar", T: 4, req: true },
|
|
635
|
+
{ no: 2, name: "data_ptr", kind: "scalar", T: 4, req: true },
|
|
636
|
+
{ no: 3, name: "size", kind: "scalar", T: 13, req: true },
|
|
637
|
+
{ no: 4, name: "sample_rate", kind: "scalar", T: 13, req: true },
|
|
638
|
+
{ no: 5, name: "num_channels", kind: "scalar", T: 13, req: true }
|
|
639
|
+
]);
|
|
640
|
+
let ApmProcessReverseStreamRequest = _ApmProcessReverseStreamRequest;
|
|
641
|
+
const _ApmProcessReverseStreamResponse = class _ApmProcessReverseStreamResponse extends import_protobuf.Message {
|
|
642
|
+
constructor(data) {
|
|
643
|
+
super();
|
|
644
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
645
|
+
}
|
|
646
|
+
static fromBinary(bytes, options) {
|
|
647
|
+
return new _ApmProcessReverseStreamResponse().fromBinary(bytes, options);
|
|
648
|
+
}
|
|
649
|
+
static fromJson(jsonValue, options) {
|
|
650
|
+
return new _ApmProcessReverseStreamResponse().fromJson(jsonValue, options);
|
|
651
|
+
}
|
|
652
|
+
static fromJsonString(jsonString, options) {
|
|
653
|
+
return new _ApmProcessReverseStreamResponse().fromJsonString(jsonString, options);
|
|
654
|
+
}
|
|
655
|
+
static equals(a, b) {
|
|
656
|
+
return import_protobuf.proto2.util.equals(_ApmProcessReverseStreamResponse, a, b);
|
|
657
|
+
}
|
|
658
|
+
};
|
|
659
|
+
_ApmProcessReverseStreamResponse.runtime = import_protobuf.proto2;
|
|
660
|
+
_ApmProcessReverseStreamResponse.typeName = "livekit.proto.ApmProcessReverseStreamResponse";
|
|
661
|
+
_ApmProcessReverseStreamResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
662
|
+
{ no: 1, name: "error", kind: "scalar", T: 9, opt: true }
|
|
663
|
+
]);
|
|
664
|
+
let ApmProcessReverseStreamResponse = _ApmProcessReverseStreamResponse;
|
|
665
|
+
const _ApmSetStreamDelayRequest = class _ApmSetStreamDelayRequest extends import_protobuf.Message {
|
|
666
|
+
constructor(data) {
|
|
667
|
+
super();
|
|
668
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
669
|
+
}
|
|
670
|
+
static fromBinary(bytes, options) {
|
|
671
|
+
return new _ApmSetStreamDelayRequest().fromBinary(bytes, options);
|
|
672
|
+
}
|
|
673
|
+
static fromJson(jsonValue, options) {
|
|
674
|
+
return new _ApmSetStreamDelayRequest().fromJson(jsonValue, options);
|
|
675
|
+
}
|
|
676
|
+
static fromJsonString(jsonString, options) {
|
|
677
|
+
return new _ApmSetStreamDelayRequest().fromJsonString(jsonString, options);
|
|
678
|
+
}
|
|
679
|
+
static equals(a, b) {
|
|
680
|
+
return import_protobuf.proto2.util.equals(_ApmSetStreamDelayRequest, a, b);
|
|
681
|
+
}
|
|
682
|
+
};
|
|
683
|
+
_ApmSetStreamDelayRequest.runtime = import_protobuf.proto2;
|
|
684
|
+
_ApmSetStreamDelayRequest.typeName = "livekit.proto.ApmSetStreamDelayRequest";
|
|
685
|
+
_ApmSetStreamDelayRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
686
|
+
{ no: 1, name: "apm_handle", kind: "scalar", T: 4, req: true },
|
|
687
|
+
{ no: 2, name: "delay_ms", kind: "scalar", T: 5, req: true }
|
|
688
|
+
]);
|
|
689
|
+
let ApmSetStreamDelayRequest = _ApmSetStreamDelayRequest;
|
|
690
|
+
const _ApmSetStreamDelayResponse = class _ApmSetStreamDelayResponse extends import_protobuf.Message {
|
|
691
|
+
constructor(data) {
|
|
692
|
+
super();
|
|
693
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
694
|
+
}
|
|
695
|
+
static fromBinary(bytes, options) {
|
|
696
|
+
return new _ApmSetStreamDelayResponse().fromBinary(bytes, options);
|
|
697
|
+
}
|
|
698
|
+
static fromJson(jsonValue, options) {
|
|
699
|
+
return new _ApmSetStreamDelayResponse().fromJson(jsonValue, options);
|
|
700
|
+
}
|
|
701
|
+
static fromJsonString(jsonString, options) {
|
|
702
|
+
return new _ApmSetStreamDelayResponse().fromJsonString(jsonString, options);
|
|
703
|
+
}
|
|
704
|
+
static equals(a, b) {
|
|
705
|
+
return import_protobuf.proto2.util.equals(_ApmSetStreamDelayResponse, a, b);
|
|
706
|
+
}
|
|
707
|
+
};
|
|
708
|
+
_ApmSetStreamDelayResponse.runtime = import_protobuf.proto2;
|
|
709
|
+
_ApmSetStreamDelayResponse.typeName = "livekit.proto.ApmSetStreamDelayResponse";
|
|
710
|
+
_ApmSetStreamDelayResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
711
|
+
{ no: 1, name: "error", kind: "scalar", T: 9, opt: true }
|
|
712
|
+
]);
|
|
713
|
+
let ApmSetStreamDelayResponse = _ApmSetStreamDelayResponse;
|
|
495
714
|
const _NewSoxResamplerRequest = class _NewSoxResamplerRequest extends import_protobuf.Message {
|
|
496
715
|
constructor(data) {
|
|
497
716
|
super();
|
|
@@ -952,6 +1171,30 @@ _OwnedAudioResampler.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
|
952
1171
|
{ no: 2, name: "info", kind: "message", T: AudioResamplerInfo, req: true }
|
|
953
1172
|
]);
|
|
954
1173
|
let OwnedAudioResampler = _OwnedAudioResampler;
|
|
1174
|
+
const _OwnedApm = class _OwnedApm extends import_protobuf.Message {
|
|
1175
|
+
constructor(data) {
|
|
1176
|
+
super();
|
|
1177
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
1178
|
+
}
|
|
1179
|
+
static fromBinary(bytes, options) {
|
|
1180
|
+
return new _OwnedApm().fromBinary(bytes, options);
|
|
1181
|
+
}
|
|
1182
|
+
static fromJson(jsonValue, options) {
|
|
1183
|
+
return new _OwnedApm().fromJson(jsonValue, options);
|
|
1184
|
+
}
|
|
1185
|
+
static fromJsonString(jsonString, options) {
|
|
1186
|
+
return new _OwnedApm().fromJsonString(jsonString, options);
|
|
1187
|
+
}
|
|
1188
|
+
static equals(a, b) {
|
|
1189
|
+
return import_protobuf.proto2.util.equals(_OwnedApm, a, b);
|
|
1190
|
+
}
|
|
1191
|
+
};
|
|
1192
|
+
_OwnedApm.runtime = import_protobuf.proto2;
|
|
1193
|
+
_OwnedApm.typeName = "livekit.proto.OwnedApm";
|
|
1194
|
+
_OwnedApm.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1195
|
+
{ no: 1, name: "handle", kind: "message", T: import_handle_pb.FfiOwnedHandle, req: true }
|
|
1196
|
+
]);
|
|
1197
|
+
let OwnedApm = _OwnedApm;
|
|
955
1198
|
const _SoxResamplerInfo = class _SoxResamplerInfo extends import_protobuf.Message {
|
|
956
1199
|
constructor(data) {
|
|
957
1200
|
super();
|
|
@@ -999,8 +1242,70 @@ _OwnedSoxResampler.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
|
999
1242
|
{ no: 2, name: "info", kind: "message", T: SoxResamplerInfo, req: true }
|
|
1000
1243
|
]);
|
|
1001
1244
|
let OwnedSoxResampler = _OwnedSoxResampler;
|
|
1245
|
+
const _LoadAudioFilterPluginRequest = class _LoadAudioFilterPluginRequest extends import_protobuf.Message {
|
|
1246
|
+
constructor(data) {
|
|
1247
|
+
super();
|
|
1248
|
+
/**
|
|
1249
|
+
* Optional: paths for dependency dylibs
|
|
1250
|
+
*
|
|
1251
|
+
* @generated from field: repeated string dependencies = 2;
|
|
1252
|
+
*/
|
|
1253
|
+
this.dependencies = [];
|
|
1254
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
1255
|
+
}
|
|
1256
|
+
static fromBinary(bytes, options) {
|
|
1257
|
+
return new _LoadAudioFilterPluginRequest().fromBinary(bytes, options);
|
|
1258
|
+
}
|
|
1259
|
+
static fromJson(jsonValue, options) {
|
|
1260
|
+
return new _LoadAudioFilterPluginRequest().fromJson(jsonValue, options);
|
|
1261
|
+
}
|
|
1262
|
+
static fromJsonString(jsonString, options) {
|
|
1263
|
+
return new _LoadAudioFilterPluginRequest().fromJsonString(jsonString, options);
|
|
1264
|
+
}
|
|
1265
|
+
static equals(a, b) {
|
|
1266
|
+
return import_protobuf.proto2.util.equals(_LoadAudioFilterPluginRequest, a, b);
|
|
1267
|
+
}
|
|
1268
|
+
};
|
|
1269
|
+
_LoadAudioFilterPluginRequest.runtime = import_protobuf.proto2;
|
|
1270
|
+
_LoadAudioFilterPluginRequest.typeName = "livekit.proto.LoadAudioFilterPluginRequest";
|
|
1271
|
+
_LoadAudioFilterPluginRequest.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1272
|
+
{ no: 1, name: "plugin_path", kind: "scalar", T: 9, req: true },
|
|
1273
|
+
{ no: 2, name: "dependencies", kind: "scalar", T: 9, repeated: true },
|
|
1274
|
+
{ no: 3, name: "module_id", kind: "scalar", T: 9, req: true }
|
|
1275
|
+
]);
|
|
1276
|
+
let LoadAudioFilterPluginRequest = _LoadAudioFilterPluginRequest;
|
|
1277
|
+
const _LoadAudioFilterPluginResponse = class _LoadAudioFilterPluginResponse extends import_protobuf.Message {
|
|
1278
|
+
constructor(data) {
|
|
1279
|
+
super();
|
|
1280
|
+
import_protobuf.proto2.util.initPartial(data, this);
|
|
1281
|
+
}
|
|
1282
|
+
static fromBinary(bytes, options) {
|
|
1283
|
+
return new _LoadAudioFilterPluginResponse().fromBinary(bytes, options);
|
|
1284
|
+
}
|
|
1285
|
+
static fromJson(jsonValue, options) {
|
|
1286
|
+
return new _LoadAudioFilterPluginResponse().fromJson(jsonValue, options);
|
|
1287
|
+
}
|
|
1288
|
+
static fromJsonString(jsonString, options) {
|
|
1289
|
+
return new _LoadAudioFilterPluginResponse().fromJsonString(jsonString, options);
|
|
1290
|
+
}
|
|
1291
|
+
static equals(a, b) {
|
|
1292
|
+
return import_protobuf.proto2.util.equals(_LoadAudioFilterPluginResponse, a, b);
|
|
1293
|
+
}
|
|
1294
|
+
};
|
|
1295
|
+
_LoadAudioFilterPluginResponse.runtime = import_protobuf.proto2;
|
|
1296
|
+
_LoadAudioFilterPluginResponse.typeName = "livekit.proto.LoadAudioFilterPluginResponse";
|
|
1297
|
+
_LoadAudioFilterPluginResponse.fields = import_protobuf.proto2.util.newFieldList(() => [
|
|
1298
|
+
{ no: 1, name: "error", kind: "scalar", T: 9, opt: true }
|
|
1299
|
+
]);
|
|
1300
|
+
let LoadAudioFilterPluginResponse = _LoadAudioFilterPluginResponse;
|
|
1002
1301
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1003
1302
|
0 && (module.exports = {
|
|
1303
|
+
ApmProcessReverseStreamRequest,
|
|
1304
|
+
ApmProcessReverseStreamResponse,
|
|
1305
|
+
ApmProcessStreamRequest,
|
|
1306
|
+
ApmProcessStreamResponse,
|
|
1307
|
+
ApmSetStreamDelayRequest,
|
|
1308
|
+
ApmSetStreamDelayResponse,
|
|
1004
1309
|
AudioFrameBufferInfo,
|
|
1005
1310
|
AudioFrameReceived,
|
|
1006
1311
|
AudioResamplerInfo,
|
|
@@ -1020,6 +1325,10 @@ let OwnedSoxResampler = _OwnedSoxResampler;
|
|
|
1020
1325
|
ClearAudioBufferResponse,
|
|
1021
1326
|
FlushSoxResamplerRequest,
|
|
1022
1327
|
FlushSoxResamplerResponse,
|
|
1328
|
+
LoadAudioFilterPluginRequest,
|
|
1329
|
+
LoadAudioFilterPluginResponse,
|
|
1330
|
+
NewApmRequest,
|
|
1331
|
+
NewApmResponse,
|
|
1023
1332
|
NewAudioResamplerRequest,
|
|
1024
1333
|
NewAudioResamplerResponse,
|
|
1025
1334
|
NewAudioSourceRequest,
|
|
@@ -1028,6 +1337,7 @@ let OwnedSoxResampler = _OwnedSoxResampler;
|
|
|
1028
1337
|
NewAudioStreamResponse,
|
|
1029
1338
|
NewSoxResamplerRequest,
|
|
1030
1339
|
NewSoxResamplerResponse,
|
|
1340
|
+
OwnedApm,
|
|
1031
1341
|
OwnedAudioFrameBuffer,
|
|
1032
1342
|
OwnedAudioResampler,
|
|
1033
1343
|
OwnedAudioSource,
|