Skip to content

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

Description

@H-hang-H

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    📱 iOSRelated to iOS🤖 ai-managedHandled by the AI-native maintenance workflow🤖 androidRelated to android

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions