Fixed two typos
This commit is contained in:
parent
0cdeee314d
commit
3c9e4d6f4b
|
@ -41,7 +41,7 @@ FFMPEGProcessor.prototype.run = function()
|
||||||
var command = new FfmpegCommand();
|
var command = new FfmpegCommand();
|
||||||
command
|
command
|
||||||
.input(this.cam.options.input)
|
.input(this.cam.options.input)
|
||||||
.inputOptions(['-t ' + ceil(this.cam.options.time / 1000),
|
.inputOptions(['-t ' + Math.ceil(this.cam.options.time / 1000),
|
||||||
'-rtsp_transport tcp']);
|
'-rtsp_transport tcp']);
|
||||||
|
|
||||||
if (typeof(this.cam.options.inputFormat) !== 'undefined')
|
if (typeof(this.cam.options.inputFormat) !== 'undefined')
|
||||||
|
|
|
@ -26,7 +26,7 @@ HTTPFFMPEGProcessor.prototype.run = function()
|
||||||
camId: this.camId
|
camId: this.camId
|
||||||
});
|
});
|
||||||
|
|
||||||
this.tempFilename = filename + '.recording';
|
this.tempFilename = this.filename + '.recording';
|
||||||
|
|
||||||
|
|
||||||
var command = new FfmpegCommand();
|
var command = new FfmpegCommand();
|
||||||
|
|
Loading…
Reference in New Issue