isPlaybackSpeedPossibleAtPosition

fun Player.isPlaybackSpeedPossibleAtPosition(position: Long, speed: Float, window: Timeline.Window = Window()): Boolean

Return if the playback speed is possible at position. Always return true for none live content or if Player.getCurrentTimeline is empty.

Return

true if the playback speed can be set at position

Parameters

position

The position to test the playback speed.

speed

The playback speed

window

optional window for performance purpose