-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
HLS Playlist issue "Unable to instantiate decoder OMX.MTK.VIDEO.DECODER.AVC" #2618
Comments
Mediacodec issues are generally linked to hardware compatibility. |
Anyone have found the fix for this issue? |
Did you found any solution? |
please what is the solution??? |
please check this thread: #2984 |
Bug
Platform
Android
Which player are you experiencing the problem on:
Environment info
React native info output:
Library version: 5.2.0
Steps To Reproduce
Expected behavior
Reproducible sample code
<Video
id={uuid.v4()}
ref={ref => {
this.video = ref;
}}
source={{
uri:"https://vz-602a2693-e0f.b-cdn.net/c496b51c-8216-4c71-9935-d158caf8a26a/playlist.m3u8"
}}
style={[styles.fullScreen, {height: '100%'}]}
rate={this.state.rate}
//paused={this.state.paused}
paused={this.state.paused}
// useNativeControls
volume={this.state.volume}
muted={this.state.muted}
resizeMode={this.state.resizeMode}
onLoad={this.onLoad}
onProgress={this.onProgress}
progressUpdateInterval={250.0} //IOS
onEnd={this.onEnd}
onAudioBecomingNoisy={this.onAudioBecomingNoisy}
onAudioFocusChanged={this.onAudioFocusChanged}
onLayout={
this.props.onLayout
}
repeat={false}
fullscreenOrientation="portrait"
fullscreen={false}
poster={thumbnail}
posterResizeMode="cover"
controls={false}
onError={this.onError}
playInBackground={false}
disableFocus={false}
playWhenInactive={false}
onBuffer={
this.videoBuffer
}
reportBandwidth={false}
bufferConfig={{
minBufferMs: 5000,
maxBufferMs: 10000,
bufferForPlaybackMs: 2500,
bufferForPlaybackAfterRebufferMs: 5000,
}}
/>
Error sample
Video Play Error: {"error": {"errorException": "com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(2, null, null, video/avc, avc1.4D401F, 1400000, null, [842, 474, -1.0], [-1, -1]), format_supported=YES", "errorString": "Unable to instantiate decoder OMX.MTK.VIDEO.DECODER.AVC"}}
The text was updated successfully, but these errors were encountered: