react-native-multiple-image-picker
react-native-multiple-image-picker copied to clipboard
maxVideoDuration is recording for 60 seconds
I passed 31 value in maxVideoDuration i.e
maxVideoDuration:31
It is showing the videos that are of max 30 seconds but while recording from camera it is not recording for 30 seconds. Any help is appreciated.
Thanks
hello, @devilabhi this is because default duration is set to 60 just add the maxVideoDuration field to fix it
const response = await MultipleImagePicker.openPicker({
usedCameraButton: false,
isExportThumbnail: true,
isPreview: true,
mediaType: 'all',
maxSelectedAssets: 1,
maxVideoDuration: 1200, // change this with your choice
});
Hi @itsnyx, Please check my comment that is first in this page i.e. I set maxVideoDuration: 31
hi @devilabhi Does your issue still persist?