@telnyx/webrtc 2.26.1-beta.2 → 2.26.1-beta.3

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.
@@ -18,8 +18,6 @@ export default abstract class BaseSession {
18
18
  invalidMethodErrorCode: number;
19
19
  authenticationRequiredErrorCode: number;
20
20
  callReportId: string | null;
21
- dc: string | null;
22
- region: string | null;
23
21
  connection: Connection;
24
22
  protected _jwtAuth: boolean;
25
23
  protected _keepAliveTimeout: any;
@@ -21,6 +21,7 @@ export interface IVertoOptions {
21
21
  prefetchIceCandidates?: boolean;
22
22
  forceRelayCandidate?: boolean;
23
23
  trickleIce?: boolean;
24
+ singleInterfaceIce?: boolean;
24
25
  keepConnectionAliveOnSocketClose?: boolean;
25
26
  useCanaryRtcServer?: boolean;
26
27
  region?: string;
@@ -43,6 +43,7 @@ export default abstract class BaseCall implements IWebRTCCall {
43
43
  private _firstCandidateSent;
44
44
  private _firstNonHostCandidateSent;
45
45
  private _isRecovering;
46
+ private _candidateFilter;
46
47
  constructor(session: BrowserSession, opts?: IVertoCallOptions);
47
48
  get nodeId(): string;
48
49
  set nodeId(what: string);
@@ -0,0 +1,14 @@
1
+ export declare class CandidateFilter {
2
+ private _lockedInterface;
3
+ private _enabled;
4
+ private _onCandidate;
5
+ private _onEndOfCandidates;
6
+ private _filteredCount;
7
+ private _passedCount;
8
+ constructor(enabled: boolean, onCandidate: (candidate: RTCIceCandidate) => void, onEndOfCandidates: () => void);
9
+ add(event: RTCPeerConnectionIceEvent): void;
10
+ reset(): void;
11
+ private _extractRaddr;
12
+ private _extractNetworkId;
13
+ private _isTcpCandidate;
14
+ }
@@ -66,6 +66,7 @@ export interface IVertoCallOptions {
66
66
  prefetchIceCandidates?: boolean;
67
67
  forceRelayCandidate?: boolean;
68
68
  trickleIce?: boolean;
69
+ singleInterfaceIce?: boolean;
69
70
  keepConnectionAliveOnSocketClose?: boolean;
70
71
  mutedMicOnStart?: boolean;
71
72
  recoveredCallId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telnyx/webrtc",
3
- "version": "2.26.1-beta.2",
3
+ "version": "2.26.1-beta.3",
4
4
  "description": "Telnyx WebRTC Client",
5
5
  "keywords": [
6
6
  "telnyx",