LocalAudioStats

Local audio statistics.

export class LocalAudioStats {

  numChannels?: number;

  sentSampleRate?: number;

  sentBitrate?: number;

  internalCodec?: number;

  txPacketLossRate?: number;

  audioDeviceDelay?: number;

  earMonitorDelay?: number;
  
  aecEstimatedDelay?: number;
}

Properties

numChannels
Number of audio channels.
sentSampleRate
Sampling rate of the sent local audio, in Hz.
sentBitrate
Average bitrate of the sent local audio, in Kbps.
txPacketLossRate
Packet loss rate (%) from the local end to the Agora edge server before anti-packet-loss strategies are applied.
internalCodec
Internal payload type.
audioDeviceDelay
Delay of the audio device module during playback or recording, in ms.
earMonitorDelay
Ear monitoring delay (ms), i.e., the delay from microphone input to headphone output.
aecEstimatedDelay
Acoustic Echo Cancellation (AEC) delay (ms), i.e., the delay between audio playback locally and the signal captured locally as estimated by the AEC module.