maddox / wallop

📺 A transcoding server for your HDHomeRun Prime
167 stars 41 forks source link

Proxy support #31

Closed jevinskie closed 8 years ago

jevinskie commented 10 years ago

Wallop is really nifty! I'm most excited that it seems to provide a ffmpeg configuration that doesn't freeze during streaming. Thanks!

I was wondering if you had any suggestions for hooking wallop up to some sort of proxy running elsewhere. I have a server that has great upstream bandwidth but my home connection (where my tuner is) does not. It would be nice to support multiple clients watching the same stream while only paying for the bandwidth 1x out of my home connection.

I was thinking about using the nginx-rtmp-module.

iklier commented 10 years ago

I'd look at VLC's streaming options; as I believe it has the ability to take a stream and make it multicast. You'd probably have to write a wrapper for the VLC cli to handle channel changes, but it shouldn't be too difficult.

On Feb 23, 2014, at 7:08 PM, Jevin Sweval notifications@github.com wrote:

Wallop is really nifty! I'm most excited that it seems to provide a ffmpeg configuration that doesn't freeze during streaming. Thanks!

I was wondering if you had any suggestions for hooking wallop up to some sort of proxy running elsewhere. I have a server that has great upstream bandwidth but my home connection (where my tuner is) does not. It would be nice to support multiple clients watching the same stream while only paying for the bandwidth 1x out of my home connection.

I was thinking about using the nginx-rtmp-module.

— Reply to this email directly or view it on GitHub.

maddox commented 10 years ago

Since its all just HTTP, technically all we'd have to do is provide a url to upload to, and use that url in the m3u8 playlist.

So, instead of saving the segments to disk, they'd get uploaded to a server. Then when the client hits the m3u8 file, it would provide the urls to the segments on the server. You could even probably upload the m3u8 file to the server too and redirect to it, at which point the client wouldn't even be hitting Wallop at all anymore.

That's the beauty of HTTP.

maddox commented 8 years ago

Closing this due to age.