io.agora.rtc

## Interface IVideoEncodedImageReceiver

-     public interface IVideoEncodedImageReceiver

  Observer interface for encoded video image receiver events.

- - ### Method Summary

    All Methods Instance Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default int` | `onEncodedVideoImageReceived(AgoraVideoEncodedImageReceiver receiver, java.nio.ByteBuffer buffer, EncodedVideoFrameInfo info)` Called when an encoded video image is received.

- - ### Method Detail

    - #### onEncodedVideoImageReceived

          default int onEncodedVideoImageReceived(AgoraVideoEncodedImageReceiver receiver,
                                                  java.nio.ByteBuffer buffer,
                                                  EncodedVideoFrameInfo info)

      Called when an encoded video image is received.
      Parameters:
        `receiver` - The encoded video image receiver instance
        `buffer` - The encoded video frame buffer
        `info` - The encoded video frame info
      Returns:
        0 on success, non-zero on failure