Streamedian / html5_rtsp_player

Play RTSP stream from IP camera in browser in this HTML5 player without plugins
Apache License 2.0
2.61k stars 598 forks source link

[transport:ws] [ctrl] close. code: 4000 Invalid Domain (credentials) #154

Open ionut123 opened 4 years ago

ionut123 commented 4 years ago

Hi, We have the following setup:

  1. LAN with proxy and a rstp streams.
  2. Web application installed in Cloud which is embedding the js player pointing to the proxy.
  3. Client browser on the internet on a machine that has a VPN connection to the LAN from point 1.

Regardless what we do, we are receiving '[transport:ws] [ctrl] close. code: 4000 Invalid Domain (credentials)'. The full browser console is : image

Can you please advise?

victorgrenke commented 4 years ago

please activate the license

ionut123 commented 4 years ago

The licence was activated, but which ip should be used? The ip where the Streamedian ws is placed or the ip where the web application is deployed?

victorgrenke commented 4 years ago

answer for your questio: ip (or domain name) where the web application with player code is deployed

activation process is going on the proxy side, during the activation need activate the license for "ip (or domain name) where the web application with player code is deployed"

one web application with player code can use several proxys having different ip but activated for ip (or domain name) of this webapp.