LocalAudioStats
Local audio statistics.
export class LocalAudioStats {
numChannels?: number;
sentSampleRate?: number;
sentBitrate?: number;
internalCodec?: number;
txPacketLossRate?: number;
audioDeviceDelay?: number;
earMonitorDelay?: number;
aecEstimatedDelay?: number;
}
Attributes
- numChannels
- The number of audio channels.
- sentSampleRate
- The sampling rate (Hz) of sending the local user's audio stream.
- sentBitrate
- The average bitrate (Kbps) of sending the local user's audio stream.
- txPacketLossRate
- The packet loss rate (%) from the local client to the Agora server before applying the anti-packet loss strategies.
- internalCodec
- The internal payload codec.
- audioDeviceDelay
- The audio device module delay (ms) when playing or recording audio.
- earMonitorDelay
- The ear monitor delay (ms), which is the delay from microphone input to headphone output.
- aecEstimatedDelay
- Acoustic echo cancellation (AEC) module estimated delay (ms), which is the signal delay between when audio is played locally before being locally captured.