Skip to content

Seeking while playing Widevine/AVC can cause a stall #719

@malbanese

Description

@malbanese

Version

ExoPlayer 2.19.1

More version details

While playing back Widevine protected AVC content, I notice the player can get stuck in a state after seeking where it is in a buffering / not loading state. I can see plenty of errors / warnings coming from the device CCodecX classes, but Exoplayer itself never recovers, and appears to load indefinitely.

When performing another seek to a different timestamp (even by just 1ms) playback recovers.

This seems to occur on our Widevine/AVC content as well as the one available inside the ExoPlayer demo app.

Our app is currently using ExoPlayer 2.18.1 - I've reproduced it in the ExoPlayer demo app for 2.18.1 and 2.19.1.

Devices that reproduce the issue

Pixel 5, Android 14

Devices that do not reproduce the issue

Pixel 7 Pro, Android 13

Reproducible in the demo app?

Yes

Reproduction steps

  1. From the exoplayer demo app, select Widevine DASH(MP4, H264) -> HD (cenc)
  2. Seek somewhere on the seek bar
  3. If the seek was successful, retry step 2.
  4. Observe that seeking occasionally indefinitely hangs, and leaves the device in a buffering but not loading state
  5. Seek again to regain playback

Expected result

Seeking does not incur indefinite buffering states.

Actual result

Seeking hangs indefinitely, and the user must seek again to regain playback.

Media

I can provide Widevine/AVC protected content via the attached email if needed, but I have reproduced it via the sample content in the Exoplayer app.

Bug Report

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions