react-native-video: Video error on Android 11

Bug

Platform

Which player are you experiencing the problem on:

  • Android Version 11

Environment info

Library version: v6 - Beta 4 Device: Google Pixel

Steps To Reproduce

Just play any video on Android 11.0 It gives an error: ExoPlaybackException: ERROR_CODE_DECODING_FAILED"

Expected behaviour

It should work normally without and error.

Reproducible sample code

Any video on Android 11 will cause the issue.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 20 (1 by maintainers)

Most upvoted comments

Just a quick update @KrzysztofMoch @freeboub . I purchased two android devices from ebay, one with android 11 and one with android 12. Im waiting for them to be delivered next week. As soon as I get them ill confirm if this issue and the one in #3499 are happening on real device.

Will check this 👀

Hey @nicolaosm, I was able to reproduce this - after some debugging it seems that source of crash is ExoPlayer issue with codec. Unfortunately I am not able to fix/do something about this 😕

@freeboub maybe you will had some idea ?