PlayerStatsModel

data class PlayerStatsModel(var bandwidth: PlayerStatsModel.Bandwidth = Bandwidth(), var videoInfo: PlayerStatsModel.VideoInfo = VideoInfo(), var frameInfo: PlayerStatsModel.FrameInfo = FrameInfo(), var bufferedDuration: Long = 0, var distanceFromLive: Long = 0)

Meant for external consumption

Constructors

Link copied to clipboard
fun PlayerStatsModel(bandwidth: PlayerStatsModel.Bandwidth = Bandwidth(), videoInfo: PlayerStatsModel.VideoInfo = VideoInfo(), frameInfo: PlayerStatsModel.FrameInfo = FrameInfo(), bufferedDuration: Long = 0, distanceFromLive: Long = 0)

Types

Link copied to clipboard
data class Bandwidth(val bandWidthEstimate: Long = 0, val totalBytesLoaded: Long = 0, val eventTime: AnalyticsListener.EventTime? = null)
Link copied to clipboard
data class FrameInfo(val droppedFrameCount: Int = 0, val totalFrameCount: Int = 0, val eventTime: AnalyticsListener.EventTime? = null)
Link copied to clipboard
data class VideoInfo(var videoHeight: Int = 0, var videoWidth: Int = 0, var averageBitrate: Int = 0, val frameRate: Float = 0.0f, val eventTime: AnalyticsListener.EventTime? = null)

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard