Commit eebfb683 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix crash of mediastreamer tool on Android when changing camera.

parent 3118df10
......@@ -318,6 +318,7 @@ public class MediastreamerActivity extends Activity {
cameraId = (cameraId + 1) % Camera.getNumberOfCameras();
setVideoPreviewWindowId(null, nativeObj);
changeCamera(cameraId, nativeObj);
setVideoPreviewWindowId(findViewById(, nativeObj);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment