Red5Pro Android Client SDK

 10.0.0
Core SDK for Android
com.red5pro.streaming.source.R5Microphone Class Reference

Public Member Functions

void processData (byte[] samples, double streamtimeMill)
 
int getBitRate ()
 
void setBitRate (int rate)
 

Member Function Documentation

◆ processData()

void com.red5pro.streaming.source.R5Microphone.processData ( byte[]  samples,
double  streamtimeMill 
)
inline

This is called before encoding with audio captured from the mic. You can overwrite it.

Parameters
samples
streamtimeMillthe audio/video sample time in milliseconds from the start.

◆ setBitRate()

void com.red5pro.streaming.source.R5Microphone.setBitRate ( int  rate)
inline

Bitrate for microphone in kbps

Parameters
raterate for microphone to publish at

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