CameraView icon indicating copy to clipboard operation
CameraView copied to clipboard

Preview stretches for a moment while switching front/back

Open dhruv2295 opened this issue 6 years ago • 8 comments
trafficstars

Describe the bug

  • CameraView version: 2.0.0-beta04
  • Reproducible in official demo app: yes
  • Device / Android version: Pixel 3, API 28

To Reproduce

Steps to reproduce the behavior in the demo app:

  1. Select Video Mode
  2. Set width and height to match_parent
  3. Click on toggle camera button

Expected behavior

While switching the preview screen stretches for a second

dhruv2295 avatar May 15 '19 18:05 dhruv2295

I'm not sure this can be fixed... But will take a look.

natario1 avatar May 24 '19 00:05 natario1

Mr @natario1 any updates on this issue?

MoustafaElsaghier avatar Aug 09 '19 14:08 MoustafaElsaghier

I have the same problem...

Leo199206 avatar Dec 19 '19 09:12 Leo199206

+1

wirteEable avatar Mar 23 '20 02:03 wirteEable

+1

vaidik1011 avatar Aug 20 '21 06:08 vaidik1011

It will probably not stretches if you give camera view ratio of 4:3. maybe it's not the solution but you can overcome that problem using it.

vaidik1011 avatar Sep 28 '21 04:09 vaidik1011

Yes, It won't stretch if you keep the same aspect ratio on either of the cameras.

SweetD3v avatar Apr 26 '22 12:04 SweetD3v

I have the same problem...

xiaoyaomeng avatar Jul 05 '22 13:07 xiaoyaomeng