QualityWarningMonitor class

Monitors WebRTC stats intervals and emits TelnyxWarnings when quality thresholds are breached for a sustained number of consecutive intervals.

Constructors

QualityWarningMonitor({required String callId, String? sessionId, void onWarning(TelnyxWarning warning)?})
Creates a monitor for callId (and optional sessionId) that reports quality warnings through onWarning.

Properties

callId → String
The call ID these quality warnings are associated with.
final
hashCode → int
The hash code for this object.
no setterinherited
onWarning → void Function(TelnyxWarning warning)?
Callback invoked whenever a quality TelnyxWarning is emitted.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionId → String?
The session ID these quality warnings are associated with, if known.
final

Methods

checkStats(StatsInterval stats) → void
Check a stats interval and emit warnings as needed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onIceConnectionStateChanged(String state) → void
Called when ICE connection state changes.
onPeerConnectionStateChanged(String state) → void
Called when peer connection state changes.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited