Server Gateway SDK v3.7.200.21 for Linux Java
|
Public Member Functions | |
LocalAudioTrackStats () | |
LocalAudioTrackStats (int sourceId, int bufferedPcmDataListSize, int missedAudioFrames, int sentAudioFrames, int pushedAudioFrames, int droppedAudioFrames, int enabled) | |
int | getSourceId () |
void | setSourceId (int sourceId) |
int | getBufferedPcmDataListSize () |
void | setBufferedPcmDataListSize (int bufferedPcmDataListSize) |
int | getMissedAudioFrames () |
void | setMissedAudioFrames (int missedAudioFrames) |
int | getSentAudioFrames () |
void | setSentAudioFrames (int sentAudioFrames) |
int | getPushedAudioFrames () |
void | setPushedAudioFrames (int pushedAudioFrames) |
int | getDroppedAudioFrames () |
void | setDroppedAudioFrames (int droppedAudioFrames) |
int | getEnabled () |
void | setEnabled (int enabled) |
Statistics of a local audio track.
io.agora.rtc.LocalAudioTrackStats.LocalAudioTrackStats | ( | ) |
io.agora.rtc.LocalAudioTrackStats.LocalAudioTrackStats | ( | int | sourceId, |
int | bufferedPcmDataListSize, | ||
int | missedAudioFrames, | ||
int | sentAudioFrames, | ||
int | pushedAudioFrames, | ||
int | droppedAudioFrames, | ||
int | enabled | ||
) |
Constructor.
sourceId | The source ID of the local audio track. |
bufferedPcmDataListSize | The number of audio frames in the buffer. When sending PCM data, the PCM data is first stored in a buffer area. Then a thread gets audio frames from the buffer and sends PCM data. |
missedAudioFrames | The number of audio frames missed by the thread that gets PCM data from the buffer. |
sentAudioFrames | The number of audio frames sent by the thread that gets PCM data from the buffer. |
pushedAudioFrames | The number of audio frames sent by the user. |
droppedAudioFrames | The number of dropped audio frames caused by insufficient buffer size. |
enabled | Whether the local audio track is enabled. |
int io.agora.rtc.LocalAudioTrackStats.getBufferedPcmDataListSize | ( | ) |
int io.agora.rtc.LocalAudioTrackStats.getDroppedAudioFrames | ( | ) |
int io.agora.rtc.LocalAudioTrackStats.getEnabled | ( | ) |
int io.agora.rtc.LocalAudioTrackStats.getMissedAudioFrames | ( | ) |
int io.agora.rtc.LocalAudioTrackStats.getPushedAudioFrames | ( | ) |
int io.agora.rtc.LocalAudioTrackStats.getSentAudioFrames | ( | ) |
int io.agora.rtc.LocalAudioTrackStats.getSourceId | ( | ) |
void io.agora.rtc.LocalAudioTrackStats.setBufferedPcmDataListSize | ( | int | bufferedPcmDataListSize | ) |
void io.agora.rtc.LocalAudioTrackStats.setDroppedAudioFrames | ( | int | droppedAudioFrames | ) |
void io.agora.rtc.LocalAudioTrackStats.setEnabled | ( | int | enabled | ) |
void io.agora.rtc.LocalAudioTrackStats.setMissedAudioFrames | ( | int | missedAudioFrames | ) |
void io.agora.rtc.LocalAudioTrackStats.setPushedAudioFrames | ( | int | pushedAudioFrames | ) |
void io.agora.rtc.LocalAudioTrackStats.setSentAudioFrames | ( | int | sentAudioFrames | ) |
void io.agora.rtc.LocalAudioTrackStats.setSourceId | ( | int | sourceId | ) |