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

Qt continues to occupy the microphone unless you call QMediaCaptureSession::setAudioInput() with a null pointer after recording is complete

    XMLWordPrintable

Details

    • macOS
    • 0053d80e0 (dev), a46ea51c8 (6.7), ef4b1ab6e (6.6), 325adaaea (tqtc/lts-6.5), a5ad80ef7 (dev), 4f9f5e8e8 (6.7), 8dfa774df (6.6), 30a391853 (tqtc/lts-6.5)

    Description

      OS: MacOS Sonoma 14.3, MacOS Ventura 13.6.3

      Qt continues to occupy the microphone unless you call QMediaCaptureSession::setAudioInput() with a null pointer after recording is complete. At the same time, I see a microphone usage indicator.

      I am attaching the code to reproduce it and also a screen recording.

      QtBugMicrophoneCapture.zip

      method_1.mov

      method_2.mov

      method_1.mp4

      method_2.mp4
       

      Please, use *.mp4 urls for showing video in your browser.

       

      Attachments

        1. method_1.mov
          2.94 MB
        2. method_1.mp4
          2.88 MB
        3. method_2.mov
          3.14 MB
        4. method_2.mp4
          3.63 MB
        5. QtBugMicrophoneCapture.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpochep Timur Pocheptsov
            rumgot rumgot
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: