onPlayerSourceStateChanged
Callback for playback state changes.
virtual void onPlayerSourceStateChanged(media::base::MEDIA_PLAYER_STATE state, media::base::MEDIA_PLAYER_REASON reason) = 0;
This callback is triggered by the SDK to report the current playback state when the media player state changes.
Parameters
- state
- Playback state. See MEDIA_PLAYER_STATE.
- reason
- Reason for the playback state change. See MEDIA_PLAYER_REASON.