matrix-org / matrix-org/matrix-js-sdk

WebRTC: Fall back to recvonly in case of gUM permissions rejection

Open
#408 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

T-Enhancement
Dominant language
TypeScript
Stars
2.2k
Forks
704
Avg merge
1d 20h
Merged PRs (30d)
40

Description

If a user rejects access to their camera/microphone it would be useful if it were possible to allow that user to proceed in a receive only (recvonly in SDP) state. Supporting the functionality is the responsibility of the JS SDK but making it have good UX is the responsibility of higher layers.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the SDK's WebRTC getUserMedia permission handling and SDP direction setup. Determine where a rejected camera or microphone request can transition the session to recvonly, while leaving the higher-layer UX responsibility outside this change. Done means the SDK supports continuing in a receive-only state after permission rejection.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.