Archive

Posts Tagged ‘Webcam’

CaptureDeviceConfiguration.RequestDeviceAccess() does not show the authorization popup

March 22, 2010 1 comment

Today I started playing a bit with Silverlight 4.0 RC. One of the things I wanted to do is to check out how to make my webcam work. If I look at the example code out there, one thing doesn’t really seem to be explained. When you call CaptureDeviceConfiguration.RequestDeviceAccess() in the constructor of your page it will not work as you are not in the UI thread. The authorization popup will not appear and you will not be able to grant Silverlight acces to your webcam.