From a42466961a0103fc780ab2a04b6ddd6ae37f1c90 Mon Sep 17 00:00:00 2001 From: Chad Pilkey <capilkey@gmail.com> Date: Tue, 18 Dec 2018 13:16:52 -0800 Subject: [PATCH] [HTML5] create RTCPeerConnection with sdpSemantics:plan-b for Chrome unified-plan --- bigbluebutton-html5/client/compatibility/sip.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 bigbluebutton-html5/client/compatibility/sip.js diff --git a/bigbluebutton-html5/client/compatibility/sip.js b/bigbluebutton-html5/client/compatibility/sip.js old mode 100644 new mode 100755 index 2a9f0bfb64..1c86225267 --- a/bigbluebutton-html5/client/compatibility/sip.js +++ b/bigbluebutton-html5/client/compatibility/sip.js @@ -6665,6 +6665,9 @@ InviteClientContext.prototype = { }*/ }, function onFailure (e) { + if (e && e.message) { + session.logger.warn(e.message); + } session.logger.warn(e); session.acceptAndTerminate(response, 488, 'Not Acceptable Here'); session.failed(response, SIP.C.causes.BAD_MEDIA_DESCRIPTION); @@ -11445,7 +11448,8 @@ MediaHandler.prototype = Object.create(SIP.MediaHandler.prototype, { } var connConfig = { - iceServers: servers + iceServers: servers, + sdpSemantics:'plan-b' }; if (config.rtcpMuxPolicy) { -- GitLab