The connection statistics of the local stream.

If the local stream calls getStats successfully, this interface provides the statistics.

Hierarchy

  • LocalStreamStats

Index

Properties

accessDelay

accessDelay: string

Delay in accessing the SD-RTN (ms).

audioSendBytes

audioSendBytes: string

Bytes of the sent audio.

audioSendPackets

audioSendPackets: string

Packets of the sent audio.

audioSendPacketsLost

audioSendPacketsLost: string

Number of lost packets of the sent audio.

Note:

Safari and Firefox do not support this property.

videoSendBytes

videoSendBytes: string

Bytes of the sent video.

videoSendFrameRate

videoSendFrameRate: string

Frame rate of the sent video.

videoSendPackets

videoSendPackets: string

Packets of the sent video.

videoSendPacketsLost

videoSendPacketsLost: string

Number of lost packets of the sent video.

Optional videoSendResolutionHeight

videoSendResolutionHeight: string

Resolution height of the sent video.

Optional videoSendResolutionWidth

videoSendResolutionWidth: string

Resolution width of the sent video.