Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1.1 KB

README.md

File metadata and controls

64 lines (39 loc) · 1.1 KB

React-livestreaming App

Before cloning this, please give a star for this repo if you are interested :)

http://localhost:3000/streams

StreamList


http://localhost:3000/stream/<random-id>

Clone JSON-Server

https://github.com/nayyaung9/json-database-livestream

Install

yarn install (or) npm install

create db.json file

{
  "streams": []
}

Configuration

inside package.json, add "start" in "scripts" field

"start": "json-server -p 3001 -w db.json"

Clone RTMP-Server

https://github.com/nayyaung9/rtmp-server-livestream

Install

yarn install (or) npm install

Configuration

inside package.json, add "start" in "scripts" field

"scripts": {
  "start": "node index.js"
},

Run

node index.js

Host

rtmp://localhost/live