oanguenot / webrtcmetrics

Aggregate stats received from the WebRTC stack
MIT License
34 stars 11 forks source link

Use selectedCandidatePairChanges to track route change instead of the API #9

Closed oanguenot closed 1 year ago

oanguenot commented 2 years ago

To avoid having to put listeners on senders and receivers (hook the peerconnection), it is better to rely on stats only by checking the selectedCandidatePairChanges