Ever since ~forever, the microphone on Firefox on macOS has not worked for me. The orange mic indicator in the menu bar flickered on and off about four times a second, and audio wouldn’t record. Very annoying.
The cause was media.getusermedia.microphone.prefer_voice_stream_with_processing.enabled, which I had set to false long ago on an older Mac whose microphone was very quiet. With it disabled, Firefox gets stuck in a loop recreating its audio driver (bug 2057748). Resetting it in about:config fixed it. Yay.