Post

Replies

Boosts

Views

Activity

Reply to CoreMediaIO camera extension not available immediately after activation
Hi, I have encountered the same issue. My host application has added the following listeners: [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(updateCameraStatus:) name:AVCaptureDeviceWasConnectedNotification object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(updateCameraStatus:) name:AVCaptureDeviceWasDisconnectedNotification object:nil]; When my camera extension version is upgraded from 1.0.0 to 1.0.1, I first receive a deviceDisconnect notification. Through the OSSystemExtensionRequestDelegate method: - (void)request:(OSSystemExtensionRequest *)request didFinishWithResult:(OSSystemExtensionRequestResult)result I can confirm that result == OSSystemExtensionRequestCompleted. However, at this point, I do not receive the deviceConnect notification, and the devices retrieved through AVCaptureDeviceDiscoverySession do not include my camera extension. My current macOS version is 14.5. I also verified this through Photo Booth and confirmed that Photo Booth cannot automatically refresh the device list when the camera extension is updated. The app must be restarted to recognize the updated camera extension. I would like to understand if this issue, which has persisted since July last year, has been resolved. Also, how have you been handling this issue? Thank you for your response! If you need any further assistance or modifications, feel free to ask!
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’24