-
Notifications
You must be signed in to change notification settings - Fork 159
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
java.lang.IllegalArgumentException FRONT_CAMERA is not supported on this device #545
Comments
|
@aaalaniz can you help here |
|
Hey @Balasnest Thanks for filing this issue! Typically we have seen this issue occur when a device does not have a front or back camera available. The We have a Xiaomi MI 5s that we can test with. This may be a bug in the isSourceAvailable API. I will investigate and report back. Thanks! |
|
@aaalaniz Thanks for your quick reply. I have checked with the user. He stated that both side camera is working flawlessly in WhatsApp. |
|
@Balasnest We have recently cut a new release, 5.1.0, and believe it will fix the issue you are experiencing. Please let us know if you are still running into any issues when using the new release. Thanks! |
|
@Alton09 I'm working with the Camera2 API and was wondering if we could get support for LEGACY mode as the product we would like to use it on will not require any special cropping. Thanks! |
|
Hey @tl-robertmanley Please open a separate issue for this request. Thank you! I am closing this issue @Balasnest. Please open a new issue if you have any follow up. Thanks! |
Description
One of our client reported that its always crashing when video call arise. We are showing local video on screen until user accept the call.
Note:
Device camera is working fine both front and back camera.What would be the exact issue for causing this crash?
Device info:

The text was updated successfully, but these errors were encountered: