@telnyx/webrtc 2.25.23 → 2.25.24

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.
@@ -72,6 +72,8 @@ export interface INotificationEventData {
72
72
  type: string;
73
73
  call?: IWebRTCCall;
74
74
  error?: Error;
75
+ errorName?: string;
76
+ errorMessage?: string;
75
77
  displayName?: string;
76
78
  displayNumber?: string;
77
79
  displayDirection?: string;
@@ -16,6 +16,13 @@ export interface IICECandidatePair {
16
16
  requestsSent?: number;
17
17
  responsesReceived?: number;
18
18
  }
19
+ export interface ITransportStats {
20
+ iceState?: string;
21
+ dtlsState?: string;
22
+ srtpCipher?: string;
23
+ tlsVersion?: string;
24
+ selectedCandidatePairChanges?: number;
25
+ }
19
26
  export interface ICallReportOptions {
20
27
  enabled: boolean;
21
28
  interval: number;
@@ -58,6 +65,7 @@ export interface IStatsInterval {
58
65
  bytesReceived?: number;
59
66
  };
60
67
  ice?: IICECandidatePair;
68
+ transport?: ITransportStats;
61
69
  }
62
70
  export interface ICallSummary {
63
71
  callId: string;
@@ -115,6 +123,9 @@ export declare class CallReportCollector {
115
123
  private _collectStats;
116
124
  private _createStatsEntry;
117
125
  private _resolveCandidate;
126
+ private _getOutboundAudioLevel;
127
+ private _getInboundAudioLevel;
128
+ private _computeAudioLevelFromEnergy;
118
129
  private _getTrackAudioLevel;
119
130
  private _average;
120
131
  private _resetIntervalAccumulators;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telnyx/webrtc",
3
- "version": "2.25.23",
3
+ "version": "2.25.24",
4
4
  "description": "Telnyx WebRTC Client",
5
5
  "keywords": [
6
6
  "telnyx",