Class: Stats

Constructor

Stats

new Stats()

Properties

bufferingTime

(number or undefined)

The total time spent in a buffering state, in seconds. This is aggregated over all media items in the current receiver session.

decodedFrames

(number or undefined)

The total number of frames decoded. This is aggregated over all media items in the current receiver session.

droppedFrames

(number or undefined)

The total number of frames dropped. This is aggregated over all media items in the current receiver session.

estimatedBandwidth

(number or undefined)

The estimated bandwidth. This is currently only supported while using Shaka.

height

(number or undefined)

The height of the current video track. Undefined if no video is playing.

playTime

(number or undefined)

The total time spent in a non-buffering state, in seconds. This is aggregated over all media items in the current receiver session.

streamBandwidth

(number or undefined)

The bandwidth required for the current streams (total, in bit/sec). Undefined if no streams are currently active.

width

(number or undefined)

The width of the current video track. Undefined if no video is playing.