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

Audio playing issues on WinRT platform (local files)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.5.1
    • Fix Version/s: 5.6.0 RC
    • Component/s: Multimedia
    • Labels:
      None
    • Environment:
      Windows 10 (10240) for developing with Qt 5.5.1.
      Lumia 925 with Windows 10 Mobile 10581 build.

      Description

      I have following issue with QtMultimedia on Windows Phone 8.1 (Windows 10 Mobile) and Windows 10 (Modern App, WinRT):

      When I trying to play local mp3 file (I've stored it in QStandartPaths::AppLocalDataLocation, if it matters), playing always freezes on random position .
      I'd found some info with debugging and qtmultimedia sources.

      QMediaPlayer emits signals:

      • stateChanged with QMediaPlayer::StoppedState
      • mediaStatusChanged with QMediaPlayer::InvalidMedia
      • error with QMediaPlayer::FormatError ("An error occurred while decoding the media resource.").

      I guess it happens on MF_MEDIA_ENGINE_ERR_DECODE error from IMFMediaEngine, if it can help somebody. But I dont know this part of MSFT library.

      Are there workarounds for solving this problem?

      P.S. Builds for other target platforms work fine with the same code (Android, MinGW, etc).
      P.P.S. I'm not sure, but sometimes, on Windowps Phone it freezes when I set the volume physically up or down, but maybe it just a random time for freeze.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              mkalinow Maurice Kalinowski
              Reporter:
              degree Vladislav Suratov
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes