-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DecoderInitializationException: AVC to HEVC switch issue on some devices #9250
Comments
And here is a logcat showing the sample app launch followed by the Note the |
These lines in the logcat suggests to me this is a duplicate/same root cause as:
|
I'm not sure, because in my case there is a switch between 2 DRM-protected video tracks, there a no clear content involved. |
I suspect #8696 just has an incomplete/imprecise title, and that the problem is really related to switching away from a secure decoder (so it occurs both when switching from a secure to a clear decoder and from one secure decoder to another different one). I'm going to close this as a duplicate and update the title of #8696. |
Quick question: When I repro'd #8696 using a OnePlus AC2003 I didn't see any problems on Android 10 but immediately repro'd on Android 11. Does your crash analytics suggest this problem happens only (or much more frequently) on Android 11 than Android 10? |
93% on Android 11, 5% on Android 10. |
Note that on #8696 a trick was to use |
Since ExoPlayer 2.13.X (including the last 2.14.2 release) there is an issue in DASH Live streams having both AVC and HEVC profiles in their manifests. The issue occurs when switching from one decoder to another (mostly AVC to HEVC), it is 100% reproducible with a minimal ExoPlayer integration:
According to Firebase Crashlytics where we upload our reports, this issue happens on Xiaomi, OnePlus, OPPO, Samsung and some other brands. It seems to be related to Qualcomm (OMX.qcom.video.decoder.hevc.secure) and Mediatek (OMX.MTK.VIDEO.DECODER.HEVC.secure) decoders.
Here is an overview of available video tracks in a DASH manifest:
I'll give you the app sample private GitHub repo URL and necessary access token by email.
The text was updated successfully, but these errors were encountered: