Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-123073

[macOS] QMediaRecorder failed to record an audio after reconnecting AirPods

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.3, 6.6.3, 6.7.0
    • Multimedia
    • None
    • macOS 14.3.1
      MacBook Pro 13-inch, M1, 2020
    • macOS
    • Multimedia wk 43-44

    Description

       

      QMediaRecorder failed to record an audio after reconnecting AirPods on Mac (maybe also relevant for any other bluetooth headset, or even for wired ones - I didn't check).

      It seems doesn't depend on multimedia backend, I can reproduce both with "darwin" and "ffmpeg".

      This problem causes a lot of complaints from end-users of real application.
      Meanwhile I was able to reproduce something like this in standard Qt Audio Recorder example, with the following steps:

      1. Connect AirPods to your Mac and and insert the earphone into your ear.
        So, it should look like this
      2.  Build and run Audio Recorder Example (Examples/<Qt Version>/multimedia/audiorecorder/)
      3. Select AirPods as Input Device
      4. Recorder an audio
      5. Check the recorded file - it should be OK 
      6. Put AirPods into the case and close the lid, so it will be disconnected
      7. Input device will be changed to "Default"  - Expected
        === THE BUG BEGINS ===
      8. Open AirPods case and insert the earphone into your ear, so device become active again.
      9. Select AirPods as Input Device again
      10. Try to record an audio
      11. Check the recorded file - it's empty (0 bytes) - BUG!!!

       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-123073
          # Subject Branch Project Status CR V

          Activity

            People

              npskalerud Nils Petter Skålerud
              studiosus Vladimir Belyavsky
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews