Skip to content

Conversation

@ADARSHsri2004
Copy link
Contributor

Description

This PR adds full device-permission handling and improves the join-room flow in PeerCall. Users now experience a smooth and safe flow when entering a room, even when camera or microphone permissions are blocked, denied, or unavailable.## Semver Changes

Key Features Added

  1. Robust Permission Handling
    Detects camera/mic access issues (e.g., NotAllowedError, NotFoundError).
    Shows clear user-friendly alerts when permissions are denied or blocked.
    Prevents preview or join flow from continuing without a valid media stream.

  2. Safe Preview Flow
    The Pre-Join Preview screen now shows only if getUserMedia() succeeds.
    Handles blocked permissions gracefully by notifying user with actionable steps.

image image
  • Patch (bug fix, no new features)
  • Minor (new features, no breaking changes)
  • Major (breaking changes)

Issues

closes #17

Checklist

@04shubham7 04shubham7 self-assigned this Nov 15, 2025
Copy link
Member

@04shubham7 04shubham7 left a comment

Choose a reason for hiding this comment

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

Looks Good

@04shubham7 04shubham7 added Type:Medium medium level issues Type:Hard hard level issues Semver:minor PR:Accept hacktoberfest-accepted and removed Type:Hard hard level issues labels Nov 15, 2025
@04shubham7 04shubham7 merged commit d862d98 into OPCODE-Open-Spring-Fest:main Nov 15, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Error Handling for Device Permissions

2 participants