Player randomly stuck at buffering state forever after couple of seeking (Widevine Dash).
@microkatz is already working on this.
Since Dec 19, 2024.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Version
Media3 1.5.0
More version details
commit SHA = df887a942222914836081f868067960eb0149547
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
- 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)
- After download finishes, close all internet connections and open airplane mode.
- Start watching the asset.
- Seek to random position.
- 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
- You will email the zip file produced by
adb bugreportto android-media-github@google.com after filing this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.