@webex/web-media-effects-types 2.26.1 → 2.27.0

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.
Files changed (2) hide show
  1. package/index.d.ts +3 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -87,6 +87,7 @@ declare abstract class BaseCameraEffect extends BaseEffect {
87
87
  declare abstract class BaseMicrophoneEffect extends BaseEffect {
88
88
  audioContext: AudioContext;
89
89
  constructor(audioCtx?: AudioContext);
90
+ updateAudioContext(audioContext: AudioContext): void;
90
91
  }
91
92
 
92
93
  interface GainEffectOptions {
@@ -159,6 +160,8 @@ declare class NoiseReductionEffect extends BaseMicrophoneEffect {
159
160
  dispose(): Promise<void>;
160
161
  handleDisabled(): Promise<void>;
161
162
  handleEnabled(): Promise<void>;
163
+ updateSampleRate(sampleRate: number): void;
164
+ updateAudioContext(audioContext: AudioContext): Promise<void>;
162
165
  }
163
166
  declare const createNoiseReductionEffect: (options?: NoiseReductionEffectOptions, preloadAssets?: boolean) => Promise<NoiseReductionEffect>;
164
167
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webex/web-media-effects-types",
3
- "version": "2.26.1",
3
+ "version": "2.27.0",
4
4
  "description": "TypeScript definitions for @webex/web-media-effects",
5
5
  "main": "",
6
6
  "types": "index.d.ts",