locked
Webcam not avaible in metro app but avaible in desktop (skype) RRS feed

  • Question

  • WebCamera work good in skype.

    In metro app have exception in line3

    line1: CameraCaptureUI dialog = new CameraCaptureUI();
    line2: dialog.VideoSettings.Format = CameraCaptureUIVideoFormat.Mp4;
    line3: StorageFile file = await dialog.CaptureFileAsync(CameraCaptureUIMode.Video);

    "The specified device interface or feature level is not supported on this system"

    Tuesday, December 3, 2013 9:13 PM

All replies

  • Have you enabled the capability on your project? To do this, just double click on Package.appxmanifest, go to Capabilities, select "WebCam" from the capabilities checkboxes, and rebuild. At this point, your app should be able to request to use the webcam when the code above executes. Hope this helps, Matt
    Tuesday, December 3, 2013 10:02 PM
  • Yes enabled

      <Capabilities>
        <Capability Name="internetClient" />
        <DeviceCapability Name="webcam" />
        <DeviceCapability Name="microphone" />
      </Capabilities>

    In App - Settings - Permissions  webcam and microphone - ON

    I start "CameraCaptureUI Sample" in App - Settings - Permissions  webcam and microphone - ON

    - and get "The specified device interface or feature level is not supported on this system"

    Wednesday, December 4, 2013 6:09 AM
  • This is problem has solution?

    Yes enabled

      <Capabilities>
        <Capability Name="internetClient" />
        <DeviceCapability Name="webcam" />
        <DeviceCapability Name="microphone" />
      </Capabilities>

    In App - Settings - Permissions  webcam and microphone - ON

    I start "CameraCaptureUI Sample" in App - Settings - Permissions  webcam and microphone - ON

    - and get "The specified device interface or feature level is not supported on this system"

    Wednesday, December 11, 2013 5:40 PM