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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 5.15.0
    • Multimedia
    • None
    • Xcode 11.6
    • 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

            tpochep Timur Pocheptsov
            hitokage hitokage
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes