#include <IAgoraMediaEngine.h>
◆ ~IVideoEncodedFrameObserver()
virtual agora::media::IVideoEncodedFrameObserver::~IVideoEncodedFrameObserver |
( |
| ) |
|
|
inlinevirtual |
◆ onVideoEncodedFrame()
virtual bool agora::media::IVideoEncodedFrameObserver::onVideoEncodedFrame |
( |
const VideoEncodedFrame & |
videoEncodedFrame | ) |
|
|
pure virtual |
Gets the local encoded video frame.
- Since
- v3.4.5
After you successfully register the local encoded video frame observer, the SDK triggers this callback each time a video frame is received. You can get the local encoded video frame in videoEncodedFrame
and then process the video data according to your scenario. After processing, you can use videoEncodedFrame
to pass the processed video data back to the SDK.
- Parameters
-
- Returns
- true: Reserved for future use.
- false: Reserved for future use.