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