Please provide the following:
- SDK Version: 45
- Platforms(Android/iOS/web/all): IOS
- 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 });
}
};