Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-77061

QMediaPlayer unexpectedly stops playing streamed audio

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 5.13.0
    • Multimedia
    • None
    • Linux/X11

    Description

      I have a local http server which sends "Connection: close" header and closes connection when all data was trasnferred.

      If I play an mp3 file from this server with

      $ gst-lauch-1.0 playbin uri=http://localhost/myaudiofile.mp3 

      everything works just fine.

      But with QMediaPlayer things are different..
      In both gst-launch and QMediaPlayer cases in WireShark logs I see all the mp3 data was passed and correct fin/ack sequence properly clossed the connection but for some reason QMediaPlayer stops playing its buffers as soon as connection is closed.

      I tried to log every error/state of QMediaPlayer but it just finishes with NetworkError.

      Expected:
      Keep playing buffered data

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            rion Rion
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes