Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.4.1
-
iOS
-
-
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 |
110925,1 | AVFoundation: fix microphone permission when using the camera. | 5.4 | qt/qtmultimedia | Status: ABANDONED | 0 | 0 |
110927,3 | AVFoundation: fix microphone permission when using the camera. | 5.4.2 | qt/qtmultimedia | Status: MERGED | +2 | 0 |