Audio statistics of the local stream.

If getLocalAudioStats is called successfully, the LocalAudioStatsMap provides the UID and LocalAudioStats of the local user.


  • LocalAudioStats



Optional CodecType

CodecType: string

Encoding type of the sent audio.

  • "1": Opus.
  • "2": AAC.

Optional MuteState

MuteState: string

Whether the audio is muted or not.

  • "1": Muted.
  • "0": Unmuted.

Optional RecordingLevel

RecordingLevel: string

Energy level of the captured audio.

Optional SamplingRate

SamplingRate: string

Sampling rate, in kHz.

Optional SendBitrate

SendBitrate: string

Bitrate of the sent audio, in Kbps.

Optional SendLevel

SendLevel: string

Energy level of the sent audio.