opensips-js 0.1.25 → 0.1.27

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 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<Omit<NoiseReductionOptions, 'vadModule'>>): void;
81
+ setVADConfiguration(options: Partial<NoiseReductionOptionsWithoutVadModule>): void;
82
82
  private setupVADInstance;
83
83
  private processVADConfiguration;
84
84
  get sipOptions(): {
@@ -103,7 +103,6 @@ declare class AudioModule {
103
103
  extraHeaders: [string];
104
104
  pcConfig: RTCConfiguration_2;
105
105
  };
106
- get noiseReductionMode(): NoiseReductionMode;
107
106
  get currentActiveRoomId(): number | undefined;
108
107
  private set currentActiveRoomId(value);
109
108
  get autoAnswer(): boolean;
@@ -166,6 +165,7 @@ declare class AudioModule {
166
165
  private removeTimeInterval;
167
166
  private stopCallTimer;
168
167
  private emitVolumeChange;
168
+ getNoiseReductionMode(): NoiseReductionMode;
169
169
  setMetricsConfig(config: WebrtcMetricsConfigType): void;
170
170
  sendDTMF(callId: string, value: string): void;
171
171
  private setIsMuted;
@@ -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