@vkontakte/calls-sdk 2.8.11-dev.af7eda54.0 → 2.8.11-dev.c0a05ac7.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 +20 -18
- package/abstract/BaseSignaling.d.ts +4 -5
- package/calls-sdk.cjs.js +9 -9
- package/calls-sdk.esm.js +3847 -3470
- package/classes/AudioFix.d.ts +5 -1
- package/classes/AudioOutput.d.ts +5 -1
- package/classes/CallRegistry.d.ts +22 -0
- package/classes/Conversation.d.ts +17 -7
- package/classes/DebugInfo.d.ts +3 -0
- package/classes/DisplayLayoutRequester.d.ts +39 -0
- package/classes/MediaSource.d.ts +12 -1
- package/classes/ParticipantIdRegistry.d.ts +3 -0
- package/classes/ProducerCommandSerializationService.d.ts +3 -0
- package/classes/SignalingActor.d.ts +3 -1
- package/classes/SpeakerDetector.d.ts +2 -1
- package/classes/SpecListener.d.ts +7 -1
- package/classes/{Logger.d.ts → StatsLogger.d.ts} +3 -10
- package/classes/VideoEffectsFpsLimiter.d.ts +3 -0
- package/classes/asr/AsrReceiver.d.ts +3 -1
- package/classes/codec/LibVPxDecoder.d.ts +3 -0
- package/classes/codec/LibVPxEncoder.d.ts +3 -1
- package/classes/codec/WebCodecsDecoder.d.ts +3 -0
- package/classes/codec/WebCodecsEncoder.d.ts +3 -1
- package/classes/codec/WorkerBase.d.ts +5 -0
- package/classes/screenshare/BaseStreamBuilder.d.ts +4 -1
- package/classes/screenshare/CanvasRenderer.d.ts +3 -1
- package/classes/screenshare/ScreenCaptureReceiver.d.ts +7 -1
- package/classes/screenshare/ScreenCaptureSender.d.ts +5 -1
- package/classes/screenshare/ScreenCongestionControl.d.ts +3 -1
- package/classes/screenshare/StreamBuilder.d.ts +5 -1
- package/classes/screenshare/TrackGeneratorRenderer.d.ts +3 -1
- package/classes/screenshare/WebmBuilder.d.ts +3 -1
- package/classes/stat/CodecStatsAggregator.d.ts +7 -7
- package/classes/stat/ConversationStats.d.ts +21 -0
- package/classes/stat/StatAggregator.d.ts +6 -6
- package/classes/stat/StatFirstMediaReceived.d.ts +4 -1
- package/classes/stat/StatPings.d.ts +9 -9
- package/classes/stat/StatScreenShareFirstFrame.d.ts +3 -1
- package/classes/stat/StatSignalingCommands.d.ts +8 -8
- package/classes/transport/BaseTransport.d.ts +1 -1
- package/classes/transport/DirectStatReporter.d.ts +3 -1
- package/classes/transport/DirectTransport.d.ts +9 -1
- package/classes/transport/PerfStatReporter.d.ts +5 -1
- package/classes/transport/ServerTransport.d.ts +10 -2
- package/classes/transport/Transport.d.ts +11 -14
- package/default/Signaling.d.ts +12 -1
- package/enums/SignalingNotification.d.ts +2 -1
- package/enums/TransportState.d.ts +10 -0
- package/enums/TransportTopology.d.ts +5 -0
- package/package.json +1 -1
- package/static/Capabilities.d.ts +5 -0
- package/static/Debug.d.ts +27 -8
- package/static/External.d.ts +146 -71
- package/static/Params.d.ts +98 -70
- package/static/Utils.d.ts +3 -2
- package/static/WebRTCUtils.d.ts +6 -4
- package/types/Capabilities.d.ts +24 -0
- package/types/Conversation.d.ts +1 -1
- package/types/FastStart.d.ts +1 -0
- package/types/ParticipantLayout.d.ts +33 -0
- package/types/SignalingMessage.d.ts +5 -1
- package/types/Statistics.d.ts +1 -1
- package/utils/DebugStorage.d.ts +1 -2
- package/classes/stat/EventMetricsService.d.ts +0 -9
package/types/Statistics.d.ts
CHANGED
package/utils/DebugStorage.d.ts
CHANGED
|
@@ -95,10 +95,9 @@ export type DebugLogGetParams = {
|
|
|
95
95
|
};
|
|
96
96
|
export declare function add(level: string, args: any[], sessionId?: string): CurrentLogItem;
|
|
97
97
|
export declare function init(): void;
|
|
98
|
-
export declare function
|
|
98
|
+
export declare function startConversationSession(): string;
|
|
99
99
|
export declare function setConversationId(conversationId: string | null, sessionId?: string): void;
|
|
100
100
|
export declare function list(): Promise<DebugLogSessionInfo[]>;
|
|
101
|
-
export declare function getCurrentSession(): Promise<DebugLogSessionInfo | null>;
|
|
102
101
|
export declare function get(params: DebugLogGetParams): Promise<CurrentLogItem[]>;
|
|
103
102
|
export declare function getJson(params: DebugLogGetParams): Promise<string>;
|
|
104
103
|
export declare function download(params: DebugLogGetParams): Promise<string>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import HangupReason from '../HangupReason';
|
|
2
|
-
import { TransportTopology } from '../transport/Transport';
|
|
3
|
-
/**
|
|
4
|
-
* Класс для работы с событийными метриками, обертка для правильной отправки событий
|
|
5
|
-
*/
|
|
6
|
-
export declare class EventMetricsService {
|
|
7
|
-
private static correctHangupReason;
|
|
8
|
-
static sendHangupEvent(reason: HangupReason, topology?: TransportTopology): void;
|
|
9
|
-
}
|