Agora C++ API Reference for All Platforms

Public Member Functions | List of all members
agora::rtc::IVideoFrameSenderEx Class Referenceabstract

Inherits agora::rtc::IVideoFrameSender.

## Public Member Functions
virtual | ~IVideoFrameSenderEx ()
virtual int | sendVideoFrame (const webrtc::VideoFrame &videoFrame)=0
virtual void | RegisterVideoFrameCallback (::rtc::VideoSinkInterface< webrtc::VideoFrame > *dataCallback)=0
virtual void | DeRegisterVideoFrameCallback ()=0
virtual int | sendVideoFrameLLApiInternal (const media::base::ExternalVideoFrame &videoFrame)=0
virtual int | getVideoFrame (webrtc::VideoFrame &videoFrame)=0
virtual bool | pushMode ()=0
virtual int | sendVideoFrame (const media::base::ExternalVideoFrame &videoFrame, aosl_ref_t ares=AOSL_REF_INVALID)=0
Public Member Functions inherited from agora::rtc::IVideoFrameSender
virtual int | sendVideoFrame (const media::base::ExternalVideoFrame &videoFrame, aosl_ref_t ares=AOSL_REF_INVALID)=0
Public Member Functions inherited from agora::RefCountInterface
virtual void | AddRef () const =0
virtual RefCountReleaseStatus | Release () const =0
virtual bool | HasOneRef () const =0

## Additional Inherited Members
Protected Member Functions inherited from agora::rtc::IVideoFrameSender
| ~IVideoFrameSender ()
Protected Member Functions inherited from agora::RefCountInterface
virtual | ~RefCountInterface ()

## Constructor & Destructor Documentation

## ◆ ~IVideoFrameSenderEx()

virtual agora::rtc::IVideoFrameSenderEx::~IVideoFrameSenderEx | ( |  | ) |
| inline virtual

## Member Function Documentation

## ◆ sendVideoFrame() [1/2]

virtual int agora::rtc::IVideoFrameSenderEx::sendVideoFrame | ( | const webrtc::VideoFrame & | videoFrame | ) |
| pure virtual

## ◆ RegisterVideoFrameCallback()

virtual void agora::rtc::IVideoFrameSenderEx::RegisterVideoFrameCallback | ( | ::rtc::VideoSinkInterface< webrtc::VideoFrame > * | dataCallback | ) |
| pure virtual

## ◆ DeRegisterVideoFrameCallback()

virtual void agora::rtc::IVideoFrameSenderEx::DeRegisterVideoFrameCallback | ( |  | ) |
| pure virtual

## ◆ sendVideoFrameLLApiInternal()

virtual int agora::rtc::IVideoFrameSenderEx::sendVideoFrameLLApiInternal | ( | const media::base::ExternalVideoFrame & | videoFrame | ) |
| pure virtual

## ◆ getVideoFrame()

virtual int agora::rtc::IVideoFrameSenderEx::getVideoFrame | ( | webrtc::VideoFrame & | videoFrame | ) |
| pure virtual

## ◆ pushMode()

virtual bool agora::rtc::IVideoFrameSenderEx::pushMode | ( |  | ) |
| pure virtual

## ◆ sendVideoFrame() [2/2]

virtual int agora::rtc::IVideoFrameSender::sendVideoFrame

Sends the video frame to the video track.

Parameters

  videoFrame | The reference to the video frame to send.

Returns
  - 0: Success.
  - < 0: Failure.