-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Short audio files loop #2252
Comments
Thanks for reporting this. I have an idea what might be going wrong but haven't been able to reproduce it yet -- please could you provide steps to reproduce the issue, ideally in the demo app? (e.g. modify PlayerActivity.java to pass the player a LoopingMediaSource which wraps an ExtractorMediaSource playing the local OGG file.) |
Andrew, I mistakenly emailed a wrong file. Sorry for that. I have just sent another email with the correct one. I was able to reproduce the issue in the demo app as instructed. I tested it in 4.2.2 and 6.0.1 devices, both Samsung. |
I still wasn't able to reproduce this on a Nexus 6P, preparing the demo app player with a LoopingMediaSource wrapping the WAV file you emailed. Please could you provide specific steps to reproduce in the demo app? |
I replaced line 327 of PlayerActivity.java with:
Compiled with build tools 25.0.2. |
Got it -- it is important to loop a small number of times. Thanks. |
Issue: #2252 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=143433510
Also move timeline, manifest and format verifications into the test* methods. Issue: #2252 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=143761969
Hi, I upgraded to ExoPlayer r2.1.1 and I found a bug not present in r.2.04. When I play the file, everything work as expected however, if you loop it 2 or more times, some files do not play all requested counts or they just play a section of the last part and the log cat shows this:
When the file plays normally, there is no error in logcat.
The example file will be mailed to you.
The text was updated successfully, but these errors were encountered: