PSA: Callback-based getStats() is now deprecated and will be removed in M117 (or later with Deprecation Trial).

3,706 views
Skip to first unread message

Henrik Boström

unread,
Mar 28, 2023, 5:36:16 AM3/28/23
to discuss-webrtc
The callback-based getStats(), the one returning non-standard stats, is showing a deprecating warning as of M113 with a target removal of M117 (see intent thread).

It is being removed in favor of the spec-compliant getStats() API. The standard metrics are defined in https://w3c.github.io/webrtc-stats/ and the implementation is here.

If you have a web app with dependency on the legacy API, please migrate before M117 or sign up to the Deprecation Trial which allows extended usage to M121.



Henrik Boström

unread,
Aug 1, 2023, 9:57:50 AM8/1/23
to discuss-webrtc
For those of you still migrating, here's a migration guide to help map goog metrics to standard metrics: https://developer.chrome.com/blog/getstats-migration/
Reply all
Reply to author
Forward
0 new messages