Open aaron23v opened 1 month ago
收到了,谢谢!
I would suggest you to use ImageReader & ImageWriter as a proxy between UVCCamera and Surface.
Set ImageReader as UVCCamera set preview display. And then enqueue to ImageWriter in onImageAvailable listener. Then you could always keep the last Image (into Bitmap)
Just wanted to know, how can we implement this?
When the external camera is detached / removed, i want to preview the last frame and when it is attached back, it should start working as normal. Need some guidance