@vkontakte/calls-sdk 2.7.2-beta.9 → 2.7.2-dev.876005f.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 +1 -5
- 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 +4 -56
- 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 +8 -2
- package/classes/screenshare/CanvasRenderer.d.ts +1 -2
- package/classes/screenshare/ScreenCaptureReceiver.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/Statistics.d.ts +4 -0
- package/classes/transport/Transport.d.ts +2 -1
- package/default/Signaling.d.ts +1 -1
- package/enums/HangupType.d.ts +2 -1
- package/enums/Stat.d.ts +2 -1
- package/package.json +1 -1
- package/static/External.d.ts +1 -1
- package/static/Params.d.ts +35 -4
- package/static/WebRTCUtils.d.ts +0 -4
- package/types/Conversation.d.ts +63 -1
- package/types/ScreenSharingStat.d.ts +3 -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
|
*
|
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;
|