From e1b9ad3536f31a920f5b9358017465ddeee3e4b2 Mon Sep 17 00:00:00 2001
From: Mario Jr <mariogasparoni@gmail.com>
Date: Fri, 2 Oct 2020 16:15:54 -0300
Subject: [PATCH] Map stun/turn servers into WebRTC's iceServers, when using
 fallback stun

---
 bigbluebutton-html5/imports/api/audio/client/bridge/sip.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bigbluebutton-html5/imports/api/audio/client/bridge/sip.js b/bigbluebutton-html5/imports/api/audio/client/bridge/sip.js
index ed56c0bf9e..cb9c00c446 100755
--- a/bigbluebutton-html5/imports/api/audio/client/bridge/sip.js
+++ b/bigbluebutton-html5/imports/api/audio/client/bridge/sip.js
@@ -3,7 +3,7 @@ import BaseAudioBridge from './base';
 import logger from '/imports/startup/client/logger';
 import {
   fetchWebRTCMappedStunTurnServers,
-  getFallbackStun,
+  getMappedFallbackStun,
 } from '/imports/utils/fetchStunTurnServers';
 import {
   isUnifiedPlan,
@@ -106,7 +106,7 @@ class SIPSession {
           callerIdName: this.user.callerIdName,
         },
       }, 'Full audio bridge failed to fetch STUN/TURN info');
-      return getFallbackStun();
+      return getMappedFallbackStun();
     }
   }
 
-- 
GitLab