W3cubDocs

/Haxe JavaScript

StatsReport

package js.html.rtc

Available on js

WebRTC provides a method—RTCPeerConnection.getStats()—which returns a set of statistics about the state of the connection and the data transfers which have taken place. This status report is an object of type RTCStatsReport, and consists of a mapping of strings identifying objects which have had statistics recorded and a dictionary containing all of the corresponding data.

Documentation RTCStatsReport by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Methods

forEach (callbackFn:StatsReport ‑> Void, ?thisArg:Dynamic):Void

get (key:String):Dynamic

has (key:String):Bool

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/rtc/StatsReport.html