Agora Java API Reference for Android
|
Public Member Functions | |
abstract void | onRecordAudioEncodedFrame (ByteBuffer buffer, int samplesPerChannel, int channels, int samplesPerSec, int codecType) |
abstract void | onPlaybackAudioEncodedFrame (ByteBuffer buffer, int samplesPerChannel, int channels, int samplesPerSec, int codecType) |
abstract void | onMixedAudioEncodedFrame (ByteBuffer buffer, int samplesPerChannel, int channels, int samplesPerSec, int codecType) |
|
abstract |
Occurs when the recorded audio frame is received.
buffer | The audio frame payload. |
samplesPerChannel | The samples per channel. |
channels | The number of audio channels. If the channel uses stereo, the data is interleaved.
|
samplesPerSec | The number of samples per channel per second in the audio frame. |
codecType | The codec type. |
|
abstract |
Occurs when the playback audio frame is received.
buffer | The audio frame payload. |
samplesPerChannel | The samples per channel. |
channels | The number of audio channels. If the channel uses stereo, the data is interleaved.
|
samplesPerSec | The number of samples per channel per second in the audio frame. |
codecType | The codec type. |
|
abstract |
Occurs when the mixed playback audio frame is received.
buffer | The audio frame payload. |
samplesPerChannel | The samples per channel. |
channels | The number of audio channels. If the channel uses stereo, the data is interleaved.
|
samplesPerSec | The number of samples per channel per second in the audio frame. |
codecType | The codec type. |