This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Shinobi (http://shinobi.video) - FFMPEG FLV over HTTP Test | |
// How to Use | |
// 1. Navigate to directory where this file is. | |
// 2. Run `npm install express` | |
// 3. Start with `node ffmpegToWeb.js` | |
// 4. Get the IP address of the computer where you did step 1. Example : 127.0.0.1 | |
// 5. Open `http://127.0.0.1:8001/` in your browser. | |
var child = require('child_process'); | |
var events = require('events'); |