-
Notifications
You must be signed in to change notification settings - Fork 214
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
startStream issues #414
Comments
Thanks for your report. About PCM concerns, if you don't know this format, just don't use it, this is raw audio. Most players are unable to play it. |
PCM might be my fault then. That's not the encoder I want to use anyway. Also I've already enabled onError with no output from it. Regarding AAC, here is if I try recording a few seconds of aacEld:
As I said, during this time, there is no callbacks from .listener, so no data from listener (unless I use PCM). The only callback is onDone. |
....yeah so this issue shouldn't be closed. It is unresolved. startStream is broken on Android except for PCM. |
It is still broken on Android. |
Package version
5.1.2
Environment
Describe the bug
.listen has no data unless
encoder: AudioEncoder.pcm16bits
is used, yet no error is triggered. All other AudioEncoders fail silently, despite working just fine when start() is used instead of startStream().Furthermore, even if pcm16bits is used with startStream(), there is no documented way to play it back.
Furthermore, when pcm16bits is used with start(), it produces a file that cannot be played back via AudioPlayer(), unlike all other AudioEncoder formats.
If I am wrong and startStream is not unusable (either with pcm16bits or other), then an example file needs to be written to show how to utilize startStream to produce an output that can be played back with AudioPlayer().
The text was updated successfully, but these errors were encountered: