Post

Replies

Boosts

Views

Activity

Comment on CoreMediaIO Camera Extension: custom properties?
Thanks @DrXibber for your insights. Do you think it'd be possible to use one of these custom properties to have the app pass around NSData* representing a frame that ultimately gets shown by the Camera Extension? That way we wouldn't need complicated XPC (which nobody seems to have figured out yet except perhaps @ssmith_c in https://developer.apple.com/forums/thread/706184 ?) or even use another sink stream (also suggested by @ssmith_c).
Topic: App & System Services SubTopic: Drivers Tags:
Jun ’22
Comment on Simplest client server example code using IPC using XPC using swift on MacOS
I too am developing a DAL Plugin and an accompanying Mac App that wants to send frames to these plugin instances. I have an XPC service in my Mac App and it only works when it uses itself. But when the DAL Plugin tries to open a connection to that same XPC service, I get this error from the DAL Plugin "Couldn’t communicate with a helper application." Does it mean that the XPC service in my Mac App is not started correctly?
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’21
Comment on CoreMediaIO Camera Extension: custom properties?
Thanks @DrXibber for your insights. Do you think it'd be possible to use one of these custom properties to have the app pass around NSData* representing a frame that ultimately gets shown by the Camera Extension? That way we wouldn't need complicated XPC (which nobody seems to have figured out yet except perhaps @ssmith_c in https://developer.apple.com/forums/thread/706184 ?) or even use another sink stream (also suggested by @ssmith_c).
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on is XPC from app to CMIOExtension possible?
@smith_c could you post sample code for that method? I've added a second device with a sink stream. But then I'm stuck on the app side: accessing the CMIODevice that corresponds to my camera and sending frames to its sink stream is not trivial (CMIO is C only API, doing this in Swift isn't easy).
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Simplest client server example code using IPC using XPC using swift on MacOS
I too am developing a DAL Plugin and an accompanying Mac App that wants to send frames to these plugin instances. I have an XPC service in my Mac App and it only works when it uses itself. But when the DAL Plugin tries to open a connection to that same XPC service, I get this error from the DAL Plugin "Couldn’t communicate with a helper application." Does it mean that the XPC service in my Mac App is not started correctly?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21