fluttercommunity / fluttercommunity/chewie
ExoPlaybackException: MediaCodecVideoRenderer error while clicking refresh icon
- Dominant language
- Dart
- Stars
- 2.1k
- Forks
- 1.1k
- Avg merge
- 6d 8h
- Merged PRs (30d)
- 6
Description
I am loading the stream URL dynamically to the player. When the payer is in a loading stage and the user clicks the refresh icon in the player 2-3 times, the player will throw this exception.
`PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(2, null, null, video/avc, avc1.4D4020, 3220800, null, [1280, 720, -1.0], [-1, -1]), format_supported=YES, null, null)`
Any solution to overcome this issue?
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file, test, or entry point is named. Start by reproducing the issue while a dynamically loaded stream is loading and the player refresh icon is clicked repeatedly, then trace the resulting MediaCodecVideoRenderer error; done means the repeated refresh no longer produces this playback failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, dart, flutter
- Domain
- audio-video-rtc, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100