DEV Community

Unviewable
Unviewable

Posted on

How I build a screen-capture-proof AI overlay

When I started building Unviewable, I needed one thing: a window that's invisible to all screen recorders.

The answer was in the Windows API: SetWindowDisplayAffinity()

This post covers:

  1. How WDA_EXCLUDEFROMCAPTURE works under the hood
  2. Why DXGI-based recorders can't see it
  3. WASAPI loopback for audio capture
  4. Edge cases that took weeks to solve

Top comments (0)