                 }
             }
 
-            // imageOutput と videoOutput の videoOrientation を InterfaceOrientation に揃えるか縦にしておく。
+            // stillImageOutput と videoOutput の videoOrientation を InterfaceOrientation に揃えるか縦にしておく。
             // captureSession に addInput した後じゃないと connection は nil なので videoOrientation を取ろうとすると nil アクセスで死にます。
-            // デフォルトでは imageOutput が 1 (portrait) で videoOutput が 3 (landscapeRight)
+            // デフォルトでは stillImageOutput が 1 (portrait) で videoOutput が 3 (landscapeRight)
             // let videoOrientation = AVCaptureVideoOrientation(interfaceOrientation: UIApplication.shared.statusBarOrientation) ?? .portrait
             // とりあえず portrait に戻す
             let videoOrientation = AVCaptureVideoOrientation.portrait
-            if let imageOutputConnection = imageOutput.connection(with: AVMediaType.video) {
-                if imageOutputConnection.isVideoOrientationSupported {
-                    imageOutputConnection.videoOrientation = videoOrientation
-                }
-                imageOutputConnection.videoScaleAndCropFactor = 1.0
+            if let stillImageOutputConnection = stillImageOutput.connection(with: AVMediaType.video) {
+                if stillImageOutputConnection.isVideoOrientationSupported {
+                    stillImageOutputConnection.videoOrientation = videoOrientation
+                }
+                stillImageOutputConnection.videoScaleAndCropFactor = 1.0
             }
             if let videoOutputConnection = videoOutput.connection(with: AVMediaType.video) {
                 if videoOutputConnection.isVideoOrientationSupported {

            completion(nil, nil)
            return
        }
        guard imageOutput.isCapturingStillImage == false else {
            completion(nil, nil)
            return
        }

        sessionQueue.async {
            let captureImageConnection: AVCaptureConnection = self.imageOutput.connection(with: .video)! // swiftlint:disable:this force_unwrapping
            // captureStillImageAsynchronously であれば撮影直前に connection の videoOrientation を弄っても問題なさそう
            self.captureSession.beginConfiguration()
            let videoOrientation: AVCaptureVideoOrientation

    // MARK: Capture Image

    public var isCapturingImage: Bool {
        stillImageOutput.isCapturingStillImage || isSilentCapturingImage
    }

    public var captureLimitSize: CGSize = .zero
