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