Added hacky hardcoded FFmpeg option to set RTSP transport to TCP to improve streaming
This commit is contained in:
parent
d0baa00dfd
commit
6a1b033f28
@ -39,7 +39,8 @@ FFMPEGProcessor.prototype.run = function()
|
||||
var command = new FfmpegCommand();
|
||||
command
|
||||
.input(this.cam.options.input)
|
||||
.inputOptions(['-t ' + this.cam.options.time]);
|
||||
.inputOptions(['-t ' + this.cam.options.time,
|
||||
'-rtsp_transport tcp']);
|
||||
|
||||
if (typeof(this.cam.options.inputFormat) !== 'undefined')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user