WebRTC statistics
Widely available since 2022-07-15
The RTCPeerConnection.getStats()
, RTCRtpSender.getStats()
, and RTCRtpReceiver.getStats()
methods return detailed information about the status, performance, network, and media for a given WebRTC connection.
Learning resources on MDN
- RTCPeerConnection: getStats() method
- RTCRtpSender: getStats() method
- RTCRtpReceiver: getStats() method
Browser support
- Chrome 58 Released on 2017-04-19
- Chrome Android 58 Released on 2017-04-25
- Edge 79 Released on 2020-01-15
- Firefox 44 Released on 2016-01-26
- Firefox for Android 44 Released on 2016-01-26
- Safari 11 Released on 2017-09-19
- Safari on iOS 11 Released on 2017-09-19