Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
121–130 of 141 posts
Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
#122Welcome to Project Lightspeed. This is a project that allows anyone to easily deploy their own sub-second latency live-streaming server. In its current state you can stream from OBS [1] and watch that stream back from any desktop browser. This has been a super fun project which has taught me more than any other project I have done. It uses Rust, Go and React and can be deployed fairly easily on a very lightweight ser…
Awesome! I was looking for something like this when trying to play a local multiplayer game via the Internet in an early lockdown. There are, or were, no good turnkey solutions for this. Twitch and Youtube have 5-10s latency, which is often not good enough. Mixer promised (and presumably delivered) ~1s latency using the FTL protocol you use, but they had a wait list of a couple of days or weeks, and of course now, th…
I've had good experience with Steam Play Together, mostly playing Unrailed (a hectic game in the style of Overcooked). I definitely forget about the remote connection while playing. We were 1000 km apart, but had quite a good connection (100 Mbit, 15-20 ms ping).
Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
#123Welcome to Project Lightspeed. This is a project that allows anyone to easily deploy their own sub-second latency live-streaming server. In its current state you can stream from OBS [1] and watch that stream back from any desktop browser. This has been a super fun project which has taught me more than any other project I have done. It uses Rust, Go and React and can be deployed fairly easily on a very lightweight ser…
Really cool! You say you use Rust and Go. Why both? I imagine Rust for super performance sensitive stuff and Go for the rest, for faster development?
Hoping to see OP answer this and in particular what I would like to see them comment on is how they divide their codebase between these two languages. Which parts are being implemented in which of those languages and why.
Personally a huge proponent of Rust.
Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
#124This is awesome! I wanted to make something like this too after Mixer shut down and I didn't have good options anymore to stream low latency gameplay to friends. But I was too lazy to do it properly. I ended up with this hack: https://i.imgur.com/jDeMxly.png Redirect the "Record" button of obs to make ffmpeg output to an http endpoint, which is a small server that just forwards any bytes it receives to connected cons…
Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
#125Earlier quoted context omitted.
Doesn't matter. Copyright, without the licensing exceptions , won't allow EvilCorp Inc. use your code even if you publish it in the clear on the internet. Also, more relevant to the discussion I was responding to, the GPL license doesn't allow re-licensing without consent (or a pre-arranged copyright assignment - a contributor's agreement). And it's copyright law which enforces this.
Given past experiences, I see large group projects trending towards having CLAs/DCOs where you give up ownership of your code anyway. Most people don't want to work with random contributors who wish to hold a gun to their heads in perpetuity.
This article gives a nice description of the differences: https://opensource.com/article/18/3/cla-vs-dco-whats-differe...
Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
#126Earlier quoted context omitted.
I've played local multiplayer games over parsec ( https://parsec.app/ ), it works great and is pretty much turnkey
Parsec looks great, but I'd be grateful for metrics (bc who knows what "low-latency" really means).
Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
#127Related: a fork of OBS Studio with WebRTC support https://github.com/CoSMoSoftware/OBS-studio-webrtc
I get that the maintainer has put a lot of work into this and wants to try and monetize some part which is hard when OBS is GPL, but depending on a binary which is nigh-on impossible to build and then charging for it on your website just feels a bit of a shitty way to do it.
Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
#128Welcome to Project Lightspeed. This is a project that allows anyone to easily deploy their own sub-second latency live-streaming server. In its current state you can stream from OBS [1] and watch that stream back from any desktop browser. This has been a super fun project which has taught me more than any other project I have done. It uses Rust, Go and React and can be deployed fairly easily on a very lightweight ser…
I hand't heard of FTL before. Apparently it was a protocol used in Microsoft's now-defunct game-streaming service, Mixer. I found some discussion of the various streaming protocols here[1], which included some description of FTL.
I guess it comes down to latency. That would still have left SRT on the table, yes?
Great project. Such a key area of connectivity for us all. So glad you did this. Thanks.
Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
#129Welcome to Project Lightspeed. This is a project that allows anyone to easily deploy their own sub-second latency live-streaming server. In its current state you can stream from OBS [1] and watch that stream back from any desktop browser. This has been a super fun project which has taught me more than any other project I have done. It uses Rust, Go and React and can be deployed fairly easily on a very lightweight ser…
Really cool! You say you use Rust and Go. Why both? I imagine Rust for super performance sensitive stuff and Go for the rest, for faster development?
The Rust Lightspeed-ingest[2] server is also ~500 lines of code, and primarily handshakes the FTL protocol used to communicate with OBS.
There is a Pion port to rust[3] that is in progress. I am not sure the state of this work. Pion is used quite extensively by many many projects; I'm not sure if the rust webrtc-rs port has any notable users yet. As I began by saying, I expect the trustability & extensiveness of Pion is what lead to lightspeed-webrtc being written in Go.
[1] https://pion.ly/
Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
#130Earlier quoted context omitted.
Awesome! I was looking for something like this when trying to play a local multiplayer game via the Internet in an early lockdown. There are, or were, no good turnkey solutions for this. Twitch and Youtube have 5-10s latency, which is often not good enough. Mixer promised (and presumably delivered) ~1s latency using the FTL protocol you use, but they had a wait list of a couple of days or weeks, and of course now, th…
Why do you need such low latency for live streaming? For the majority of cases 10s latency does not really matter.