Media Player Kit v1.3.0 API Reference for Android
|
Public Member Functions | |
VideoFrame (int format, ByteBuffer buffer, byte[] bytes, int stride, int height, int width, int rotation, long timestamp) | |
String | toString () |
Public Attributes | |
int | format |
ByteBuffer | buffer |
byte[] | bytes |
int | stride |
int | height |
int | width |
int | rotation |
long | timestamp |
The VideoFrame class, reporting the detailed information of the incoming video frame.
int io.agora.mediaplayer.data.VideoFrame.format |
The pixel format of the video frame.
ByteBuffer io.agora.mediaplayer.data.VideoFrame.buffer |
The buffer of the video data.
byte [] io.agora.mediaplayer.data.VideoFrame.bytes |
The number of bytes of the video data.
int io.agora.mediaplayer.data.VideoFrame.stride |
The line spacing (pixel) of the incoming video frame.
int io.agora.mediaplayer.data.VideoFrame.height |
The height (pixel) of the video.
int io.agora.mediaplayer.data.VideoFrame.width |
The width (pixel) of the video.
int io.agora.mediaplayer.data.VideoFrame.rotation |
The clockwise rotation of the incoming video frame.
Optional values: 0, 90, 180, or 270. The default value is 0.
long io.agora.mediaplayer.data.VideoFrame.timestamp |
The timestamp (ms) of the video frame.