-
Notifications
You must be signed in to change notification settings - Fork 197
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
AudioRecorder.stop() is not saving file in linux #269
Comments
@tiagogoncalves this error is from |
Well..., I'm completely blind on Linux platform as I don't have any instance of it.
Finally, when the recording is started do you see the incoming file at your given path? |
@llfbandit 'Also what is the version of fmedia?' fmedia is v1.31 (linux-amd64) 'Finally, when the recording is started do you see the incoming file at your given path?' No, I tested for other path/dir and didn't find them either |
In my case, first run created file but second run not. I think this happen because first run somehow break process. But I discovered that such command [ '--record', '-o', _path, '-y', '--globcmd=listen'], ['--globcmd=stop'] work well |
Is there any issue on Linux platform? |
We are also facing the same issue. After record.stop() is called,
|
the file does exist but is not accessible...problem should be fixed when my pull request is merged. |
record_linux 0.7.2 has just been published with the fix above. |
Package version
record: ^5.0.4
Flutter version 3.16.1
Environment
Describe the bug
start is triggered, but when stop is requested the path returned does not contain the expected file
RecordConfig(encoder: rc.AudioEncoder.aacLc, numChannels: 1)
To Reproduce
Code:
Log:
flutter: AudioPlayers Exception: AudioPlayerException( DeviceFileSource(path: /home/anderson/Documentos/1704232220808.m4a), PlatformException(LinuxAudioError, Failed to set source. For troubleshooting, see: https://github.com/bluefireteam/audioplayers/blob/main/troubleshooting.md, Unable to set the pipeline from GST_STATE_READY to GST_STATE_PAUSED., null) [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(LinuxAudioError, Failed to set source. For troubleshooting, see: https://github.com/bluefireteam/audioplayers/blob/main/troubleshooting.md, Unable to set the pipeline from GST_STATE_READY to GST_STATE_PAUSED., null)
The text was updated successfully, but these errors were encountered: