chewie icon indicating copy to clipboard operation
chewie copied to clipboard

ExoPlaybackException: MediaCodecVideoRenderer error while clicking refresh icon

Open nithinjith-42 opened this issue 1 year ago • 2 comments

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?

nithinjith-42 avatar Sep 01 '23 12:09 nithinjith-42

I have a similar issue. Any luck fixing this?

shankar-balasubramaniam avatar Oct 23 '23 14:10 shankar-balasubramaniam

Disposing the video controller instance seems to fix this issue. videoPlayerController?.dispose();

shankar-balasubramaniam avatar Oct 24 '23 07:10 shankar-balasubramaniam