📸 A well documented, high-level Android interface that makes capturing pictures and videos easy, addressing all of the common issues and needs. Real-time filters, gestures, watermarks, frame processing, RAW, output of any size.
Fatal Exception: java.lang.IllegalStateException:
at android.media.MediaCodec.releaseOutputBuffer(MediaCodec.java)
at android.media.MediaCodec.releaseOutputBufferInternal(MediaCodec.java:3651)
at android.media.MediaCodec.releaseOutputBuffer(MediaCodec.java:3572)
at com.otaliastudios.cameraview.video.encoding.MediaEncoder.drainOutput(MediaEncoder.java:474)
at com.otaliastudios.cameraview.video.encoding.AudioMediaEncoder$AudioEncodingThread.encode(AudioMediaEncoder.java:428)
at com.otaliastudios.cameraview.video.encoding.AudioMediaEncoder$AudioEncodingThread.run(AudioMediaEncoder.java:391)
Can we just try/catch and let the code continue or it should throw a proper exception?
Can we just try/catch and let the code continue or it should throw a proper exception?