Jump to content
  • 0

Websocket connections get disconnected on publish of stream

ruell magpayo


I have a really weird issue with enterprise version.

Last friday when I first installed it (using trial version), I can connect to my antmedia server from other machine with ease and I tested all sample web/js applications with no issue.


Now monday, I cant connect to the antmedia server using the same sample apps without anything changed during the weekend, i am always getting the error

"WebSocket Connection is disconnected."


This is when running the sample apps thru browser like so


first the apps connect succesfuly with the following console logs


browser screen share supported
websocket_adaptor.js:19 websocket connected
index.html:451 initialized
websocket_adaptor.js:19 websocket connected
index.html:451 initialized


Which means the websocket connection to the server is ok, but when 

Start publish button is clicked.

The error "Websocket Connection is disconnected" alert is displayed, for all sample apps.


What happened here? How do I debug this issue?

Link to comment
Share on other sites

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

5 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...