Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8130219

Seek fails for media streams after several tries

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
    • OS:
      windows

      Backports

        Description

        Playback fails with ERROR_MEDIA_INVALID after several seeks for http://reavers.us.oracle.com/httplivestreams/stream4/stream.m3u8. Also, MP4, FLV and MP3 affected by this issue and playback will fail after some amount of seeks, play/stop or rate changes.

        This is regression from JDK-8088823. JDK-8088823 resets is_data_produced flag after flush (which happens for seek, stop and rate changes) and does not resets input_buffers_count which counts how many buffers DirectShow can consume without producing any data. Error will be triggered after 500 buffers consumed.

        On average each flush will increment input_buffers_count by ~150 for 1080p HLS, ~20 for 1080p MP4 and ~2 for MP3 or AAC.

        This is Windows only issue.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                almatvee Alexander Matveev
                Reporter:
                almatvee Alexander Matveev
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Due:
                  Created:
                  Updated:
                  Resolved: