You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested some external USB UVC webcam on macOS. It works with alufers's patch under 0.10.x alufers@7852477
However, these two objc call panic:
let _: () = unsafe {
msg_send![self.inner, setValue:min_frame_duration forKey:active_video_min_frame_duration]
};
let _: () = unsafe {
msg_send![self.inner, setValue:min_frame_duration forKey:active_video_max_frame_duration]
};
Comment it out will work, but the framerate drop to ~1fps. I The min_frame_duration looks normal, and it even contain exact same value as if I choose internal Facetime camera while both selected the same framerate.
I don't have a clue. Also it's not able to catch even I disable the exception feature and use objc-exception::try(), although it might not help even if I can catch it.
The text was updated successfully, but these errors were encountered:
I tested some external USB UVC webcam on macOS. It works with alufers's patch under 0.10.x alufers@7852477
However, these two objc call panic:
Comment it out will work, but the framerate drop to ~1fps. I The
min_frame_duration
looks normal, and it even contain exact same value as if I choose internal Facetime camera while both selected the same framerate.According to apple (https://developer.apple.com/documentation/avfoundation/avcapturedevice/activevideominframeduration), the exception should be
invalidArgumentException
, but the framerate is actually extracted fromvideoSupportedFrameRateRanges
as required.I don't have a clue. Also it's not able to catch even I disable the
exception
feature and useobjc-exception::try()
, although it might not help even if I can catch it.The text was updated successfully, but these errors were encountered: