CallQualityMetrics class
Represents real-time call quality metrics derived from WebRTC statistics.
Constructors
-
CallQualityMetrics.new({required double jitter, required double rtt, required double mos, required CallQuality quality, required double inboundAudioLevel, required double outboundAudioLevel, Map<
String, dynamic> ? inboundAudio, Map<String, dynamic> ? outboundAudio, Map<String, dynamic> ? remoteInboundAudio, Map<String, dynamic> ? remoteOutboundAudio}) - Creates a new instance of CallQualityMetrics.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inboundAudio
→ Map<
String, dynamic> ? -
Inbound audio statistics (optional)
final
- inboundAudioLevel → double
-
Instantaneous inbound audio level (typically 0.0 to 1.0)
final
- jitter → double
-
Jitter in seconds (multiply by 1000 for milliseconds)
final
- mos → double
-
Mean Opinion Score (1.0-5.0)
final
-
outboundAudio
→ Map<
String, dynamic> ? -
Outbound audio statistics (optional)
final
- outboundAudioLevel → double
-
Instantaneous outbound (local) audio level (typically 0.0 to 1.0)
final
- quality → CallQuality
-
Call quality rating based on MOS
final
-
remoteInboundAudio
→ Map<
String, dynamic> ? -
Remote inbound audio statistics (optional)
final
-
remoteOutboundAudio
→ Map<
String, dynamic> ? -
Remote outbound audio statistics (optional)
final
- rtt → double
-
Round-trip time in seconds (multiply by 1000 for milliseconds)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Creates a dictionary representation of the metrics.
-
toString(
) → String -
Creates a string representation of the metrics.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited