@telnyx/webrtc 2.27.4-beta.1 → 2.27.4-beta.2
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.
|
@@ -25,9 +25,6 @@ export default abstract class BrowserSession extends BaseSession {
|
|
|
25
25
|
private _previousAudioConstraints;
|
|
26
26
|
protected _videoConstraints: boolean | MediaTrackConstraints;
|
|
27
27
|
protected _speaker: string;
|
|
28
|
-
private _onlineHandler;
|
|
29
|
-
private _offlineHandler;
|
|
30
|
-
private _wasOffline;
|
|
31
28
|
constructor(options: IVertoOptions);
|
|
32
29
|
getIsRegistered(): Promise<boolean>;
|
|
33
30
|
connect(): Promise<void>;
|
|
@@ -62,7 +59,5 @@ export default abstract class BrowserSession extends BaseSession {
|
|
|
62
59
|
vertoBroadcast({ nodeId, channel: eventChannel, data, }: BroadcastParams): void;
|
|
63
60
|
vertoSubscribe({ nodeId, channels: eventChannel, handler, }: SubscribeParams): Promise<any>;
|
|
64
61
|
vertoUnsubscribe({ nodeId, channels: eventChannel, }: SubscribeParams): Promise<any>;
|
|
65
|
-
private _setupNetworkListeners;
|
|
66
|
-
private _cleanupNetworkListeners;
|
|
67
62
|
static telnyxStateCall(call: Call): Call;
|
|
68
63
|
}
|
|
@@ -6,6 +6,9 @@ export default class SignalingHealthMonitor {
|
|
|
6
6
|
private _probeInFlight;
|
|
7
7
|
private _intervalId;
|
|
8
8
|
private _pendingMediaRecovery;
|
|
9
|
+
private _browserWasOffline;
|
|
10
|
+
private _onlineHandler;
|
|
11
|
+
private _offlineHandler;
|
|
9
12
|
private static readonly CRITICAL_METHODS;
|
|
10
13
|
static isCriticalMethod(method: string): boolean;
|
|
11
14
|
constructor(_session: ISignalingHealthSession);
|
|
@@ -19,6 +22,8 @@ export default class SignalingHealthMonitor {
|
|
|
19
22
|
onRequestTimeout(requestId: string, timeoutMs: number, method?: string): void;
|
|
20
23
|
onPeerFailure(callId: string, evidence: PeerFailureEvidence): void;
|
|
21
24
|
onNoRtp(callId: string, direction: 'inbound' | 'outbound'): void;
|
|
25
|
+
private _setupBrowserListeners;
|
|
26
|
+
private _cleanupBrowserListeners;
|
|
22
27
|
onIceRestartFailed(callId: string): void;
|
|
23
28
|
private _check;
|
|
24
29
|
private _sendProbe;
|
|
@@ -126,9 +126,6 @@ export default abstract class BaseCall implements IWebRTCCall {
|
|
|
126
126
|
private _dispatchNotification;
|
|
127
127
|
private _execute;
|
|
128
128
|
private _registerInboundAnswerAttempt;
|
|
129
|
-
private _getSessionInboundAnswerCalls;
|
|
130
|
-
private _isBlockingInboundAnswer;
|
|
131
|
-
private _hasUsablePeerConnection;
|
|
132
129
|
private _init;
|
|
133
130
|
protected _finalize(): void;
|
|
134
131
|
private _getCallReportVoiceSdkId;
|