Data Structures

struct  VideoFrame
 

Public Types

enum  VIDEO_FRAME_TYPE { FRAME_TYPE_YUV420 = 0 }
 

Public Member Functions

virtual bool onCaptureVideoFrame (VideoFrame &videoFrame)=0
 
virtual bool onRenderVideoFrame (unsigned int uid, VideoFrame &videoFrame)=0
 

Member Enumeration Documentation

◆ VIDEO_FRAME_TYPE

Enumerator
FRAME_TYPE_YUV420 

Member Function Documentation

◆ onCaptureVideoFrame()

virtual bool agora::media::IVideoFrameObserver::onCaptureVideoFrame ( VideoFrame videoFrame)
pure virtual

获得采集的视频。

Parameters
videoFrameVideoFrame

◆ onRenderVideoFrame()

virtual bool agora::media::IVideoFrameObserver::onRenderVideoFrame ( unsigned int  uid,
VideoFrame videoFrame 
)
pure virtual

获得其他用户的视频。

Parameters
uid指定用户的用户 ID。
videoFrameVideoFrame