camera-samples
camera-samples copied to clipboard
Some resolutions causing FATAL EXCEPTION: DefaultDispatcher-worker-1
This exception is submitted here: https://github.com/Kotlin/kotlinx.coroutines/issues/839
Hardware was Samsung SM-A716U.
Resolution attempted was 4624x3468 @ 30fps
3840x2160 @ 30fps works fine
Note that I had trouble building this due to the Kotlin version you are setting this to ("+") so I set that at 1.4.31
This could be the issue, but it would not build otherwise since it complained about a non-production build.
To reproduce, simply build your Camera2Video sample, select that resolution, take a video and upon release of the button the crash will occur.