registerVideoFrameObserver abstract method
Registers a video frame observer.
You need to implement a MediaPlayerVideoFrameObserver class in this method and register its callbacks as needed based on your scenario. Once the video frame observer is successfully registered, the SDK triggers the registered callbacks upon capturing each video frame.
observerVideo frame observer that monitors the reception of each video frame. See MediaPlayerVideoFrameObserver.
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 registerVideoFrameObserver(MediaPlayerVideoFrameObserver observer);