Package-level declarations
Types
Link copied to clipboard
class MetricsCollector
This class is responsible for collecting and computing playback statistics metrics such as:
Link copied to clipboard
data class PlaybackMetrics(val sessionId: String, val bandwidth: Long, val indicatedBitrate: Long, val playbackDuration: Duration, val bufferingDuration: Duration, val stallCount: Int, val stallDuration: Duration, val loadDuration: PlaybackMetrics.LoadDuration, val totalLoadTime: Duration, val totalBytesLoaded: Long, val url: Uri?, val videoFormat: Format?, val audioFormat: Format?, val surfaceSize: Size, val totalDroppedFrames: Int)
Represents playback metrics, containing information about the current media stream and playback session.