Skip to content

Player randomly stuck at buffering state forever after couple of seeking (Widevine Dash). #1984

Open
@EmreCan-Haciosmanoglu

Description

Version

Media3 1.5.0

More version details

commit SHA = df887a9

There seem to be similar issues are opened previously, #1022 and #719, they are both about a year old and no solution are implemented/offered.

Devices that reproduce the issue

Moto g 5g - 2023 Running Android 14

Devices that do not reproduce the issue

Since the bug appears randomly this list might not be correct, and longer testing may result in bug appearing.

  • Samsung Galaxy A52 5G running Android 14
  • Huawei Mate 20 lite running EMUI 12

Reproducible in the demo app?

Yes

Reproduction steps

  1. In the demo app, download one of the following asset (the list is not exhaustive):
  • Widevine Dash (MP4, H264) - HD (cenc) - 1280 x 570, 7.21 Mbps
  • Widevine Dash (MP4, H264) - HD (cbcs) - 1280 x 570, 7.25 Mbps
  • Widevine Dash (MP4, H265) - HD (cenc) - 1280 x 570, 3.95 Mbps
  • Widevine Dash (policy tests) - SW secure crypto (L3)
  • Widevine Dash (policy tests) - HW secure all (L1)
  1. After download finishes, close all internet connections and open airplane mode.
  2. Start watching the asset.
  3. Seek to random position.
  4. Repeat step 4 until it gets stuck at buffering state.

Expected result

The playback should always start after seeking. It should never infinitely stay at buffering state, or it should thrown an error stating that player will not recover from the buffering state.

Actual result

The playback stops,
It goes into buffering state,
It stays at buffering state forever,
No error is thrown.

Media

From Demo app (the list is not exhaustive):

  • Widevine Dash (MP4, H264) - HD (cenc) - 1280 x 570, 7.21 Mbps
  • Widevine Dash (MP4, H264) - HD (cbcs) - 1280 x 570, 7.25 Mbps
  • Widevine Dash (MP4, H265) - HD (cenc) - 1280 x 570, 3.95 Mbps
  • Widevine Dash (policy tests) - SW secure crypto (L3)
  • Widevine Dash (policy tests) - HW secure all (L1)

Bug Report

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions