News for hackers. Stuff that matters.
Re:Show HN: Lightspeed – subsecond, open source, self hosted... by rektide on Monday January 04, 2021 @02:03PM (#25636240)
The ingress components is interesting to me. It takes the OBS stream, via the FTL protocol, & converts it into something for WebRTC to use, yes? What drove you to use FTL protocol for ingestion? Did you consider alternatives like RTMP, which I believe OBS also supports?

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.

[1] https://restream.io/blog/streaming-protocols/

Re:Show HN: Lightspeed – subsecond, open source, self hosted... by GRVYDEV on Tuesday January 05, 2021 @06:29PM (#25652733)
I went with FTL instead of RTMP for the sake of latency. Also FTL gives me a stream of RTP packets which can go directly into WebRTC meaning I have to do 0 processing of the packets where as with RTMP I would have to convert them into RTP packets. Also SRT is interesting however it is wildly complicated and does not use RTP meaning I would have to figure out how it works and then convert whatever it gives me into RTP packets for WebRTC