There are a couple of options what you can do.
1. You can mute Mac's microphone by using Mute Microphone tool in Toolbox
2. or you can choose option No Sound in any of the screen recording tools' Preferences (just right-click on the tool's icon and select Preferences):