mirror of
https://github.com/vale981/doccam-pi
synced 2025-03-04 17:01:40 -05:00
hmm2
This commit is contained in:
parent
5edf84b0c1
commit
f38b0c4a73
1 changed files with 2 additions and 1 deletions
3
main.js
3
main.js
|
@ -63,7 +63,7 @@ let spawn = function() {
|
||||||
stdoutLines: 20
|
stdoutLines: 20
|
||||||
})
|
})
|
||||||
.videoCodec('copy')
|
.videoCodec('copy')
|
||||||
.outputOptions(['-bufsize 50000k', '-tune film', config.customOutputOptions])
|
.outputOptions([config.customOutputOptions])
|
||||||
.on('start', function(commandLine) {
|
.on('start', function(commandLine) {
|
||||||
status.running = 0;
|
status.running = 0;
|
||||||
logger.log(importance[4], 'Spawned Ffmpeg with command: ' + commandLine);
|
logger.log(importance[4], 'Spawned Ffmpeg with command: ' + commandLine);
|
||||||
|
@ -84,6 +84,7 @@ let spawn = function() {
|
||||||
imDead(err.message, e);
|
imDead(err.message, e);
|
||||||
})
|
})
|
||||||
.outputFormat('flv')
|
.outputFormat('flv')
|
||||||
|
.outputOptions(['-bufsize 50000k', '-tune film'])
|
||||||
.output('rtmp://a.rtmp.youtube.com/live2/' + config.key);
|
.output('rtmp://a.rtmp.youtube.com/live2/' + config.key);
|
||||||
status.error = -1;
|
status.error = -1;
|
||||||
socket.emit('change', {
|
socket.emit('change', {
|
||||||
|
|
Loading…
Add table
Reference in a new issue