enableHeadphoneMonitor method
- bool enable
Enables or disables headphone monitoring.
Available since: 1.9.0 Description: Enable/Disable headphone monitor, and users hear their own voices as they use the microphone to capture sounds. When to call: After the engine is created createEngine. Default value: Disable. Caution:
- This setting does not actually take effect until both the headset and microphone are connected.
- The default is to return after acquisition and before pre-processing. If you need to return after pre-processing, please contact ZEGO technical support.
enable
Whether to use headphone monitor, true: enable, false: disable
Implementation
Future<void> enableHeadphoneMonitor(bool enable) async {
return await ZegoExpressImpl.instance.enableHeadphoneMonitor(enable);
}