registerVideoEncodedFrameObserver abstract method
Registers a video frame observer for encoded video images.
If you only want to observe encoded video frames (such as H.264 format) without decoding and rendering, Agora recommends that you register a VideoEncodedFrameObserver class using this method. This method must be called before joining a channel.
observerVideo frame observer. See VideoEncodedFrameObserver.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions.
Implementation
void registerVideoEncodedFrameObserver(VideoEncodedFrameObserver observer);