HNHacker News
TopNewBestAskShowJobs

GRVYDEV

328 karma · joined January 4, 2021

submissionscomments
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
Hm it would be interested to see RIST used in OBS
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
Yeah! The bitrate shouldn't exceed 8k though and remember the more bitrate you use the more bandwidth the server will use which can mean incurring costs with some providers.
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
Oof! I'll stick to development I guess grammar isn't my strong suit haha!
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
Yes and this makes 100% sense. This is my first Open Source project so its definitely something to think about!
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
Yes I am aware however there is a new service called Glimesh that is utilizing FTL so I dont think it is going to disappear tomorrow. Also I have implemented the server side so it does not matter that it is closed.
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
Would I like a strong open source community? Absolutely, could you fork this and make money off of it right now? No not even close. Maybe in the future I would consider a different license but at the end of the day if you take this and make it profitable good for you :) my goal wasn’t to make money
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
This wouldn’t actually solve anything since WebRTC can handle packet loss. The loss is going to be coming from OBS -> Server which unfortunately there isn’t much I can do about that since it uses UDP
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
I’d love to write an installer that would install and run everything for you
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
This is planned and will hopefully be coming soon :)
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
No worries :) enjoy and please let me know what you find!
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
I’ll get on that first thing tomorrow!
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
Wow that is a use case that I haven’t considered haha! That sounds awesome! This was made with the intent to be used as a traditional live stream server similar to Twitch or YouTube but honestly it can be used for whatever your heart desires :)
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
Also, you’re not “hacking” obs. oBS is compiled with the FTL sdk you just have to tell it to use it.
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
Also the work required to adapt what I have to SRT is non trivial and I would rather have something that works right now and then build in SRT support in the future
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
So FTL is supported by OBS and was used by Mixer. I’m interested to move to SRT in the future since you’re correct, FTL support will be going away eventually
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
I can’t wait for you to try it out haha!
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
As of right now there isn’t a demo. I need to determine the most cost effective way to stream 24/7 then I will put one up
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
Yup! You could develop a web of WebRTC relays
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
YouTube and twitch use RTMP which operates over TCP. This means that each time we send a packet we need to ensure that it’s been received which adds latency overhead. Lightspeed uses the FTL protocol which operates over udp thus reducing the latency overhead
GRVYDEV··on Show HN: Automatic Baseball Pitching Motion and Trajectory Overlay in Realtime
Okay now this is awesome! Great work!
GRVYDEV··on Show HN: Lightspeed – subsecond, open source, self hosted stream from OBS
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 server. For example, I have been doing my test streams on a $5 Digital Ocean droplet and the CPU usage is at around 20%. Granted not a lot of people are watching however it is more lightweight than a solution such as Janus.

The point of this project is twofold. First I wanted to learn more about WebRTC and real-time communication in general. Second, I wanted to provide a platform where people can setup their own little live-stream environment. Maybe you just want a place where you and some friends can hang out or you are sick of the main-stream platforms.

Anyhow as of writing this post it is v0.1.0 and considered an MVP release. In the coming months I (and hopefully some of you :)) will be adding more features and trying to flesh this out into as much of a full featured platform as possible. Feel free to take a look at the repo and let me know what you all think :)

[1] Open Broadcast Software (OBS): https://obsproject.com/

← PreviousPage 2 of 2