Skip to content

Livestream to Youtube, Twitch, and Facebook at the same time using Javascript 📹

License

Notifications You must be signed in to change notification settings

opera-gaming/livestream

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Livestreaming (ohmystream.co)

NOTE: I am no longer actively maintaining this project. The production postgres DB is no longer running. If you want a simple example of how to use FFmpeg to restream check out this repo.

Screen Shot 2022-03-16 at 10 56 12 PM

Ohmystream demo - Watch Video

Ohmystream demo video thumbnail

Check out the app HERE

Web based software to record a livestream in the browser and stream simultaneously to Youtube, Facebook, and Twitch. Software is similar in functionality to OBS and streamlabs.

Frontend is built using React JS. Backend is build using Node + Express. Database is postgres. The livestreaming is enabled using websockets and ffmpeg.

On the client the code that sends the livestream to the server is in the client/containers/Broadcast/Broadcast.js file. On the server the websockets are enabled in server/server.js file.

Todo

Tech/framework used

Frontend tech stack:

Backend tech stack:

Installation

To run this project, install it locally using npm:

$ cd client
$ npm install
$ npm start

For the server create a .env file with the variables from env.example

$ cd server
$ touch .env
$ npm install
$ node server.js

Contribute

Feel free to use code however you would like.

Feel free to also reach out to me on twitter at @t0xsh

License

MIT

About

Livestream to Youtube, Twitch, and Facebook at the same time using Javascript 📹

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.9%
  • CSS 13.3%
  • HTML 1.7%
  • Shell 0.1%