opensips-js 0.1.25 → 0.1.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/index.d.ts +3 -1
- package/package.json +1 -1
- package/src/types/rtc.d.ts +2 -0
package/dist/index.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ declare class AudioModule {
|
|
|
78
78
|
private MicVAD;
|
|
79
79
|
managedAudioContext: ManagedAudioContext;
|
|
80
80
|
constructor(context: OpenSIPSJS);
|
|
81
|
-
setVADConfiguration(options: Partial<
|
|
81
|
+
setVADConfiguration(options: Partial<NoiseReductionOptionsWithoutVadModule>): void;
|
|
82
82
|
private setupVADInstance;
|
|
83
83
|
private processVADConfiguration;
|
|
84
84
|
get sipOptions(): {
|
|
@@ -789,6 +789,8 @@ declare interface NoiseReductionOptions {
|
|
|
789
789
|
noiseCheckInterval?: number
|
|
790
790
|
}
|
|
791
791
|
|
|
792
|
+
declare type NoiseReductionOptionsWithoutVadModule = Omit<NoiseReductionOptions, 'vadModule'>
|
|
793
|
+
|
|
792
794
|
declare type NoiseReductionStateEventType = {
|
|
793
795
|
sessionId: string
|
|
794
796
|
enabled: boolean
|
package/package.json
CHANGED
package/src/types/rtc.d.ts
CHANGED