datarhei / restreamer

The Restreamer is a complete streaming server solution for self-hosting. It has a visually appealing user interface and no ongoing license costs. Upload your live stream to YouTube, Twitch, Facebook, Vimeo, or other streaming solutions like Wowza. Receive video data from OBS and publish it with the RTMP and SRT server.
https://docs.datarhei.com/restreamer/
Apache License 2.0
3.78k stars 438 forks source link

Can't see the player on HTTPS site #694

Open rcstreamer opened 7 months ago

rcstreamer commented 7 months ago

I can't see the streming player on my HTTPS wordpress site (Aruba provider)

I installed Restreamer on a Raspberry 4 B+ following a tutorial on YouTube.

I can see the stream player with no problems when I stream via my public IP on 8080 port but I can't when I stream via HTTPS on my site(Aruba provider) and I opened and forwarded ports :(

I took a look here and other people had the same problem, Is there anyone here who has succeeded ?

ioppermann commented 7 months ago

The player is not shown on your wordpress site because it is HTTPS and the Restreamer not. Browsers will not load HTTP content on a HTTPS site. You have to enable HTTPS for your Restreamer.

https://docs.datarhei.com/restreamer/knowledge-base/user-guides/how-can-i-use-https-with-lets-encrypt

rcstreamer commented 7 months ago

Actually I already followed that tutorial wittout success before writing here

ioppermann commented 7 months ago

In order for the Let's Encrypt verification process to succeed, your Restreamer must be available on port 80 on your public IP and you need a (sub)domain name pointing to your public IP.

rcstreamer commented 6 months ago

Thank you for your help, I spent last days studying and trying to set it correcltly but nothing... I think I forwarded ports correctly and setted a subdomain pointing to the public Ip correctly. I tested it with a DNS checker too...please take a look to these screenshots: dns config dns checker forwarding 80 forwarding 443

ioppermann commented 6 months ago

I think you need to swap these values. For HTTP Port to device 8080 throug... 8080 and Port requested externally 80 and for HTTPS Port to device 8181 throug... 8181 and Port requested externally 443.

rcstreamer commented 4 months ago

I tried for days doing research on my Fritzbox router, then I realized that I had to download my site's SSL certificate file and upload it into the router! Furthermore, I had to delete ":8181" from the final link generated by the restreamer to make it works :)