adjustUserPlaybackSignalVolumeEx abstract method
Future<void>
adjustUserPlaybackSignalVolumeEx({
- required int uid,
- required int volume,
- 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.
uidThe ID of the remote user.volumeThe volume, with a range of0,400. 0: Mute. 100: (Default) Original volume. 400: Four times the original volume, with built-in overflow protection.connectionConnection 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});