|
void | onFrameReceived (Object bytes, R5StreamFormat format, int width, int height) |
|
Created by davidHeimann on 4/7/17.
◆ onFrameReceived()
void com.red5pro.streaming.event.R5FrameListener.onFrameReceived |
( |
Object |
bytes, |
|
|
R5StreamFormat |
format, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
Receives decompressed video frames from the stream.
- Parameters
-
bytes | Object Depending on the requested decode option, describes the current frame that would be output to a view (if present) format(1). Array of RGB data - three bytes per pixel format(2). YUV420p - Array of byte array, length of 3 - Y, Cb (U), Cr (V) format(3). YUV420v - Array of byte array, lenght of 2 - Y, CbCr (UV) |
format | The R5StreamFormat enum value. |
width | The width of the image provided by bytes. |
height | The height of the image provided by bytes. |
The documentation for this interface was generated from the following file:
- /Users/ankitashankhdhar/Documents/Red5/Git/infrared5/red5pro-core-streaming-library/android/src/main/java/com/red5pro/streaming/event/R5FrameListener.java