The options to configure Statistics.
Static
_instancesStores all active Statistics instances.
Static
analyticsAnalytics adapter for sending events.
Static
audioFlag indicating whether audio levels are enabled or not.
Static
audioThe interval for audio levels stats collection.
Static
disableFlag indicating whether third party requests are disabled.
Static
LOCAL_Local JID constant.
Static
localArray holding local statistics collectors.
Static
pcThe interval for peer connection stats collection.
Static
instancesStatic getter for instances property Returns the Set holding all active Statistics instances. Lazily initializes the Set to allow any Set polyfills to be applied.
Adds a listener for audio level events.
The listener to add
Adds a listener for before disposed events.
The listener to add
Adds a listener for byte sent stats events.
The listener to add
Adds a listener for connection stats events.
The listener to add
Adds a listener for encode time stats events.
The listener to add
Disposes of this instance, stopping any ongoing stats collection.
Removes an audio level listener.
The listener to remove
Removes a before disposed listener.
The listener to remove
Removes a byte sent stats listener.
The listener to remove
Removes a connection stats listener.
The listener to remove
Removes an encode time stats listener.
The listener to remove
Sends the given feedback
an integer between 1 and 5 indicating the user's rating.
the comment from the user.
Resolves immediately.
Updates the list of speakers for which the audio levels are to be calculated. This is needed for the jvb pc only.
The list of remote endpoint ids.
Starts collecting RTP stats for given peerconnection.
Stops collecting RTP stats for given peerconnection
Static
initStatic
sendStatic
sendStatic
startStarts collecting local statistics for a track.
The track to collect statistics for
The callback to invoke with audio levels
Static
stopStops collecting local statistics for a track.
The track to stop collecting statistics for
Statistics class provides various functionality related to collecting and reporting statistics.