spreed icon indicating copy to clipboard operation
spreed copied to clipboard

Screensaver turns on during video call?

Open nickvergessen opened this issue 2 years ago • 4 comments

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Ref https://mastodon.social/@[email protected]/110345885136117897

Steps to reproduce

  1. Join call in Chrome on Linux Mint or Windows with camera and mic on
  2. Don't use keyboard or microphone

Expected behaviour

Screen and OS stay active

Actual behaviour

Screensaver turns on

Talk app

Talk app version: 16.0.x

nickvergessen avatar May 10 '23 19:05 nickvergessen

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

fancycode avatar May 11 '23 06:05 fancycode

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.

nickvergessen avatar May 11 '23 15:05 nickvergessen

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 🐱

nickvergessen avatar May 26 '23 15:05 nickvergessen

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.

ShGKme avatar Nov 22 '23 11:11 ShGKme