Team,
I have been struggling to resolve the WebRTC issue. I tried all my best with all info and links given and reaching for help. I did test https:/
demo.bigbluebutton.org/ on my machine and it is working fine. Hope I am providing all the details you may need.
BigBlueButton Server 2.0.0-beta (708)
Kernel version: 4.4.0-1038-aws
Distribution: Ubuntu 16.04.3 LTS (64-bit)
Memory: 4045 MB
/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
Port test (tunnel):
bbb.jobprep.io red5:
bbb.jobprep.io useWebrtcIfAvailable: true
/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
websocket port: <param name=
WebRTC enabled: true
/etc/nginx/sites-available/bigbluebutton (nginx)
server name:
bbb.jobprep.io port:
port: 443 ssl
bbb-client dir: /var/www/bigbluebutton
/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
bbb-web host:
bbb.jobprep.io/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
url:
bbb.jobprep.io/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
voice conference: FreeSWITCH
/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
playback host:
bbb.jobprep.io** Potential problems described below **
# IP does not match:
# IP from ifconfig: 172.31.65.27
# /etc/nginx/sites-available/bigbluebutton:
bbb.jobprep.io# Warning: API URL IPs do not match host:
#
# IP from ifconfig: 172.31.65.27
# /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp:
bbb.jobprep.io
# Warning: The setting of 34.237.48.244 for bbb.sip.app.ip in
#
# /usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-sip.properties
#
# does not match the local IP address (172.31.65.27).
# (This is OK if you've manually changed the values to an external
# FreeSWITCH server.)
# Warning: The setting of 34.237.48.244 for proxy_pass in
#
# /etc/bigbluebutton/nginx/sip.nginx
#
# does not match the local IP address (172.31.65.27).
# (This is OK if you've manually changed the values)
# Warning: The setting of 34.237.48.244 for local_ip_v4 in
#
# /opt/freeswitch/etc/freeswitch/vars.xml
#
# does not match the local IP address (172.31.65.27).
# (This is OK if you've manually changed the values)
# Warning: The API demos are installed and accessible from:
#
#
https://bbb.jobprep.io/demo/demo1.jsp#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
# sudo apt-get purge bbb-demo
*************************************************************************************************************************************************************************************************
● freeswitch.service - freeswitch
Loaded: loaded (/lib/systemd/system/freeswitch.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2017-10-31 00:47:37 UTC; 12min ago
Process: 28311 ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS (code=exited, status=0/SUCCESS)
Main PID: 28320 (freeswitch)
Tasks: 38
Memory: 74.3M
CPU: 6.551s
CGroup: /system.slice/freeswitch.service
└─28320 /opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait -nonat
Oct 31 00:47:35 ip-172-31-65-27 systemd[1]: Starting freeswitch...
Oct 31 00:47:35 ip-172-31-65-27 freeswitch[28311]: 28320 Backgrounding.
Oct 31 00:47:37 ip-172-31-65-27 systemd[1]: Started freeswitch.
*************************************************************************************************************************************************************************************************
freeswitch.log
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [DEBUG] switch_core_media.c:8162 AUDIO RTP [sofia/external/
09...@34.237.48.244] 34.237.48.244 port 29308 -> 34.237.48.244 port 15005 codec: 100 ms: 20
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [DEBUG] switch_rtp.c:4191 Starting timer [soft] 320 bytes per 20ms
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [DEBUG] switch_core_media.c:8382 Activating RTCP PORT 0
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [DEBUG] switch_rtp.c:4587 RTCP send rate is: 5000 and packet rate is: 20000 Remote Port: 15006
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [DEBUG] switch_rtp.c:2566 Setting RTCP remote addr to
34.237.48.244:15006 2
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [DEBUG] switch_core_media.c:2204 Setting Jitterbuffer to 20ms (1 frames) (20 max frames)
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [DEBUG] switch_core_media.c:8466
sofia/external/09...@34.237.48.244 Set 2833 dtmf send payload to 101
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [DEBUG] switch_core_media.c:8473
sofia/external/09...@34.237.48.244 Set 2833 dtmf receive payload to 101
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [DEBUG] switch_core_media.c:8496
sofia/external/09...@34.237.48.244 Set rtp dtmf delay to 40
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [NOTICE] sofia_media.c:92 Pre-Answer
sofia/external/09...@34.237.48.244!
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [DEBUG] switch_channel.c:3482 (
sofia/external/09...@34.237.48.244) Callstate Change RINGING -> EARLY
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [DEBUG] switch_core_media.c:8145 Audio params are unchanged for
sofia/external/09...@34.237.48.244.
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [DEBUG] mod_sofia.c:881 Local SDP
sofia/external/09...@34.237.48.244:
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 v=0^M
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 o=FreeSWITCH 1509382139 1509382140 IN IP4 34.237.48.244^M
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 s=FreeSWITCH^M
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 c=IN IP4 34.237.48.244^M
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 t=0 0^M
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 m=audio 29308 RTP/AVP 100 101^M
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 a=rtpmap:100 SPEEX/16000^M
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 a=rtpmap:101 telephone-event/8000^M
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 a=fmtp:101 0-16^M
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 a=ptime:20^M
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 a=sendrecv^M
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 a=rtcp:29309 IN IP4 34.237.48.244^M
ce1c6ad4-713a-4940-84ad-1d71e0dc7803
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [NOTICE] mod_dptools.c:1352 Channel [sofia/external/
09...@34.237.48.244] has been answered
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [DEBUG] switch_channel.c:3781 (
sofia/external/09...@34.237.48.244) Callstate Change EARLY -> ACTIVE
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 2017-10-31 00:57:27.124855 [DEBUG] sofia.c:7283 Channel
sofia/external/09...@34.237.48.244 entering state [completed][200]
ce1c6ad4-713a-4940-84ad-1d71e0dc7803 EXECUTE
sofia/external/09...@34.237.48.244 conference(
09364@cdquality)
*********************************************************************************************************************************************************************************************************************
TEST if hairping NAT:
ubuntu@ip-172-31-65-27:/opt/freeswitch$ sudo curl --trace-ascii - -k
https://bbb.jobprep.io:443/bigbluebutton/api== Info: Trying 34.237.48.244...
== Info: Connected to
bbb.jobprep.io (34.237.48.244) port 443 (#0)
== Info: found 148 certificates in /etc/ssl/certs/ca-certificates.crt
== Info: found 592 certificates in /etc/ssl/certs
== Info: ALPN, offering http/1.1
== Info: SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
== Info: server certificate verification SKIPPED
== Info: server certificate status verification SKIPPED
== Info: common name:
bbb.jobprep.io (matched)
== Info: server certificate expiration date OK
== Info: server certificate activation date OK
== Info: certificate public key: RSA
== Info: certificate version: #3
== Info: subject: CN=
bbb.jobprep.io== Info: start date: Mon, 30 Oct 2017 18:51:17 GMT
== Info: expire date: Sun, 28 Jan 2018 18:51:17 GMT
== Info: issuer: C=US,O=Let's Encrypt,CN=Let's Encrypt Authority X3
== Info: compression: NULL
== Info: ALPN, server accepted to use http/1.1
=> Send header, 95 bytes (0x5f)
0000: GET /bigbluebutton/api HTTP/1.1
0021: Host:
bbb.jobprep.io0037: User-Agent: curl/7.47.0
0050: Accept: */*
005d:
<= Recv header, 17 bytes (0x11)
0000: HTTP/1.1 200 OK
<= Recv header, 31 bytes (0x1f)
0000: Server: nginx/1.10.3 (Ubuntu)
<= Recv header, 37 bytes (0x25)
0000: Date: Tue, 31 Oct 2017 01:10:49 GMT
<= Recv header, 38 bytes (0x26)
0000: Content-Type: text/xml;charset=utf-8
<= Recv header, 28 bytes (0x1c)
0000: Transfer-Encoding: chunked
<= Recv header, 24 bytes (0x18)
0000: Connection: keep-alive
<= Recv header, 25 bytes (0x19)
0000: Cache-Control: no-cache
<= Recv header, 35 bytes (0x23)
0000: P3P: CP="No P3P policy available"
<= Recv header, 2 bytes (0x2)
0000:
<= Recv data, 86 bytes (0x56)
0000: 4b
0004: <response><returncode>SUCCESS</returncode><version>1.1</version>
0044: </response>
0051: 0
0054:
<response><returncode>SUCCESS</returncode><version>1.1</version></response>== Info: Connection #0 to host
bbb.jobprep.io left intact
*********************************************************************************************************************************************************************************************************************************
Regards,
Nagesh