You need following set up on your computer.
From Privacy & security > Microphone, turn on Microphone access
Turn on "Let apps access your microhone"
Turn on "Let desktop apps access your microphone"
From Privacy & security > Microphone, turn on "Allow apps to access your microphone"
Turn on Allow desktop apps to access your microphone