muteVideo
Subscribes or unsubscribes to a video stream.
public void muteVideo(boolean mute) throws RteException;
- Since
- v4.5.0
Audience member can call this method to decide whether to subscribe to the host's video stream.
Call timing
Call this method after openWithUrl.
Restrictions
None.
Parameters
- mute
- Whether to subscribe to the video stream of the host:
true: Subscribe to the video stream.false: Do not subscribe to the video stream.
Exception
If the method call fails, the SDK throws RteException and returns an error message. You need to catch the exception and handle it.