SurfaceTextureRenderer
全部标签 我一直在尝试camera2API。我已经从下载了代码https://developer.android.com/samples/Camera2Video/index.html了解它是如何工作的。在我停止录制之前它工作正常。当我停止录制时,它会运行以下代码。privatevoidstopRecordingVideo(){//UImIsRecordingVideo=false;mBtn_Video.setText(R.string.record);//Stoprecordingtry{mMediaRecorder.stop();mMediaRecorder.reset();}catch(E
我一直在尝试camera2API。我已经从下载了代码https://developer.android.com/samples/Camera2Video/index.html了解它是如何工作的。在我停止录制之前它工作正常。当我停止录制时,它会运行以下代码。privatevoidstopRecordingVideo(){//UImIsRecordingVideo=false;mBtn_Video.setText(R.string.record);//Stoprecordingtry{mMediaRecorder.stop();mMediaRecorder.reset();}catch(E