Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
None
-
5.12.4
-
None
Description
When I run the following code on iOS
import QtQuick 2.12 import QtQuick.Window 2.12 import QtMultimedia 5.8 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") Audio { id: audio loops: Audio.Infinite onStatusChanged: console.log("status = " + status) onError: console.log("error = " + error + " " + errorString) onPlaybackStateChanged: console.log("playbackstate = " + playbackState) source: "qrc:/sounds/audio.mp3" volume: 1.0 } Component.onCompleted: audio.play() }
the audio plays fine but it can be muted by the (hardware) mute switch on an iPhone. However, other apps (iTunes, news apps, podcasts, ...) continue to play audio in this case.
Is this a bug? Or can I somehow configure (in the Info.plist?) that the app-audio should not be muted by the hardware mute switch?