Questions tagged [mediacapture]

UWP Class provides functionality for capturing photos, audio, and videos from a capture device, such as a webcam.

48 questions
0
votes
1 answer

C# MediaCapture UnuthorizedAccessException or no supported formats after Windows Update

Every since I did an update on my Windows machine, I can no longer use the camera in my UWP application that uses the MediaCapture class. Origninally, I was getting an UnuthorizedAccessException when trying to call the InitializeAsync() function…
PMARSH
  • 167
  • 3
  • 14
0
votes
1 answer

UWP: How to take photo with all metadata using MediaCapture?

now i take photo using MediaCapture.CapturePhotoToStorageFileAsync but i got no exif metadata in it. I try using SoftwareBitnmap class, but got only BitmapPropertySet with manufacturer and model data only. I need all metadata that device can…
smixik
  • 1
  • 1
-3
votes
1 answer

Value of type 'CaptureElement' cannot be converted to Control or UIElement

I have the following code in my WPF project: Dim ce As Windows.UI.Xaml.Controls.CaptureElement = New Windows.UI.Xaml.Controls.CaptureElement ce.Width = 300 ce.Height = 200 Dim elementHostPartial = New ElementHost …
swabygw
  • 813
  • 1
  • 10
  • 22
1 2 3
4