@telnyx/webrtc 2.27.0-beta.4 → 2.27.0-beta.5

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.
@@ -57,6 +57,7 @@ export default abstract class BaseCall implements IWebRTCCall {
57
57
  get remoteStream(): MediaStream;
58
58
  get memberChannel(): string;
59
59
  get isAudioMuted(): boolean;
60
+ shouldForceRelayCandidateForRecovery(): boolean;
60
61
  invite(): Promise<void>;
61
62
  answer(params?: AnswerParams): Promise<void>;
62
63
  playRingtone(): void;
@@ -84,6 +85,7 @@ export default abstract class BaseCall implements IWebRTCCall {
84
85
  setBandwidthEncodingsMaxBps(max: number, _kind: string): Promise<void>;
85
86
  setAudioBandwidthEncodingsMaxBps(max: number): void;
86
87
  setVideoBandwidthEncodingsMaxBps(max: number): void;
88
+ private _isTerminatingOrTerminated;
87
89
  getStats(callback: Function, constraints: any): void;
88
90
  setState(state: State): void;
89
91
  handleMessage(msg: any): void;
@@ -184,7 +184,9 @@ export declare class CallReportCollector {
184
184
  sendPayload(payload: ICallReportPayload, callReportId: string, host: string, voiceSdkId?: string): Promise<void>;
185
185
  private _sendPayload;
186
186
  getStatsBuffer(): IStatsInterval[];
187
+ shouldForceRelayCandidateForRecovery(): boolean;
187
188
  getLogs(): ILogEntry[];
189
+ private _positiveDelta;
188
190
  cleanup(): void;
189
191
  private _scheduleNextCollection;
190
192
  private _collectionIntervalFor;
@@ -130,6 +130,7 @@ export interface IWebRTCCall {
130
130
  setAudioBandwidthEncodingsMaxBps: (max: number) => void;
131
131
  setVideoBandwidthEncodingsMaxBps: (max: number) => void;
132
132
  getStats: (callback: Function, constraints: any) => void;
133
+ shouldForceRelayCandidateForRecovery?: () => boolean;
133
134
  setState: (state: State) => void;
134
135
  handleMessage: (msg: any) => void;
135
136
  _addChannel: (laChannel: any) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telnyx/webrtc",
3
- "version": "2.27.0-beta.4",
3
+ "version": "2.27.0-beta.5",
4
4
  "description": "Telnyx WebRTC Client",
5
5
  "keywords": [
6
6
  "telnyx",