deepch / RTSPtoWeb

RTSP Stream to WebBrowser
MIT License
1.16k stars 283 forks source link

Does anyone know how to get this to work with https and cloudflare? #451

Open MelleNi opened 3 months ago

MelleNi commented 3 months ago

Been trying to get this to work with https through cloudflare, but can't find out what's wrong. Have https set to true in the config, am using the correct port for https, it's forwarded correctly, added the cert and key for the subdomain from cloudflare, but it doesn't work. When I use the ip address with http, it works, but it won't work on the website, as it's not https, and the ip isn't static.

Does anyone know how to do this correctly?

bbhxwl commented 2 months ago

The cloudflare tunnel I am using

MelleNi commented 2 months ago

The cloudflare tunnel I am using

Can you give more detail?

azisyus commented 1 month ago

Set your ssl option to flex in cloudflare then change your server port to 80 since that's what cloudflare targets as default, i'm using it with 10 cams of hls @MelleNi