Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not fail if no devices are present #20

Merged
merged 1 commit into from Nov 22, 2022
Merged

do not fail if no devices are present #20

merged 1 commit into from Nov 22, 2022

Conversation

salbeira
Copy link
Collaborator

If absolutely no devices are available when setting up the recorder the setup no longer fails but instead just doesn't try to set up the required streams and devices. Most of our previous code already handled these situations but it never came up during setup that no device was available.

We tested this on a MacMini of a colleague that had no microphone and no camera available. Recording setup completed and a video recording was possible - just without external sound or the camera-video-panel available.

If you press V to show the camera panel if no stream is available the program also doesn't fail or abort the recording and instead shows a small informational message and continues to record.

As this situation never came up before and there seems to be no way to emulate this hardware configuration I would suggest you review this in the form of "on my device the behavior did not change".

@mbotsch mbotsch merged commit f952cfd into develop Nov 22, 2022
@monofon monofon deleted the fix-camera branch November 25, 2022 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants