I wanted to share my experience building this on OSX. In my case, I want only the libfreenect part of the plugin.
** Building **
- Libfreenect2 currently does not compile due to some reason (?), disabled it as I did not need it
- k4a tries to download v1.4.1 from github which does not exist. It's 1.4.2, disabled it as well
- Linking against libobs was tricky, had to rename some files in obs-studio to make it work with clang++
The build does not specifically support arm64, only x86 and x86_64 but it does seem to work and arm64 binaries end up in 32bit folder.
** Installing **
On OS X, plugins should be moved to ~/Library/Application Support/obs-studio/plugins and be bundled as a .plugin . Does not seem very obvious, moving the .dynlib files in the packaged folder structure does not have the plugin detected. I stopped here as I realised I could not use the obs virtual camera due to the device being managed by a policy
I wanted to share my experience building this on OSX. In my case, I want only the libfreenect part of the plugin.
** Building **
The build does not specifically support arm64, only x86 and x86_64 but it does seem to work and arm64 binaries end up in 32bit folder.
** Installing **
On OS X, plugins should be moved to
~/Library/Application Support/obs-studio/pluginsand be bundled as a.plugin. Does not seem very obvious, moving the.dynlibfiles in the packaged folder structure does not have the plugin detected. I stopped here as I realised I could not use the obs virtual camera due to the device being managed by a policy