Creates an instance of the WebRTCStats class.
Options for the WebRTC statistics collection.
Adds the listener function to the end of the listeners array for the
event named eventName. No checks are made to see if the listener has
already been added. Multiple calls passing the same combination of eventNameand listener will result in the listener being added, and called, multiple
times.
The name of the event.
The callback function.
A reference to the EventEmitter, so that calls can be chained.
Starts the WebRTC statistics collection.
Stops the WebRTC statistics collection.
Representation of the WebRTC Statistics collection object.
Example