$ docker
This file contains hidden or 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
| set tabstop=2 | |
| set expandtab | |
| set shiftwidth=2 | |
| set scrolloff=3 | |
| " Uncomment the following to have Vim jump to the last position when | |
| " reopening a file | |
| if has("autocmd") | |
| au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif | |
| endif |
This file contains hidden or 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 H.264 over HTTP Test | |
| // How to Use raw H.264 (Simulated RTSP) | |
| // 1. Start with `node ffmpegToWeb.js` | |
| // 2. Get the IP address of the computer where you did step 1. Example : 127.0.0.1 | |
| // 3. Open VLC and "Open Network Stream". | |
| // 4. Input the following without quotes : `http://127.0.0.1:8001/h264` and start. | |
| var child = require('child_process'); | |
| var io = require('socket.io'); | |
| var events = require('events'); |