locked
Exposure setting of Camera doesn't work correctly RRS feed

  • Question

  • Hi all, 

      To change the exposure setting of camera in my windows store app before preview,  I use the VideoDeviceController      

      class. I've switched the mode of exposure from auto to non-auto, and change the value of exposure. I'm sure that all the

      function calls are success, and I opened the AmCap.exe in desktop to check the settings have changed correctly, but the

      preview in both AmCap and my Metro app has no change, here is a part my code:

    Windows.Media.Devices.VideoDeviceController DeviceController = m_mediaCaptureMgr.VideoDeviceController;
    
    Windows.Media.Devices.MediaDeviceControlCapabilities Exposure_Cap = DeviceController.Exposure.Capabilities;
    
    if (Exposure_Cap.Supported)
    {
      DeviceController.Exposure.TrySetAuto(false);
      DeviceController.Exposure.TrySetValue(Exposure_Cap.Min);
    }

    Wednesday, October 23, 2013 7:43 AM

Answers