capacitor-community / video-recorder

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

Camera Zoom issue #6

Open Saqib92 opened 3 weeks ago

Saqib92 commented 3 weeks 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 3 weeks ago

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

Saqib92 commented 3 weeks ago

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

shiv19 commented 3 weeks 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 2 weeks ago

Thank you, will look into this..

shiv19 commented 1 week 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.