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

PlatformException(record, The operation couldn’t be completed. (OSStatus error 1718449215.), null, null) #272

Closed
asadbekdev opened this issue Jan 11, 2024 · 3 comments

Comments

@asadbekdev
Copy link

record: 5.0.4

Environment

  • OS: MacOS

When i use await _recorder.start(const RecordConfig(), path: _path!); function, it's not working and showing error.

A clear and concise description of what the bug is.

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(record, The operation couldn’t be completed. (OSStatus error 1718449215.), null, null)
#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:651:7)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:322:18)

#2 AudioRecorder.start (package:record/src/record.dart:53:5)

@asadbekdev asadbekdev changed the title latformException(record, The operation couldn’t be completed. (OSStatus error 1718449215.), null, null) PlatformException(record, The operation couldn’t be completed. (OSStatus error 1718449215.), null, null) Jan 11, 2024
@llfbandit
Copy link
Owner

Does the example project work?

@niktishakov
Copy link

I catch the same error, when use .wav on iOS, show please your full path and platform?

@asadbekdev
Copy link
Author

After I changed the file mime-type to .m4a from wav, everything started working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants