Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了预览类,它必须在实时图像预览之前传递给 Camera 对象……我试过了,它正在工作……我怎样才能将它默认用于视频预览。.
这里有什么建议吗?
调用(将自动使用为此设置的任何预览图面setCamera())或调用,提供您的.MediaRecorderCamerasetPreviewDisplay()MediaRecorderSurfaceHolder
setCamera()
MediaRecorder
Camera
setPreviewDisplay()
SurfaceHolder