Skip to content

Commit

Permalink
fix remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
oleh-poberezhets committed Dec 16, 2019
1 parent df51b63 commit a9683d2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const {FramesMonitor} = require('video-quality-tools');

const framesMonitorOptions = {
ffprobePath: '/usr/local/bin/ffprobe',
timeoutInMa: 2000,
timeoutInMs: 2000,
bufferMaxLengthInBytes: 100000,
errorLevel: 'error',
exitProcessGuardTimeoutInMs: 1000
Expand Down
8 changes: 4 additions & 4 deletions tests/Functional/FramesMonitor/listen.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('FramesMonitor::listen, fetch frames from inactive stream', () => {

framesMonitor = new FramesMonitor({
ffprobePath : process.env.FFPROBE,
timeoutInMs : 1,
timeoutInMs : 1000,
bufferMaxLengthInBytes : bufferMaxLengthInBytes,
errorLevel : errorLevel,
exitProcessGuardTimeoutInMs: exitProcessGuardTimeoutInMs
Expand Down Expand Up @@ -82,7 +82,7 @@ describe('FramesMonitor::listen, fetch frames from active stream', () => {

framesMonitor = new FramesMonitor({
ffprobePath : process.env.FFPROBE,
timeoutInMs : 1,
timeoutInMs : 1000,
bufferMaxLengthInBytes : bufferMaxLengthInBytes,
errorLevel : errorLevel,
exitProcessGuardTimeoutInMs: exitProcessGuardTimeoutInMs
Expand Down Expand Up @@ -146,7 +146,7 @@ describe('FramesMonitor::listen, stop ffprobe process', () => {

framesMonitor = new FramesMonitor({
ffprobePath : process.env.FFPROBE,
timeoutInMs : 1,
timeoutInMs : 1000,
bufferMaxLengthInBytes : bufferMaxLengthInBytes,
errorLevel : errorLevel,
exitProcessGuardTimeoutInMs: exitProcessGuardTimeoutInMs
Expand Down Expand Up @@ -188,7 +188,7 @@ describe('FramesMonitor::listen, exit with correct code after stream has been fi

framesMonitor = new FramesMonitor({
ffprobePath : process.env.FFPROBE,
timeoutInMs : 1,
timeoutInMs : 1000,
bufferMaxLengthInBytes : bufferMaxLengthInBytes,
errorLevel : errorLevel,
exitProcessGuardTimeoutInMs: exitProcessGuardTimeoutInMs
Expand Down
4 changes: 2 additions & 2 deletions tests/Functional/StreamsInfo/fetch.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('StreamsInfo::fetch, fetch streams info from inactive stream', () => {

streamsInfo = new StreamsInfo({
ffprobePath: process.env.FFPROBE,
timeoutInMs: 1,
timeoutInMs: 1000,
}, streamUrl);
});

Expand Down Expand Up @@ -55,7 +55,7 @@ describe('StreamsInfo::fetch, fetch streams info from active stream', () => {

streamsInfo = new StreamsInfo({
ffprobePath: process.env.FFPROBE,
timeoutInMs: 1,
timeoutInMs: 1000,
}, streamUrl);

stream = await startStream(testFile, streamUrl);
Expand Down

0 comments on commit a9683d2

Please sign in to comment.