- Fix url in FFmpeg commands.
- Fix problem with librtmp style URL parameters.
timeoutInSecoption was changed totimeoutInMsin theFrameMonitorand in theStreamInfoclass.
IMPROVEMENTS:
- Added new option
analyzeDurationInMsthat specifies the maximum analyzing time of the input [GH-97]
BUG FIXES:
- Fixed lack of support of the
timeoutfor anon-librtmpbuilds offfmpeg[GH-92]
IMPROVEMENTS:
- Function
processFramesfrom the module with the same name actually does calculations of encoder statistic. To improve naming it was renamed toprocessFrames.encoderStats[GH-10] processFrames.accumulatePktSizewas renamed toprocessFrames.calculatePktSize[GH-17]- New function
processFrames.networkStatsfor analyzing network link quality and losses in realtime. Check the README for more details. [GH-17] - Example for the
processFrames.networkStatsat examples/networkStats.js [GH-17] - Dependencies was bumped
BUG FIXES:
- Fix of functional tests (aspectRatio -> displayAspectRatio) [GH-12]
- ffprobe ran without
-fflags nobuffersoFramesMonitorreceives incorrect info at the time of first analysis. Check [GH-18] for more details.
- Added new fields
gopDuration,displayAspectRatio,width,height,hasAudioStreamto the result of processFrames execution - Added new methods to processFrames:
calculateGopDuration,calculateDisplayAspectRatio,hasAudioFrames FramesMonitorfetches video and audio frames from the stream now.- Added
widthandheightinfo to video frames.