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

Audio playback abruptly ends when audio file is loaded from resources

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 5.12.6
    • Fix Version/s: 5.14
    • Labels:
      None
    • Environment:
      Windows 10
    • Commits:
      I9a7e98c0cb08b2399b7928ecf026c0deb90a1bcb

      Description

      I have an HTML page with audio element that I open in Qt WebEngine. When the page and the audio file are loaded from disk ("file:///index.html"), everything is OK. When they are added to resources and loaded from there ("index.html" or "qrc:/index.html"), audio abruptly ends in a matter of seconds. Adding preload attribute to the audio element gives it a bit more time to play, but it doesn't finish nonetheless. The audio file is in OGG format, tried different files. Minimal reproducible example is attached.

        Attachments

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

          Activity

            People

            Assignee:
            davidsz Szabolcs David
            Reporter:
            karidery F L
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes