2
0 Comments

Open sourced my livestreaming SaaS

link: https://ohmystream.co/

code: https://github.com/toshvelaga/livestream

Hey guys for the last 9 months I've been working on building a SaaS product that lets users livestream to youtube, facebook, twitch, and custom RTMP destinations at the same time. It was a ton of work as I had to learn about webRTC, getUserMedia, getDisplayMedia, RTMP, and FFmpeg. I used react js, node, express, and postgres.

Basically the way it works is that we have a video element on the client and websockets which sends frames of data every second to the server. The server used FFmpeg to encode and relay the video to RTMP destinations. We worked with the youtube, twitch, and facebook livestreaming apis as well as Oauth for all three social media platforms.

I decided to stop working on the project and open source if for future devs who decide to go on a similar journey in the live streaming space.

If you find this project useful please consider starring it on Github. Thanks!

on May 8, 2022