@mediagoom/node-play

0.0.14 • Public • Published

node-play

Build Status Coverage Status codecov

A nodejs web streaming server. It needs node 8 or above.

node-play is a web server witch expose api for encoding your videos and playing them back in either HLS (HTTP LIVE STREAMING) or MPEG-DASH.

The UI is implemented in vue.js and the sources are in the mediagoom/node-play-ui repository.

For encoding it uses ffmpeg. A free tool.

For packaging it uses mg. A free tool.

It should work on both Linux and Window.

If you want to run on other platforms you may need to install the above tools yourself.

Run with docker

docker run -d -p 80:3000 --name node-play mediagoom/node-play 

Install globally

To install it globally run:

sudo -E npm install -g @mediagoom/node-play

To run it type:

nodeplay

Install locally

Create a directory to host node-play

mkdir nodeplay
cd nodeplay

then install it locally

npm install @mediagoom/node-play

run it

./node_modules/.bin/nodeplay

Configure

If you set the environment variable NODE_ENV to production node-play will save its works flows to disk. In this way in case something should happen in an encoding it will be restarted when node-play is restarted.

Package Sidebar

Install

npm i @mediagoom/node-play

Weekly Downloads

0

Version

0.0.14

License

ISC

Unpacked Size

2.69 MB

Total Files

51

Last publish

Collaborators

  • aseduto
  • aseduto2