-
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
SimpleExoPlayer getDuration some audio links are getting incorrectly #6241
Comments
I also found this problem in the old version 2.9.6. |
Looking at this spec and what's in the file, it appears We can add a check that'll clip the size to the end of the file. The media does seem to be broken though. If this is your media, you should fix it. |
Notes:
|
Notes:
|
Issue: #6241 PiperOrigin-RevId: 261126968
Fixed in the |
Issue: #6241 PiperOrigin-RevId: 261126968
[REQUIRED] Issue description
Hello, I found that using
simpleExoPlayer.duration
, In some audio links, the total duration of playback is incorrect.For example, a song that takes a total of 2 minutes, but can only play for one minute.
[REQUIRED] Reproduction steps
Use
https://pro-audio.xiaoheiban.cn/201907/0fd5f017-cafe-4dfd-9f69-3a06cf4e2651.wav
audio linkWhen the music is playing, the total length of the music is found to be wrong.
[REQUIRED] Version of ExoPlayer being used
The text was updated successfully, but these errors were encountered: