Package-level declarations

Types

Link copied to clipboard
data class BufferedRange(val startTime: Long = UNKNOWN_LONG_VAL, val duration: Long = UNKNOWN_LONG_VAL) : Parcelable
Link copied to clipboard
Link copied to clipboard
data class DecoderInfo(val codecName: String? = UNKNOWN, val codecType: CodecType? = CodecType.UNKNOWN) : Parcelable
Link copied to clipboard
Link copied to clipboard
data class MetadataInformation(val metaTags: List<MetaTag>)

Class contains MetaTag information associated with a Video/Audio stream. This could be data such as ID3 tags that come mid-stream.

Link copied to clipboard
interface MetaTag

Represents a MetaTag.

Link copied to clipboard

Class associated with Picture data from a Video/Audio Stream (e.g. ID3 Tag Data).

Link copied to clipboard
interface MetaTagText : MetaTag

Class associated with Text from a Video/Audio Stream (e.g. ID3 Tag Data).

Link copied to clipboard
data class NetworkInformation(val dataSpec: String = UNKNOWN, val observedBandwidth: Int = UNKNOWN_INT_VAL, val formatInformation: String = UNKNOWN, val bandwidthEstimate: Long = UNKNOWN_LONG_VAL, val dataType: String = UNKNOWN, val trackType: String = UNKNOWN, val formatId: String = UNKNOWN, val formatBitrate: Int = UNKNOWN_INT_VAL, val mediaStartTimeMs: Long = UNKNOWN_LONG_VAL, val elapsedRealtimeMs: Long = UNKNOWN_LONG_VAL, val loadDurationMs: Long = UNKNOWN_LONG_VAL, val bytesLoaded: Long = UNKNOWN_LONG_VAL, val formatAverageBitrate: Int = UNKNOWN_INT_VAL, val formatPeakBitrate: Int = UNKNOWN_INT_VAL) : Parcelable
Link copied to clipboard
data class StreamInformation(val bufferedRange: BufferedRange = BufferedRange(), val decodedFrameRate: Int = UNKNOWN_INT_VAL, val displayedFrameRate: Int = UNKNOWN_INT_VAL, val droppedDecodedFrameCount: Int = DEFAULT_INT_VAL, val droppedDisplayableFrameCount: Int = DEFAULT_INT_VAL, val videoResolution: VideoResolution = VideoResolution(), val audioDecoderInfo: DecoderInfo = DecoderInfo(UNKNOWN, CodecType.UNKNOWN), val videoDecoderInfo: DecoderInfo = DecoderInfo(UNKNOWN, CodecType.UNKNOWN), val startupTimeMs: Long = UNKNOWN_LONG_VAL, val timeWeightedIndicatedBitRate: Double = UNKNOWN_DOUBLE_VAL, val stallRate: Double = DEFAULT_DOUBLE_VAL, val stallWaitRatio: Double = DEFAULT_DOUBLE_VAL, val totalStallTimeMs: Long = UNKNOWN_LONG_VAL, val numberOfStalls: Int = DEFAULT_INT_VAL, val videoFrameProcessingOffsetAverage: Long = UNKNOWN_LONG_VAL, val droppedToKeyframeCount: Int = UNKNOWN_INT_VAL, val totalPlayTimeMs: Long = UNKNOWN_LONG_VAL, val totalPausedTimeMs: Long = UNKNOWN_LONG_VAL, val totalWaitTimeMs: Long = UNKNOWN_LONG_VAL, val totalSeekTimeMs: Long = UNKNOWN_LONG_VAL, val programWatchedDurationMs: Long = UNKNOWN_LONG_VAL, val streamStartUpTimeData: StreamStartUpTimeData = StreamStartUpTimeData()) : Parcelable

Holds all available relevant information about a stream. Can be used to instrument analytics about player performance.

Link copied to clipboard
data class StreamStartUpTimeData(val ssaiStreamUrlFetchTimeMs: Long = DEFAULT_LONG_VAL, val licenseLoadTimeMs: Long = DEFAULT_LONG_VAL, val preRollAdLoadTimeMs: Long = DEFAULT_LONG_VAL) : Parcelable

Provides properties to collect stream start up time parameters.

Link copied to clipboard
data class VideoResolution(val width: Int = DEFAULT_INT_VAL, val height: Int = DEFAULT_INT_VAL) : Parcelable

Properties

Link copied to clipboard
const val UNKNOWN_ID: String