Hi,
I'm starting a new thread because I believe the two related threads I found are leading to workarounds I don't like ;)
(and I believe they are closed because further questions are not answered)
Here are the other threads:
MediaCapture without XAML ?
Using XAML is not an option. I'm working on Windows 8 Desktop (specified TargetPlatformVersion 8) in the Project file to be able to add windows runtime references. In this configuration I'm not able to create
a CaptureElement for previewing.
How to capture MediaCapture video preview stream without
CaptureElement?
Accessing the image data (in real-time meaning at least at 40-50 Hz) is my goal, too. But It is not clear how the VideoEncodingProperties should help to get there.
It is also not clear if it's possible to use the StartPreviewToCustomSinkAsync with some kind of fake-sink just to circumvent the CaptureElement. How would I do this if its possible?
For me it's also not clear why it is necessary to set the MediaCapture to "consumer".Source to be able to start the preview. As a software developer this kind of coupling looks quite strange :/
Hope you can clear things up! Thanks very much!