Merge pull request #20325 from antobinary/port-20121

[2.6] fix(audio): broken connection stats on Firefox >= 125
This commit is contained in:
Anton Georgiev 2024-05-23 14:52:52 -04:00 committed by GitHub
commit f2853d310c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1054,10 +1054,9 @@ class AudioManager {
receivers[0] &&
receivers[0].transport &&
receivers[0].transport.iceTransport &&
receivers[0].transport.iceTransport
typeof receivers[0].transport.iceTransport.getSelectedCandidatePair === 'function'
) {
selectedPair =
receivers[0].transport.iceTransport.getSelectedCandidatePair();
selectedPair = receivers[0].transport.iceTransport.getSelectedCandidatePair();
}
return selectedPair;