8#ifndef ZegoLiveRoomCallback_h
9#define ZegoLiveRoomCallback_h
77 virtual void OnKickOut(
int reason,
const char *pszRoomID,
const char* pszCustomReason=
"") = 0;
90 virtual void OnDisconnect(
int errorCode,
const char *pszRoomID) = 0;
101 virtual void OnReconnect(
int errorCode,
const char *pszRoomID) {};
139 virtual void OnCustomCommand(
int errorCode,
int requestSeq,
const char *pszRoomID) = 0;
149 virtual void OnRecvCustomCommand(
const char *pszUserId,
const char *pszUserName,
const char *pszContent,
const char *pszRoomID) = 0;
200 virtual void OnDisconnect(
int errorCode,
const char *pszRoomID,
int sendSeq) {}
Definition: LiveRoomCallback.h:206
virtual ~IAVEngineCallback()
Definition: LiveRoomCallback.h:218
virtual void OnAVEngineStop()=0
virtual void OnAVEngineStart()=0
Definition: LiveRoomCallback.h:18
virtual void OnNetworkQuality(const char *pszUserId, int txQuality, int rxQuality)
Definition: LiveRoomCallback.h:170
virtual void OnLogWillOverwrite()
Definition: LiveRoomCallback.h:35
virtual void OnDisconnect(int errorCode, const char *pszRoomID, int sendSeq)
Definition: LiveRoomCallback.h:200
virtual void OnLogUploadResult(int errorCode)
Definition: LiveRoomCallback.h:43
virtual void OnCustomCommand(int errorCode, int requestSeq, const char *pszRoomID)=0
virtual ~IRoomCallback()
Definition: LiveRoomCallback.h:202
virtual void OnStreamUpdated(ZegoStreamUpdateType type, ZegoStreamInfo *pStreamInfo, unsigned int streamCount, const char *pszRoomID)=0
virtual void OnLoginRoomResult(int errorCode, const char *pszRoomID, const ZegoStreamInfo *pStreamInfo, unsigned int streamCount, int sendSeq)
Definition: LiveRoomCallback.h:199
virtual void OnInitSDK(int nError)
Definition: LiveRoomCallback.h:25
virtual void OnStreamExtraInfoUpdated(ZegoStreamInfo *pStreamInfo, unsigned int streamCount, const char *pszRoomID)=0
virtual void OnReconnect(int errorCode, const char *pszRoomID)
Definition: LiveRoomCallback.h:101
virtual void OnRoomInfoUpdated(const ZegoRoomInfo &info, const char *pszRoomID)
Definition: LiveRoomCallback.h:157
virtual void OnTempBroken(int errorCode, const char *pszRoomID)
Definition: LiveRoomCallback.h:110
virtual void OnKickOut(int reason, const char *pszRoomID, const char *pszCustomReason="")=0
virtual void OnVideoBackendTypeChanged(AV::ZegoVideoBackendType type)
Definition: LiveRoomCallback.h:50
virtual void OnLogoutRoom(int errorCode, const char *pszRoomID)
Definition: LiveRoomCallback.h:68
virtual void OnTokenWillExpired(const char *pszRoomID, int remainTimeInSecond)
Definition: LiveRoomCallback.h:188
virtual void OnRecvCustomCommand(const char *pszUserId, const char *pszUserName, const char *pszContent, const char *pszRoomID)=0
virtual void OnLoginRoom(int errorCode, const char *pszRoomID, const ZegoStreamInfo *pStreamInfo, unsigned int streamCount)=0
virtual void OnDisconnect(int errorCode, const char *pszRoomID)=0
virtual void OnRtcStats(const AV::RtcStatsInfo &info)
Definition: LiveRoomCallback.h:180
virtual void OnFatalError(int error)
Definition: LiveRoomCallback.h:30
ZegoVideoBackendType
视频后端类型
Definition: zego-api-defines.h:1786
ZegoStreamUpdateType
Definition: RoomDefines.h:45
Definition: AVDefines.h:17
Definition: zego-api-defines.h:1902
Definition: RoomDefines.h:159
Definition: RoomDefines.h:64