1
Vote

0x80131515 thrown when initiating camera

description

Throw on line
vb.SetSource(photoCamera);
 
Fix:
http://stackoverflow.com/questions/10176962/0x80131515-thrown-when-initiating-camera
 
var timer = new DispatcherTimer();
        timer.Interval = TimeSpan.FromMilliseconds(250);
        timer.Tick += (s,e)=>
                          {
                              timer.Stop();
                              vb.SetSource(photoCamera);
                          };
        timer.Start();

comments