Agora Java API Reference for Android
|
#include <NGIAgoraExtensionControl.h>
Classes | |
struct | Capabilities |
Public Member Functions | |
virtual void | getCapabilities (Capabilities &capabilities)=0 |
virtual agora_refptr< IVideoFrame > | createVideoFrame (IVideoFrame::Type type, IVideoFrame::Format format, int width, int height)=0 |
virtual agora_refptr< IVideoFrame > | copyVideoFrame (agora_refptr< IVideoFrame > src)=0 |
virtual void | recycleVideoCache (IVideoFrame::Type type)=0 |
virtual int | dumpVideoFrame (agora_refptr< IVideoFrame > frame, const char *file)=0 |
virtual int | log (commons::LOG_LEVEL level, const char *message)=0 |
virtual int | fireEvent (const char *id, const char *event_key, const char *event_json_str)=0 |
Interface for handling agora extensions.
|
pure virtual |
Gets the capabilities of agora extensions.
capabilities | Supported extension capabilities. |
|
pure virtual |
This method creates an IVideoFrame object with specified type, format, width and height
|
pure virtual |
Creates a new IVideoFrame object by copying from the source video frame.
|
pure virtual |
Recycles internal frame memory with a specified Video frame type.
The SDK automatically recycles deprecated video frames. However, you can still call this method to perform an immediate memory recycle.
type | Frame type to be recycled. |
|
pure virtual |
This method dumps the content of the video frame to the specified file.
|
pure virtual |
Sets log file.
level | Logging level. See #commons::LOG_LEVEL. |
message | Message to add to the log file. |