You might need to know whether the media content is live or VOD.
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
.
Read live
from the MediaPlayerItem
interface:
player.currentItem.live