Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 923 Bytes

readme.md

File metadata and controls

47 lines (28 loc) · 923 Bytes

A streaming server using OBS, node and FLV.js

Requirements

Open Broadcaster Software: https://obsproject.com/

Node Media Server: https://www.npmjs.com/package/node-media-server

Install and configure

Install dependencies

$ npm install

Configure OBS

Settings -> Stream

Stream Type : Custom Streaming Server

URL : rtmp://localhost/live

Stream key : STREAM_NAME

Update config

In index.html, update the url property in playerConfig to point to the IP address of where the streaming server will be located.

Stream media and serve via http

To just launch the streaming server without a front end interface, launch OBS, start a stream and then run

$ npm run start

To run a webserver showing the video, a node server module is included. Run it from the root project directory.

$ npm run serve

Or you can use your own preferred server.