sipsorcery-org / sipsorcery

A WebRTC, SIP and VoIP library for C# and .NET. Designed for real-time communications apps.
https://sipsorcery-org.github.io/sipsorcery
Other
1.47k stars 442 forks source link

Not able to capture web cam in mac mini #1019

Closed Confygre closed 3 months ago

Confygre commented 1 year ago

I am using an external camera in my mac mini with m2 chip. image I was using FFmpegFileAndDeviceTest and I got this error image I tried to change the framerate in Helper.cs file (in SipsorceryMedia.FFmpeg source code) but still got the error.

This basic ffmpeg command works fine ffmpeg -f avfoundation -framerate 30 -i 0: output.mp4. So I think the problem is on the framerate. Is there any way to change it?

Confygre commented 3 months ago

Custom FPS can solve this issue