opensips-js 0.1.24 → 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 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,6 +103,7 @@ declare class AudioModule {
103
103
  extraHeaders: [string];
104
104
  pcConfig: RTCConfiguration_2;
105
105
  };
106
+ get noiseReductionMode(): NoiseReductionMode;
106
107
  get currentActiveRoomId(): number | undefined;
107
108
  private set currentActiveRoomId(value);
108
109
  get autoAnswer(): boolean;
@@ -788,6 +789,8 @@ declare interface NoiseReductionOptions {
788
789
  noiseCheckInterval?: number
789
790
  }
790
791
 
792
+ declare type NoiseReductionOptionsWithoutVadModule = Omit<NoiseReductionOptions, 'vadModule'>
793
+
791
794
  declare type NoiseReductionStateEventType = {
792
795
  sessionId: string
793
796
  enabled: boolean