Live data from Hacker News

Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS

github.com

41–50 of 141 posts

Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS

#42
post #2

Welcome 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, they don't exist anymore. Even Steam Play Together, ostensibly built for this purpose, wasn't low latency enough in my limited experience (this really surprised me, so maybe I'm doing it wrong).

The easiest solution, use the share desktop function of whatever video conference tool, almost works, but they universally seemed reduce the frame rate, which is ok for presentations but unsuitable for games (also, no audio). My solution was to output OBS to a virtual webcam device and use Jitsi Meet. A bit roundabout, but it worked wonderfully.

Ideally, I'd forgo the DO droplet, and just run everything locally. 20% of a small droplet is even less of a modern desktop computer's CPU. Which leaves upload bandwidth for broadcast, which depends on your connection and how many people you need to be able to stream to.

Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS

#43

Could this mix multiple obs streams from different origins? My friends and I put on a NYE stream party but it was actually a massive faff finding something that could mix multiple remote streams into one. Would love to be able to self host something to do it A simple switch is fine in this case, no overlays or anything

Obs-ndi. Output all the sources you need over NDI. Use them as sources in OBS.

Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS

#44
post #42
post #2

Welcome 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 played local multiplayer games over parsec (https://parsec.app/), it works great and is pretty much turnkey

Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS

#45
post #42

Earlier 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…

I've played local multiplayer games over parsec ( https://parsec.app/ ), it works great and is pretty much turnkey

Yes, I forgot about Parsec, that's a good suggestion. I remember trying it, and not getting it to do what I want, unfortunately I don't remember why. I think I was stuck in the "Arcade", when all I wanted was to share my desktop or one window. It certainly looks like exactly what I was looking for.

Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS

#46
post #42
post #2

Welcome 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…

Have you tried Discords GoLive sharing?

Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS

#47
post #45

Earlier quoted context omitted.

I've played local multiplayer games over parsec ( https://parsec.app/ ), it works great and is pretty much turnkey

Yes, I forgot about Parsec, that's a good suggestion. I remember trying it, and not getting it to do what I want, unfortunately I don't remember why. I think I was stuck in the "Arcade", when all I wanted was to share my desktop or one window. It certainly looks like exactly what I was looking for.

Arcade is like a quick match menu for finding a game to play.

You can share any screen or desktop from the main app and have friends connect

Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS

#48
post #42
post #2

Welcome 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…

Why do you need such low latency for live streaming? For the majority of cases 10s latency does not really matter.

Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS

#49
post #24

Earlier quoted context omitted.

SRT seems like an overly complicated solution that has already been solved by KCP protocol.

Yes to the first half of this at least (KCP is not something I've heard of). Having recently attempted to use SRT for an event's backend restreaming stack, the low latency was nice but it's a pain in the ass. It's really not designed for links where latency isn't known and consistent. You have to bake an expected latency amount into initial protocol negotiation or you'll end up with problems, and OBS' support is quit…

What sucked about the ‘WebRTC stack’? I think the situation is much better these days. We have multiple options. SRT only has one with lots of bindings. With WebRTC you could use any of these!

* werift (Typescript)

* Pion (Golang)

* aiortc (Python)

* KVS WebRTC (mbedtls, embedded C)

* GStreamer's webrtcbin

* rawrtc (C++)

* webrtc-rs (Rust)

* libwebrtc Google’s Implementation (C++)

Re: Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS

#50
About the choice of license (MIT): could you share your considerations about it? (if any)

It's a topic I'm interested in. Mainly to see examples (and learn from them) about when people prefer lax licenses on the style of "do what you want with this, including a closed-source proprietary business" (MIT, Apache) which has allowed in the past that big Co's. benefit from it without giving back (lots of cases in HN), vs. strong copyleft "do what you want except closed-source proprietary stuff" style (generally speaking, the GPL family -- EDIT: I know that this, being mainly a server-side thing, would be more affected by AGPL than by GPL. Bear with me.).

If there are no business / commercialization intentions in the foreseeable future, would it make sense to use a GPL license (one of them) to build a strong open-source community?

Or it doesn't matter in practice? (i.e. it doesn't really affect the chances of building a good and strong developer community)

Post reply on HN