Open mail2mhossain opened 2 months ago
I don't have OSX to reproduce this, but,
isCamera
is set true
because the screen is treated as an input device in FFmpeg,path
should be as described in this FFmpeg documentationIt was a permission related issue.
In both
FFmpegCameraSource
andFFmpegScreenSource
classes, the following method is called within their constructors:The method signature is:
By default, the
isCamera
parameter is set tofalse
, but both classes are passingtrue
when calling the method.On the Windows platform, screen sharing works regardless of whether
isCamera
is set totrue
orfalse
. However, on macOS, ifCreateVideoDecoder
is called withisCamera
set totrue
, we do not receive any feed from the monitor. Conversely, whenisCamera
is set tofalse
, we receive the feed from the default camera instead of the monitor.Could you please provide guidance on how to resolve this issue?