mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
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…
Add table
Reference in a new issue