The callback triggered when the network status of the media player changes.
Unsupported platform: Web
{ZegoMediaPlayer} mediaPlayer - MediaPlayer instance
{ZegoMediaPlayerNetworkEvent} networkEvent - Network status event
The callback to report the current playback progress of the media player.
{number} millisecond - Progress in milliseconds
The callback triggered when the state of the media player changes.
{ZegoMediaPlayerState} state - Media player status
{number} errorCode - Error code, please refer to the Error Codes https://doc-en.zego.im/en/308.html for details
Generated using TypeDoc
The callback triggered when the network status of the media player changes.
Unsupported platform: Web
{ZegoMediaPlayer} mediaPlayer - MediaPlayer instance
{ZegoMediaPlayerNetworkEvent} networkEvent - Network status event