Wowza Community

muteAudio deprecated for GoCoder Android SDK 1.7

I’m trying to mute the stream audio by following the example here, using muteAudio:

But the Android GoCoder SDK 1.7 says the GoCoder.muteAudio() function is deprecated. What’s the alternative way to achieve muting audio with the current SDK version? Thanks!

Hello @Shuo Deng

public void setAudioPaused(boolean paused) -> true to pause (mute) -> false to enable audio again.

You can also check if audio is paused with isAudioPaused()