- Fix url in FFmpeg commands.
- Fix problem with librtmp style URL parameters.
timeoutInSec
option was changed totimeoutInMs
in theFrameMonitor
and in theStreamInfo
class.
IMPROVEMENTS:
- Added new option
analyzeDurationInMs
that specifies the maximum analyzing time of the input [GH-97]
BUG FIXES:
- Fixed lack of support of the
timeout
for anon-librtmp
builds offfmpeg
[GH-92]
IMPROVEMENTS:
- Function
processFrames
from the module with the same name actually does calculations of encoder statistic. To improve naming it was renamed toprocessFrames.encoderStats
[GH-10] processFrames.accumulatePktSize
was renamed toprocessFrames.calculatePktSize
[GH-17]- New function
processFrames.networkStats
for analyzing network link quality and losses in realtime. Check the README for more details. [GH-17] - Example for the
processFrames.networkStats
at examples/networkStats.js [GH-17] - Dependencies was bumped
BUG FIXES:
- Fix of functional tests (aspectRatio -> displayAspectRatio) [GH-12]
- ffprobe ran without
-fflags nobuffer
soFramesMonitor
receives incorrect info at the time of first analysis. Check [GH-18] for more details.
- Added new fields
gopDuration
,displayAspectRatio
,width
,height
,hasAudioStream
to the result of processFrames execution - Added new methods to processFrames:
calculateGopDuration
,calculateDisplayAspectRatio
,hasAudioFrames
FramesMonitor
fetches video and audio frames from the stream now.- Added
width
andheight
info to video frames.