excludeProcessID property
The process ID to exclude. If system sound capture is enabled, this process's sound can be excluded. Passing in -1 will remove the sound from this process. (Only supports capturing window sounds on Windows 10 2004 and later versions)
Implementation
int? excludeProcessID;