PSA: RTCRtpSender/RTCRtpReceiver.getStats() shipping in M67

104 views
Skip to first unread message

hb...@webrtc.org

unread,
Apr 13, 2018, 7:23:05 AM4/13/18
to discuss-webrtc
The stats selection algorithm is shipping in M67, which exposes three new ways of calling getStats():
These APIs return a subset of the result of a full getStats() call, the benefit is convenience and easier being able to find the relevant stats. For example, if you call sender.getStats(), the 'track' stats object contained in the result will be the stats for the sender's track.
In technical jargon, this returns all the stats (spec, list of implemented stats) that are directly or indirectly referenced by any of the selector's outbound-rtp stats objects (if selector is a sender) or inbound-rtp stats objects (if selector is a receiver).
Reply all
Reply to author
Forward
0 new messages