Silverlight 4 web cam permission on load of User Control

Posted by Mike on Stack Overflow See other posts from Stack Overflow or by Mike
Published on 2010-04-19T03:32:07Z Indexed on 2010/04/19 3:33 UTC
Read the original article Hit count: 455

Filed under:
|

I am using Silverlight 4 to access the web cam. Everything works ok when I start the web cam on a button click event, I get the prompt for permission. I would like the web cam to start when User Control loads, but for some reason when I run the same code on the Loaded event, I don't get a prompt when executing the following code:'

CaptureDeviceConfiguration.RequestDeviceAccess()

Does anyone have a work around for this?

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about webcam