                 session.addInput(input)
                 
                 if input.device.hasMediaType(AVMediaType.video) {
-                    self.addDeviceObservers(input.device)
+                    self.addCaptureDeviceObservers(input.device)
                     self.updateVideoOutputSettings()
                     self._videoInput = input
                 } else {

        })
    }
    
    internal func removeDeviceObservers(_ currentDevice: AVCaptureDevice) {
        for observer in self._observers {
            observer.invalidate()
        }

            for input in inputs {
                session.removeInput(input)
                if input.device.hasMediaType(AVMediaType.video) {
                    self.removeCaptureDeviceObservers(input.device)
                }
            }
            self._videoInput = nil
