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)