media icon indicating copy to clipboard operation
media copied to clipboard

PlaybackException is no longer being thrown when format is not supported

Open TRtomasz opened this issue 6 months ago • 13 comments

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

  1. 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 bugreport to [email protected] after filing this issue.

TRtomasz avatar May 08 '25 09:05 TRtomasz