Options
Menu

Interface RTCSample

Sample RTC statistics. See Connection.sampleEvent

Hierarchy

Indexable

[key: string]: any

Sample RTC statistics. See Connection.sampleEvent

Index

Properties

audioInputLevel

audioInputLevel: number

Audio input level in last second. Between 0 and 32767, representing -100 to -30 dB.

audioOutputLevel

audioOutputLevel: number

Audio output level in last second. Between 0 and 32767, representing -100 to -30 dB.

bytesReceived

bytesReceived: number

Bytes received in last second.

bytesSent

bytesSent: number

Bytes sent in last second.

codecName

codecName: string

Audio codec used, either pcmu or opus

jitter

jitter: number

Packets delay variation

mos

mos: number | null

Mean opinion score, 1.0 through roughly 4.5

packetsLost

packetsLost: number

Number of packets lost in last second.

packetsLostFraction

packetsLostFraction: number

Packets lost to inbound packets ratio in last second.

packetsReceived

packetsReceived: number

Number of packets received in last second.

packetsSent

packetsSent: number

Number of packets sent in last second.

rtt

rtt: number

Round trip time, to the server back to the client.

timestamp

timestamp: number

Timestamp

totals

Totals for packets and bytes related information

Generated using TypeDoc