Identify whether the content is live or VOD

You might need to know whether the media content is live or video on demand (VOD).

  1. Ensure that the player is in at least the PREPARED state.

  2. Determine whether the MediaPlayerItem content is live ( true) or VOD ( false).

    boolean isLive();

On this page