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

question: privacy mode #227

Closed
zerog2k opened this issue Jul 31, 2023 · 2 comments
Closed

question: privacy mode #227

zerog2k opened this issue Jul 31, 2023 · 2 comments
Assignees
Labels

Comments

@zerog2k
Copy link

zerog2k commented Jul 31, 2023

Hi, first off thanks for ustreamer!
I'm using it with octoprint to view 3d printer activity.

I'm curious if there is a way (api call, signal, etc) to disable the camera (turn it off, and optionally just serve blank/black frames, or something else) when not in use. Like most USB webcams, mine has an led status light to indicate that it's currently active. Because ustreamer is always running, it seems like the camera is always active, even when we are not printing anything.

I'd like to be able to write a plugin or extend octoprint functionality to turn on/off the camera in the octoprint UI.

Does anything like this exist already?

@mdevaev
Copy link
Member

mdevaev commented Aug 1, 2023

Hello. I haven't heard of anything like this. It is assumed that ustreamer does not contain any real-time configuration and management tools, and if you need to stop a stream, you stop the service. This is not very convenient in the general case, but it was quite enough for PiKVM. But I think you can use socket activation & timeout to stop: #16

@mdevaev
Copy link
Member

mdevaev commented Aug 4, 2023

Answered, I guess.

@mdevaev mdevaev closed this as completed Aug 4, 2023
@mdevaev mdevaev self-assigned this Aug 4, 2023
@mdevaev mdevaev added resolution:fixed Fixed type:question User question labels Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants