Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying AVFormatIDKeyIOS causes recording to fail #366

Open
itsphil opened this issue Aug 5, 2021 · 2 comments
Open

Specifying AVFormatIDKeyIOS causes recording to fail #366

itsphil opened this issue Aug 5, 2021 · 2 comments
Labels
1️⃣ good first issue Good for newcomers 🙏 help wanted Extra attention is needed 📱 iOS Related to iOS 🍚 need contribution Need PR

Comments

@itsphil
Copy link

itsphil commented Aug 5, 2021

Version of react-native-audio-recorder-player

3.0.12

Version of React Native

0.64.2

Platforms you faced the error (IOS or Android or both?)

IOS

Expected behavior

When using AVFormatIDKeyIOS option and any of the AVEncodingOption options, the audio should record in those formats.

Actual behavior

When using AVFormatIDKeyIOS option, and specifying any of the AVEncodingOption other than aac, an error is thrown stating Error occured during recording.

Steps to reproduce the behavior

this.state.audioRecorderPlayer.startRecorder(undefined, { AVFormatIDKeyIOS: AVEncodingOption.amr })

Side issue

Specifying a custom URI when calling the startRecorder method leads to the file not being found when recording is finished?

@hyochan hyochan added 📱 iOS Related to iOS 🙏 help wanted Extra attention is needed 1️⃣ good first issue Good for newcomers 🍚 need contribution Need PR labels Aug 12, 2021
@divsbhalala
Copy link

I am having same issue

@anwersolangi
Copy link

anwersolangi commented Aug 23, 2024

+1
Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1️⃣ good first issue Good for newcomers 🙏 help wanted Extra attention is needed 📱 iOS Related to iOS 🍚 need contribution Need PR
Projects
None yet
Development

No branches or pull requests

4 participants