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

More responsive image updates #181

Open
EnriqueWood opened this issue Dec 5, 2023 · 1 comment
Open

More responsive image updates #181

EnriqueWood opened this issue Dec 5, 2023 · 1 comment

Comments

@EnriqueWood
Copy link

I've been working with rpisurv for a while now and noticed something about how it handles and reacts image changes.
It feels like the system checks for image updates a bit slow, after I change an image it takes a while to update the image shown.

Is this tied to the interval_check_status in the general.yml file?

Is there a way to check images more often than streams?

I don't want my streams to be refreshing all the time because all of them have to reconnect and that takes time, which leaves me with a black screen for some seconds (around 5 seconds in my setup), however, for local images that is almost instantly (I have an external program changing images in response to events in my house security system).

Thank you for such a great project!

Also, could you give me some pointers to where do I have to look in the code to implement it myself in case you don't have the time/don't want to do it yourself?

@SvenVD
Copy link
Owner

SvenVD commented Jan 3, 2024

yes, interval_check_status is the refresh timer for images, but is also the refresh timer for each watchdog to wakeup for probing the health of each camera stream. Currently you can not set different values for those two. But try lowering and see if it works for you.

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

2 participants