muteAudio deprecated for GoCoder Android SDK 1.7

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

https://www.wowza.com/docs/how-to-control-a-camera-and-microphone-with-gocoder-sdk-for-android#microphone

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.

https://www.wowza.com/resources/gocodersdk/docs/api-docs-android/com/wowza/gocoder/sdk/api/devices/WOWZAudioDevice.html#setAudioPaused-boolean-

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

Regards,

JasonT