@mediagoom/node-play v0.0.14
node-play
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-playTo run it type:
nodeplayInstall locally
Create a directory to host node-play
mkdir nodeplay
cd nodeplaythen install it locally
npm install @mediagoom/node-playrun it
./node_modules/.bin/nodeplay- navigate to http://localhost:3000
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.