SIPSorceryMedia.FFmpeg
SIPSorceryMedia.FFmpeg copied to clipboard
OnVideoSourceRawSampleFaster event is not firing on Linux (Ubuntu 22.04)
ffmpeg -> ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
v4l2-ctl --list-devices:
WebCam C170: WebCam C170 (usb-0000:00:14.0-10):
/dev/video0 /dev/video1 /dev/media0
FFmpegInit.Initialise(FfmpegLogLevelEnum.AV_LOG_VERBOSE, linux_path) is working fine. path is /usr/lib/x86_64-linux-gnu. There no error to initiaze ffmpeg
private FFmpegCameraSource _videoSource;
_videoSource = new FFmpegCameraSource(camPath); //here camPath is /dev/video1 _videoSource.OnVideoSourceRawSampleFaster += _videoSource_OnVideoSourceRawSampleFaster; _videoSource.OnVideoSourceError += _videoSource_OnVideoSourceError; _videoSource.StartVideo().Wait();
There is no error on above code execution.
BUT OnVideoSourceRawSampleFaster event is not firing. But it is working on Windows.