aperture-node icon indicating copy to clipboard operation
aperture-node copied to clipboard

Ignore a window or UI element to be recorded

Open divyanshunegi opened this issue 1 year ago • 3 comments

Is there a way in aperture so I can ignore a part of the screen to be recorded ? I am showing a view which shows the timer for recording and a stop button, but that view is being recorded with aperture, how to remove that ? with desktopCapturer I used setContentProtection which worked, but now I am using aperture for better quality and hiding the cursor and its recording the windows which should be hidden.

TLDR;

.sharingType = .none on a view is not being ignored in the final recording.

divyanshunegi avatar Jun 24 '24 08:06 divyanshunegi

You may be able to do it using a passthrough DRM view: https://github.com/devCracker/ScreenGuard-iOS

To hide windows, you could use ScreenCaptureKit instead of this package.

sindresorhus avatar Jun 27 '24 00:06 sindresorhus

Thanks, I did tried a lot of solutions but nothing worked and finally I wrote my own implementation using screencapturekit I have published it as well for someone to use if they want : https://www.npmjs.com/package/capturekit

divyanshunegi avatar Jul 01 '24 10:07 divyanshunegi

Is there any update on this matter?

aslanon avatar Mar 09 '25 20:03 aslanon