muteAudio

Starts or stops receiving audio stream.

public void muteAudio(boolean mute) throws RteException
Since
Available since v4.4.0.

Timing

You need to call this method after calling openWithUrl.

Parameters

mute
Whether to receive the audio stream:
  • true: Do not receive audio stream.
  • false: Receive audio stream.

Exceptions

When the method call fails, the SDK throws an RteException containing error information. You need to catch and handle the exception.