← Back to release summary
[WebRTC] Unship callback-based legacy getStats()
- Category
- Realtime / Communication
- Type
- Feature removal
- Status
- Origin trial (Chrome 117)
- Intent stage
- None
Summary
RTCPeerConnection has two versions of getStats(), one that is spec-compliant returning the report via resolving a promise, and one that is non-standard returning a very different report via a callback as the first argument. The callback-based was removed in M117, with a Deprecation Trial available until M121. As of M122, the API does not anymore, even if you use the Deprecation Trial.
Standards & signals
- Firefox: N/A — This API does not exist in Firefox
- Safari: N/A — This API does not exist in Safari
- Web developers: No signals
- Tracking bug: https://crbug.com/822696
View on chromestatus.com