Agora Java API Reference for Android
|
Public Member Functions | |
virtual void | OnRecordAudioEncodedFrame (const uint8_t *frameBuffer, int length, const EncodedAudioFrameInfo &audioEncodedFrameInfo)=0 |
virtual void | OnPlaybackAudioEncodedFrame (const uint8_t *frameBuffer, int length, const EncodedAudioFrameInfo &audioEncodedFrameInfo)=0 |
virtual void | OnMixedAudioEncodedFrame (const uint8_t *frameBuffer, int length, const EncodedAudioFrameInfo &audioEncodedFrameInfo)=0 |
|
pure virtual |
Occurs each time the SDK receives an encoded recorded audio frame.
frameBufferThe | pointer to the audio frame buffer. |
length | The data length of the audio frame. |
audioEncodedFrameInfoThe | information of the encoded audio frame: EncodedAudioFrameInfo. |
|
pure virtual |
Occurs each time the SDK receives an encoded playback audio frame.
frameBufferThe | pointer to the audio frame buffer. |
length | The data length of the audio frame. |
audioEncodedFrameInfoThe | information of the encoded audio frame: EncodedAudioFrameInfo. |
|
pure virtual |
Occurs each time the SDK receives an encoded mixed audio frame.
frameBufferThe | pointer to the audio frame buffer. |
length | The data length of the audio frame. |
audioEncodedFrameInfoThe | information of the encoded audio frame: EncodedAudioFrameInfo. |