adjustUserPlaybackSignalVolume abstract method
Adjusts the playback signal volume of a specified remote user.
You can call this method to adjust the playback volume of a specified remote user. To adjust the playback volume of different remote users, call the method as many times, once for each remote user.
uid
The user ID of the remote user.volume
The volume of the user. The value range is0,400
. 0: Mute. 100: (Default) The original volume. 400: Four times the original volume (amplifying the audio signals by four times).
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.
Implementation
Future<void> adjustUserPlaybackSignalVolume(
{required int uid, required int volume});