Skip to navigation

LocalVideoLayerStats (interface)

Web SDK v5 API reference
View as Markdown

Statistics

Statistics for the video stream layers.

Properties

bytesSent

bytesSent: number

Total number of bytes sent within a video stream.

fps

fps: null | number

The number of complete frames in the last second.

frameHeight

frameHeight: null | number

Video frame height sent within a video stream at the moment of the statistics collection.

frameWidth

frameWidth: null | number

Video frame width sent within a video stream at the moment of the statistics collection.

packetsLost

packetsLost: null | number

Total number of packets lost for the outgoing video layer as reported by the remote peer.

Since: 5.4.0

packetsSent

packetsSent: number

Total number of packets sent within a video stream.

qualityLimitationReason

qualityLimitationReason: null | QualityLimitationReason

The reason why video quality is limited.

Returns null if the property is not provided by the browser.

Since: 5.3.0

rid

rid: null | SimulcastLayerRid

Encoding layer identifier.

Not supported in the Firefox browser (the value is null).

Returns null for calls and if the simulcast feature is disabled for a conference.