@vkontakte/calls-sdk 2.8.12-dev.a796d948.0 → 2.8.12-dev.aa3efa18.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/calls-sdk.cjs.js +7 -7
- package/calls-sdk.esm.js +369 -366
- package/classes/MediaSource.d.ts +2 -0
- package/classes/stat/CallLifecycleStats.d.ts +0 -4
- package/classes/transport/DirectTransport.d.ts +1 -0
- package/enums/Stat.d.ts +0 -1
- package/package.json +1 -1
- package/utils/IceServers.d.ts +2 -0
package/classes/MediaSource.d.ts
CHANGED
|
@@ -58,6 +58,8 @@ export declare class MediaSource extends EventEmitter {
|
|
|
58
58
|
private readonly _videoEffectsFpsLimiter?;
|
|
59
59
|
private readonly _debug;
|
|
60
60
|
private readonly _logger;
|
|
61
|
+
private _cameraTrackSetAt;
|
|
62
|
+
private _cameraMuteRecoveredAt;
|
|
61
63
|
constructor(debug?: DebugLogger, logger?: StatsLogger | null);
|
|
62
64
|
get cameraVideoTrack(): MediaStreamTrack | null;
|
|
63
65
|
set cameraVideoTrack(track: MediaStreamTrack | null);
|
|
@@ -14,9 +14,7 @@ export declare class CallLifecycleStats {
|
|
|
14
14
|
private _conversationId;
|
|
15
15
|
private _callStartLabel;
|
|
16
16
|
private _lifecycleStartedAtMonotonic;
|
|
17
|
-
private _warmupStartedAtMonotonic;
|
|
18
17
|
private _pendingEvents;
|
|
19
|
-
private _warmupCompleted;
|
|
20
18
|
private _callStarted;
|
|
21
19
|
private _accepted;
|
|
22
20
|
private _firstMediaSent;
|
|
@@ -27,8 +25,6 @@ export declare class CallLifecycleStats {
|
|
|
27
25
|
get terminated(): boolean;
|
|
28
26
|
markInitializationStarted({ source, conversationId }: CallLifecycleInitializationParams): void;
|
|
29
27
|
bindConversationId(conversationId: string): void;
|
|
30
|
-
markWarmupStarted(): void;
|
|
31
|
-
markWarmupCompleted(): void;
|
|
32
28
|
markCallStarted(): void;
|
|
33
29
|
markOutgoingAccepted(): void;
|
|
34
30
|
markIncomingAccepted(concurrent: boolean): void;
|
|
@@ -57,6 +57,7 @@ export default class DirectTransport extends BaseTransport {
|
|
|
57
57
|
private _disposePeerConnection;
|
|
58
58
|
setAnimojiTransport(receiver: AnimojiReceiver, sender: AnimojiSender): void;
|
|
59
59
|
close(error?: Error): void;
|
|
60
|
+
private _finishClose;
|
|
60
61
|
private _setState;
|
|
61
62
|
private _onSignalingNotification;
|
|
62
63
|
private _handleTransmittedData;
|
package/enums/Stat.d.ts
CHANGED
package/package.json
CHANGED