element-hq / element-hq/element-call

Selected video resolution often not that great (EC defaults lower than livekit defaults)

Open
#3,166 3 comments 2 reactions 0 assignees View on GitHub
T-Defect
Dominant language
TypeScript
Stars
996
Forks
213
Avg merge
1d 8h
Merged PRs (30d)
55

Description

### Steps to reproduce

I start by creating Element Calls between myself. The wifi or LAN connection are good, the SFU is not saturated at all. This is current EXA (25.3.4) and Element web (1.11.96), both using the EC widget v0.9 (either integrated or at call.element.io). My SFU is version 1.8.4.

### Outcome

The resolution that EXA chose was 180x320 and it appeared quite blocky in Element-Web, in other calls I have seen even way worse resolutions though. I have submitted a rageshake (send feedback within Element Call) just some time ago with the following text:

```
Good quality network connection, mobile chose 180x320 pixel video (EXA EC v0.9). SFU 1.8.4
I have never switched video sources so far.
For Florian.
```

Turning the camera on and off seemed to often make the situation a bit better (it started out low and switched to a **somewhat** higher resolution shortly after), switching to front-side camera and back-sid did not help at all (but it also did not make matters worse).

The Element-Web webcam on the other hand did send a 720x1280 resolution. (switch camera off and on again in EC will lead not always to the same resolutions being picked though). So, it is possible to have higher-resolution calls.

Is livekit erring on the low-quality side of things here? Are there livekit knobs that I can turn. It is a stock installation basically.

### Operating system

EXA and EW (Firefox v137/Linux)

### Browser information

_No response_

### URL for webapp

integrated v0.9 and call.element.io (v0.9)

### Will you send logs?

Yes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.