locked
Why I can' set the camera video resolution?

    Question

  • RT:

        when I used the function of VideoDeviceController.SetMediaStreamPropertiesAsync(MediaStreamType.VideoRecord, property),my preview interface will be stopped,preview can't show.Whether I use await or not.

        someone can help me?

    Monday, May 28, 2012 1:50 AM

Answers

  • I Solved it by myself.Before you changed the resolution of the video mode,you must stopPreview,then change the resolution,then startPreview() agin. 
    Monday, May 28, 2012 6:10 AM

All replies

  • I Solved it by myself.Before you changed the resolution of the video mode,you must stopPreview,then change the resolution,then startPreview() agin. 
    Monday, May 28, 2012 6:10 AM
  • Hello ddllzz2008,

    Glad to hear you you have had your issue resolved, and thanks for sharins us the solution here.

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

    Monday, May 28, 2012 10:43 AM
    Moderator