This is platform for streaming server
npm install
Please following this guide to install ffmpeg
http://ubuntuhandbook.org/index.php/2017/05/install-ffmpeg-3-3-in-ubuntu-16-04-14-04/
And install some packages
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
The simplest way to install ffmpeg on Mac OS X is with Homebrew.
Once you have Homebrew installed install ffmpeg from the Terminal with the following:
brew install ffmpeg
npm run dev
npm test
1 . Create video folder and add one mp4 video to this folder
2 . Rename your video name to '1.mp4'
3 . Run npm run dev
./server/config/constant.js
.
This API streaming only can be streamed from some host that you defined above
./server/config/secret.js
POST https://{yourhost}/api/newApiKey
params
{
email: 'your_email',
secretkey: {secretCODE that is changed above},
}
{
apikey: '{apikey_excample}'
}
MIT