@vkontakte/calls-sdk 2.7.2-dev.d37e896.0 → 2.7.2-dev.d9c08c4.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 -6
- package/abstract/BaseApi.d.ts +5 -1
- package/calls-sdk.cjs.js +8 -8
- package/calls-sdk.esm.js +8 -8
- package/classes/Conversation.d.ts +5 -57
- package/classes/Logger.d.ts +1 -0
- package/classes/MediaSource.d.ts +4 -11
- package/classes/codec/IDecoder.d.ts +1 -1
- package/classes/codec/LibVPxDecoder.d.ts +1 -1
- package/classes/screenshare/BaseRenderer.d.ts +1 -1
- package/classes/screenshare/BaseStreamBuilder.d.ts +9 -2
- package/classes/screenshare/CanvasRenderer.d.ts +1 -2
- package/classes/screenshare/ScreenCaptureReceiver.d.ts +3 -1
- package/classes/screenshare/ScreenCongestionControl.d.ts +3 -1
- package/classes/screenshare/StreamBuilder.d.ts +2 -2
- package/classes/screenshare/WebmBuilder.d.ts +2 -2
- package/classes/transport/PerfStatReporter.d.ts +2 -0
- package/classes/transport/ServerTransport.d.ts +2 -3
- package/classes/transport/Statistics.d.ts +21 -0
- package/classes/transport/Transport.d.ts +4 -1
- package/default/Signaling.d.ts +1 -1
- package/enums/HangupType.d.ts +2 -1
- package/enums/Stat.d.ts +10 -1
- package/package.json +6 -3
- package/static/External.d.ts +1 -1
- package/static/Params.d.ts +49 -4
- package/static/WebRTCUtils.d.ts +0 -4
- package/types/Conversation.d.ts +63 -1
- package/types/ScreenSharingStat.d.ts +3 -0
- package/types/SignalingMessage.d.ts +2 -0
package/CallsSDK.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import type { IEffect, VideoEffects } from '@vkontakte/calls-video-effects';
|
|
|
6
6
|
import BaseApi from './abstract/BaseApi';
|
|
7
7
|
import BaseLogger from './abstract/BaseLogger';
|
|
8
8
|
import BaseSignaling, { AddParticipantParams } from './abstract/BaseSignaling';
|
|
9
|
-
import { ConversationData } from './classes/Conversation';
|
|
10
9
|
import HangupReason, { HangupReasonData } from './classes/HangupReason';
|
|
11
10
|
import { MediaTrackKind } from './classes/MediaSource';
|
|
12
11
|
import { StatResult } from './classes/transport/Statistics';
|
|
@@ -58,6 +57,7 @@ import { IStartStreamData, IStopStreamData } from './types/Streams';
|
|
|
58
57
|
import ConversationFeature from './enums/ConversationFeature';
|
|
59
58
|
import { IFeaturesPerRole } from './types/ConversationFeature';
|
|
60
59
|
import { ArrayDequeue } from './utils/ArrayDequeue';
|
|
60
|
+
import { ConversationData } from './types/Conversation';
|
|
61
61
|
/**
|
|
62
62
|
* Информация о текущем браузере
|
|
63
63
|
*/
|
|
@@ -126,10 +126,6 @@ export declare const browser: {
|
|
|
126
126
|
* Устанавливает размер видео в стриме
|
|
127
127
|
*/
|
|
128
128
|
setResolution: typeof WebRTCUtils.setResolution;
|
|
129
|
-
/**
|
|
130
|
-
* Запоминает выбранное устройство
|
|
131
|
-
*/
|
|
132
|
-
saveDeviceId: typeof WebRTCUtils.saveDeviceId;
|
|
133
129
|
/**
|
|
134
130
|
* Проверяет поддержку WebRTC браузером
|
|
135
131
|
*
|
|
@@ -207,7 +203,7 @@ export declare function setVideoEffects(effects: VideoEffects): void;
|
|
|
207
203
|
* @param vmoji Экземпляр класса `Vmoji` из `@vkontakte/calls-vmoji`
|
|
208
204
|
* @param sdk Экземпляр модуля `@vkontakte/calls-vmoji`, нужен для проброски дебаг сообщений
|
|
209
205
|
*/
|
|
210
|
-
export declare function setVmoji(vmoji: typeof Vmoji, sdk?: Parameters<typeof Vmoji.setSDK>[0] | null): void;
|
|
206
|
+
export declare function setVmoji(vmoji: typeof Vmoji, sdk?: Parameters<typeof Vmoji.setSDK>[0] | null, renderingOptions?: Vmoji.RenderingOptions | null): void;
|
|
211
207
|
/**
|
|
212
208
|
* Инициализирует библиотеку
|
|
213
209
|
*
|
package/abstract/BaseApi.d.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import CallType from '../enums/CallType';
|
|
2
|
+
import { ConversationData } from '../types/Conversation';
|
|
2
3
|
import ConversationParams from '../types/ConversationParams';
|
|
3
4
|
import ConversationResponse from '../types/ConversationResponse';
|
|
4
5
|
import { ExternalId, ExternalUserId } from '../types/ExternalId';
|
|
5
6
|
import { CompositeUserId, OkUserId } from '../types/Participant';
|
|
6
7
|
export type LogItem = {
|
|
7
8
|
count?: number;
|
|
8
|
-
custom:
|
|
9
|
+
custom: {
|
|
10
|
+
vcid: ConversationData['id'] | null;
|
|
11
|
+
[k: string]: string | number;
|
|
12
|
+
};
|
|
9
13
|
data?: string[];
|
|
10
14
|
groups?: string[];
|
|
11
15
|
network?: string;
|