StreamingStatsMonitor

class StreamingStatsMonitor(bitrateChecker: BitrateChecker)

Collects send-queue and throughput statistics each second and classifies bandwidth trends over a sliding window, mirroring HaishinKit NetworkMonitor behavior.

Constructors

Link copied to clipboard
constructor(bitrateChecker: BitrateChecker)

Functions

Link copied to clipboard
suspend fun collect(queueBytesOut: Long, bytesOutPerSecond: Long, totalBytesOut: Long, smoothedBitrate: Long, queueCongestionPercent: Float)
Link copied to clipboard
fun reset()