mmaitre314 / MediaCaptureWPF

Camera preview in WPF Desktop apps using WinRT MediaCapture
http://mmaitre314.github.io/MediaCaptureWPF
Apache License 2.0
52 stars 26 forks source link

Exception while initializing media capture #8

Open HarshSharma12 opened 7 years ago

HarshSharma12 commented 7 years ago

I am getting {"Exception from HRESULT: 0xC00DABE0"} on Line 26 of MainWindow.xaml.cs (await capture.InitializeAsync....)

Following is the stack trace at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at CaptureTestApp.MainWindow.d__1.MoveNext() in ...\CaptureTestApp\MainWindow.xaml.cs:line 26