CameraView
CameraView copied to clipboard
When DeviceEncoders fails, return CameraException instead of crashing
java.lang.RuntimeException: No encoders for type:video/avc
at com.otaliastudios.cameraview.f.b.a(SourceFile:15)
at com.otaliastudios.cameraview.f.b.
Latest version should fix this as much as possible! However I'll keep this issue to change the behavior from crash to a controlled CameraException.
When it will resolve. I am unable use. Kindly help
behavior
Update came but not resolved. Kindly help. It's urgent
@natario1 I will try to solve this issue if it is ok with you. Does the issue also need exception handling, or should I just return a CameraException?
It seems that tryConfigureVideo() and tryConfigureAudio() in DeviceEncoders.java both throw the corresponding exceptions, so I don't see the problem.