Releases: sipsorcery-org/SIPSorceryMedia.FFmpeg
SIPSorceryMedia.FFmpeg V1.2.1 Release
For coherency remove event OnEndOfFile and use instead OnAudioSourceError or OnVideoSourceError.
Remove event OnEndOfFile in AudioSource, FileSource and VideoSource.
Use instead OnAudioSourceError or OnVideoSourceError.
The goal is to be coherent when a source is not accessible OR no more accessible.
The source is no more accessible when the device in use is unplugged for example or if the file (remote/local) is no more accessible (network trouble, ...)
FFmpeg raises an error when a source is not accessible (so in initialization step) but it raises EOF when it's no more accessible ...
On a file device if the "loop" option is used, error event is not triggered immediately on EOF. Because it's not possible to know is EOF is really reached or if the file is no more accessible. The init step is started and if it fails the error event if raised
SIPSorceryMedia.FFmpeg V1.2
Fixes:
- Pause / Resume: Really pause / resume stream (Audio or Video) - before packets where just dropped
- Support low video frame rate (like CCTV)
Enhancements:
Avoid to throw exception when FFmpeg actions cannot be done:
- FFmpegAudioDecoder / FFmpegVideoDecoder: use event OnError
- FFmpegAudioSource: use event OnAudioSourceError
- FFmpegVideoSource: use event OnVideoSourceError
- FFmpegFileSource: use event OnAudioSourceError and OnVideoSourceError
Avoid to raise event OnEndOfFile for Microphone or Camera, use instead OnError
SIPSorceryMedia.FFmpeg v1.1.1
Small improvement and remove compilation warnings
-
For some files going back to theirs beginning failed using avformat_seek_file. In this (rare) case, we restart all the decoding process for the beginning.
-
Update code to remove compilation warnings
-
Remove unnecessary reference to package Microsoft.Extensions.Logging.Abstractions.
SIPSorceryMedia.FFmpeg V1.1.0 Release
Enhance Audio Source encoding.
Audio Codecs tested: PCMU (G711), PCMA (G711), G722, G729 and Opus
v1.0.0
v1.0.0