Agora Java API Reference for Android

Public Member Functions | List of all members
io.agora.rtc2.video.IVideoEncodedFrameObserver Interface Reference

## Public Member Functions
boolean | onEncodedVideoFrameReceived (ByteBuffer buffer, EncodedVideoFrameInfo info)

## Detailed Description

The IVideoEncodedFrameObserver interface.

## Member Function Documentation

## ◆ onEncodedVideoFrameReceived()

boolean io.agora.rtc2.video.IVideoEncodedFrameObserver.onEncodedVideoFrameReceived | ( | ByteBuffer | buffer,
|  | EncodedVideoFrameInfo | info
| ) |  |

Occurs each time the SDK receives an encoded video image.

Parameters

  buffer | The encoded image.
  info | The encoded video image information: {EncodedVideoFrameInfo}. Whether or not to ignore the current video frame if the pre-processing fails:true: Do not ignore.false: Ignore the current video frame, and do not send it back to the SDK.