Class: TrackStats


Statistics for a Track.

Name Type Argument Description
trackId Track.ID

The Track ID

trackSid Track.SID

The Track's SID when published in in a Room

timestamp number

A Unix timestamp in milliseconds indicating when the TrackStats were gathered

ssrc string

The Track's SSRC when transmitted over the RTCPeerConnection

packetsLost number <nullable>

The number of packets lost

codec string <nullable>

The name of the codec used to encode the Track's media