setInEarMonitoringVolume abstract method

Future<void> setInEarMonitoringVolume(
  1. int volume
)

Sets the volume of the in-ear monitor.

You can call this method either before or after joining a channel.

  • volume The volume of the in-ear monitor. The value range is 0,400. 0: Mute. 100: (Default) The original volume. 400: Four times the original volume.

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> setInEarMonitoringVolume(int volume);