-
Couldn't load subscription status.
- Fork 130
Description
Describe the problem
On my machine, the screen blanks (and actually locks) after 5min of inactivity (i.e. no mouse or keyboard input). For company policy reasons, I cannot disable that behaviour.
It is a bit of an annoyance, when my monitor goes into sleep mode in the middle of a sentence, as it takes a moment to recover from that...
Describe the proposed solution
Browsers usually prevent screensavers from activating, when they play media (and NoSleep.js promises to provide such a functionality).
I'm not sure why the video/audio tracks of LiveKit itself don't count towards this behaviour.
Speculation
I presume this is because the tracks don't actually originate from a user input event, such as a button click?
For example, the local video track already exists in the <PreJoin/> prefab, even before I click on the "Join" button. And remote tracks of course are added without user interaction at all.
There's also the Screen Wake Lock API, but Firefox support is missing:
Alternatives considered
No response
Importance
nice to have
Additional Information
No response
