Skip to content

Do not end call with error in case of MediaDeviceError#3688

Merged
BillCarsonFr merged 1 commit intolivekitfrom
valere/bug_deny_permissions
Jan 19, 2026
Merged

Do not end call with error in case of MediaDeviceError#3688
BillCarsonFr merged 1 commit intolivekitfrom
valere/bug_deny_permissions

Conversation

@BillCarsonFr
Copy link
Member

Fix regressions after CallViewModel refactoring
#Fixes https://github.com/element-hq/voip-internal/issues/440 - Call ends with error if try to enable camera when permission was denied
#Fixes https://github.com/element-hq/voip-internal/issues/439 - Call ends with error if user cancel sceensharing at the window selection screen.

I tried to do some playwright test for that, but could not find a way to Deny a permission.
It is possible to not grant a permission, but when doing that the playwright browser is in an intermediate state where the permission is nor granted nor denied. Thus it is not possible to reproduce :/
Maybe this could have helped? microsoft/playwright#6488 but it was closed

@BillCarsonFr BillCarsonFr requested a review from a team as a code owner January 19, 2026 10:52
@BillCarsonFr BillCarsonFr added the PR-Task Release note category. A PR that is hidden from release note. label Jan 19, 2026
Copy link
Contributor

@toger5 toger5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks valere. I am sad and sorry on the not doable tests...

@BillCarsonFr BillCarsonFr merged commit b4ca55f into livekit Jan 19, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR-Task Release note category. A PR that is hidden from release note.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants