-
Notifications
You must be signed in to change notification settings - Fork 147
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
Cannot record audio on iOS #288
Comments
@Ujas-Majithiya Oh, the sample rate? If I change the sample rate to 24000 or 16000, I get I should also note that changing the recording format to something else, such as |
@jt274 To record with the But one thing to note here is that while trying to extract waves from the .caf file it was only able to read half of the file's buffer and then it threw an exception. So in UI, you will see out of 100 there are only 50 waves and the other are 0 height waves. |
@Ujas-Majithiya Unfortunately changing the file extension to |
If you are using AAC with m4a then the issue is with the bitrate. Please check if the encoder supports the bitrate you are setting. Try some higher value like 320k or make it null, recorder will take the default value. |
@Ujas-Majithiya Ok, an update:
So it seems that manually setting |
@jt274 thanks! |
Describe the bug
Audio does not record on iOS. Works fine on Android emulator and physical device. Microphone permissions are included in
Info.plist
.Plugin version is
1.0.5
.Audio appears to record, but:
AudioWaveforms
widget during recordingfinal path = await controller.stop()
, but file will not playRecording code:
After recording a file, the path is returned and the file size of the returned file path is always
16384
bytes. Recording with thepath
parameter empty does not change anything.When attempting to play back a file from the returned path after recording using the
AudioFileWaveforms
widget:Expected behavior
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: