Red5Pro Android Client SDK

Core SDK for Android
com.red5pro.streaming.event.R5PlaybackAudioHandler Interface Reference

Public Member Functions

void processAudioPlayback (short[] bytes, int size, double streamTimeMilliSeconds)

Member Function Documentation

void com.red5pro.streaming.event.R5PlaybackAudioHandler.processAudioPlayback ( short[]  bytes,
int  size,
double  streamTimeMilliSeconds 

Receives decompressed audio samples from the stream to analyse or change them before they reach the speakers.

bytesArray of samples of raw audio. This serves as both input and output, any modification to the array will modify the audio sent to the speakers
sizeThe number of samples in the array - analogous to using bytes.length
streamTimeMilliSecondsThe time since the stream began playing audio, in milliseconds

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