LocalVideoStatsReport (interface)
Interface that represents statistics for an outgoing local video stream.
Properties
Properties
bytesSent
bytesSent: number
Total number of bytes sent within a video stream.
codec
codec: null | string
Video codec name for a video stream.
layers
layers: LocalVideoLayerStats[]
Statistics for the video stream layers.
packetsLost
packetsLost: null | number
Total number of packets lost for the outgoing video stream as reported by the remote peer.
For simulcast, this is the sum of packet loss across all active encoding layers.
Since: 5.4.0
packetsSent
packetsSent: number
Total number of packets sent within a video stream.
sourceFps
sourceFps: null | number
Number of complete source frames in the last second.
Not supported in the Safari browser below 17.4 and party supported in the Firefox browser.
sourceFrameHeight
sourceFrameHeight: null | number
Height of the video frame captured by a video source.
Not supported in the Safari browser (the value is null). Partly supported in the Firefox browser.
sourceFrameWidth
sourceFrameWidth: null | number
Width of the video frame captured by a video source.
Not supported in the Safari browser (the value is null). Partly supported in the Firefox browser.
streamType
streamType: StreamType.Video | StreamType.ScreenVideo
Video stream type.