Detect Screen Capture during streaming

Is there an API in macOS to detect when another app is capturing the screen. My goal is specifically to detect when apps like zoom, chrome, safari are capturing the screen for sharing during a call.
Post not yet marked as solved Up vote post of reptcarileb Down vote post of reptcarileb
256 views