@vkontakte/calls-sdk 2.8.2-beta.10 → 2.8.2-beta.12
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 +3 -3
- package/abstract/BaseSignaling.d.ts +2 -2
- package/calls-sdk.cjs.js +8 -8
- package/calls-sdk.esm.js +8 -8
- package/classes/Conversation.d.ts +6 -3
- package/classes/FpsMeter.d.ts +10 -0
- package/classes/codec/Types.d.ts +9 -0
- package/classes/screenshare/ScreenCaptureSender.d.ts +9 -3
- package/classes/screenshare/StreamBuilder.d.ts +1 -0
- package/default/Signaling.d.ts +2 -2
- package/enums/SignalingNotification.d.ts +0 -1
- package/package.json +1 -1
- package/static/External.d.ts +16 -5
- package/static/Params.d.ts +14 -5
- package/types/Asr.d.ts +21 -0
- package/types/Conversation.d.ts +1 -0
- package/types/Room.d.ts +1 -0
- package/types/SignalingMessage.d.ts +11 -0
- package/utils/ArrayList.d.ts +5 -2
- package/utils/FastList.d.ts +5 -2
- package/utils/IList.d.ts +5 -2
package/CallsSDK.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ import { JSONArray, JSONObject, JSONType } from './static/Json';
|
|
|
33
33
|
import { ParamsObject } from './static/Params';
|
|
34
34
|
import Utils from './static/Utils';
|
|
35
35
|
import WebRTCUtils, { FacingMode } from './static/WebRTCUtils';
|
|
36
|
-
import { IAsrStartParams } from './types/Asr';
|
|
36
|
+
import { IAsrStartParams, IAsrStopParams, IAsrData } from './types/Asr';
|
|
37
37
|
import ConversationParams from './types/ConversationParams';
|
|
38
38
|
import ConversationResponse from './types/ConversationResponse';
|
|
39
39
|
import { ExternalId, ExternalIdType, ExternalParticipant, ExternalParticipantId, ExternalParticipantListChunk, ExternalParticipantListMarker, ExternalParticipantListMarkers, ExternalUserId } from './types/ExternalId';
|
|
@@ -628,7 +628,7 @@ export declare function startAsr(params: IAsrStartParams): Promise<void>;
|
|
|
628
628
|
/**
|
|
629
629
|
* Заканчивает текстовую расшифровку звонка
|
|
630
630
|
*/
|
|
631
|
-
export declare function stopAsr(): Promise<void>;
|
|
631
|
+
export declare function stopAsr(params?: IAsrStopParams): Promise<void>;
|
|
632
632
|
/**
|
|
633
633
|
* Запрашивает/отключает реал-тайм расшифровку звонка
|
|
634
634
|
*/
|
|
@@ -637,5 +637,5 @@ export declare function requestAsr(request: boolean): Promise<void>;
|
|
|
637
637
|
* Версия SDK
|
|
638
638
|
*/
|
|
639
639
|
export declare function version(): string;
|
|
640
|
-
export type { AddParticipantParams, ConversationData, ConversationParams, ConversationResponse, ExternalId, ExternalParticipant, ExternalParticipantListChunk, ExternalParticipantListMarker, ExternalParticipantListMarkers as ExternalParticipantMarkers, ExternalParticipantId, HangupReasonData, IAsrStartParams, IceServer, JSONArray, JSONObject, JSONType, Layout, MediaModifiers, MediaSettings, MuteStates, OkUserId, ParamsObject, ParticipantLayout, ParticipantListMarkers, ParticipantListType, ParticipantPriority, ParticipantStateMapped, ParticipantStreamDescription, ParticipantListChunkParameters, ParticipantListMarker, RequestKeyFrame, Rooms, IGetParticipantsParameters, ScreenCaptureSettings, SignalingMessage, StatResult, StopStream, WaitingHallResponse, IMovieMetaData, IVideoDimentions, IFeedbackExternal, ISharedMovieInfo, ISharedMovieStoppedInfo, ISharedMovieState, ISharedMovieStateResponse, IAddMovieParams, IOnRemoteMovieData, IMoviePreview, Room, RoomsUpdate, RoomParticipantUpdate, IUpdateMovieData, IFeaturesPerRole, IMuteParticipantParams, IMuteParticipantInternalParams, IStartStreamData, IStopStreamData, };
|
|
640
|
+
export type { AddParticipantParams, ConversationData, ConversationParams, ConversationResponse, ExternalId, ExternalParticipant, ExternalParticipantListChunk, ExternalParticipantListMarker, ExternalParticipantListMarkers as ExternalParticipantMarkers, ExternalParticipantId, HangupReasonData, IAsrStartParams, IAsrStopParams, IAsrData, IceServer, JSONArray, JSONObject, JSONType, Layout, MediaModifiers, MediaSettings, MuteStates, OkUserId, ParamsObject, ParticipantLayout, ParticipantListMarkers, ParticipantListType, ParticipantPriority, ParticipantStateMapped, ParticipantStreamDescription, ParticipantListChunkParameters, ParticipantListMarker, RequestKeyFrame, Rooms, IGetParticipantsParameters, ScreenCaptureSettings, SignalingMessage, StatResult, StopStream, WaitingHallResponse, IMovieMetaData, IVideoDimentions, IFeedbackExternal, ISharedMovieInfo, ISharedMovieStoppedInfo, ISharedMovieState, ISharedMovieStateResponse, IAddMovieParams, IOnRemoteMovieData, IMoviePreview, Room, RoomsUpdate, RoomParticipantUpdate, IUpdateMovieData, IFeaturesPerRole, IMuteParticipantParams, IMuteParticipantInternalParams, IStartStreamData, IStopStreamData, };
|
|
641
641
|
export { Api, BaseApi, BaseLogger, BaseSignaling, CallDirection, CallType, ChatRoomEventType, ConversationOption, DebugMessageType, ExternalIdType, FacingMode, FatalError, HangupReason, HangupType, MediaOption, MediaTrackKind, MediaType, MuteState, ParticipantState, ParticipantStatus, RecordRole, Signaling, SignalingCommandType, SignalingConnectionType, SignalingNotification, UserRole, UserType, TransportTopology, RoomsEventType, ConversationFeature, ArrayDequeue, };
|
|
@@ -10,7 +10,7 @@ import RecordRole from '../enums/RecordRole';
|
|
|
10
10
|
import SignalingConnectionType from '../enums/SignalingConnectionType';
|
|
11
11
|
import UserRole from '../enums/UserRole';
|
|
12
12
|
import { JSONObject } from '../static/Json';
|
|
13
|
-
import { IAsrStartParams } from '../types/Asr';
|
|
13
|
+
import { IAsrStartParams, IAsrStopParams } from '../types/Asr';
|
|
14
14
|
import ConversationResponse from '../types/ConversationResponse';
|
|
15
15
|
import MediaModifiers from '../types/MediaModifiers';
|
|
16
16
|
import MediaSettings from '../types/MediaSettings';
|
|
@@ -101,7 +101,7 @@ export default abstract class BaseSignaling extends EventEmitter {
|
|
|
101
101
|
abstract getParticipantListChunk(participantListChunkParameters: ParticipantListChunkParameters): Promise<SignalingMessage>;
|
|
102
102
|
abstract getParticipants(externalIds: SignalingMessage.ExternalId[]): Promise<SignalingMessage>;
|
|
103
103
|
abstract startAsr(params: IAsrStartParams): Promise<SignalingMessage>;
|
|
104
|
-
abstract stopAsr(): Promise<SignalingMessage>;
|
|
104
|
+
abstract stopAsr(params?: IAsrStopParams): Promise<SignalingMessage>;
|
|
105
105
|
abstract requestAsr(request: boolean): Promise<SignalingMessage>;
|
|
106
106
|
get ready(): boolean;
|
|
107
107
|
setParticipantIdRegistry(participantIdRegistry: ParticipantIdRegistry): void;
|