What can I do when the BufferQueue has been abandoned?
What you’re doing is essentially what’s written in the TextureView docs, so it should work. The error message means that the “producer” side of the BufferQueue (the camera) grabbed a buffer, and is now trying to un-grab it (via cancelBuffer()). However, the “consumer” side (the SurfaceTexture) has gone away. Because the “consumer” side owns the … Read more