CameraKit / camerakit-android

Library for Android Camera 1 and 2 APIs. Massively increase stability and reliability of photo and video capture on all Android devices.
https://camerakit.io
MIT License
5.37k stars 879 forks source link

Stretched preview for front camera Samsung S10 #540

Open dummy-amit opened 5 years ago

dummy-amit commented 5 years ago

Is this a bug report?

No, I am facing issue with Samsung S10 device front camera

Have you read the Contributing Guidelines?

yes

Environment

CameraKit Version: 0.13.4

Android Device: Samsung Galaxy s10

Android Version: 9

Steps to Reproduce

  1. Just start camera preview for front camera

Expected Behavior

centre cropped preview

Actual Behavior

Stretched preview.

Screenshot_20190507-162846_Rumbl (1)

xml attributes set

<com.wonderkiln.camerakit.CameraView android:id="@+id/camera_view" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" android:adjustViewBounds="true" app:ckCropOutput="false" android:soundEffectsEnabled="false" app:ckDoubleTapToToggleFacing="false" app:ckFacing="back" app:ckFlash="off" app:ckFocus="continuous" app:ckJpegQuality="100" app:ckMethod="standard" app:ckPinchToZoom="true" app:ckVideoQuality="max720p" android:layout_width="match_parent" android:layout_height="match_parent"/>

olmur commented 5 years ago

the same on s9

olmur commented 5 years ago

Downgrade to 0.13.0, there is no such bug

AhmedAlaaZenhom commented 5 years ago

Downgrade to 0.13.0, there is no such bug

You're right there is no such bug for photo capturing in 0.13.0 , but it still exist in video capturing :/