getAudioStats

Microphone statistics, as a single object — not an array, unlike getVideoStats, because there is only ever one mic track.

Carries the non-video fields of a getVideoStats entry: codec, bitrate, packetsLost, totalPackets, jitter, rtt. Same 400 ms refresh.

Return

the stats, or null when there is no audio stream, no room, or the fetch failed.