adjustUserPlaybackSignalVolume abstract method

Future<void> adjustUserPlaybackSignalVolume({
  1. required int uid,
  2. required int volume,
})

Adjusts the playback volume of a specified remote user locally.

You can call this method during a call to adjust the playback volume of a specified remote user locally. To adjust the playback volume of multiple users, call this method multiple times.

  • uid The ID of the remote user.
  • volume The volume, with a range of 0,400. 0: Mute. 100: (Default) Original volume. 400: Four times the original volume, with built-in overflow protection.

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. See Error Codes for details and resolution suggestions.

Implementation

Future<void> adjustUserPlaybackSignalVolume(
    {required int uid, required int volume});