PeerConnectionStats

class PeerConnectionStats(scope: CoroutineScope)

Constructors

Link copied to clipboard
constructor(scope: CoroutineScope)

Properties

Link copied to clipboard
val audioBitrateKbps: StateFlow<Float>

Audio bitrate actually sent or received, measured from the RTP byte counters between two stats polls.

Link copied to clipboard
val audioCodec: StateFlow<String>
Link copied to clipboard

The bitrate the audio encoder is aiming for, as reported by outbound-rtp.

Link copied to clipboard
val bitrateKbps: StateFlow<Float>
Link copied to clipboard
val jitterInMs: StateFlow<Int>
Link copied to clipboard
val latency: StateFlow<Int>
Link copied to clipboard
val qualityDropReason: StateFlow<String>
Link copied to clipboard
val resolution: StateFlow<String>
Link copied to clipboard
val videoCodec: StateFlow<String>