Class: RTCMediaStreamTrackStats

core/complexTypes.RTCMediaStreamTrackStats()

new RTCMediaStreamTrackStats()

Statistics related to the media stream.
Properties:
Name Type Description
trackIdentifier external:String Represents the track.id property.
remoteSource external:Boolean true indicates that this is a remote source. false in other case.
ssrcIds external:String Synchronized sources.
frameWidth external:int64 Only makes sense for video media streams and represents the width of the video frame for this SSRC.
frameHeight external:int64 Only makes sense for video media streams and represents the height of the video frame for this SSRC.
framesPerSecond external:double Only valid for video. It represents the nominal FPS value.
framesSent external:int64 Only valid for video. It represents the total number of frames sent for this
framesReceived external:int64 Only valid for video and when remoteSource is set to true. It represents the
framesDecoded external:int64 Only valid for video. It represents the total number of frames correctly decoded for this SSRC.
framesDropped external:int64 Only valid for video. The total number of frames dropped pre-decoding or dropped because the frame missed its display deadline.
framesCorrupted external:int64 Only valid for video. The total number of corrupted frames that have been detected.
audioLevel external:double Only valid for audio, and the value is between 0..1 (linear), where 1.0 represents 0 dBov.
echoReturnLoss external:double Only present on audio tracks sourced from a microphone where echo cancellation is applied. Calculated in decibels.
echoReturnLossEnhancement external:double Only present on audio tracks sourced from a microphone where echo cancellation is applied.
Source:

Extends

  • module:core.RTCStats