element-hq / element-hq/element-web

Idle inhibit during (video) call

Open
#19,697 0 comments 0 reactions 0 assignees View on GitHub
A-VoIP O-Frequent T-Enhancement
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

#### What would you like to do?
During native as well as Jitsi video calls, Element should inhibit the idle daemon ("screen lock"/"screen saver").
Idle should probably be inhibited in voice calls too as 1. it might mess up things and 2. you want to see that a call is ongoing and can still trigger idle manually otherwise.

#### Why would you like to do it?
To stay in the call

#### How would you like to achieve it?
applicable idle inhibit protocol, in my case I think https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tree/main/unstable/idle-inhibit

### Have you considered any alternatives?

/

### Additional context

I noticed this using desktop Element Nightly version: 2021110701 Olm version: 3.2.3 from aur/element-desktop-nightly-bin with ozone on sway, i.e. a wayland native session, during a 1:1 (p2p) call in an e2ee room.

Contributor guide

Open the contributing guide

Research direction

Start by checking the linked Wayland idle-inhibit protocol and the desktop call paths for native and Jitsi calls. Confirm whether voice calls should also inhibit idle, then validate on a Wayland session that the idle daemon stays inhibited during calls and is released afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
audio-video-rtc, desktop-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.