InfoListener

interface InfoListener

A listener for debugging information.

Functions

Link copied to clipboard
abstract fun onAudioDecoderInitialized(eventTime: EventTime, decoderName: String, initializationDurationMs: Long)
Link copied to clipboard
abstract fun onAudioFormatEnabled(format: Format, reason: Int, mediaTimeMs: Long)
Called when an Audio Format is enabled.
Link copied to clipboard
abstract fun onBandwidthSample(elapsedMs: Int, bytes: Long, bitrateEstimate: Long)
Called periodically to indicate that bytes have been transferred or the estimated bitrate has changed.
Link copied to clipboard
open fun onDecoderInitialized(decoderName: String, initializedTimestampMs: Long, initializationDurationMs: Long)
open fun onDecoderInitialized(eventTime: EventTime, trackType: Int, decoderName: String, initializationDurationMs: Long)
Link copied to clipboard
abstract fun onDroppedFrames(count: Int, elapsed: Long)

abstract fun onDroppedFrames(eventTime: EventTime, droppedFrames: Int, elapsedMs: Long)
Called when frames are dropped.
Link copied to clipboard
abstract fun onLoadCompleted(trackType: Int, bytesLoaded: Long, dataType: Int, reason: Int, format: Format, mediaStartTimeMs: Long, mediaEndTimeMs: Long, elapsedRealtimeMs: Long, loadDurationMs: Long)
Called when load has completed.
Link copied to clipboard
abstract fun onLoadStarted(trackType: Int, dataType: Int, reason: Int, format: Format, mediaStartTimeMs: Long, mediaEndTimeMs: Long)
Called when a load is started.
Link copied to clipboard
abstract fun onVideoDecoderInitialized(eventTime: EventTime, decoderName: String, initializationDurationMs: Long)
Link copied to clipboard
abstract fun onVideoFormatEnabled(format: Format, reason: Int, mediaTimeMs: Long)
Called when a Video Format is enabled.