9#ifndef LiveRoomCallback_Player_h
10#define LiveRoomCallback_Player_h
56 virtual void OnPlayQualityUpdate(
const char* pszStreamID,
int quality,
double videoFPS,
double videoKBS) {};
80 virtual void OnJoinLiveResponse(
int result,
const char* pszFromUserId,
const char* pszFromUserName,
int seq) {};
105 virtual void OnInviteJoinLiveRequest(
int seq,
const char* pszFromUserId,
const char* pszFromUserName,
const char* pszRoomID) {};
217 virtual void OnSnapshot(
void *pImage,
const char* pszStreamID) {};
Definition: LiveRoomCallback-Player.h:20
virtual void OnPlayStatsUpdate(AV::ZegoPlayStats stats)
Definition: LiveRoomCallback-Player.h:232
virtual void OnRecvEndJoinLiveCommand(const char *pszFromUserId, const char *pszFromUserName, const char *pszRoomID)
Definition: LiveRoomCallback-Player.h:92
virtual void OnRemoteSpeakerStatusUpdate(const char *streamID, int status, int reason)
Definition: LiveRoomCallback-Player.h:160
virtual void OnRecvRemoteAudioFirstFrame(const char *pStreamID)
Definition: LiveRoomCallback-Player.h:170
virtual void OnPlayStateUpdate(int stateCode, const char *pszStreamID)=0
virtual void OnVideoSizeChanged(const char *pStreamID, int nWidth, int nHeight)
Definition: LiveRoomCallback-Player.h:121
virtual void OnPlayQualityUpdate(const char *pszStreamID, int quality, double videoFPS, double videoKBS)
Definition: LiveRoomCallback-Player.h:56
virtual void OnRecvRemoteVideoFirstFrame(const char *pStreamID)
Definition: LiveRoomCallback-Player.h:184
virtual void OnSnapshot(void *pImage, const char *pszStreamID)
Definition: LiveRoomCallback-Player.h:217
virtual void OnPlayQualityUpdate(const char *pszStreamID, ZegoPlayQuality playQuality)
Definition: LiveRoomCallback-Player.h:67
virtual void OnVideoDecoderError(AV::ZegoVideoCodecAvc codecID, int errorCode, const char *pszStreamID)
Definition: LiveRoomCallback-Player.h:225
virtual ~ILivePlayerCallback()
Definition: LiveRoomCallback-Player.h:245
virtual void OnRemoteCameraStatusUpdate(const char *pStreamID, int nStatus, int nReason)
Definition: LiveRoomCallback-Player.h:134
virtual void OnRemoteMicStatusUpdate(const char *pStreamID, int nStatus, int nReason)
Definition: LiveRoomCallback-Player.h:147
virtual void OnPlayVideoSuperResolutionUpdate(const char *streamID, int state, int errorCode)
Definition: LiveRoomCallback-Player.h:243
virtual void OnInviteJoinLiveRequest(int seq, const char *pszFromUserId, const char *pszFromUserName, const char *pszRoomID)
Definition: LiveRoomCallback-Player.h:105
virtual void OnRenderRemoteVideoFirstFrame(const char *pStreamID)
Definition: LiveRoomCallback-Player.h:194
virtual void OnJoinLiveResponse(int result, const char *pszFromUserId, const char *pszFromUserName, int seq)
Definition: LiveRoomCallback-Player.h:80
virtual void OnPlaySwitched(const char *pszStreamID, int error)
Definition: LiveRoomCallback-Player.h:42
virtual void OnRenderRemoteCameraVideoFirstFrame(const char *pStreamID)
Definition: LiveRoomCallback-Player.h:206
ZegoVideoCodecAvc
Definition: zego-api-defines.h:93
Definition: AVDefines.h:17
Definition: zego-api-defines.h:963
Definition: LiveRoomDefines.h:102