|
Android SDK API Reference
|
Getting statistics callback interface. More...
Public Member Functions | |
| void | onStatsDelivered (JSONArray stats) |
| Callback method when calling getStats function. More... | |
Getting statistics callback interface.
| void io.skyway.Peer.StatsCollectorCallback.onStatsDelivered | ( | JSONArray | stats | ) |
Callback method when calling getStats function.
| stats | Statistics |
The stats argument is an array(JSONArray) of objects based on RTCStats Dictionary. https://www.w3.org/TR/webrtc/#rtcstats-dictionary
See document RTCStatsType enum about type key included in the array. https://www.w3.org/TR/webrtc-stats/#rtcstatstype-str*
See also Stats Dictionary for the statistical data that can be obtained. https://www.w3.org/TR/webrtc-stats/#stats-dictionaries
1.8.17