Methods
getStats
Gathers stats for the given and reports the result asynchronously.
When the getStats
()
method is invoked, the user agent MUST run the following steps:
If selectorArg is
null
, let selector benull
.If selectorArg is a let selector be an or on connection which
track
attribute matches selectorArg. If no such sender or receiver exists, or if more than one sender or receiver fit this criteria, return a promise with a newly created .Run the following steps in parallel:
Gather the stats indicated by selector according to the stats selection algorithm.