set Quality on Android expo-camera

  1. SDK Version: 37
  2. Platforms: Android

I’ve been trying to set ‘quality’ on Camera.RecordAsync but nothing is working. My file size for only 30 seconds recording is ~21MB.

Here is my code:

await this.camera.recordAsync({
maxDuration: 30000,
quality: Platform.OS === ‘android’ ? ‘4:3’ : Camera.Constants.VideoQuality[‘480p’],
orientation: ‘portrait’
});

I’ve also used [‘480p’] for Android, no luck at all.

pls help. Any value that might work for Android? you’d save my life.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.