is Live Stream
Checks whether the current video source is a live stream.
This helps differentiate between VOD and live sources, which can influence UI behavior (e.g., hiding the seek bar for live streams).
Example usage:
if (player.isLiveStream()) {
Log.d("Client", "Live stream detected, disabling seek bar");
seekBar.setEnabled(false);
} else {
Log.d("Client", "VOD source, seek bar enabled");
seekBar.setEnabled(true);
}
Content copied to clipboard
Return
true if the source is a live stream, false otherwise.