diff --git a/src/net/majorkernelpanic/streaming/video/VideoStream.java b/src/net/majorkernelpanic/streaming/video/VideoStream.java index 165fb8db..021b7609 100644 --- a/src/net/majorkernelpanic/streaming/video/VideoStream.java +++ b/src/net/majorkernelpanic/streaming/video/VideoStream.java @@ -336,6 +336,8 @@ protected void encodeWithMediaRecorder() throws IOException, ConfNotSupportedExc destroyCamera(); createCamera(); + + mCamera.stopPreview(); // The camera must be unlocked before the MediaRecorder can use it unlockCamera();