setAllPlayStreamVolume method

Future<void> setAllPlayStreamVolume(
  1. int volume
)

Sets the all stream playback volume.

Available since: 2.3.0 Description: Set the sound size of the stream, the local user can control the playback volume of the audio stream. When to call: after called startPlayingStream. Restrictions: None. Related APIs: setPlayVolume Set the specified streaming volume. Caution: Set the specified streaming volume and setAllPlayStreamVolume interface to override each other, and the last call takes effect.

  • volume Volume percentage. The value ranges from 0 to 200, and the default value is 100.

Implementation

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