Front camera mirror. Shouldn't work for Nexus S.
This commit is contained in:
parent
a8748ebc83
commit
4be1deeb2f
1 changed files with 4 additions and 4 deletions
|
@ -119,15 +119,15 @@ public class AndroidCameraRecordManager {
|
||||||
p.cameraId = cameraId;
|
p.cameraId = cameraId;
|
||||||
parameters = p;
|
parameters = p;
|
||||||
|
|
||||||
/* Need first a working camera to test
|
|
||||||
if (isUseFrontCamera()) {
|
if (isUseFrontCamera()) {
|
||||||
if (isCameraOrientationPortrait()) {
|
if (!isCameraOrientationPortrait()) {
|
||||||
|
// Code for Nexus S: to be tested
|
||||||
p.mirror = RecorderParams.MirrorType.CENTRAL;
|
p.mirror = RecorderParams.MirrorType.CENTRAL;
|
||||||
} else {
|
} else {
|
||||||
|
// Code for Galaxy S like: camera mounted landscape when phone hold portrait
|
||||||
p.mirror = RecorderParams.MirrorType.HORIZONTAL;
|
p.mirror = RecorderParams.MirrorType.HORIZONTAL;
|
||||||
}
|
}
|
||||||
} // else no mirror
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
tryToStartVideoRecording();
|
tryToStartVideoRecording();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue