johnboiles / coremediaio-dal-minimal-example

Intended to be the most minimalistic example of a macOS CoreMediaIO DAL plugin.
MIT License
211 stars 31 forks source link

CMIOUInputFromProcs::GetPropertyInfo() failed for id #19

Closed manasi-ganti closed 2 years ago

manasi-ganti commented 4 years ago

I built this plugin in XCode, but when I open QuickTime, it's not showing up as a camera option. I think it's a problem with the camera access. The errors in Console.app (with the prefix QuickTime; nothing shows up for CMIOMS) I'm getting: CMIO_Unit_Convertor_VideoToolboxCompressor.cpp:2367 cmio assert: "!mInitialized" at NotWritable - (err=0) when I open QuickTime --> New Movie Recording CMIOUInputFromProcs::GetPropertyInfo() failed for id when I try to switch the webcam/camera source

I tried adding a "Privacy - Camera Use Description" property to the Info.plist file with the value: "Access camera" and then "CMIOMinimalSample requires access to your device's camera" based on this link but it didn't work.

Is editing Info.plist going to help, and if so, what am I doing wrong? If not, what's a better solution? Is camera access even the problem?

SoCohesive commented 3 years ago

Hello! I am experiencing the same issue. Did you end up finding a solution @manasi-ganti ?

manasi-ganti commented 3 years ago

@SoCohesive I factory reset and it worked. I think it's because I had the remnants of Snap Camera still on my computer and it was blocking this plugin.

johnboiles commented 2 years ago

Closing this since it sounds like @manasi-ganti's issue was solved