IMediaPlayerVideoFrameObserver

The video frame observer for the media player.

You can call registerVideoFrameObserver to register or unregister the IMediaPlayerVideoFrameObserver object.

onFrame

Occurs each time the player receives a video frame.

void onFrame(VideoFrame frame);

After registering the video frame observer, the callback occurs every time the player receives a video frame, reporting the detailed information of the video frame.

Parameters

frame

The video frame information. See WebRTC VideoFrame.