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

Audio playback abruptly ends when audio file is loaded from resources

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 5.14
    • 5.12.6
    • None
    • Windows 10
    • 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

            davidsz Szabolcs David
            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