diff --git a/bigbluebutton-html5/imports/ui/services/audio-manager/index.js b/bigbluebutton-html5/imports/ui/services/audio-manager/index.js index e5084cb8cc..c347755b55 100755 --- a/bigbluebutton-html5/imports/ui/services/audio-manager/index.js +++ b/bigbluebutton-html5/imports/ui/services/audio-manager/index.js @@ -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;