setPlayoutVolume

Sets the playback volume parameter.

public void setPlayoutVolume(int volume) throws RteException
Since
Available since v4.5.1.

Parameters

volume
The volume value of the player. Valid range is [0, 400].

Exceptions

If setting the playback volume fails, the SDK throws an exception and returns the corresponding error message. You need to catch and handle the exception.