Expo SDK 42 - recordAsync with quality

Please provide the following:

  1. SDK Version: 42
  2. Platforms(Android/iOS/web/all): all
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

Hello,

I have updated my expo to 42 and I am facing some problems when I am using the Camera function called recordAsync.
My problem occurs when I am setting the quality.

So if I try to do this:
const video = await cameraRef.current.recordAsync({
quality: Platform.OS === ‘android’ ? ‘4:3’ : Camera.Constants.VideoQuality[‘480p’],
});

The video is not being recorded.

However, if I change the code for:

const video = await cameraRef.current.recordAsync();

Everything works fine…

is there anyone who is facing this same problem?

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