Agora Java API Reference for Android

Public Member Functions | List of all members
io.agora.mediaplayer.IMediaPlayerVideoFrameObserver Interface Reference

## Public Member Functions
void | onFrame (VideoFrame frame)
| Occurs each time the player receives a video frame. More...

## Member Function Documentation

## ◆ onFrame()

void io.agora.mediaplayer.IMediaPlayerVideoFrameObserver.onFrame | ( | VideoFrame | frame | ) |

Occurs each time the player receives a video 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 VideoFrame.