@vkontakte/calls-sdk 2.8.4-dev.198e563.0 → 2.8.4-dev.23fcd91.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 +2 -7
- package/abstract/BaseApi.d.ts +1 -0
- package/calls-sdk.cjs.js +8 -8
- package/calls-sdk.esm.js +8 -8
- package/classes/transport/BaseTransport.d.ts +0 -1
- package/default/Api.d.ts +1 -0
- package/package.json +1 -1
- package/static/WebRTCUtils.d.ts +5 -1
- package/types/MuteStates.d.ts +12 -0
package/CallsSDK.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ import { ParticipantStatus } from './static/External';
|
|
|
34
34
|
import { JSONArray, JSONObject, JSONType } from './static/Json';
|
|
35
35
|
import { ParamsObject } from './static/Params';
|
|
36
36
|
import Utils from './static/Utils';
|
|
37
|
-
import WebRTCUtils, { FacingMode } from './static/WebRTCUtils';
|
|
37
|
+
import WebRTCUtils, { BrowserName, FacingMode } from './static/WebRTCUtils';
|
|
38
38
|
import { IAsrData, IAsrStartParams, IAsrStopParams } from './types/Asr';
|
|
39
39
|
import { ConversationData } from './types/Conversation';
|
|
40
40
|
import { IFeaturesPerRole } from './types/ConversationFeature';
|
|
@@ -387,11 +387,6 @@ export declare function grantRoles(externalId: ExternalId, roles: UserRole[], re
|
|
|
387
387
|
export declare function grantRolesInternal(uid: OkUserId, deviceIdx: number, roles: UserRole[], revoke?: boolean): Promise<void>;
|
|
388
388
|
/**
|
|
389
389
|
* Выключить или выключить микрофон и/или камеру собеседнику (только если есть соответствующая роль)
|
|
390
|
-
*
|
|
391
|
-
* @param externalId Внешний ID пользователя (если не указано, сработает на всех)
|
|
392
|
-
* @param muteStates Состояние устройств пользователя
|
|
393
|
-
* @param requestedMedia Попросить пользователя включить устройство
|
|
394
|
-
* @param roomId ID сессионного зала, либо ничего если в основном зале
|
|
395
390
|
*/
|
|
396
391
|
export declare function muteParticipant({ externalId, muteStates, requestedMedia, roomId, }: IMuteParticipantParams): Promise<void>;
|
|
397
392
|
export declare function muteParticipantInternal({ uid, muteStates, requestedMedia, deviceIdx, roomId, }: IMuteParticipantInternalParams): Promise<void>;
|
|
@@ -678,5 +673,5 @@ export declare function stopUrlSharing(): Promise<void>;
|
|
|
678
673
|
* Версия SDK
|
|
679
674
|
*/
|
|
680
675
|
export declare function version(): string;
|
|
681
|
-
export type { AddParticipantParams, AudienceModeHandsResponse, CompositeUserId, ConversationData, ConversationParams, ConversationResponse, ExternalId, ExternalParticipant, ExternalParticipantListChunk, ExternalParticipantListMarker, ExternalParticipantListMarkers as ExternalParticipantMarkers, ExternalParticipantId, GetParticipantsSignalingResponse, GetRoomsSignalingResponse, HangupReasonData, IApiEnv, IAsrStartParams, IAsrStopParams, IAsrData, IceServer, JSONArray, JSONObject, JSONType, Layout, MediaModifiers, MediaSettings, MuteStates, OkUserId, ParamsObject, ParticipantId, 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, IRoomId, Room, RoomsUpdate, RoomParticipantUpdate, IUpdateMovieData, IFeaturesPerRole, IMuteParticipantParams, IMuteParticipantInternalParams, IStartStreamData, IStopStreamData, IPublishStreamData, };
|
|
676
|
+
export type { AddParticipantParams, AudienceModeHandsResponse, BrowserName, CompositeUserId, ConversationData, ConversationParams, ConversationResponse, ExternalId, ExternalParticipant, ExternalParticipantListChunk, ExternalParticipantListMarker, ExternalParticipantListMarkers as ExternalParticipantMarkers, ExternalParticipantId, GetParticipantsSignalingResponse, GetRoomsSignalingResponse, HangupReasonData, IApiEnv, IAsrStartParams, IAsrStopParams, IAsrData, IceServer, JSONArray, JSONObject, JSONType, Layout, MediaModifiers, MediaSettings, MuteStates, OkUserId, ParamsObject, ParticipantId, 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, IRoomId, Room, RoomsUpdate, RoomParticipantUpdate, IUpdateMovieData, IFeaturesPerRole, IMuteParticipantParams, IMuteParticipantInternalParams, IStartStreamData, IStopStreamData, IPublishStreamData, };
|
|
682
677
|
export { Api, AuthData, 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, ApiExternal, };
|
package/abstract/BaseApi.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export default abstract class BaseApi {
|
|
|
50
50
|
getCachedOkIdByExternalId(externalId: ExternalId): ParticipantId | null;
|
|
51
51
|
cacheExternalId(compositeId: OkUserId | CompositeUserId | ParticipantId, externalId: ExternalParticipantId): void;
|
|
52
52
|
mapDecorativeId(decorativeId: OkUserId | CompositeUserId | ParticipantId, okId: OkUserId | CompositeUserId): void;
|
|
53
|
+
unmapDecorativeId(decorativeId: OkUserId | CompositeUserId | ParticipantId): void;
|
|
53
54
|
getDecorativeIdByInitialId(okId: OkUserId | CompositeUserId | ParticipantId): OkUserId | undefined;
|
|
54
55
|
replaceByInitialIdIdIfExists(id: OkUserId | CompositeUserId | ParticipantId): OkUserId;
|
|
55
56
|
hangupConversation(conversationId: string): void;
|