Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WebRTC Stats in Firefox

284 views
Skip to first unread message

Balwant Bisht

unread,
Aug 11, 2015, 8:17:14 AM8/11/15
to mozilla-...@lists.mozilla.org
Is it possible to access WebRTC stats using javascript, as we can do in Chrome using getStats?

Eric Shepherd

unread,
Aug 11, 2015, 10:04:59 AM8/11/15
to Balwant Bisht, mozilla-...@lists.mozilla.org
Balwant Bisht wrote:
> Is it possible to access WebRTC stats using javascript, as we can do in Chrome using getStats?
Yes; you can use RTCPeerConnection.getStats() to return a list of status
details. We haven't gotten this documented yet but should before too
terribly long.

--

Eric Shepherd
Senior Technical Writer
Mozilla <https://www.mozilla.org/>
Blog: http://www.bitstampede.com/
Twitter: http://twitter.com/sheppy
Check my Availability <https://freebusy.io/eshe...@mozilla.com>

Jan-Ivar Bruaroey

unread,
Aug 11, 2015, 10:59:47 AM8/11/15
to Eric Shepherd, Balwant Bisht
On 8/11/15 10:04 AM, Eric Shepherd wrote:
> Balwant Bisht wrote:
>> Is it possible to access WebRTC stats using javascript, as we can do in Chrome using getStats?

Yes, we support it, but not like in Chrome since Chrome isn't following
the spec here at the moment.

> Yes; you can use RTCPeerConnection.getStats() to return a list of status
> details. We haven't gotten this documented yet but should before too
> terribly long.

There is some information here for now:

http://stackoverflow.com/questions/29800010/can-someone-comprehensively-explain-the-webrtc-stats-api/29840886#29840886

Hope that helps,

..: Jan-Ivar :.

0 new messages