diff --git a/bigbluebutton-html5/imports/ui/services/audio-manager/index.js b/bigbluebutton-html5/imports/ui/services/audio-manager/index.js
index 8c7e653adf..17da058f82 100755
--- a/bigbluebutton-html5/imports/ui/services/audio-manager/index.js
+++ b/bigbluebutton-html5/imports/ui/services/audio-manager/index.js
@@ -1085,10 +1085,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;