Open lorismich opened 2 years ago
Hi @lorismich I think #1524 fixes the issue that you are experiencing. It would be great if you could test and let me know if works or not for your use case 👍
@pictos @jfversluis I think it is the same error fixed on #1524, but just in case could you please add CameraView
label?
@pictos @jfversluis I think it is the same error fixed on #1524, but just in case could you please add
CameraView
label?
For Android, I haven't solved it
I just updated to 2.0.0 and this bugs still seems to be around on Android.
In my case I got a personal solution for this issue in the CameraFragment.android.cs in Views/CameraView/Android. The method GetCaptureOrientation set a frontOffset when you are using a front camera to record videos, but in my opinion usually the front camera is in the top center of the device dont need apply 90 degree.
I changed 90 degree to 0 when it's using a front camera. That worked for me.
Description
When recording a video or photo in portrait mode, the image is reversed at 90 degrees. Image recording is done as a landscape mode.
Steps to Reproduce
2. CAMERA PAGE XAML
`<?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="MYAPP.Views.CameraPage" xmlns:vm="clr-MYAPP.ViewModels" xmlns:xct="http://xamarin.com/schemas/2020/toolkit" xmlns:local="clr-namespace:MYAPP.Views;assembly=CustomView" Title="{Binding Title}">
`
Expected Behavior
Video recorded it's like in preview mode
Actual Behavior
Video recorded it's rotated 90 degree
Basic Information
Version with issue: 1.2.0
Last known good version:
IDE:
Platform Target Frameworks: 29
Nuget Packages:
Affected Devices: Oneplus 5, Huawei Matetab 10.0