Closed zhushenwudi closed 2 years ago
Can you try updating the ExoPlayer version in just_audio and seeing if it fixes the issue for you?
I forked the project and upgrade the dependency in Android, But the code made a mistake. The latest Exoplayer seems to be uncompatible with the current code. I may have to change some source code, which may not just improve the version, Can you pull a modified branch for me to test?
I did it. It can play it correctly!
First, I tried to upgrade the exolayer, but I found that there are still the same error
I got the conclusion by comparing the code with https://github.com/OxygenCobalt/Auxio. There is an additional flac renderer in the exolayer, which uses the official native code of flac and is printed into the so library. exoplayer repo branch is dev. Then I can import the generated aar file extracted from the Auxio project into the dart project
my fork url: https://github.com/zhushenwudi/just_audio
Hi @zhushenwudi I have created a branch feature/upgrade_exoplayer
where I have upgraded the ExoPlayer version. Can you test it and let me know if there is anything further you need?
Hi @zhushenwudi have you had a chance to test this branch yet?
I have merged the branch, so I'll close this issue.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with just_audio.
Which API doesn't behave as documented, and how does it misbehave? api: v0.9.28 Some songs will report errors when playing When I tried another open source project: https://github.com/OxygenCobalt/Auxio I found that the latest version of exoplayer did not report an error It only exists on Android devices
Minimal reproduction project Provide a link here using one of two options:
To Reproduce (i.e. user steps, not code) Steps to reproduce the behavior:
Error messages
Expected behavior on android device, can normally play some special music
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Flutter SDK version
Additional context Add any other context about the problem here.