react-native-audio-recorder-player icon indicating copy to clipboard operation
react-native-audio-recorder-player copied to clipboard

Place the newly recorded audio in the following location, and upon opening it, there will be missing bit rate and duration information

Open H-hang-H opened this issue 1 year ago • 1 comments

const dirs = ReactNativeBlobUtil.fs.dirs; const option = Platform.select({ android: ${dirs.LegacyMusicDir}/+ Date.now() +.mp3, // android: ${dirs.CacheDir}/+ Date.now() +.wav, }); const audioSet = { AudioEncoderAndroid: AudioEncoderAndroidType.AAC, AudioSourceAndroid: AudioSourceAndroidType.MIC, AVEncoderAudioQualityKeyIOS: AVEncoderAudioQualityIOSType.low, AVNumberOfChannelsKeyIOS: 2, AVFormatIDKeyIOS: AVEncodingOption.aac, OutputFormatAndroid: OutputFormatAndroidType.AAC_ADTS, }; image image version: 3.6.10

H-hang-H avatar Jul 30 '24 10:07 H-hang-H