Use the notification system

The notification portion of the PSDK library allows you to create a logging and debugging system that can be useful for diagnostic and validation purposes.

MediaPlayerNotification notifications provide information about player status as information, warnings, or errors. Your application can retrieve data that describes what caused the error or warning. Errors that stop the playback of the video also cause a change of the state of the player.

Note:

The PSDK also uses notification to refer to MediaPlayer event notifications, which the PSDK dispatches to provide information about player activity. You implement event listeners to capture and respond to those. Many event notifications also cause MediaPlayerNotification status notificatons.