LocalAudioStats
LocalAudioStats provides statistics of the local audio.
public static class LocalAudioStats {
public int numChannels;
public int sentSampleRate;
public int sentBitrate;
public int internalCodec;
public int txPacketLossRate;
public int audioDeviceDelay;
public int audioPlayoutDelay;
public int earMonitorDelay;
public int aecEstimatedDelay;
}
Properties
- numChannels
- Number of audio channels.
- sentSampleRate
- Sample rate (Hz) of the audio stream sent by the local user.
- sentBitrate
- Average bitrate (Kbps) of the audio stream sent by the local user.
- internalCodec
- Payload codec used internally.
- txPacketLossRate
- Audio packet loss rate (%) from the local client to the Agora server before applying anti-packet-loss strategies.
- audioDeviceDelay
- Delay (ms) of the audio device module when playing or capturing audio.
- audioPlayoutDelay
- Delay (ms) in audio playback on the device.
- earMonitorDelay
- Ear monitoring delay in milliseconds, referring to the delay from microphone input to headphone output.
- aecEstimatedDelay
- Estimated delay (ms) by the Acoustic Echo Cancellation (AEC) module, referring to the signal delay from local audio playback to local audio capture.