Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QMediaPlayer on iOS output audio to loudspeaker

QMediaPlayer on iOS output audio to loudspeaker

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 905 Views 1 Watching
  • 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 Offline
    X Offline
    xuxiang
    wrote on last edited by xuxiang
    #1

    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
    0
    • X 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 Offline
      X Offline
      xuxiang
      wrote on last edited by
      #2

      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
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved