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

Video notifications max memory #2353

Merged

Conversation

NickM-27
Copy link
Contributor

@NickM-27 NickM-27 commented Mar 8, 2022

Summary

This started as a basic fix for #2352 but I realized a few other optimizations to help. The index based method was slower because some of the indexes were not correct and still took processing time. Using the time-based option with CLOSEST_SYNC is twice as fast (in testing) and also is more predictable (we can leverage the 10s minimum in the docs to make it work consistently).

I also have the fix for that issue which is to compress the bitmaps to avoid the remoteview memory limit. I am using coroutines to parallelize the work as best as possible.

@dshokouhi dshokouhi linked an issue Mar 9, 2022 that may be closed by this pull request
@JBassett JBassett merged commit 5fc004a into home-assistant:master Mar 10, 2022
@Rogue136198 Rogue136198 mentioned this pull request Jul 5, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to show video in notification as a gif not working
3 participants