Skip to content

fix: Simplify isMicrophone accessor to inspect ports#4019

Open
mrousavy wants to merge 2 commits into
mainfrom
fix/easier-device-type
Open

fix: Simplify isMicrophone accessor to inspect ports#4019
mrousavy wants to merge 2 commits into
mainfrom
fix/easier-device-type

Conversation

@mrousavy

Copy link
Copy Markdown
Owner

This diff avoids accessing the AVCaptureDevice just to inspect if it isMicrophone, and instead just checks if any of the ports are audio ports.

@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
react-native-vision-camera-docs Ready Ready Preview, Comment Jun 22, 2026 1:11pm

Request Review

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.

1 participant