Show Menu
TOPICS×

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.
    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