by hoggle on 12/19/14, 2:03 PM with 17 comments
by hoggle on 12/19/14, 4:46 PM
Install via:
npm install -g stream-adventure
Now simply go forth and start your adventure by typing: stream-adventure
Have fun and don't forget to thank the man:by shortstuffsushi on 12/19/14, 5:19 PM
by dpweb on 12/19/14, 3:36 PM
var stream = fs.createReadStream(__dirname + '/data.txt');
stream.pipe(res);
vs. fs.readFile('./data.txt) and res().and if streams become a better and better option as response sizes get larger and larger. The streams syntax is nicer looking in any case.
by yudong on 12/19/14, 7:35 PM
For example, can you use ffmpeg to pull live video via rtsp, re-encode and pipe to nodejs for it to stream down to browser and to be consumed by html - with or without a plugin?
Any working code sample?
by fibo on 12/19/14, 6:40 PM