@telnyx/webrtc 2.25.25 → 2.25.26-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.
@@ -5,10 +5,10 @@ import { Direction, State } from './constants';
5
5
  import { AnswerParams, IHangupParams, IVertoCallOptions, IWebRTCCall } from './interfaces';
6
6
  export default abstract class BaseCall implements IWebRTCCall {
7
7
  protected session: BrowserSession;
8
- private _isRecovering;
9
8
  private _webRTCStats;
10
9
  private _callReportCollector;
11
10
  id: string;
11
+ recoveredCallId: string;
12
12
  state: string;
13
13
  prevState: string;
14
14
  direction: Direction;
@@ -40,7 +40,8 @@ export default abstract class BaseCall implements IWebRTCCall {
40
40
  private _isRemoteDescriptionSet;
41
41
  private _signalingStateClosed;
42
42
  private _creatingPeer;
43
- constructor(session: BrowserSession, opts?: IVertoCallOptions, _isRecovering?: boolean);
43
+ private _isRecovering;
44
+ constructor(session: BrowserSession, opts?: IVertoCallOptions);
44
45
  private get performanceMetrics();
45
46
  get nodeId(): string;
46
47
  set nodeId(what: string);
@@ -68,6 +68,7 @@ export interface IVertoCallOptions {
68
68
  trickleIce?: boolean;
69
69
  keepConnectionAliveOnSocketClose?: boolean;
70
70
  mutedMicOnStart?: boolean;
71
+ recoveredCallId?: string;
71
72
  }
72
73
  export interface IStatsBinding {
73
74
  constraints: any;
@@ -82,6 +83,7 @@ export interface AnswerParams {
82
83
  }
83
84
  export interface IWebRTCCall {
84
85
  id: string;
86
+ recoveredCallId?: string;
85
87
  state: string;
86
88
  prevState: string;
87
89
  direction: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telnyx/webrtc",
3
- "version": "2.25.25",
3
+ "version": "2.25.26-beta.2",
4
4
  "description": "Telnyx WebRTC Client",
5
5
  "keywords": [
6
6
  "telnyx",