Identify whether the content is live or VOD

You might need to know whether the media content is live or VOD.

  1. Wait for Browser TVSDK to trigger an AdobePSDK.PSDKEventType.STATUS_CHANGED event with an event.status of AdobePSDK.MediaPlayerStatus.PREPARED.

    This step ensures that the media resource has successfully loaded.

    IMPORTANT

    If Browser TVSDK is not in at least the PREPARED state, attempting to call the following methods throws an IllegalStateException.

  2. Read live from the MediaPlayerItem interface:

    player.currentItem.live
    

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now