Why isn't my Mac webcam reporting supported video formats when I request Silverlight 4?

I am testing Silverlight 4 code to connect to webcams to capture video and audio. Everything works fine on a PC, but on Mac computers it seems that when you request a webcam for supported video formats, the data does not return when using the VideoCaptureDevice.SupportedFormats call. I tried this using both an external webcam and an integrated iSight camera.

When viewing Silverlight settings on a Mac, I see a webcam and it shows a video, so I know that it is connected and working correctly.

I should mention that a similar request (AudioCaptureDevice.SupportedFormats) for audio formats works.

Does anyone know what might cause this?

+3
source share
1 answer

Well, that’s awkward. MSDN shows that OSX will always return this as empty, now turned off to get around this ...

+2
source

Source: https://habr.com/ru/post/1795645/


All Articles