element-hq / element-hq/element-call

Unable to mute video when no audio device present on system

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

Description

### Steps to reproduce

1. Register new user
2. Create new room
3. See video preview works
4. Click video mute button
5. State of video mute button does not alter; video remains unmuted.

Repeatable replication available via trafficlight test (test not complete so not committed yet)

### Outcome

#### What did you expect?
Even if no audio device present, to be able to mute video device.

#### What happened instead?
Video device could not be muted.

Logs say:
```
* Trafficlight asked to execute action "set_mute", data = {"video_mute":true}:
Action for "set_mute" found in action-map ✔
Video state currently unmuted, clicking.
PP0: GroupCall 1684422238299arroN3r6MjWal2Bf setLocalVideoMuted() (stream=7d3686d0-d200-4058-b977-8d9afeb1af5f, muted=true)
PP0: GroupCall 1684422238299arroN3r6MjWal2Bf setLocalVideoMuted() no device or permission to receive local stream, muted=true
```
And the icon state doesn't change; which fails the test.

### Operating system

Trafficlight/Docker/Linux

### Browser information

Chromium 114.0.5735.35 i believe; installed in playwright environment

### URL for webapp

element-call main

### Will you send logs?

No

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.