Slowplayback due to Audio discontinuity
[REQUIRED] Issue description
The issue causes slow playback when the user tries to pause and play music a couple of times. It is consistently reproducible on Android Q devices.
[REQUIRED] Reproduction steps
Playing and pausing a couple of times causes the issue. It is recoverable as soon as you hit pause again or next/previous etc.
[REQUIRED] A full bug report captured from the device
Will email the bug report once issue is created.
[REQUIRED] Version of ExoPlayer being used
2.8.4 Also, tried with older versions of exoplayer. 2.5.4 and 2.3.1 and issue is still reproducible.
[REQUIRED] Device(s) and version(s) of Android being used
Pixel 3 XL: It is consistently reproducible on Q. The frequency is less on lower versions of Android
Please provide complete information as requested in the issue template. The issue template can be found here. If you're unable to share bug reports or test content publicly, please send them to [email protected] using a subject in the format "Issue #1234", where "#1234" should be replaced with your issue number. Please also update this issue to indicate you’ve done this.
@AquilesCanta How can I help improve the actionability of this bug? I want to make sure you have all you need to make this bug useful for you.
@AquilesCanta The logs have already been provided to you by email. Let me know what else are you looking for.
The things we need are actually available in your own post. In this specific case I can't do anything without the media sample.
I'm working with our team to get you access to media. Due to licensing, I'm wondering how we can safely share this media. Is there a standard form / method you use for this?
I'll paste from above:
[REQUIRED] Link to test content Provide a JSON snippet for the demo app’s media.exolist.json file, or a link to media that reproduces the issue. If you don't wish to post it publicly, please submit the issue, then email the link to [email protected] using a subject in the format "Issue #1234", where "#1234" should be replaced with your issue number. Provide all the metadata we'd need to play the content like drm license urls or similar. If the content is accessible only in certain countries or regions, please say so.
A member from our team is working on getting you access to a stream.
I believe others are reporting similar issues. Looks like https://github.com/google/ExoPlayer/issues/6475 is the same or similar.
Hey @avsbrowncoats. We need more information to resolve this issue but there hasn't been an update in 14 days. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Since there haven't been any recent updates here, I am going to close this issue.
@avsbrowncoats if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.
HI we do have a stream that we can send you. I would like to reopen this issue.
Please send the stream as requested, and ping this issue after it's sent. Thanks.
Hi, We tried the HLS streams we were giving and they did not repro the issue. We are asking Amazon music to get us a stream so we can send you.
Please ping this issue after a stream has been provided, and we will reopen it then.
Hi, This stream will reproduce it. Our internal stream will do it after 3-4 pause and plays are done in a row. With this external stream, you have to do it about 20 times of pause and play. https://d29r7idq0wxsiz.cloudfront.net/DigitalMusicDeliveryService/HPS.m3u8?m=m&dmid=203888005&c=cf&f=ts&t=10&bl=48k128k&s=true&e1=1585035600000&e2=1585035600000&v=V2&n=VSQOMQQIAZ4O6&h=ed366a7001e2ddd26672b0f6f9bb690614996fba4f3c36b47db2ec2de4a5712d
Hi Do we have any new data on this ? Thanks Wally
Hi @ojw28 Oliver, Do you have an update? What else can we do? Thank! Wally (Amazon)
I tried repeatedly pausing and resuming the stream linked above in the 2.8.4 demo app on a Pixel 3 XL, and could not reproduce the issue.
- Does it reproduce in the ExoPlayer demo app on your device? In the bug report provided, it looks like you're probably using your own app to reproduce the problem. Some of the logging may also imply you're using a customized version of ExoPlayer (that's just speculation on my part though :)).
- Are you using bluetooth headphones? If so, does it reproduce when you play using the device's built in speaker (which is what I was trying)?
- Does it reproduce if you update the device to a newer build (e.g., QQ1A.200105.002)?
Thanks Oliver, we know we made some changes to the amazon version of exoplayer but very small changes. We will do some deep digging to see if we did anything wrong. Do you have any advice upfront? Thanks!
Do you have any advice upfront? Thanks!
Try and reproduce the issue with the ExoPlayer demo app. That's a very fast way to determine whether you introduced the issue or whether the issue is in the ExoPlayer library itself.
Hey @avsbrowncoats. We need more information to resolve this issue but there hasn't been an update in 14 days. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!