IOS video recording not working

Please provide the following:

  1. SDK Version: 45
  2. Platforms(Android/iOS/web/all): IOS
  3. expo-camera

recording video on ios not working. on call onStartRecordingVideo it starts and immediately ends the recording, and return the URI but URI is empty.

const onStartRecordingVideo = async () => {
    try {
    
 console.log("record start")

      const result = await cameraRef.recordAsync({
        quality: Camera.Constants.VideoQuality["480"],
       maxDuration: 30,
        mute: false,
        //   videoQuality: ImagePicker.UIImagePickerControllerQualityType.Medium,
      });
 console.log("record end")

      console.log(result)
    
      if (!result.cancelled) {
        reduxDispatch(addUri({ uri: result }));
        //   navigation.navigate("CreateFeels");
      }
    } catch (err) {
      console.log(err.message);
      Toast.show({ type: "error", text1: err.message });
    }
  };

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