Agora RTC Objective-C API Reference
Refactor
|
Inherits RefCountInterface.
Inherited by IVideoFilter.
Public Member Functions | |
virtual bool | adaptVideoFrame (const media::base::VideoFrame &capturedFrame, media::base::VideoFrame &adaptedFrame)=0 |
The IVideoFilterBase
class is the base class for video filters. You can use this class to implement your own filter and add the filter to a video track.
|
pure virtual |
Adapts the video frame.
capturedFrame | The reference to the captured video frame that you want to adapt. |
adaptedFrame | The reference to the adapted video frame. |
true
: Success.false
: Failure, if, for example, the IVideofilter
object drops the video frame. Implemented in IExtensionVideoFilter.
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |