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

No sound using MediaPlayer on iOS 13.6 (works on < 13.6)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Need More Info
    • Priority: P3: Somewhat important
    • Resolution: Incomplete
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Component/s: Multimedia
    • Labels:
    • Environment:
      Xcode 11.6
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      Using this QML code:

       

      MediaPlayer {
       id: mediaPlayer
       muted: false
       volume: 1.0
       source: StandardPaths.locate(StandardPaths.AppDataLocation, "audio.mp3", standardPaths.LocateFile); 
       }

       

      Having this in pro file:

       

      ios: {
       BUNDLE_DATA.files = $$files($$PWD/audio/*.mp3)
       QMAKE_BUNDLE_DATA += BUNDLE_DATA
       QTPLUGIN *= qtaudio_coreaudio
       QTPLUGIN *= qtmedia_audioengine
       QTPLUGIN *= qavfcamera
       QTPLUGIN *= qavfmediaplayer
      }

       

      This works on iOS version < 13.6. However users of my app started reporting that the sound is muted on 13.6. The file is loaded, the player is working (time is moving when the play button is hit and duration is properly set) but the device is silent.

      Might be related to QTBUG-39290 and QTBUG-37704.

        Attachments

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

          Activity

            People

            Assignee:
            valentyn.doroshchuk Valentyn Doroshchuk
            Reporter:
            hitokage hitokage
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes