@vkontakte/calls-sdk 2.8.12-dev.8c2bbcbf.0 → 2.8.12-dev.bcb53bc3.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 +8 -4
- package/calls-sdk.cjs.js +9 -9
- package/calls-sdk.esm.js +1600 -1069
- package/classes/stat/CallFinishClassifier.d.ts +11 -0
- package/classes/stat/CallLifecycleStats.d.ts +1 -2
- package/classes/transport/Transport.d.ts +3 -0
- package/default/Api.d.ts +1 -1
- package/default/Signaling.d.ts +4 -2
- package/default/SignalingTransport.d.ts +1 -0
- package/enums/HangupType.d.ts +0 -1
- package/package.json +2 -2
- package/static/External.d.ts +1 -1
- package/static/Params.d.ts +14 -2
- package/static/WebRTCUtils.d.ts +4 -0
- package/types/SignalingMessage.d.ts +4 -1
- package/types/WebTransport.d.ts +14 -15
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';
|
|
@@ -212,6 +212,13 @@ export declare function setVideoEffects(effects: VideoEffects): void;
|
|
|
212
212
|
* @param effects Экземпляр класса `EffectVoiceChange` из `@vkontakte/calls-audio-effects`
|
|
213
213
|
*/
|
|
214
214
|
export declare function setAudioEffects(effects: EffectVoiceChange): void;
|
|
215
|
+
/**
|
|
216
|
+
* Устанавливает поддержку VAD
|
|
217
|
+
*
|
|
218
|
+
* @param vad принимает VadController из `@vkontakte/calls-audio-effects`
|
|
219
|
+
* @param options принимает VadControllerOptions из `@vkontakte/calls-audio-effects`
|
|
220
|
+
*/
|
|
221
|
+
export declare function setVad(vad: VadLib, options?: VadControllerOptions): void;
|
|
215
222
|
/**
|
|
216
223
|
* Устанавливает библиотеку вимоджи
|
|
217
224
|
*
|
|
@@ -769,9 +776,6 @@ export declare function stopAsr(params?: IAsrStopParams): Promise<void>;
|
|
|
769
776
|
export declare function requestAsr(request: boolean): Promise<void>;
|
|
770
777
|
export declare function startUrlSharing(sharedUrl: string): Promise<void>;
|
|
771
778
|
export declare function stopUrlSharing(): Promise<void>;
|
|
772
|
-
export declare function sendTestCommand(name: string, params?: any): void;
|
|
773
|
-
export declare function startAnalyzingAudio(expectAudio: boolean, expectedActiveTracks?: number | null, expectedTrackFrequencies?: number[] | null): void;
|
|
774
|
-
export declare function stopAnalyzingAudio(): void;
|
|
775
779
|
export declare function switchCall(conversationId: string): Promise<void>;
|
|
776
780
|
export declare function getActiveCallId(): string | null;
|
|
777
781
|
/**
|