getStats

suspend fun getStats(selector: MediaStreamTrack? = definedExternally): RTCStatsReport(source)

MDN Reference