Jon Cobb
Jon Cobb
What version of the library are you using?
The scenario described above by @AlgoRyan is the result of a deadlock against the @Synchronized open(facing: CameraFacing) method on the Camera2 class. I'm still mentally scaffolding the coroutines, handlers, and...
Some more information. The TL;DR of it is that coroutines are being suspended and there is no guarantee that they will be resumed, which is causing the single threaded executor...
As a follow up, I don't believe that this is OS version or device specific, but rather think that there might be a racy condition on releasing the camera through...
I have found the issue that causes camera release to fail and ultimately results in the subsequent failures to start preview described above. TL;DR -> Much like the issue described...
@austinkettner @dwillmc @emersoncloud I see that the use of coroutines has been removed from the pause() and stop() methods on CameraPreview as part of PR 498 (https://github.com/CameraKit/camerakit-android/pull/498). Presumably they were...
Issue is heavily exacerbated between versions v1.0.0-beta3.10 and v1.0.0-beta3.11 by the update made in this commit c723e984aaff6423b4e7dbf0eb2746ba577908f5, which opens the window a much larger window during which onSurfaceReady can set...
No work around that I've been able to find. I have a few ideas for quick type fixes, but have been struggling for time to put together a PR. This...