setHeadphoneMonitorVolume method
- int volume
Sets the headphone monitor volume.
Available since: 1.9.0 Description: set headphone monitor volume. When to call: After the engine is created createEngine. Caution: This setting does not actually take effect until both the headset and microphone are connected. Related APIs: Enables or disables headphone monitoring via enableHeadphoneMonitor.
volume
headphone monitor volume, range from 0 to 200, 60 as default.
Implementation
Future<void> setHeadphoneMonitorVolume(int volume) async {
return await ZegoExpressImpl.instance.setHeadphoneMonitorVolume(volume);
}