Agora Java API Reference for Android
Classes | Public Types | Public Member Functions | List of all members
agora::rtc::IVideoListener Class Referenceabstract

Classes

struct  AutFeedbackData
 
struct  AutStreamData
 
struct  LocalVideoStat
 
struct  LocalVideoStreamStat
 
struct  PacketInfo
 
struct  RemoteVideoStat
 

Public Types

enum  VideoFrameType {
  KEY_FRAME = 0, DELTA_FRAME = 1, B_FRAME = 2, PISE_FRAME = 3,
  SCALABLE_DELTA_FRAME = 4
}
 
enum  VideoCodecType { VIDEO_CODEC_VP8 = 1, VIDEO_CODEC_H264 = 2, VIDEO_CODEC_EVP = 3, VIDEO_CODEC_E264 = 4 }
 
enum  VideoFeedbackPacketType {
  VIDEO_FEEDBACK_INTRA_REQUEST = 1, VIDEO_FEEDBACK_DISABLE_INTRA_FEC = 2, VIDEO_FEEDBACK_INTRA_REQUEST_QUICK = 3, VIDEO_FEEDBACK_DECODE_FB = 4,
  VIDEO_FEEDBACK_BANDWIDTH_ESTIMATION = 5, VIDEO_FEEDBACK_REQUEST_MULTISTREAM = 6, VIDEO_FEEDBACK_AUT = 7
}
 

Public Member Functions

virtual int sendVideoPacket (const PacketInfo &info)=0
 
virtual int sendVideoRtcpPacket (unsigned int uid, const void *packet, unsigned short packetLen, bool isToVos)=0
 
virtual int sendVideoRtcpFeedbackPacket (const VideoFeedbackPacketType type, unsigned int toUid, const void *packet, int packetSize)=0
 
virtual void onRemoteFirstFrameDrawed (int viewIndex, unsigned int uid, int width, int height)=0
 
virtual void onLocalFirstFrameDrawed (int width, int height)=0
 
virtual void onRemoteFirstFrameDecoded (unsigned int uid, int width, int height)=0
 
virtual void onRemoteVideoInterrupted (unsigned int uid, unsigned int elapse_time)=0
 
virtual void onVideoStat (const LocalVideoStat &localStat, RemoteVideoStat *remoteStat, int remoteCount)=0
 
virtual void onVideoProfile (unsigned int width, unsigned int height, unsigned int fps, unsigned int bitrate)=0
 
virtual void switchVideoStream (unsigned int uid, VideoStreamType stream)=0
 
virtual void onBandWidthLevelChanged (int level)=0
 
virtual void onCameraFocusAreaChanged (int x, int y, int width, int height)=0
 
virtual void onCameraExposureAreaChanged (int x, int y, int width, int height)=0
 
virtual void onVideoViewSizeChanged (int userID, int newWidth, int newHeight)
 
virtual void onVideoFrameFrozen (unsigned int uid, bool frozen)=0
 
virtual void onAppSetVideoStartBitRate (int value)=0
 
virtual int onEncodeVideoSEI (char **info, int *len)=0
 
virtual void onVideoSizeChanged (unsigned int uid, int newWidth, int newHeight, int newRotation)
 
virtual void onSendVideoPaced (bool status)=0
 
virtual void onBWELevel (int level)=0
 
virtual void onVideoRexferStatus (bool status, int target_bitrate)=0
 
virtual void onStartCaptureSuccess ()=0
 
virtual int onSendSEI (char **info, int *len, long long timeStampMs, int streamType, bool isDualStream)=0
 
virtual int onReceiveSEI (char *info, int len, unsigned int uid, long long timeStampMs)=0
 
virtual void OnVideoStreamBitrateRangeChanged (VideoStreamType type, uint32_t max_kbps, uint32_t min_kbps)=0