|
|
@ -185,6 +185,9 @@ public class Camera1Manager extends BaseCameraManager<Integer, SurfaceHolder.Cal |
|
|
|
backgroundHandler.post(new Runnable() { |
|
|
|
backgroundHandler.post(new Runnable() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void run() { |
|
|
|
public void run() { |
|
|
|
|
|
|
|
// Tzutalin++ 2017/05. If calling release function, it should not be executed
|
|
|
|
|
|
|
|
if (context == null) return; |
|
|
|
|
|
|
|
|
|
|
|
if (prepareVideoRecorder()) { |
|
|
|
if (prepareVideoRecorder()) { |
|
|
|
videoRecorder.start(); |
|
|
|
videoRecorder.start(); |
|
|
|
isVideoRecording = true; |
|
|
|
isVideoRecording = true; |
|
|
|