News for hackers. Stuff that matters.

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

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?
( 4 comments | on HN )
Re:Ask HN: What's the best way to create live stream app lik... by theGeatZhopa on Wednesday December 21, 2022 @03:51AM (#34078211)
Web-rtc. Browsersupport.
Re:Ask HN: What's the best way to create live stream app lik... by holler on Wednesday December 21, 2022 @04:03AM (#34078283)
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?

Re:Ask HN: What's the best way to create live stream app lik... by eaglehead on Tuesday December 27, 2022 @05:25PM (#34154694)
I am not sure what I would use for chat. Jitsi (mentioned below) looks interesting.
Re:Ask HN: What's the best way to create live stream app lik... by quickthrower2 on Wednesday December 21, 2022 @04:21AM (#34078414)
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: