adjustUserPlaybackSignalVolume method

  1. @override
Future<void> adjustUserPlaybackSignalVolume(
  1. int uid,
  2. int volume
)

Adjusts the playback volume of a specified remote user.

You can call this method as many times as necessary to adjust the playback volume of different remote users, or to repeatedly adjust the playback volume of the same remote user.

Note

  • Call this method after joining a channel.
  • The playback volume here refers to the mixed volume of a specified remote user.
  • This method can only adjust the playback volume of one specified remote user at a time. To adjust the playback volume of different remote users, call the method as many times, once for each remote user.

Parameter uid ID of the remote user.

Parameter volume The playback volume of the specified remote user. The value ranges from 0 to 100:

  • 0: Mute.
  • 100: The original volume.

Implementation

@override
Future<void> adjustUserPlaybackSignalVolume(int uid, int volume) {
  return _invokeMethod(
      'adjustUserPlaybackSignalVolume', {'uid': uid, 'volume': volume});
}