Added video streaming and sample file
Added bigbuck.mp4, the sample file Install nodemon module for streaming Modified index.html to contain the video, and changed the title Modified index.js to add /video dir for the video streaming
This commit is contained in:
13
node_modules/pstree.remy/tests/fixtures/index.js
generated
vendored
Normal file
13
node_modules/pstree.remy/tests/fixtures/index.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
const spawn = require('child_process').spawn;
|
||||
function run() {
|
||||
spawn(
|
||||
'sh',
|
||||
['-c', 'node -e "setInterval(() => console.log(`running`), 200)"'],
|
||||
{
|
||||
stdio: 'pipe',
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
var runCallCount = process.argv[2] || 1;
|
||||
for (var i = 0; i < runCallCount; i++) run();
|
||||
Reference in New Issue
Block a user