diff --git a/mod/html5/settings.yml b/mod/html5/settings.yml index 35cb8a9..1d64f53 100644 --- a/mod/html5/settings.yml +++ b/mod/html5/settings.yml @@ -293,7 +293,7 @@ public: #so far. Increasing this value might help avoiding 1004 error when #user activates microphone. iceGatheringTimeout: 5000 - sipjsHackViaWs: false + sipjsHackViaWs: true #Websocket keepAlive interval (seconds). You may set this to prevent #websocket disconnection in some environments. When set, BBB will send #'\r\n\r\n' string through SIP.js's websocket. If not set, default value diff --git a/mod/nginx/bbb/sip.nginx b/mod/nginx/bbb/sip.nginx index ee4993e..3d85d6c 100644 --- a/mod/nginx/bbb/sip.nginx +++ b/mod/nginx/bbb/sip.nginx @@ -1,5 +1,5 @@ location /ws { - proxy_pass https://$freeswitch_addr:7443; + proxy_pass http://$freeswitch_addr:5066; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade";