I'm new to JS and hoping someone can assist me...
I made a website that switches between pages by listening for MQTT messages. I want to be able to control my microphone through mqtt as well.
for example in my JS code,
if received MQTT message (micro_off) then.. mute microphone
else keep it unmuted.