Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video recording with front camera in tablet(portrait mode) shows wrong aspect ratio. #168

Closed
PrekshyaBasnet opened this issue Feb 11, 2020 · 2 comments

Comments

@PrekshyaBasnet
Copy link

Devices tested
Emulator: Pixel C API 29
Device: Galaxy Tab S2
Mode: Portrait

I tested the sample app for Kotlin version. And tried recording the video using val cameraId = manager.cameraIdList[1] but the video aspect ratio doesn't seem to work properly.

Screen Shot 2020-02-11 at 3 16 23 pm

@owahltinez
Copy link
Contributor

A few questions to help us find out the root cause of this issue:

  • What sample are you seeing this in?
  • Did you modify the sample in any way?

@PrekshyaBasnet
Copy link
Author

What sample are you seeing this in?

  • It is in camera sample for Camera2VideoKotlin App.

Did you modify the sample in any way?

  • I changed val cameraId = manager.cameraIdList[0] to val cameraId = manager.cameraIdList[1] for front camera.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants