Solved QMediaPlayer on iOS output audio to loudspeaker
I used Qt 5.6 (commercial edition) QMediaPlayer to play a simple local mp3 file on iPhone5 and iPhone 6, both running ios 8.4.
On iphone 5 , audio output to the loudspeacker. But on iPhone 6 , audio output to the jack and I need to use a headset to listen audio output.
Then I use an iPad Air running iOS 7 . The audio also output to loudspeaker.
My question is: how to ensure that when headset not plugged in , the audio will always go to the loudspeaker?
I am sorry that I am not an iPhone user. Today I found that there is a "silent" switch on the iPhones and the models I tested are switch to silent mode so that I can't hear anything from the loudspeaker.
This question hence closed.
Glad you found out and thanks for sharing your findings !
Since you have it working now, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)