onPlayheadUpdate

fun onPlayheadUpdate(playhead: Double, programDateTime: Double? = null)

For the caller to notify the session object about the current playhead position.

Parameters

playhead

The current playhead position as the elapsed time on the media timeline, in seconds.

programDateTime

The program-date-time (usually available for live streams, as epoch time in seconds) corresponding to the current playhead position.