Cannot capture screen whith no media devices
Closed this issue · 3 comments
MathieuSerrurier commented
When calling initializeMediaDevices on a computer with no video and audio devices with useDisplayMediaDevices to true it fails, but it should work as media devices are not needed for screen capture.
janus_plugin.dart :
if (videoDevices.isEmpty && audioDevices.isEmpty) {
throw Exception("No device found for media generation");
}
shivanshtalwar commented
You are right thanks for pointing it out i will release the fix soon just a check is needed maybe you can do a pr if you want it urgently
shivanshtalwar commented
this should be fixed in latest commit please verify the same and lmk @MathieuSerrurier
shivanshtalwar commented
Closing due to inactivity fixed anyway