setEarMonitorVolume abstract method
Sets the volume of in-ear monitoring.
volume
: Ratio(%) of in-ear monitoring volume to original volume with a range of [0, 100]
.
Return value:
0
: Success.<0
: Failure. See ReturnStatus for the reason.
Notes: Call RTCVideo.setEarMonitorMode to enable in-ear monitoring function before calling this API.
Implementation
Future<int?> setEarMonitorVolume(int volume);