You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Video freeze when seekTo is called after midroll ads #10274
Our QA team observes the same bug - #7161
When we call Player.seekTo() method a video freezes and the player doesn't react to any media event. It's very hard to reproduce, on my devices it happens 1 time out of 1000.
Can you provide a little more information about your setup? Specifically:
Is the content between the ads protected with DRM?
If so, how do you configure the DRM playback? A sample code snippet of instantiating a MediaItem or MediaSource would be helpful here, as well as any direct DrmSessionManager configuration e.g. via DefaultDrmSessionManager.Builder.
Precisely how are you triggering Player.seekTo() 'after midroll ads'? Are you reacting to an event, e.g. from Player.Listener or AnalyticsListener or are you using just time-based triggering e.g. with ExoPlayer.createMessage?
We think there's a theoretical problem with the way we handle seeking after a format switch (like ad -> content) in DRM content - but we've not been able to reproduce a problem at all in our demo app. We're reluctant to submit the fix to the library without being able to directly see it fix something - so since you seem to have a repro case it would be great if you could report back with your findings (either to let us know that it worked, or that it didn't make a difference (or that it made things worse!)). Thanks!
@icbaker I sent a build for our qa team, but unfortunately, they haven't checked it yet as they have a lot of other work to do. They will be able to test it only next week. Please don't close the ticket now, I will write an update later.
Activity
icbaker commentedon May 19, 2022
Can you provide a little more information about your setup? Specifically:
MediaItemorMediaSourcewould be helpful here, as well as any directDrmSessionManagerconfiguration e.g. viaDefaultDrmSessionManager.Builder.Player.seekTo()'after midroll ads'? Are you reacting to an event, e.g. fromPlayer.ListenerorAnalyticsListeneror are you using just time-based triggering e.g. withExoPlayer.createMessage?denis-solomko-deltatre commentedon May 30, 2022
@icbaker
DRM creation
MediaSource creation
AdsMediaSource creation
our AdsMediaSourceFactory
seekToin a button click listenericbaker commentedon May 30, 2022
Are you able to try depending on ExoPlayer locally? If so please try applying this patch on top of r2.17.1 and see if it fixes the issue.
We think there's a theoretical problem with the way we handle seeking after a format switch (like ad -> content) in DRM content - but we've not been able to reproduce a problem at all in our demo app. We're reluctant to submit the fix to the library without being able to directly see it fix something - so since you seem to have a repro case it would be great if you could report back with your findings (either to let us know that it worked, or that it didn't make a difference (or that it made things worse!)). Thanks!
Ensure `DRAIN_ACTION_FLUSH_AND_UPDATE_DRM_SESSION` is always executed
Ensure `DRAIN_ACTION_FLUSH_AND_UPDATE_DRM_SESSION` is always executed
icbaker commentedon Jun 15, 2022
I'm closing this because I hope it's fixed with the commit linked above, which will be included in the next release.
denis-solomko-deltatre commentedon Jun 15, 2022
@icbaker I sent a build for our qa team, but unfortunately, they haven't checked it yet as they have a lot of other work to do. They will be able to test it only next week. Please don't close the ticket now, I will write an update later.
Ensure `DRAIN_ACTION_FLUSH_AND_UPDATE_DRM_SESSION` is always executed
Ensure `DRAIN_ACTION_FLUSH_AND_UPDATE_DRM_SESSION` is always executed
denis-solomko-deltatre commentedon Jun 16, 2022
@icbaker I've received info from ous QAs. The bug is not reproducible with this approach. Thanks!
denis-solomko-deltatre commentedon Jun 16, 2022
@icbaker Could you tell me when the next release will be?
icbaker commentedon Jun 20, 2022
3 days ago :)
https://github.com/google/ExoPlayer/releases/tag/r2.18.0