Active noise reduction

The same way Audacity can reduce noise when given a sample of it.
How can I do the same thing in real time for live streaming.
It shouldn’t be hard. But I can’t find anything on how to do it.

I came here because I had searched for over an hour or 2. And I kept searching after I posted the question. And I finally found the answer.
I’ll just leave it here so if anyone searches on google they might find this post and find the answer faster.

If you are on Windows, look in the Windows Sound Control Panel at the microphone settings. You will probably find a noise reduction setting in the “Enhancements” section.

Note: real-time noise reduction is difficult. When recording it is highly recommended to turn off the Windows sound enhancements and use Audacity’s tools instead as they will give much better sound quality.