Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved QMediaPlayer on iOS output audio to loudspeaker

    Mobile and Embedded
    2
    3
    617
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      xuxiang last edited by xuxiang

      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?

      X 1 Reply Last reply Reply Quote 0
      • X
        xuxiang @xuxiang last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          Hi,

          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 :)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply Reply Quote 0
          • First post
            Last post