Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Mute audio of the AudioSubsriber?

Avatar

Former Community Member

Is it possible to mute the audio of the AudioSubscriber component? I have an application where I want to mute the audio of all the subscribers when I start publishing the audio stream.

Thanks!

2 Replies

Avatar

Employee

Hi,

I havent tried this, but using AudioSubscriber.setLocalVolume(0,

publisher_ID_to_be_muted) might help.

Thanks

Arun

Avatar

Former Community Member

Arun and RituKnowsFlex,

That's what I did for a local volume slider and it works great!

If you want to mute all subscribers, AudioSubscriber.setLocalVolume(0); should do the trick!

Matt