Open kevinguitar opened 1 month ago
Please can you try with SurfaceView
? Using TextureView
is generally discouraged and SurfaceView
is preferred where possible.
@icbaker Will do, I noticed that during the investigation, we plan to migrate from TextureView
to SurfaceView
very soon. We will keep this issue posted with our movements.
Hi @icbaker, we've migrated from TextureView
to SurfaceView
, and it doesn't resolve the issue.
Migrated the sample project here too. Fyi https://github.com/kevinguitar/video-pager/commit/209f693801a8346d86ee4a738b2cc0f7df5d194c
Version
Media3 1.4.1
More version details
No response
Devices that reproduce the issue
I was able to reproduce on Pixel 7 pro with Android 15
The following report is from Crashlytics:
27% Honor
16% Oppo
15% Samsung
OS: 41% Android 14 30% Android 12 20% Android 13 3% Android 10
Devices that do not reproduce the issue
All emulator seems working fine with those videos
Reproducible in the demo app?
Not tested
Reproduction steps
Created a minimal reproducible project here https://github.com/kevinguitar/video-pager/tree/main
Expected result
I would expect two possible results:
This issue is really affecting us significantly, I'm all in to provide whatever information you'll need to investigate, please let me know 🙏 Please and thank you!
Actual result
The player stuck forever in the buffering state, here are the logs with
EventLogger
:When I tried to play other videos, I ran into this exception on every seek attempt. Essentially, the player became unusable.
Media
Problematic videos: https://bandlab-test-video.azureedge.net/public/9fc787ef-2052-410a-b001-23ff5871c775/original.mp4 https://bandlab-test-video.azureedge.net/public/5c797341-14e2-45ee-a28a-1bc825f42f93/original.mp4
They're used in the sample project here: https://github.com/kevinguitar/video-pager/blob/main/app/src/main/java/com/example/videopager/VideoPlayer.kt#L20
Bug Report
adb bugreport
to android-media-github@google.com after filing this issue.