akshay2211 / PixImagePicker

Pix is a Whatsapp image picker replica. with this, you can integrate an image picker just like WhatsApp.
Apache License 2.0
864 stars 218 forks source link

Low frame rate for some devices #244

Closed GiedriusKairys closed 2 years ago

GiedriusKairys commented 2 years ago

For some devices, previewing and recorded video framerates are very low. This is an issue in AndroidX actually, but could be solved by setting .setTargetResolution() in Preview builder, instead of .setTargetAspectRatio() (or atleast allow it to configure though init options). The issue registered for AndroidX: https://issuetracker.google.com/issues/223643510

When using .setTargetResolution() it chooses the closest available resolution, so you wouldn't need to manually calculate which aspect ratio to use.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.