onVideoFormatEnabled

abstract fun onVideoFormatEnabled(format: Format, reason: Int, mediaTimeMs: Long)

Called when a Video Format is enabled.

Parameters

format

the Format retrieved from ExoPlayer.

reason

One of the CSELECTION_REASON_*.

mediaTimeMs

The start time of the media, or TIME_UNSET if the data does not belong to a specific media period.