registerVideoEncodedFrameObserver abstract method
Registers a receiver object for the encoded video image.
If you only want to observe encoded video frames (such as H.264 format) without decoding and rendering the video, Agora recommends that you implement one VideoEncodedFrameObserver class through this method. Call this method before joining a channel.
observerThe video frame observer object. 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.
Implementation
void registerVideoEncodedFrameObserver(VideoEncodedFrameObserver observer);