8000 [Android] falling back to the first available camera fix #580 by Ayman-Kortobaa · Pull Request #581 · flutter-webrtc/flutter-webrtc · GitHub
[go: up one dir, main page]

Skip to content

[Android] falling back to the first available camera fix #580 #581

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2021

Conversation

Ayman-Kortobaa
Copy link
Contributor

Added code to fall back to the first available camera in case the createVideoCapturer fails to find a suitable camera based on constraints (doesn't have a front/back camera) like an Android TV that will most likely have an external camera or any other type.

@cloudwebrtc
Copy link
Member

LGTM

@cloudwebrtc cloudwebrtc merged commit 1ed16f9 into flutter-webrtc:master Jun 5, 2021
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
0