If you mute the Mac or Windows built-in microphone, is it possible to catch it with Javascript API if it is muted?

When you mute the built-in microphone in Google Meet, a message informs you that the built-in microphone has been muted. Is it possible to implement it with Javascript API?