Jump to content
  • 0

Start/Stop Publishing Buttons Disabled WebRTCApp


David Brown
 Share

Question

Hi,

I've just set up and configured Ant Media Server (community edition), and RTMP (LiveApp) publishing is working perfectly, however I'm struggling with the WebRTCApp.

The AMS server is running being a NGINX reverse proxy server on another machine with the following config;

SSL on ams.mydomain.co.uk

ams.mydomain.co.uk proxies to <ams-server-IP>:5080

requests to port 80 are forwarded to 443.

I can access the management interface through any of;

<ams-server-IP>:5080
<ams-server-IP>:80
ams.mydomain.co.uk:80

ams.mydomain.co.uk/WebRTCApp and it loads the page, asks for permission to access camera and microphone, and displays the feed.

However the buttons are disabled. If I inspect the page source and remove the 'disabled' flag from the HTML, clicking the button gives the error "WebSocketNotConnected"

If I enable the chrome workaround and access <ams-server-IP>/WebRTCApp I can publish successfully. 

This leads me to believe this is a firewall or NGINX proxy issue?

I have the following port forward rules;

TCP 80 to NGINX Server
TCP 443 to NGINX Server
TCP 5443 to AMS
TCP 1935 to AMS
UDP 5000-65535 to AMS

all the above are also open in ufw on the AMS server

Any help appreciated!





794639501_Screenshot2020-04-0716_27_11.thumb.png.813aa950978e7f043203a1a4941181cd.png

Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

1 answer to this question

Recommended Posts

 Share


×
×
  • Create New...