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

IOS 17.4.1 Recording False #309

Closed
liugong86 opened this issue May 3, 2024 · 2 comments
Closed

IOS 17.4.1 Recording False #309

liugong86 opened this issue May 3, 2024 · 2 comments

Comments

@liugong86
Copy link

record 5.0.5

Environment

  • OS: IOS 17.4.1
  • flutter 3.19.4
  • iphone 15

Describe the bug
record can start, and there has no any error. but the audio file length only 28. Amplitude always the same value
AudioPlayer the audio file also false;

The same code on android work well.

const config = RecordConfig(
encoder: encoder,
numChannels: 1,
sampleRate: 8000,
bitRate: 64 * 1024);

can somebody help me?

@liugong86
Copy link
Author

record 5.0.5

Environment

* OS: IOS 17.4.1

* flutter 3.19.4

* iphone 15

Describe the bug record can start, and there has no any error. but the audio file length only 28. Amplitude always the same value AudioPlayer the audio file also false;

The same code on android work well.

const config = RecordConfig( encoder: encoder, numChannels: 1, sampleRate: 8000, bitRate: 64 * 1024);

can somebody help me?

when delete the params sampleRate:8000, it work well.
const config = RecordConfig(
encoder: encoder,
numChannels: 1,
// sampleRate: 8000,
bitRate: 64 * 1024);

@llfbandit
Copy link
Owner

If I remember well, iOS doesn't record below 16k...

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

2 participants