google / ExoPlayer

This project is deprecated and stale. The latest ExoPlayer code is available in https://github.com/androidx/media
https://developer.android.com/media/media3/exoplayer
Apache License 2.0
21.74k stars 6.03k forks source link

Corrupt rendering when seeking to end segment and back on some streaming media #10530

Open javierjim opened 2 years ago

javierjim commented 2 years ago

ExoPlayer Version

2.15.1

Devices that reproduce the issue

Pixel 6 Pro Samsung Galaxy s10 LG G5

Devices that do not reproduce the issue

Android Emulator (macOS)

Reproducible in the demo app?

Yes

Reproduction steps

  1. Update the ExoPlayer demo app with the media URL under Media section
  2. Play the media
  3. Seek using the scrubbing bar to the end, and back to 1-2 seconds

Expected result

The media should render correctly after seek back

Actual result

The media plays but rendering is corrupted. No error logs are shown in logcat. The bad rendering can be either a green/blue/gray screen or the one shown in the video below.

Video showing the issue here

Media

streaming HLS URL

Bug Report

javierjim commented 2 years ago

@rohitjoins, It seems the link has expired. I will reply with instructions on how to get a new one through email.

rohitjoins commented 2 years ago

@javierjim I can confirm that this issue is reproducible with the media URL provided via email. Although this doesn't happen for the HLS videos we have in our demo player. Also reproducible in ExoPlayer version 2.18.1.

@christosts Can you please take a look.