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.76k stars 436 forks source link

RTMP from OBS to Restreamer over Cloudflare Tunnel? #426

Open leetfin opened 1 year ago

leetfin commented 1 year ago

Hello, I'm trying to send RTMP video from OBS to a restreamer instance hosted on a VM accessible via cloudflare tunnel. As far as I know this should be possible, but I can't get it to work and was hoping someone would have knowledge about the process.

I have tried following https://datarhei.github.io/restreamer/docs/guides-obs.html https://datarhei.github.io/restreamer/docs/guides-ingest-rtmp.html https://github.com/datarhei/restreamer/issues/85#issuecomment-474874337

The web UI is accessible over tunnel, and I have also forwarded port 1935 (tried as both TCP and HTTP).

If anyone has any ideas or insight it would be greatly appreciated. Thanks!

Your environment I have OBS Studio, sending over a Cloudflare Tunnel, to a restreamer instance on an oracle cloud ARM server.

FilipStadler commented 1 year ago

I dont use Cloudflare Tunnel - but I do use cloudflare and proxy but I stream directly to restreamer but two dns records are made one that is direct.somedomainname.dk and vissible.somedomainname.dk where only the last vissible with cloudflare proxy active in the dns.

Tunnels may give some security but I don't what to depend to much on cloudflare but the proxy feature is nice.

Papamidnight42 commented 6 months ago

you can use telebit and forward over the port you are transmitting to.