Agora C++ API Reference for All Platforms
|
Public Member Functions | |
virtual void | onFrame (const char *channelId, user_id_t remoteUid, const media::base::VideoFrame *frame)=0 |
virtual | ~IVideoFrameObserver2 () |
|
inlinevirtual |
|
pure virtual |
Occurs each time the player receives a video frame.
After registering the video frame observer, the callback occurs each time receives a video frame to report the detailed information of the video frame.
channelId | The channel name |
remoteUid | ID of the remote user. |
frame | The detailed information of the video frame. See VideoFrame. |