element-hq / element-hq/element-call

Add short delay before displaying "waiting for video" banner

Open
#1,050 0 comments 0 reactions 0 assignees View on GitHub
T-Enhancement
Dominant language
TypeScript
Stars
996
Forks
213
Avg merge
1d 6h
Merged PRs (30d)
54

Description

### Your use case

#### What would you like to do?
When the browser ICE state changes to disconnect, add a delay of maybe one or two seconds before displaying "waiting for video".

#### Why would you like to do it?
We've seen the browser go to the ICE disconnected state for a few tens of milliseconds at a time, presumably as it briefly loses packets but then recovers on a flaky wifi connection or similar. It's not really useful to display the banner unless there's a serious connectivity blip.

### Have you considered any alternatives?

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue does not identify a file, test, or entry point. Trace the browser ICE disconnect handling and the code that displays the "waiting for video" banner; verify that brief disconnects do not show it, while a sustained disconnect shows it after roughly one or two seconds.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
audio-video-rtc
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.