|
Media Player Kit v1.3.0 API Reference for Android
|
Public Member Functions | |
| AudioFrame (ByteBuffer buffer, byte[] bytes, int sampleRataHz, int bytesPerSample, int channelNums, int samplesPerChannel, long timestamp) | |
| String | toString () |
Public Attributes | |
| ByteBuffer | buffer |
| byte[] | bytes |
| int | sampleRataHz |
| int | bytesPerSample |
| int | channelNums |
| int | samplesPerChannel |
| long | timestamp |
The AudioFrame class, reporting the detailed information of the incoming audio frame.
| ByteBuffer io.agora.mediaplayer.data.AudioFrame.buffer |
The buffer of the audio data
| byte [] io.agora.mediaplayer.data.AudioFrame.bytes |
The number of bytes of the audio data
| int io.agora.mediaplayer.data.AudioFrame.sampleRataHz |
The sample rate (Hz) of the audio data
| int io.agora.mediaplayer.data.AudioFrame.bytesPerSample |
The number of bytes per sample
| int io.agora.mediaplayer.data.AudioFrame.channelNums |
The channel number
| int io.agora.mediaplayer.data.AudioFrame.samplesPerChannel |
The number of samples per channel
| long io.agora.mediaplayer.data.AudioFrame.timestamp |
The timestamp (ms) of current audio frame