About the MediaPlayerItem class

Successfully loading a media resource creates an instance of the PTMediaPlayerItem class.

The The PTMediaPlayer starts by resolving the media resource and continues by loading the associated manifest file and parsing it (this is the asynchronous part of the resource loading process). At the end of the resource resolving process, the PTMediaPlayerItem instance is produced, so the PTMediaPlayerItem instance is basically the resolved version of a media resource.

The PSDK provides access to the newly created PTMediaPlayerItem instance through PTMediaPlayer.currentItem. Wait for the resource to be successfully loaded before accessing the media player item.