package js.html.rtc
Available on jsWebRTC 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 typeRTCStatsReport
, 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:
forEach (callbackFn:StatsReport ‑> Void, ?thisArg:Dynamic):Void
get (key:String):Dynamic
has (key:String):Bool
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/rtc/StatsReport.html