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

Using camera on iOS always prompts for microphone permission

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS
    • bcaec9624c9124dc256ad963d5735496e219414a

    Description

      The microphone permission should be required only when doing video recording, not when doing image capture or simply showing viewfinder frames.

      That permission is automatically prompted when an audio AVCaptureDeviceInput is created and added to the capture session. The Qt plugin currently always do that, even when audio recording is not required. It should add it only when a QMediaRecorder is used and when the camera is in CaptureVideo mode.

      Apps submitted to the App Store can be rejected because of this.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ylopes Yoann Lopes
            ylopes Yoann Lopes
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes