by Auguste Eclancher
If a media stream is played (music app, YouTube, etc.), ring is muted or active.
I made one for myself with all apps that could play sound through media audio stream but since not everybody use the same apps as me, I made one that work with all basic apps on Samsung phones (music app, Samsung Internet, video app and YouTube).
If you want, you can add any app by copying and pasting the same blocks (see flowchart to understand).