Skip to content
Snippets Groups Projects
Commit 75c68083 authored by Calvin Walton's avatar Calvin Walton
Browse files

Update webrtc stats bridge for modern Chrome/Firefox APIs

Switch to the promise-based getStats, and use the standardized
property names where available, with fallback to handle Chrome,
which hasn't fully switched yet.

The stats now only track the outgoing audio stream, as a way to
indicate quality, since the user can't hear themselves. This
might be revisited later; it would require tracking the stats
separately for incoming vs. outgoing and e.g. returning whichever
is worse.
parent cdf4049b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment