adjustUserPlaybackSignalVolumeEx abstract method

Future<void> adjustUserPlaybackSignalVolumeEx({
  1. required int uid,
  2. required int volume,
  3. required RtcConnection connection,
})

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.
  • connection Connection information. See RtcConnection.

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> adjustUserPlaybackSignalVolumeEx(
    {required int uid,
    required int volume,
    required RtcConnection connection});