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 network resilience.
internalCodec
Internal payload type.
audioDeviceDelay
Delay (ms) of the audio device module during audio playback or recording.
earMonitorDelay
Ear monitoring delay (ms), i.e., the delay from microphone input to headphone output.
aecEstimatedDelay
Echo cancellation delay (ms), i.e., the delay estimated by the Acoustic Echo Cancellation (AEC) module between audio playback and the signal captured locally.