LocalAudioStatsReport (interface)
Interface that represents statistics for all active outgoing audio streams.
Properties
Properties
audioLevel
audioLevel: null | number
Audio level value is in the 0..1 range (linear), where 1.0 represents 0 dBov, 0 represents silence, and 0.5 represents approximately 6 dBSPL change in the sound pressure level from 0 dBov.
Not supported in the Safari browser below 17.4 and the Firefox browser.
bytesSent
bytesSent: number
Total number of bytes sent within an audio stream.
codec
codec: null | string
Audio codec name for an audio stream.
packetsLost
packetsLost: null | number
Total number of packets lost for the outgoing audio stream as reported by the remote peer.
Since: 5.4.0
packetsSent
packetsSent: number
Total number of packets sent within an audio stream.
streamType
streamType: StreamType.Audio | StreamType.ScreenAudio
Local audio stream type.