isAtLiveEdge
fun Player.isAtLiveEdge(positionMs: Long = currentPosition, window: Timeline.Window = Window()): Boolean
Checks if the current playback position is at the live edge of a live stream.
Return
Whether the playback position is at the live edge.
Parameters
positionMs
The playback position, in milliseconds, to check.
window
A Window to store the current window information.