Detect any audio on media stream?
Posted: 01 Mar 2018 12:38
Is there a way to trigger a flow when audio starts or stops on the media stream?
What I'd like to do is reset the media volume to a low level once a certain amount of time passes after the audio stops.
For example, let's say I've been watching videos in my web browser, or YouTube, or Instagram, and I've turned the volume up to 20. Once I stop watching anything, I want the flow to wait for 5 minutes and then set the volume back to 1.
I can't just use an "Activity Ended" trigger because even though I've stopped watching a video, I might still continue to use the app that the video was playing in. Therefore I really need the flow to react to the audio itself.
What I'd like to do is reset the media volume to a low level once a certain amount of time passes after the audio stops.
For example, let's say I've been watching videos in my web browser, or YouTube, or Instagram, and I've turned the volume up to 20. Once I stop watching anything, I want the flow to wait for 5 minutes and then set the volume back to 1.
I can't just use an "Activity Ended" trigger because even though I've stopped watching a video, I might still continue to use the app that the video was playing in. Therefore I really need the flow to react to the audio itself.