Skip to content

Conversation

@1egoman
Copy link
Contributor

@1egoman 1egoman commented Sep 4, 2025

Previously, in some context, the camera permissions would be immediately requested when opening the starter app. This isn't ideal, especially since the camera starts disabled and a user may choose to never use it.

Instead, now prompt for permissions when clicking the "disable camera" button for the first time.

Also, adding this behavior uncovered that if a user didn't initially load the page with camera permissions granted, the camera source list would be empty. To fix this, use the pattern from here - when opening the select menu, refetch all devices in the list.
Screenshot 2025-09-02 at 3 35 44 PM

@1egoman 1egoman requested a review from lukasIO September 4, 2025 15:28
@vercel
Copy link

vercel bot commented Sep 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
sandbox-voice-assistant Ready Ready Preview Sep 4, 2025 3:28pm

@1egoman 1egoman merged commit 4da1f83 into main Sep 4, 2025
5 checks passed
@1egoman 1egoman deleted the camera-permission-prompt branch September 4, 2025 17:12
abdul-0-muheed pushed a commit to abdul-0-muheed/sdc-joint-frontend that referenced this pull request Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants