Red5Pro Android Client SDK

 10.0.0
Core SDK for Android
com.red5pro.streaming.event.R5FrameListener Interface Reference

Public Member Functions

void onFrameReceived (Object bytes, R5StreamFormat format, int width, int height)
 

Detailed Description

Created by davidHeimann on 4/7/17.

Member Function Documentation

◆ onFrameReceived()

void com.red5pro.streaming.event.R5FrameListener.onFrameReceived ( Object  bytes,
R5StreamFormat  format,
int  width,
int  height 
)

Receives decompressed video frames from the stream.

Parameters
bytesObject 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)
formatThe R5StreamFormat enum value.
widthThe width of the image provided by bytes.
heightThe height of the image provided by bytes.

The documentation for this interface was generated from the following file: