@vkontakte/calls-sdk 2.8.6-dev.15af4b30.0 → 2.8.6-dev.1a0ee143.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 +6 -5
- package/calls-sdk.cjs.js +8 -8
- package/calls-sdk.esm.js +8 -8
- package/classes/Conversation.d.ts +12 -5
- package/classes/Logger.d.ts +24 -18
- package/classes/MediaSource.d.ts +3 -0
- package/classes/SignalingActor.d.ts +9 -0
- package/classes/codec/IEncoder.d.ts +0 -1
- package/classes/screenshare/BaseStreamBuilder.d.ts +1 -1
- package/classes/stat/StatPings.d.ts +17 -0
- package/classes/stat/StatSignalingCommands.d.ts +12 -0
- package/classes/transport/Statistics.d.ts +23 -10
- package/default/Signaling.d.ts +12 -8
- package/enums/ChatRoomEventType.d.ts +1 -1
- package/enums/ConversationOption.d.ts +3 -3
- package/enums/HangupType.d.ts +2 -1
- package/enums/RecordRole.d.ts +1 -1
- package/enums/SignalingTransportStat.d.ts +17 -0
- package/enums/Stat.d.ts +18 -36
- package/enums/StatLog.d.ts +32 -0
- package/package.json +4 -9
- package/static/ApiTransport.d.ts +1 -1
- package/static/External.d.ts +2 -2
- package/static/Params.d.ts +5 -2
- package/static/SimulcastInfo.d.ts +1 -1
- package/static/Utils.d.ts +1 -1
- package/types/ConversationParams.d.ts +1 -0
- package/types/ExternalId.d.ts +2 -0
- package/types/SignalingCommand.d.ts +1 -0
- package/types/SignalingMessage.d.ts +1 -1
- package/types/Streams.d.ts +1 -0
- package/types/WebTransport.d.ts +2 -11
- package/utils/Lz4.d.ts +1 -1
- package/utils/MsgPackerBufferUtils.d.ts +1 -1
- package/utils/P2Quantile.d.ts +14 -0
- package/utils/StatTracker.d.ts +18 -0
- package/utils/VariableLengthInteger.d.ts +1 -1
- package/utils/Welford.d.ts +9 -0
- package/worker/LibVPxDecoderWorker.d.ts +0 -1
- package/worker/LibVPxEncoderWorker.d.ts +0 -1
- package/worker/WebCodecsDecoderWorker.d.ts +0 -1
- package/worker/WebCodecsEncoderWorker.d.ts +0 -1
package/CallsSDK.d.ts
CHANGED
|
@@ -250,7 +250,7 @@ export declare function callInternal(ids: OkUserId[], type: CallType | undefined
|
|
|
250
250
|
* @param conversationParams conversationParams в base64
|
|
251
251
|
*/
|
|
252
252
|
export declare function processPush(conversationId: string, conversationParams?: string): Promise<void>;
|
|
253
|
-
export declare function processPushInternal(conversationId: string, type?: UserType, peerId?: number, conversationParams?: string): Promise<void>;
|
|
253
|
+
export declare function processPushInternal(conversationId: string, type?: UserType, peerId?: number, conversationParams?: string, wsEndpoint?: string, userId?: number): Promise<void>;
|
|
254
254
|
/**
|
|
255
255
|
* Авторизоваться для совершения звонков
|
|
256
256
|
*
|
|
@@ -413,8 +413,8 @@ export declare function grantRolesInternal(uid: OkUserId, deviceIdx: number, rol
|
|
|
413
413
|
/**
|
|
414
414
|
* Выключить или выключить микрофон и/или камеру собеседнику (только если есть соответствующая роль)
|
|
415
415
|
*/
|
|
416
|
-
export declare function muteParticipant({ externalId, muteStates, requestedMedia, roomId
|
|
417
|
-
export declare function muteParticipantInternal({ uid, muteStates, requestedMedia, deviceIdx, roomId
|
|
416
|
+
export declare function muteParticipant({ externalId, muteStates, requestedMedia, roomId }: IMuteParticipantParams): Promise<void>;
|
|
417
|
+
export declare function muteParticipantInternal({ uid, muteStates, requestedMedia, deviceIdx, roomId }: IMuteParticipantInternalParams): Promise<void>;
|
|
418
418
|
/**
|
|
419
419
|
* Закрепить/открепить выбранного собеседника у всех (только если есть соответствующая роль)
|
|
420
420
|
*
|
|
@@ -494,7 +494,7 @@ export declare function startConversation(payload?: string, requireAuthToJoin?:
|
|
|
494
494
|
* @param speakerIds Список внешних ID пользователей, которые будут выступать в роли спикеров
|
|
495
495
|
* @returns Токен комнаты
|
|
496
496
|
*/
|
|
497
|
-
export declare function startAudienceConversation(payload: string | undefined, requireAuthToJoin: boolean | undefined, { onlyAdminCanShareMovie, audioOnly
|
|
497
|
+
export declare function startAudienceConversation(payload: string | undefined, requireAuthToJoin: boolean | undefined, { onlyAdminCanShareMovie, audioOnly }: {
|
|
498
498
|
onlyAdminCanShareMovie?: boolean | undefined;
|
|
499
499
|
audioOnly?: boolean | undefined;
|
|
500
500
|
} | undefined, speakerIds: ExternalUserId[]): Promise<string>;
|
|
@@ -539,8 +539,9 @@ export declare function startStream(isRecord?: boolean, name?: string | null, mo
|
|
|
539
539
|
/**
|
|
540
540
|
* Завершить трансляцию звонка
|
|
541
541
|
* @param roomId
|
|
542
|
+
* @param remove не сохранять запись звонка
|
|
542
543
|
*/
|
|
543
|
-
export declare function stopStream(roomId?: number | null): Promise<undefined>;
|
|
544
|
+
export declare function stopStream(roomId?: number | null, remove?: boolean): Promise<undefined>;
|
|
544
545
|
/**
|
|
545
546
|
* Опубликовать трансляцию звонка
|
|
546
547
|
* @param roomId
|