无法在react-native-video上实例化解码器OMX.amlogic.avc.decoder.awesome

问题描述 投票:0回答:1

我正在为Android开发一个react-native应用,尝试使用react-native-video播放不同的视频时收到错误消息。错误显示:

[errorException] => com.google.android.exoplayer2.mediacodec.MediaCodecRenderer$DecoderInitializationException: Decoder init failed: OMX.amlogic.avc.decoder.awesome, Format(1, null, null, video/avc, null, -1, null, [3840, 2160, -1.0], [-1, -1])
[errorString] => Unable to instantiate decoder OMX.amlogic.avc.decoder.awesome

我发现this建议更改解码器,但是在JS中似乎是不可能的。有什么办法可以做到这一点?还是您建议另一个本地视频播放器?

react-native react-native-android react-native-video
1个回答
0
投票

您是否已解决此错误?我有同样的错误。

© www.soinside.com 2019 - 2024. All rights reserved.