RTSPtoWeb icon indicating copy to clipboard operation
RTSPtoWeb copied to clipboard

Question for external access

Open Yongsanzip opened this issue 4 years ago • 5 comments

Dear deepch,

I wanna make the project available access from out of local network,

Even though ddns is set to public IP and port warding is set,

it is failing to load the video of ipcam installed in the same network.

In my opinion,

it seems to be a problem caused by the different IP of the virtual machine where the project is running and the IP of ipcam.

So, i wanna tried to modify the server program like apache2 or nginx but, this project seems like to no use those programs.

How can i adjust for it?

Thanks.

Yongsanzip avatar Jan 10 '22 02:01 Yongsanzip

I figured out the HTTPS is not enable, so I tried to use openssl to make files named 'server.crt' and 'server.key'

but it still cannot open WebUI with https protocol , how could i adjust for it?

those files are in same folder with config.json. and config.json can reachable from WebUI for add stream and etc.

and i modify the "https" to true at config.json but still no.

Thanks

Yongsanzip avatar Jan 14 '22 07:01 Yongsanzip

  1. change "https": true, "https_port": ":443", "https_cert": "server.crt", "https_key": "server.key",

  2. open you browser https://yousite.com/

https not work on IP address you need ssl for domain and install to domain or not use ssl

show me ssl error please.

deepch avatar Feb 14 '22 23:02 deepch

This doesn't work i get this error http: TLS handshake error from ipaddress:45461: acme/autocert: host "domain.xyz" not configured in HostWhitelist. Is there any other configuration needed for https to work?

henryeticom avatar Nov 03 '22 15:11 henryeticom

https not work on IP address you need ssl for domain and install to domain or not use ssl in letsencrypt we dont get crt or key ? how to configure this, is there any documentation using letsencrypt with rtsp2web ?

karthikindia avatar Aug 11 '24 03:08 karthikindia

  1. change "https": true, "https_port": ":443", "https_cert": "server.crt", "https_key": "server.key",
  2. open you browser https://yousite.com/

https not work on IP address you need ssl for domain and install to domain or not use ssl

show me ssl error please.

i tried this method but, now the site opens using https but the rtsp stream is throwing wss error pls advice

karthikindia avatar Aug 11 '24 03:08 karthikindia