oanguenot / webrtcmetrics

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

Firefox: No way to detect that candidate-pair changed #12

Closed oanguenot closed 1 year ago

oanguenot commented 1 year ago

As RTCTransportStats is not implemented in Firefox, there is no way to check that the selectedCandidatePairId has changed Use the RTCCandidatePairStats property selected to get the previous candidate-pair and compare the id to detect any changes