getStats

open fun getStats(sender: RtpSender, callback: RTCStatsCollectorCallback)
open fun getStats(receiver: RtpReceiver, callback: RTCStatsCollectorCallback)

Gets stats using the new stats collection API, see webrtc/api/stats/. These will replace old stats collection API when the new API has matured enough.


open fun getStats(observer: StatsObserver, @Nullable track: MediaStreamTrack): Boolean

Deprecated