PlaybackException is no longer being thrown when format is not supported
@icbaker is already working on this.
Since May 8, 2025.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Version
Media3 main branch
More version details
In media3 version 1.6.0 and 1.6.1 player no longer throws an error when format is not supported
in 1.3.0 we had exception beingh thrown like that androidx.media3.exoplayer.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/dolby-vision, dvhe.07.06, -1, und, [3840, 2160, -1.0, null], [-1, -1]), format_supported=NO_EXCEEDS_CAPABILITIES
but in latest versions in fails silently with a debug message only
MediaCodecInfo com.stremio.one D NoSupport [codec.profileLevel, dvhe.07.06, video/dolby-vision] [OMX.amlogic.dolby-vision.decoder.awesome, video/dolby-vision] [sabrina, Chromecast, Google, 31]
making it impossible to switch players.
Devices that reproduce the issue
Chromecast 4k
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Not tested
Reproduction steps
- Try playing video in not supported format in this case dolby-vision dvhe.7.06
Expected result
error should be thrown
Actual result
it silently fails with debug message
Media
sent link to the file in an email
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.