Error:"The device does not recognize the command" RRS feed

  • Question

  • MediaCapture.VideoDeviceController.GetMediaStreamProperties(MediaStreamType.VideoRecord) sometimes generates the following System.Exception:

    "The device does not recognize the command. (Exception from HRESULT: 0x80070016)"

    Does this mean the camera does not support GetMediaStreamProperties()?


    Saturday, November 8, 2014 3:35 AM

All replies

  • Hi Hong,

    According to your description, does you mean GetMediaStreamProperties method sometimes works fine and sometimes throws exception? Can you try your code on another device and the problem persists? Please provide some details on this issue. E.g. some code snippet to reproduce it, the device information you are using.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Monday, November 10, 2014 5:33 AM
  • Thanks for the response, Herro.

    Yes, GetMediaStreamProperties usually works fine.  The error is from logs reported by users.  We have not been able to reproduce it. We will ask for more details per your suggestion.


    Monday, November 10, 2014 1:43 PM