LocalVideoStats
WebRTC stats from a local video stream
Properties
active?
optionalactive:boolean
Indicates if SDK is actively sending local video or not
bytesSent?
optionalbytesSent:number
The total number of video bytes sent, including retransmissions
firCount?
optionalfirCount:number
The total number of Full Intra Request (FIR) packets received
frameHeight?
optionalframeHeight:number
Represents the height of the last encoded frame
framesEncoded?
optionalframesEncoded:number
The number of video frames encoded
framesPerSecond?
optionalframesPerSecond:number
The number of encoded frames during the last second
framesSent?
optionalframesSent:number
Represents the total number of frames sent
frameWidth?
optionalframeWidth:number
Represents the width of the last encoded frame
headerBytesSent?
optionalheaderBytesSent:number
The number of RTP header bytes sent
hugeFramesSent?
optionalhugeFramesSent:number
Represents the total number of huge frames sent
keyFramesEncoded?
optionalkeyFramesEncoded:number
The number of video key frames encoded
nackCount?
optionalnackCount:number
The NACK count received by SDK for sending video
networkQuality?
optionalnetworkQuality:NetworkQuality
The network quality associated with publishing local video
packetsLost?
optionalpacketsLost:number
The number of video RTP packets lost
packetsSent?
optionalpacketsSent:number
The number of video RTP packets sent
pliCount?
optionalpliCount:number
The total number of Picture Loss Indication (PLI) packets received
qualityLimitationBandwidthDuration?
optionalqualityLimitationBandwidthDuration:number
Total time spent in quality limitation state due to restricted bandwidth (in seconds)
qualityLimitationCpuDuration?
optionalqualityLimitationCpuDuration:number
Total time spent in quality limitation state due to CPU (in seconds)
qualityLimitationReason?
optionalqualityLimitationReason:string
The current reason for limiting the resolution and/or framerate
qualityLimitationResolutionChanges?
optionalqualityLimitationResolutionChanges:number
The total time spent in each quality limitation state (in seconds)
retransmittedBytesSent?
optionalretransmittedBytesSent:number
The number of retransmitted bytes
retransmittedPacketsSent?
optionalretransmittedPacketsSent:number
The number of video RTP packets retransmitted
rid?
optionalrid:string
Represents the layer used by simulcast; not empty only when simulcast is enabled
ssrc?
optionalssrc:number
A positive 32-bit integer uniquely identifying the SSRC of the RTP packets whose statistics are covered by this stream
totalEncodedBytesTarget?
optionaltotalEncodedBytesTarget:number
Incremented by the target frame size in bytes every time a frame has been encoded
totalEncodeTime?
optionaltotalEncodeTime:number
The total time spent encoding video frames (in seconds)
totalPacketSendDelay?
optionaltotalPacketSendDelay:number
The total number of seconds that RTP packets have been buffered locally