RTCStatsReport object
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
The getStats()
method delivers a successful result in the form of a RTCStatsReport
object. A RTCStatsReport
object represents a map between strings, identifying the inspected objects (RTCStats.id
), and their corresponding RTCStats
objects.
An RTCStatsReport
may be composed of several RTCStats
objects, each reporting stats for one underlying object. One achieves the total for the object by summing over all stats of a certain type; for instance, if an RTCRtpSender
object is sending RTP streams involving multiple SSRCs over the network, the RTCStatsReport
may contain one RTCStats
object per SSRC (which can be distinguished by the value of the ssrc stats attribute).
Syntax
interface RTCStatsReport {
getter RTCStats (DOMString id);
};
Members
The RTCStatsReport object has these types of members:
- Methods
Methods
The RTCStatsReport object has these methods.
Method | Description |
---|---|
RTCStats | Getter to retrieve the RTCStats objects that the stats report is composed of. |