Detect microphone and camera turned on

Is there any way to get the information from the Zoom application that the microphone and camera are turned on? I would like to write an external application that will remind me of this.

i want to know the same i assume so steam Deck has a plugin for zoom but im using Touchportal a Better control Device