@vkontakte/calls-sdk 2.8.11-beta.1 → 2.8.11-dev.1d54378f.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 -0
- package/calls-sdk.cjs.js +6 -6
- package/calls-sdk.esm.js +5 -5
- package/classes/Conversation.d.ts +2 -0
- package/default/Signaling.d.ts +1 -0
- package/package.json +1 -1
- package/types/SignalingMessage.d.ts +3 -0
- package/types/WebTransport.d.ts +1 -0
package/CallsSDK.d.ts
CHANGED
|
@@ -751,6 +751,12 @@ export declare function stopUrlSharing(): Promise<void>;
|
|
|
751
751
|
export declare function sendTestCommand(name: string, params?: any): void;
|
|
752
752
|
export declare function startAnalyzingAudio(expectAudio: boolean): void;
|
|
753
753
|
export declare function stopAnalyzingAudio(): void;
|
|
754
|
+
/**
|
|
755
|
+
* Возвращает текущее время, скорректированное на смещение относительно серверного времени.
|
|
756
|
+
* Доступно после установки соединения (начало/присоединение к звонку).
|
|
757
|
+
* Если активного звонка нет — возвращает Date.now().
|
|
758
|
+
*/
|
|
759
|
+
export declare function getSyncedTime(): number;
|
|
754
760
|
/**
|
|
755
761
|
* Версия SDK
|
|
756
762
|
*/
|