Media Player Kit v1.3.0 API Reference for Android
io.agora.mediaplayer.VideoFrameObserver Interface Reference

Public Member Functions

void onFrame (VideoFrame videoFrame)
 

Detailed Description

The VideoFrameObserver interface.

Member Function Documentation

◆ onFrame()

void io.agora.mediaplayer.VideoFrameObserver.onFrame ( VideoFrame  videoFrame)

Occurs when each time the player receives a video frame.

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

Parameters
videoFrameThe detailed information of the video frame. See VideoFrame.