ZegoMediaPlayerEventHandler
Declared in
ZegoExpressEventHandler.h
Includes
Public-Func Lists
Public-Func Docs
mediaPlayer:stateUpdate:errorCode:
-
(void)mediaPlayer
:(ZegoMediaPlayer *) mediaPlayer stateUpdate:(ZegoMediaPlayerState) state errorCode:(int) errorCode;
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 |
mediaPlayer:networkEvent:
-
(void)mediaPlayer
:(ZegoMediaPlayer *) mediaPlayer networkEvent:(ZegoMediaPlayerNetworkEvent) networkEvent;
Media player network status event callback notification.
Parameters | |
---|---|
mediaPlayer | Callback player object |
networkEvent | Network status event |
mediaPlayer:playingProgress:
-
(void)mediaPlayer
:(ZegoMediaPlayer *) mediaPlayer playingProgress:(unsigned long long) millisecond;
Media player playback progress notification.
Parameters | |
---|---|
mediaPlayer | Callback player object |
millisecond | Progress in milliseconds |