Clarify visual status semantics (#348)
This commit is contained in:
1 parent
f0336e0d9d
commit
1eee2e371a
14 files changed
+359
-38
No files matched your search
@@ -6,6 +6,11 @@ export type SignalConnectionState =
|
||||
|
||||
export type MediaPath = "direct" | "unknown";
|
||||
export type NativeEdgeQualityState = "unknown" | "healthy" | "degraded";
|
||||
export type QualityWarningKind =
|
||||
| "bandwidth"
|
||||
| "cpu"
|
||||
| "other"
|
||||
| "configuration";
|
||||
|
||||
export interface ConnectionMetrics {
|
||||
sampleTimestampMs: number | null;
|
||||
@@ -88,6 +93,7 @@ export interface PeerSnapshot {
|
||||
| import("./media/quality").AudioSenderParameterReadback
|
||||
| null;
|
||||
qualityWarning?: string | null;
|
||||
qualityWarningKind?: QualityWarningKind | null;
|
||||
}
|
||||
|
||||
export const EMPTY_METRICS: ConnectionMetrics = {
|
||||
|
||||
Reference in new issue
Block a user