Red5Pro Android Client SDK

 10.0.0
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

◆ processAudioPlayback()

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.

Parameters
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: