diff --git a/bigbluebutton-html5/imports/api/audio/client/bridge/sip.js b/bigbluebutton-html5/imports/api/audio/client/bridge/sip.js index be47da78550ba52aba46772a47ed498dadf7fb18..6c73ed582f9820a0c0f90f8dd39d59132bdd7171 100755 --- a/bigbluebutton-html5/imports/api/audio/client/bridge/sip.js +++ b/bigbluebutton-html5/imports/api/audio/client/bridge/sip.js @@ -35,6 +35,7 @@ const ICE_GATHERING_TIMEOUT = MEDIA.iceGatheringTimeout || 5000; const BRIDGE_NAME = 'sip'; const WEBSOCKET_KEEP_ALIVE_INTERVAL = MEDIA.websocketKeepAliveInterval || 0; const WEBSOCKET_KEEP_ALIVE_DEBOUNCE = MEDIA.websocketKeepAliveDebounce || 10; +const TRACE_SIP = MEDIA.traceSip || false; const getAudioSessionNumber = () => { let currItem = parseInt(sessionStorage.getItem(AUDIO_SESSION_NUM_KEY), 10); @@ -372,6 +373,7 @@ class SIPSession { connectionTimeout: USER_AGENT_CONNECTION_TIMEOUT_MS, keepAliveInterval: WEBSOCKET_KEEP_ALIVE_INTERVAL, keepAliveDebounce: WEBSOCKET_KEEP_ALIVE_DEBOUNCE, + traceSip: TRACE_SIP, }, sessionDescriptionHandlerFactoryOptions: { peerConnectionConfiguration: { diff --git a/bigbluebutton-html5/private/config/settings.yml b/bigbluebutton-html5/private/config/settings.yml index a44fbc7abb7e2a1a14a1937b3a920a2623ba5b7c..27c43d077c794745061042476f5b929759efb924 100755 --- a/bigbluebutton-html5/private/config/settings.yml +++ b/bigbluebutton-html5/private/config/settings.yml @@ -301,6 +301,8 @@ public: #Debounce time (seconds) for sending SIP.js's websocket keep alive message. #If not set, default value is 10. websocketKeepAliveDebounce: 10 + #Trace sip/audio messages in browser. If not set, default value is false. + traceSip: false presentation: defaultPresentationFile: default.pdf panZoomThrottle: 32