Skip to content

Interface: StatsSample ​

Properties ​

PropertyTypeDescription
atMsnumber-
bitrateKbpsnumber-
candidateTypestringThe path this stream's own transport is on: the selected pair's local candidate type (host, srflx, prflx, relay), and for a relay how TURN is reached (udp, tcp, tls). Empty when the report does not say. An sfu participant has two transports and they can differ, so this is per stream, not per client. A deployment reads its relay rate from it.
codecstring-
directionStatsDirection-
fpsnumber-
freezeCountMsnumber-
heightnumber-
jitterMsnumber-
kind"audio" | "video"-
lossBpnumber-
nackCountnumber-
networkTypestring-
pliCountnumber-
relayProtocolstring-
rttMsnumber-
trackSidstringEmpty in a p2p room, and that is not an omission: a p2p room has no PublishTrack, so no TR_ sid was ever reserved for these tracks. In an sfu room it is the track the stream carries, by its mid.
widthnumber-

Talkline documentation