@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.
|
@@ -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;
|