capacitor-community / video-recorder

A video recording plugin for Capacitor
MIT License
3 stars 6 forks source link

Camera Zoom issue #6

Open Saqib92 opened 1 month ago

Saqib92 commented 1 month ago

Camera preview seems to be zoom. is there a way to make it look 1X zoom on initialization. and then change zoom in /out programatically?

shiv19 commented 1 month ago

Yes, I'm aware of this. Haven't been able to spend time on it lately.

Saqib92 commented 1 month ago

Thanks for your quick response. 1 more thing how can i upload recorded video?

shiv19 commented 1 month ago

I'm using this plugin https://github.com/spoonconsulting/cordova-plugin-background-upload Along with its Awesome Cordova plugin wrapper. https://danielsogl.gitbook.io/awesome-cordova-plugins/background-upload

(You'll also need to install awesome cordova plugins core package)

This plugin uses POST request and multipart form data to upload. If you need to upload to S3 via PUT, then check out the forks of that cordova plugin.

Saqib92 commented 1 month ago

Thank you, will look into this..

shiv19 commented 1 month ago

@Saqib92 I've changed the default preview frame aspect ratio to 3:4 on Android. It should look a bit less zoomed in now. However, I have not been able to fully eliminate that issue. Please do try out version 5.1.0 or 6.1.0.