ZEGO::EXPRESS::IZegoMediaPlayerEventHandler

Declared in ZegoExpressEventHandler.h

Includes

Public-Func Lists

Public-Func Docs

onMediaPlayerStateUpdate

public void onMediaPlayerStateUpdate ( *IZegoMediaPlayer, ZegoMediaPlayerState, int)

Media player playback status callback notification.

Parameters
mediaPlayer Callback player object
state Media player status
errorCode Error code, please refer to the common error code document [] for details

onMediaPlayerNetworkEvent

public void onMediaPlayerNetworkEvent ( *IZegoMediaPlayer, ZegoMediaPlayerNetworkEvent)

Media player network status event callback notification.

Parameters
mediaPlayer Callback player object
networkEvent Network status event

onMediaPlayerPlayingProgress

public void onMediaPlayerPlayingProgress ( *IZegoMediaPlayer, unsigned long long)

Media player playback progress notification.

Parameters
mediaPlayer Callback player object
millisecond Progress in milliseconds