1
0
mirror of synced 2024-11-16 11:03:50 +00:00

Added hacky hardcoded FFmpeg option to set RTSP transport to TCP to improve streaming

This commit is contained in:
Mark van Renswoude 2016-08-07 11:06:58 +02:00
parent d0baa00dfd
commit 6a1b033f28

View File

@ -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')
{