Open nickvergessen opened 1 year ago
You could use the Screen Wake Lock API to prevent the screensaver on Chrome browsers: https://developer.chrome.com/articles/wake-lock/ https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API
I just tried it locally. Had everything closed but Firefox in the first test run and Chrome in the second test run. The other call participant was on a different device to not interfere. OS was Ubuntu 23.04
So screensaver started nor did the screen lock, which happened after the 1 minute was over from ending the call.
I had the same issue twice this week.
No camera on, but I was actively speaking and my screens turned of. I was using Chromium on Ubuntu 🐱
Can reproduce on Chrome and Talk Desktop. A bit weird, because a web-browser should keep the machine awake when there is video/audio playing.
Screen Wake Lock API should solve the problem, but it is not supported by Mozilla.
We can use Wake Lock API with a polyfill that just adds hidden small video in a background.
How to use GitHub
Ref https://mastodon.social/@TobiasLaabs@norden.social/110345885136117897
Steps to reproduce
Expected behaviour
Screen and OS stay active
Actual behaviour
Screensaver turns on
Talk app
Talk app version: 16.0.x