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

Сamera reconnection #181

Open
Depose-Code opened this issue Oct 21, 2024 · 0 comments
Open

Сamera reconnection #181

Depose-Code opened this issue Oct 21, 2024 · 0 comments

Comments

@Depose-Code
Copy link

Depose-Code commented Oct 21, 2024

When I connect a USB camera, it is normally detected and I can start/stop it using commands.

cameraViewMaui.StartCameraAsync(new Size(640, 480));
cameraViewMaui.StopCameraAsync();

But if I disconnect the cable from the device after starting and then reconnect it, the start and stop commands do nothing and I can't restore the image from the camera.

If I stop the camera with a command before pulling out the cable, then the next time I connect the camera I can start it normally.

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

No branches or pull requests

1 participant