Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

fix(CAMERA_STREAM): pause stream when screensaver active or page changed #544

Merged
merged 2 commits into from
Nov 24, 2020

Conversation

rchl
Copy link
Collaborator

@rchl rchl commented Nov 24, 2020

Implemented in a way where the playback is stopped when "freezed" (should be "frozen") is true and after 5s, if "freezed" doesn't become false, the stream is stopped completely.

The stream playing in a popup is only stopped on screensaver activation (as pages can't be changed in that case), while the stream tiles are stopped on screensaver and page change.

Resolves #541

@resoai
Copy link
Collaborator

resoai commented Nov 24, 2020

Great! Lets indeed rename freezed to frozen perhaps?

@resoai
Copy link
Collaborator

resoai commented Nov 24, 2020

Perfect! Thank you very much!

@resoai resoai merged commit 3ba99d1 into master Nov 24, 2020
@rchl rchl deleted the fix/suspend-stream branch November 24, 2020 21:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Camera stream not paused when showing screensaver
2 participants