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;
|
||||
parameters = p;
|
||||
|
||||
/* Need first a working camera to test
|
||||
if (isUseFrontCamera()) {
|
||||
if (isCameraOrientationPortrait()) {
|
||||
if (!isCameraOrientationPortrait()) {
|
||||
// Code for Nexus S: to be tested
|
||||
p.mirror = RecorderParams.MirrorType.CENTRAL;
|
||||
} else {
|
||||
// Code for Galaxy S like: camera mounted landscape when phone hold portrait
|
||||
p.mirror = RecorderParams.MirrorType.HORIZONTAL;
|
||||
}
|
||||
} // else no mirror
|
||||
*/
|
||||
}
|
||||
|
||||
tryToStartVideoRecording();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue