setMixSystemPlayoutVolume method

Future<void> setMixSystemPlayoutVolume(
  1. int volume
)

set system audio capture volume.

Available since: 2.4.0 Description: set system audio capture volume. Use cases: User needs to adjust the volume which system playout mix to stream publishing. When to call /Trigger: Called this function after calling startPublishingStream or startPreview. Restrictions: None. Related APIs: enableMixSystemPlayout enable or disable mix system playout. Platform differences: Only supports Windows and macOS.

  • volume the volume. Valid range 0, 200, default is 100.

Implementation

Future<void> setMixSystemPlayoutVolume(int volume) async {
  return await ZegoExpressImpl.instance.setMixSystemPlayoutVolume(volume);
}