BigBlueButton:WebRTC音频故障:错误1010:ICE协商超时

时间:2017-09-21 04:05:29

标签: amazon-ec2 websocket webrtc ubuntu-16.04 bigbluebutton

我已经设置了一个Ubuntu 16.04 EC2 t2.medium服务器,并按照http://docs.bigbluebutton.org/2.0/20install.html中的说明安装BigBlueButton 2.0-beta。

当我登录演示会议室并选择麦克风时,它说呼叫... 然后更改为连接... 然后我收到一条消息说:< / p>

  

WebRTC音频失败

     

检测到以下WebRTC问题:错误1010:ICE协商   超时。你想尝试使用Flash吗?

以下是控制台的输出:

BigBlueButton call accepted
bbb_webrtc_bridge_sip.js?v=591:497 Waiting for ICE negotiation
sip.js?v=591:2900 Thu Sep 21 2017 11:27:19 GMT+0800 (WITA) | sip.invitecontext.mediahandler | stream added: fuEOgOt7p5aHrW58wGtGVszgTdGBcNKi
sip.js?v=591:2900 Thu Sep 21 2017 11:27:24 GMT+0800 (WITA) | sip.invitecontext.mediahandler | RTCIceChecking Timeout Triggered after 5000 milliseconds
bbb_webrtc_bridge_sip.js?v=591:499 5 seconds without ICE finishing
bbb_webrtc_bridge_sip.js?v=591:119 Stopping webrtc audio test
bbb_webrtc_bridge_sip.js?v=591:555 Hanging up current session
sip.js?v=591:2900 Thu Sep 21 2017 11:27:24 GMT+0800 (WITA) | sip.inviteclientcontext | terminating Session
sip.js?v=591:2900 Thu Sep 21 2017 11:27:25 GMT+0800 (WITA) | sip.transport | sending WebSocket message: 

BYE sip:919673089@172.31.36.135:5060;transport=udp SIP/2.0
Via: SIP/2.0/WSS msk2aa46iuih.invalid;branch=z9hG4bK7275105
Max-Forwards: 70
To: <sip:919673089@staging.bigbluebutton.xxxxxx.com>;tag=SBBF64e6999Hm
From: "w_zqmgpmdukz39-bbbID-Mikhail" <sip:w_zqmgpmdukz39-bbbID-Mikhail@staging.bigbluebutton.xxxxxx.com>;tag=d6e9kj05rj
Call-ID: epjgsffnq2hi688jlvgl
CSeq: 9777 BYE
Supported: outbound
User-Agent: BigBlueButton
Content-Length: 0   



bbb_webrtc_bridge_sip.js?v=591:465 call ended null
sip.js?v=591:2900 Thu Sep 21 2017 11:27:25 GMT+0800 (WITA) | sip.inviteclientcontext | closing INVITE session epjgsffnq2hi688jlvglj9cdnvthcr
sip.js?v=591:2900 Thu Sep 21 2017 11:27:25 GMT+0800 (WITA) | sip.invitecontext.mediahandler | closing PeerConnection
sip.js?v=591:2900 Thu Sep 21 2017 11:27:25 GMT+0800 (WITA) | sip.dialog | dialog epjgsffnq2hi688jlvgld6e9kj05rjSBBF64e6999Hm deleted
sip.js?v=591:2900 Thu Sep 21 2017 11:27:25 GMT+0800 (WITA) | sip.ua | user requested closure...
sip.js?v=591:2900 Thu Sep 21 2017 11:27:25 GMT+0800 (WITA) | sip.ua | closing registerContext
sip.js?v=591:2900 Thu Sep 21 2017 11:27:25 GMT+0800 (WITA) | sip.registercontext | already unregistered
LoggerFactory.print @ sip.js?v=591:2900
LoggerFactory.(anonymous function) @ sip.js?v=591:2917
Logger.(anonymous function) @ sip.js?v=591:2911
unregister @ sip.js?v=591:3579
close @ sip.js?v=591:3570
UA.stop @ sip.js?v=591:8929
(anonymous) @ bbb_webrtc_bridge_sip.js?v=591:505
setTimeout (async)
(anonymous) @ bbb_webrtc_bridge_sip.js?v=591:498
EventEmitter.emit @ sip.js?v=591:115
accepted @ sip.js?v=591:5641
onSuccess @ sip.js?v=591:6851
Promise resolved (async)
receiveInviteResponse @ sip.js?v=591:6832
receiveResponse @ sip.js?v=591:3784
InviteClientTransaction.receiveResponse @ sip.js?v=591:7832
onMessage @ sip.js?v=591:8566
ws.onmessage @ sip.js?v=591:8424
sip.js?v=591:2900 Thu Sep 21 2017 11:27:25 GMT+0800 (WITA) | sip.transport | received WebSocket text message:   

SIP/2.0 200 OK
Via: SIP/2.0/WSS msk2aa46iuih.invalid;branch=z9hG4bK7275105;received=52.51.xx.xx;rport=38902
From: "w_zqmgpmdukz39-bbbID-Mikhail" <sip:w_zqmgpmdukz39-bbbID-Mikhail@staging.bigbluebutton.xxxxxx.com>;tag=d6e9kj05rj
To: <sip:919673089@staging.bigbluebutton.xxxxxx.com>;tag=SBBF64e6999Hm
Call-ID: epjgsffnq2hi688jlvgl
CSeq: 9777 BYE
User-Agent: FreeSWITCH-mod_sofia/1.9.0+git~20170822T213300Z~2ebdf42f2c~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Content-Length: 0   



sip.js?v=591:2900 Thu Sep 21 2017 11:27:25 GMT+0800 (WITA) | sip.transport | closing WebSocket wss://staging.bigbluebutton.xxxxxx.com/ws
sip.js?v=591:2900 Thu Sep 21 2017 11:27:25 GMT+0800 (WITA) | sip.transport | WebSocket disconnected (code: 1000)
sip.js?v=591:2900 Thu Sep 21 2017 11:27:25 GMT+0800 (WITA) | sip.ua | connection state set to 1
sip.js?v=591:2900 Thu Sep 21 2017 11:27:25 GMT+0800 (WITA) | sip.transaction.ict | transport error occurred, deleting INVITE client transaction z9hG4bK9694442

我搜索了与 bigbluebutton错误1010 相关的任何内容,但找不到任何内容。

2 个答案:

答案 0 :(得分:0)

请检查您的防火墙:

  • 可访问TCP端口80、443和1935。
  • 如果要配置SSL,则可以访问TCP端口7443(推荐),否则可以访问端口5066。
  • 可访问UDP端口16384-32768。
  • 端口80未被其他应用程序使用。

答案 1 :(得分:0)

问题在于您的 sip ip 和端口。 首先检查 /opt/freeswitch/etc/freeswitch/sip_profiles/external.xml 设置。

ws 绑定::5066 wss 绑定::7443 改成这样:

ws-binding: your_external_ip_address:5066 wss 绑定:your_external_ip_address:7443 您的外部IP地址与external_sip_ip地址相同。

如果您使用防火墙,请检查您的 5066 和 7443 端口。

那别忘了重启bbb(bbb-conf --restart)