I'm trying to use MediaCapture on a minimal C# UWP console template - based application to capture video. Initializing the MediaCapture with InitializeAsync() works, but actually starting the recording fails with error code 0xc00d3e82 / MF_E_INVALID_STATE_TRANSITION. I've installed C# UWP console application templates to Visual Studio 2017 to work on [...] read more
I am trying to take a photo during a BackgroundTask at an UWP application. I read at documentation that InitializeAsync should be on the STA thread but is there some approach to achieve that from a MTA? I don't known, something like Dispatchers or others workarounds. In my actual scenario, [...] read more