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

crashing in iOS 18 beta #327

Open
Sergelenchimeg opened this issue Jul 25, 2024 · 4 comments
Open

crashing in iOS 18 beta #327

Sergelenchimeg opened this issue Jul 25, 2024 · 4 comments
Labels
more-info-required Indicates that the issue requires more description/information

Comments

@Sergelenchimeg
Copy link

Sergelenchimeg commented Jul 25, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
preparePlayer function gives an error:
PlatformException(AudioWaveforms, Failed to prepare player, The operation couldn’t be completed. (OSStatus error 561017449.), null)

Expected behavior
A clear and concise description of what you expected to happen.

Smartphone (please complete the following information):

  • Device: iPhone 15 Pro max
  • OS: iOS 18
  • Version [e.g. 22]

Screenshots
Xcode crash report

Screenshot 2024-07-25 at 10 46 40

Additional context
Add any other context about the problem here.

@dikshit1400
Copy link

Did you find any Solution @Sergelenchimeg ?

If Yes Please Let e know!
Thanks

@himanshuGandhiSimform
Copy link
Collaborator

Hello, @Sergelenchimeg @dikshit1400 if possible can you please provide more information or block of code because i have tested in IOS 18 and it's working well. Thank you

@himanshuGandhiSimform himanshuGandhiSimform added the more-info-required Indicates that the issue requires more description/information label Oct 15, 2024
@nabiarshad
Copy link

I have been facing the same issue in iOS , here is the base code.

void _initializeControllers() { recorderController = RecorderController() ..androidEncoder = AndroidEncoder.aac ..androidOutputFormat = AndroidOutputFormat.mpeg4 ..iosEncoder = IosEncoder.kAudioFormatMPEG4AAC ..sampleRate = 44100; }

await playerController .preparePlayer( path: path!, noOfSamples: 100, volume: 1.0, shouldExtractWaveform: true) .catchError((e) { printDebug(e.toString()); }); await playerController.startPlayer( finishMode: FinishMode.loop); },

Error: flutter: PlatformException(AudioWaveforms, Failed to prepare player, The operation couldn’t be completed. (OSStatus error 2003334207.), null)

@korat2511
Copy link

I am getting same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more-info-required Indicates that the issue requires more description/information
Projects
None yet
Development

No branches or pull requests

5 participants