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

Using camera on iOS always prompts for microphone permission

    XMLWordPrintable

    Details

    • Platform/s:
      iOS/tvOS/watchOS
    • Commits:
      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

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

          Activity

            People

            Assignee:
            ylopes Yoann Lopes
            Reporter:
            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