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

Error "stop failed: -1007" when trying to stop recording suddenly #159

Closed
sayhicoelho opened this issue Nov 22, 2019 · 3 comments
Closed
Labels

Comments

@sayhicoelho
Copy link

sayhicoelho commented Nov 22, 2019

Version of flutter_sound

1.5.2

flutter doctor

OK

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

Android (not tested in iOS)

Expected behavior

The recorder should stops instead of suddenly throws an error.

Actual behavior

The lib throws an error "stop failed: -1007" if you stop recording after starting it (in a range of milliseconds)

Tested environment (Emulator? Real Device?)

Emulator and real device

Steps to reproduce the behavior

Just create a button to start recording when holding it and stop recording after released it. Try to tap the button many times and you'll see the "stop failed: -1007" error.

Screenshot

image

@sayhicoelho
Copy link
Author

The lib "audio_recorder" has the same issue. You can see it here: ZaraclaJ/audio_recorder#40

@hyochan
Copy link
Collaborator

hyochan commented Dec 7, 2019

8UL05vbSVR

How can I reproduce this again?

@github-actions
Copy link

github-actions bot commented Mar 7, 2020

This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.

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

No branches or pull requests

2 participants