@livedigital/client 2.15.0 → 2.16.0
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.
- package/dist/engine/wid/detectors/{NetworkIssueDetector.d.ts → InboundNetworkIssueDetector.d.ts} +2 -2
- package/dist/engine/wid/detectors/OutboundNetworkIssueDetector.d.ts +8 -0
- package/dist/engine/wid/types.d.ts +7 -3
- package/dist/index.es.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/engine/wid/WebRTCIssueDetector.ts +5 -2
- package/src/engine/wid/detectors/{NetworkIssueDetector.ts → InboundNetworkIssueDetector.ts} +6 -5
- package/src/engine/wid/detectors/OutboundNetworkIssueDetector.ts +115 -0
- package/src/engine/wid/types.ts +7 -3
package/dist/engine/wid/detectors/{NetworkIssueDetector.d.ts → InboundNetworkIssueDetector.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { WebRTCStatsEventData } from '@peermetrics/webrtc-stats';
|
|
2
2
|
import { IssueDetector, IssueDetectorResult } from '../types';
|
|
3
|
-
declare class
|
|
3
|
+
declare class InboundNetworkIssueDetector implements IssueDetector {
|
|
4
4
|
#private;
|
|
5
5
|
detect(data: WebRTCStatsEventData): IssueDetectorResult;
|
|
6
6
|
private processData;
|
|
7
7
|
}
|
|
8
|
-
export default
|
|
8
|
+
export default InboundNetworkIssueDetector;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { WebRTCStatsEventData } from '@peermetrics/webrtc-stats';
|
|
2
|
+
import { IssueDetector, IssueDetectorResult } from '../types';
|
|
3
|
+
declare class OutboundNetworkIssueDetector implements IssueDetector {
|
|
4
|
+
#private;
|
|
5
|
+
detect(data: WebRTCStatsEventData): IssueDetectorResult;
|
|
6
|
+
private processData;
|
|
7
|
+
}
|
|
8
|
+
export default OutboundNetworkIssueDetector;
|
|
@@ -21,20 +21,24 @@ export declare enum IssueType {
|
|
|
21
21
|
Server = "server"
|
|
22
22
|
}
|
|
23
23
|
export declare enum IssueReason {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
OutboundNetworkQuality = "outbound-network-quality",
|
|
25
|
+
InboundNetworkQuality = "inbound-network-quality",
|
|
26
|
+
OutboundNetworkMediaLatency = "outbound-network-media-latency",
|
|
27
|
+
InboundNetworkMediaLatency = "inbound-network-media-latency",
|
|
26
28
|
NetworkMediaSyncFailure = "network-media-sync-failure",
|
|
27
29
|
OutboundNetworkThroughput = "outbound-network-throughput",
|
|
28
30
|
InboundNetworkThroughput = "inbound-network-throughput",
|
|
29
31
|
EncoderCPUThrottling = "encoder-cpu-throttling",
|
|
30
32
|
DecoderCPUThrottling = "decoder-cpu-throttling",
|
|
31
33
|
ServerIssue = "server-issue",
|
|
32
|
-
|
|
34
|
+
LowInboundMOS = "low-inbound-mean-opinion-score",
|
|
35
|
+
LowOutboundMOS = "low-outbound-mean-opinion-score"
|
|
33
36
|
}
|
|
34
37
|
export declare type IssuePayload = {
|
|
35
38
|
type: IssueType;
|
|
36
39
|
reason: IssueReason;
|
|
37
40
|
ssrc?: number;
|
|
38
41
|
iceCandidate?: string;
|
|
42
|
+
data?: number;
|
|
39
43
|
debug?: string;
|
|
40
44
|
};
|