Ask HN: What's the best way to create live stream app like Twitch?

by eagleheadon 12/21/2022, 7:37 AMwith 4 comments

I want to be productive and learn a new stack over the holidays. I have been thinking of creating an app that is something similar to Twitch streaming. The idea is to enable someone to share their screen and camera and instantly offer live stream class. The subscribers will only be viewing the stream and they will have the ability to send messages via chat. I have the chat component finished but now looking into how to make the video streaming component. I have looked into Daily.co, Agora and 100ms but wondering if there are any open source alternates?

by holleron 12/21/2022, 9:03 AM

If you're doing it strictly for learning, webrtc might not be bad to dabble with (something I want to do as well). For a real project I'd probably go w/existing solution for early iteration.

What'd you use for chat?

by quickthrower2on 12/21/2022, 9:21 AM

I would look into Jitsi (open source) and/or use JaaS (Jitsi as a service) to “cheat” and see if the api suits you. There is a generous free tier:

by theGeatZhopaon 12/21/2022, 8:51 AM

Web-rtc. Browsersupport.