setAllAudioMixingVolume abstract method
- @Deprecated('Deprecated since v3.54.1, use RTCAudioEffectPlayer.setVolumeAll instead')
- required int volume,
- required AudioMixingType type,
Sets the default volume during audio mixing, which works for both audio file mixing and PCM mixing.
volume
: The ratio of the mixing volume to the original volume. The range is [0, 400]
. The recommended range is [0, 100]
.
- 0: Mute.
- 100: Original volume.
- 400: Maximum volume (with overflow protection).
type
: Audio mixing type.
This API does not work for the mixing ID for which the volume has been set specifically by RTCAudioMixingManager.setAudioMixingVolume.
Implementation
@Deprecated(
'Deprecated since v3.54.1, use RTCAudioEffectPlayer.setVolumeAll instead')
Future<void> setAllAudioMixingVolume({
required int volume,
required AudioMixingType type,
});