johnboiles / coremediaio-dal-minimal-example

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

I want to know how Establishing NSMachBootstrapServer communication? #30

Open mingxingren opened 4 months ago

mingxingren commented 4 months ago

hello,Dear author! I want to push stream to virtual camera. Thank to your mac-obs-virtual-camera project. But when I run the follow code: self.port = [[NSMachBootstrapServer sharedInstance] servicePortWithName:@MACH_SERVICE_NAME]; I don't get a valid port. Is there any special configuration? I can't find any information about NSMachBootstrapServer. Can you give me some tips please! God bless you

gxalpha commented 4 months ago

I'm not the author, and this is not a real answer to this question, however: CMIO DAL plugins like this are deprecated by Apple and no longer function since macOS 14. I’d currently advise against using them.

mingxingren commented 4 months ago

I'm not the author, and this is not a real answer to this question, however: CMIO DAL plugins like this are deprecated by Apple and no longer function since macOS 14. I’d currently advise against using them.

Thanks for your advise! I want compatibility with versions prior to macOS 12.3. So I found the DAL plugin ins. Aftre macos 12.3, I will use camera extension.