itsrojasleon / streams

Streams App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Streams

Prerequisites

Node 11.13.0 Npm 6.9.0

If you have problems with the versions... Try to delete package-lock.json files.

Getting started

Download the repo

git clone git@github.com:rojasleon/streams.git
(From scratch? download the zip)

Install dependencies

npm install
// With yarn
yarn install

Configure your API

Configure an application in Google Developer Console.

Run project

// open a tab in your terminal and run:
cd client && npm start
// another tab in /
cd api && npm start
// another tab in /
cd rtmpserver && npm start

Configure OBS

  • Create an escene
  • Go to settings/Stream
  • Service: "Custom"
  • Server: "rtmp://localhost/live"
  • Stream Key: (look the example)

Example: When you create a new Stream, look at the params. You are going to see: localhost:3000/streams/:id :id it's your Stream Key.

Author

Juan Luis Rojas León

License

MIT

About

Streams App


Languages

Language:JavaScript 91.9%Language:HTML 8.1%