Agora Java API Reference for Android
|
#include <NGIAgoraMediaNode.h>
Public Member Functions | |
virtual int | sendVideoFrame (const media::base::ExternalVideoFrame &videoFrame)=0 |
![]() | |
virtual void | AddRef () const =0 |
virtual RefCountReleaseStatus | Release () const =0 |
virtual bool | HasOneRef () const =0 |
The IVideoFrameSender
class.
In scenarios involving custom video sources, you can use this class to send the video data directly to a video track. If the video track is disabled, the sent data will be automatically discarded.
|
pure virtual |
Sends the video frame to the video track.
videoFrame | The reference to the video frame to send. |