@vkontakte/calls-sdk 2.8.12-dev.8a7f9c02.0 → 2.8.12-dev.8f58ce7b.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.
package/CallsSDK.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * CallsSDK
3
3
  */
4
4
  import type { IEffect, VideoEffects } from '@vkontakte/calls-video-effects';
5
- import type { EffectVoiceChange } from '@vkontakte/calls-audio-effects';
5
+ import type { EffectVoiceChange, VadControllerOptions, VadLib } from '@vkontakte/calls-audio-effects';
6
6
  import type * as Vmoji from '@vkontakte/calls-vmoji';
7
7
  import BaseLogger from './abstract/BaseLogger';
8
8
  import { AddParticipantParams } from './abstract/BaseSignaling';
@@ -213,6 +213,13 @@ export declare function setVideoEffects(effects: VideoEffects): void;
213
213
  * @param effects Экземпляр класса `EffectVoiceChange` из `@vkontakte/calls-audio-effects`
214
214
  */
215
215
  export declare function setAudioEffects(effects: EffectVoiceChange): void;
216
+ /**
217
+ * Устанавливает поддержку VAD
218
+ *
219
+ * @param vad принимает VadController из `@vkontakte/calls-audio-effects`
220
+ * @param options принимает VadControllerOptions из `@vkontakte/calls-audio-effects`
221
+ */
222
+ export declare function setVad(vad: VadLib, options?: VadControllerOptions): void;
216
223
  /**
217
224
  * Устанавливает библиотеку вимоджи
218
225
  *