setFinalStreamEndPositionUs

open fun setFinalStreamEndPositionUs(streamEndPositionUs: Long)

Sets the position at which to stop rendering the current stream.

Must be called after setCurrentStreamFinal.

Parameters

streamEndPositionUs

The position to stop rendering at or LENGTH_UNSET to render until the end of the current stream.