OBS and DLP on macOS

ilawicki

New Member
I'm writing an application which would like to keep its contents to itself (Data Leakage Policy enforcement). On macOS this can be achieved by setting property sharingType to NSWindowSharingNone on NSWindow object. This prevents grabbing window content using screenshot feature, makes window invisible in Skype calls when sharing desktop and works well in other applications. However when OBS grabs "Display Capture" window content is also grabbed. This is different behaviour from OBS on Windows. On Windows there is also some property that enables protection but OBS grabs black rectangle instead of window contents (at least WinRT version on Windows 10). My question is how grabbing display capture is different on macOS and Windows? Are there techniques that would allow me to protect contents of window from being grabbed by applications like OBS on macOS?
 

Fenrir

Forum Admin
OBS uses provided OS functions to capture the display, which are very different on Windows and macOS.

This sounds like the issue is with macOS and whatever DLP solution you're trying to use, not OBS. I'm not sure there's anything we can provide to help. I would reach out to macOS forums for more assistance on these functions.
 

ilawicki

New Member
Thanks for your reply. It looks that this is default behaviour because QuickTime screen recording also records windows which contents should be protected. I think that this is a matter of intent, user records screen on purpose, not by accident so it's up to user to decide what will be recorded or not. So I have concluded to not treat it as a bug.
 
Top