Function that will be called to retrieve the WebRTC statistics.
a RTCStatsReport object through a Promise.
Optional
getInterval, in milliseconds, at which to collect the WebRTC statistics. Default is 1,000 ms (1 second).
Optional
includeInclude the raw statistics in the stats event. Default is false
.
Options to configure the WebRTC statistics collection.
Example