Agora Java API Reference for Android
Public Member Functions | List of all members
agora::rtc::IExtensionDecoderCallback Class Referenceabstract

Public Member Functions

virtual void onDecodedFrame (agora_refptr< IVideoFrame > frame, const char *extended_info_json)=0
 
virtual void printLog (commons::LOG_LEVEL level, const char *format,...)=0
 

Member Function Documentation

◆ onDecodedFrame()

virtual void agora::rtc::IExtensionDecoderCallback::onDecodedFrame ( agora_refptr< IVideoFrame frame,
const char *  extended_info_json 
)
pure virtual

Called when a video frame has been successfully decoded.

Parameters
frameA reference to the decoded video frame.
extended_info_jsonA JSON formatted string containing additional information about the decoded frame.

◆ printLog()

virtual void agora::rtc::IExtensionDecoderCallback::printLog ( commons::LOG_LEVEL  level,
const char *  format,
  ... 
)
pure virtual

Logs messages at various log levels.

Parameters
levelThe log level indicating the severity of the message (e.g., INFO, WARNING, ERROR).
formatA format string for the log message, similar to printf formatting.
...Additional arguments to format the log message.