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

unifi: added native zoom capability #684

Merged
merged 1 commit into from
Apr 3, 2023
Merged

Conversation

nberardi
Copy link
Contributor

@nberardi nberardi commented Apr 2, 2023

No description provided.

@nberardi
Copy link
Contributor Author

nberardi commented Apr 2, 2023

This is ready for merge.

this.setMotionDetected(!!camera.isMotionDetected);
this.ptzCapabilities = {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't set state on devices that dont implement it. server doesn't reject it nor does it send out events for it, but it will be visible/persisted if checked. scrypted allows it (currently), and maybe it shouldn't. but I think it's better to not do it in unnecessarily the first place.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was a miss. I will correct

@koush koush merged commit 62d4d55 into koush:main Apr 3, 2023
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.

2 participants