restreamer icon indicating copy to clipboard operation
restreamer copied to clipboard

Asign domain name to a restreamed hls stream doesnot work

Open Gio-Tbilisi opened this issue 1 year ago • 1 comments
trafficstars

Hello, it does a great job in the admin panel. I can restream some .m3u8 streams and watch them without interruptions in admin panel in the browser. I use Restreamer on my VPS let's call it 11.211.11.11. The Stream that I restreamed in the admin panel is https//:11.211.11.11/thestream.m3u8 and I can play it in VLC or put it on the website and it works great.

But, I want to assign a domain to the stream so the IP is not visible in the link.

I go to system > network and in Address I write my domain let's call it hls.domain.org

Then I create subdomain hls.domain.org in Cloudflare and write the 11.211.11.11 as an A address.

Also the new subdomain hls.domain.org runs on some ip/vps where the restreamer is installed.

But then the new stream link https://hls.domain.org/thestream.m3u8 does not work anywhere.

What can I do? I really wrote some ip in Cloudflare and added the sub

Screenshot 2024-08-30 235404 Screenshot 2024-08-30 235550

Gio-Tbilisi avatar Aug 30 '24 20:08 Gio-Tbilisi

Aquiring the SSL certificate from Let's Encrypt probably failed. For this to work properly the port 80 must point the Restreamer on your VPS. This means you have to adjust the port mapping rule for the port 8080 and 8181 from -p 8080:8080 -p 8181:8181 to -p 80:8080 -p 443:8181.

ioppermann avatar Sep 13 '24 14:09 ioppermann