ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

Slowplayback due to Audio discontinuity

Open avsbrowncoats opened this issue 7 years ago • 31 comments

[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

avsbrowncoats avatar Nov 19 '19 21:11 avsbrowncoats

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 avatar Nov 21 '19 16:11 AquilesCanta

@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.

tobint avatar Nov 26 '19 18:11 tobint

@AquilesCanta The logs have already been provided to you by email. Let me know what else are you looking for.

avsbrowncoats avatar Nov 26 '19 19:11 avsbrowncoats

The things we need are actually available in your own post. In this specific case I can't do anything without the media sample.

AquilesCanta avatar Nov 26 '19 19:11 AquilesCanta

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?

tobint avatar Nov 26 '19 23:11 tobint

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.

AquilesCanta avatar Nov 27 '19 10:11 AquilesCanta

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.

tobint avatar Dec 10 '19 21:12 tobint

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!

google-oss-bot avatar Dec 25 '19 02:12 google-oss-bot

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.

google-oss-bot avatar Jan 02 '20 02:01 google-oss-bot

HI we do have a stream that we can send you. I would like to reopen this issue.

wallyho avatar Jan 10 '20 18:01 wallyho

Please send the stream as requested, and ping this issue after it's sent. Thanks.

ojw28 avatar Jan 10 '20 19:01 ojw28

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.

wallyho avatar Jan 13 '20 18:01 wallyho

Please ping this issue after a stream has been provided, and we will reopen it then.

ojw28 avatar Jan 13 '20 19:01 ojw28

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

wallyho avatar Jan 17 '20 00:01 wallyho

Hi Do we have any new data on this ? Thanks Wally

wallyho avatar Jan 21 '20 01:01 wallyho

Hi @ojw28 Oliver, Do you have an update? What else can we do? Thank! Wally (Amazon)

wallyho avatar Jan 27 '20 17:01 wallyho

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)?

ojw28 avatar Jan 27 '20 18:01 ojw28

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!

wallyho avatar Jan 29 '20 17:01 wallyho

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.

ojw28 avatar Jan 30 '20 13:01 ojw28

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!

google-oss-bot avatar Feb 14 '20 02:02 google-oss-bot