how to enumerate build-in media devices?

Hello,

I need to enumerate built-in media devices (cameras, microphones, etc.). For this purpose, I am using the CoreAudio and CoreMediaIO frameworks.

According to the table 'Daemon-Safe Frameworks' in Apple’s TN2083, CoreAudio is daemon-safe. However, the documentation does not mention CoreMediaIO.

  1. Can CoreMediaIO be used in a daemon?
  2. If not, are there any documented alternatives to detect built-in cameras in a daemon (e.g., via device classes in IOKit)?

Thank you in advance,

Pavel

how to enumerate build-in media devices?
 
 
Q