public interface IVideoEncodedFrameObserver
| Modifier and Type | Method and Description |
|---|---|
default int |
onEncodedVideoFrame(AgoraVideoEncodedFrameObserver observer,
int userId,
java.nio.ByteBuffer buffer,
EncodedVideoFrameInfo info)
Note: To improve data transmission efficiency, the buffer of the frame object
is a DirectByteBuffer.
|
default int onEncodedVideoFrame(AgoraVideoEncodedFrameObserver observer, int userId, java.nio.ByteBuffer buffer, EncodedVideoFrameInfo info)
Utils.getBytes(ByteBuffer).observer - the video encoded frame observeruserId - the user idbuffer - the video encoded frame bufferinfo - the video encoded frame info