9#ifndef LiveRoomCallback_Publisher_h
10#define LiveRoomCallback_Publisher_h
39 virtual void OnJoinLiveRequest(
int seq,
const char *pszFromUserId,
const char *pszFromUserName,
const char *pszRoomID) {}
58 virtual void OnEndJoinLive(
int result,
int seq,
const char *pszRoomID) {}
Definition: LiveRoomCallback-Publisher.h:20
virtual void OnEndJoinLive(int result, int seq, const char *pszRoomID)
Definition: LiveRoomCallback-Publisher.h:58
virtual void OnPreviewSnapshot(void *pImage)
Definition: LiveRoomCallback-Publisher.h:94
virtual void OnJoinLiveRequest(int seq, const char *pszFromUserId, const char *pszFromUserName, const char *pszRoomID)
Definition: LiveRoomCallback-Publisher.h:39
virtual void OnVideoObjectSegmentationStateChanged(AV::ZegoObjectSegmentationState state, AV::PublishChannelIndex index, int errorCode)
Definition: LiveRoomCallback-Publisher.h:181
virtual void OnCaptureVideoFirstFrame()
Definition: LiveRoomCallback-Publisher.h:119
virtual void OnPreviewVideoFirstFrame(AV::PublishChannelIndex idx)
Definition: LiveRoomCallback-Publisher.h:126
virtual void OnSendLocalAudioFirstFrame(AV::PublishChannelIndex idx)
Definition: LiveRoomCallback-Publisher.h:131
virtual void OnVideoEncoderError(AV::ZegoVideoCodecAvc codecID, int errorCode, AV::PublishChannelIndex index)
Definition: LiveRoomCallback-Publisher.h:150
virtual void OnLocalCameraStatusUpdate(AV::PublishChannelIndex index, int nStatus, int nReason)
Definition: LiveRoomCallback-Publisher.h:159
virtual void OnPublishQualityUpdate(const char *pszStreamID, ZegoPublishQuality publishQuality)
Definition: LiveRoomCallback-Publisher.h:76
virtual void OnFaceDetectInfo(const AV::ZegoFaceDetectionInfo &info, AV::PublishChannelIndex idx)
Definition: LiveRoomCallback-Publisher.h:197
virtual void OnInviteJoinLiveResponse(int result, const char *pszFromUserId, const char *pszFromUserName, int seq)
Definition: LiveRoomCallback-Publisher.h:49
virtual void OnVideoEncoderChanged(AV::ZegoVideoCodecAvc fromCodecID, AV::ZegoVideoCodecAvc toCodecID, AV::PublishChannelIndex index)
Definition: LiveRoomCallback-Publisher.h:172
virtual ~ILivePublisherCallback()
Definition: LiveRoomCallback-Publisher.h:199
virtual void OnDummyCaptureImagePathError(const char *path, AV::PublishChannelIndex idx)
Definition: LiveRoomCallback-Publisher.h:189
virtual void OnUpdatePublishTargetState(int errorCode, const char *streamID, int seq)
Definition: LiveRoomCallback-Publisher.h:114
virtual void OnCaptureVideoFirstFrame(AV::PublishChannelIndex idx)
Definition: LiveRoomCallback-Publisher.h:121
virtual void OnPublishStateUpdate(int stateCode, const char *pszStreamID, const ZegoPublishingStreamInfo &oStreamInfo)=0
virtual void OnPreviewSnapshot(AV::PublishChannelIndex index, void *pImage)
Definition: LiveRoomCallback-Publisher.h:96
virtual void OnCaptureAudioFirstFrame()
Definition: LiveRoomCallback-Publisher.h:141
virtual void OnPublishQulityUpdate(const char *pszStreamID, int quality, double videoFPS, double videoKBS)
Definition: LiveRoomCallback-Publisher.h:68
virtual void OnCaptureVideoSizeChanged(int nWidth, int nHeight)
Definition: LiveRoomCallback-Publisher.h:85
virtual void OnSendLocalVideoFirstFrame(AV::PublishChannelIndex idx)
Definition: LiveRoomCallback-Publisher.h:136
virtual void OnCaptureVideoSizeChanged(AV::PublishChannelIndex index, int nWidth, int nHegith)
Definition: LiveRoomCallback-Publisher.h:87
virtual void OnRelayCDNStateUpdate(const char *streamID, AV::ZegoStreamRelayCDNInfo *statesInfo, unsigned int statesInfoCount)
Definition: LiveRoomCallback-Publisher.h:105
ZegoObjectSegmentationState
Definition: zego-api-defines.h:1649
PublishChannelIndex
Definition: zego-api-defines.h:976
ZegoVideoCodecAvc
Definition: zego-api-defines.h:93
Definition: AVDefines.h:17
Definition: zego-api-defines.h:1888
Definition: zego-api-defines.h:242
Definition: RoomDefines.h:96
Definition: LiveRoomDefines.h:40