Bennyhwanggggg / OBS-Stream-App

Web app to stream from OBS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OBS-Stream-App

React Web app to stream let people stream from their computer using OBS

How to use?

Clone the repository

git clone git@github.com:Bennyhwanggggg/OBS-Stream-App.git

Start frontend

cd client
npm install
npm start

Start RTMP server

cd rtmp
npm start

Setup OBS

  1. Install and start OBS
  2. In OBS setting, under Stream, change service to custom and change the url to your url you set in StreamShow.js in client/src/components/streams/StreamShow.js
    this.player = flv.createPlayer({
      type: 'flv',
      url: `http://localhost:8000/live/${id}.flv`
    });
    this.player.attachMediaElement(this.videoRef.current);
    this.player.load();
  1. The id is the Stream Keyyou set on OBS
  2. Start streaming and see your own stream on the respective id on the web page

About

Web app to stream from OBS


Languages

Language:JavaScript 90.3%Language:HTML 9.7%