Is there a built-in way to detect whenever OBS is recording fullscreen or selected window?

Qwart376

New Member
I'm working on a horror game that hides the player's window from recording software using SetWindowDisplayAffinity while recording software records second game window that doesn't contains any monsters. The only problem is that fullscreen and specified window capture require me to pull different tricks, so I need a reliable way to detect which method is being used

I was thinking about using OpenCV library in order to temporall snoop on content of OBS window through GetDC in order to determine the method, but I wanted to know if there was a less concerning and lightweight method to pull this off
 

Qwart376

New Member
Setting hooks to detect calls to Windows API is also an option, but I plan for it to be a last resort
 
Top