-
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
Playback begins but listener never receives READY
state (IMA 3.11.2, 2.10.0)
#5902
Comments
It would be useful if you could set You mention that this issue is tied to DRM content. Just to clarify, can you not reproduce it when playing clear content? That sounds strange. If you can share the ad tag via email anyway that would be helpful. |
@andrewlewis I've emailed the new bugreport with Sorry, I didn't word the |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I've been digging a bit. This seems to be occurring when Our player calls Not sure of the exact flow of events yet and how incorrect it is, but Unsure what happened in 2.10.0 that caused this behaviour change, looks like we have seen the error in the past and ignored it, so potentially it's something as basic as the order of the listeners changing slightly so the exception is thrown before it's hit the important listener that drives the Still digging but thought this might be helpful. |
Seems related to #5831 which is also caused by seeking before the first ad event arrives. |
Definitely seems related. The fix over there to change the order of listeners likely changed the behaviour for us in this scenario. That being said the issue (NPE) presented itself in earlier versions, it just never effected the operation of the player in any noticeable way until 2.10. I'll dig into it a bit more over the next few days. Unsure if our seek call on content resume is timed incorrectly/necessary at all now (think it was a workaround for another issue), or if the |
So I think the issue is I'm pretty sure I can remove our code triggering the I guess there's a larger question about if |
@dbrain Sorry for the delay. Removing the call to Setting that aside, I think a couple of issues related to behavior at the start of playback with |
@andrewlewis Sorry, I also meant to respond to this. The issue went away when we removed the no longer needed code. It was originally added to support asking the user if they wanted to resume watching or restart while we perform the default action. When ads were added it became a bit awkward, as we didn't want to kick off a seek/show a snackbar mid ad etc so it was tied to the first Closing this as the issue is no longer reproducible. Thanks! |
[REQUIRED] Issue description
When using ExoPlayer 2.10.0 with the IMA extension (and a local dependency on IMA 3.11.2), sometimes the player will begin playback but never emit an
onPlayerStateChanged(.., READY)
event.This seems to occur for content with unplayable ads. but I can not find a guaranteed way to replicate it.
This issue could not be reproduced on ExoPlayer 2.9.6 with IMA 3.10.9.
We are currently driving some UI/events on this
READY
event (for e.g. hiding a spinner, starting some metrics).[REQUIRED] Reproduction steps
[REQUIRED] Link to test content
Unable to provide, as it's tied to IMA and DRMd content specifically. If required I can try to work something out.
[REQUIRED] A full bug report captured from the device
Will email to [email protected]
[REQUIRED] Version of ExoPlayer being used
2.10.0
[REQUIRED] Device(s) and version(s) of Android being used
For the bug report, Android Q beta3, but has also been seen on P.
The text was updated successfully, but these errors were encountered: