简体   繁体   English

是否可以在Android的画中画中运行Camera2?

[英]Is it possible to run Camera2 in Picture-in-Picture in Android?

如果是,如何在PiP内的SurfaceTexture上继续进行相机预览?

Yes. 是。

Take a look at the PiP guide for the general details, but you should be able to keep a TextureView in a PiP window just fine, and have the camera API send data to it. 看一下PiP指南以了解一般细节,但是您应该能够在PiP窗口中保持TextureView正常,并让Camera API向其发送数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM