@vkontakte/calls-sdk 2.8.2-dev.2fb03b9.0 → 2.8.2-dev.650eaba.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
@@ -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';
@@ -627,7 +627,7 @@ export declare function startAsr(params: IAsrStartParams): Promise<void>;
627
627
  /**
628
628
  * Заканчивает текстовую расшифровку звонка
629
629
  */
630
- export declare function stopAsr(): Promise<void>;
630
+ export declare function stopAsr(params?: IAsrStopParams): Promise<void>;
631
631
  /**
632
632
  * Запрашивает/отключает реал-тайм расшифровку звонка
633
633
  */
@@ -636,5 +636,5 @@ export declare function requestAsr(request: boolean): Promise<void>;
636
636
  * Версия SDK
637
637
  */
638
638
  export declare function version(): string;
639
- 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, };
639
+ 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, };
640
640
  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, };
@@ -9,7 +9,7 @@ import RecordRole from '../enums/RecordRole';
9
9
  import SignalingConnectionType from '../enums/SignalingConnectionType';
10
10
  import UserRole from '../enums/UserRole';
11
11
  import { JSONObject } from '../static/Json';
12
- import { IAsrStartParams } from '../types/Asr';
12
+ import { IAsrStartParams, IAsrStopParams } from '../types/Asr';
13
13
  import ConversationResponse from '../types/ConversationResponse';
14
14
  import MediaModifiers from '../types/MediaModifiers';
15
15
  import MediaSettings from '../types/MediaSettings';
@@ -97,14 +97,14 @@ export default abstract class BaseSignaling extends EventEmitter {
97
97
  abstract getParticipantListChunk(participantListChunkParameters: ParticipantListChunkParameters): Promise<SignalingMessage>;
98
98
  abstract getParticipants(externalIds: SignalingMessage.ExternalId[]): Promise<SignalingMessage>;
99
99
  abstract startAsr(params: IAsrStartParams): Promise<SignalingMessage>;
100
- abstract stopAsr(): Promise<SignalingMessage>;
100
+ abstract stopAsr(params?: IAsrStopParams): Promise<SignalingMessage>;
101
101
  abstract requestAsr(request: boolean): Promise<SignalingMessage>;
102
102
  get ready(): boolean;
103
103
  setParticipantIdRegistry(participantIdRegistry: ParticipantIdRegistry): void;
104
104
  requestRealloc(): void;
105
105
  setEndpoint(endpoint: string): void;
106
106
  setConversationId(conversationId: string): void;
107
- readyToSend(): void;
107
+ readyToSend(isReady?: boolean): void;
108
108
  cleanup(): void;
109
109
  requestTestMode(consumerCommand: string, producerCommand: string): void;
110
110
  getNextCommandSequenceNumber(): number;