Package com.amazonaws.ivs.broadcast
Enum Class StageAudioManager.NoiseSuppression
java.lang.Object
java.lang.Enum<StageAudioManager.NoiseSuppression>
com.amazonaws.ivs.broadcast.StageAudioManager.NoiseSuppression
- All Implemented Interfaces:
Serializable,Comparable<StageAudioManager.NoiseSuppression>,Constable
- Enclosing class:
StageAudioManager
public static enum StageAudioManager.NoiseSuppression
extends Enum<StageAudioManager.NoiseSuppression>
Noise suppression algorithms available for audio processing.
Noise suppression reduces background noise in audio input, improving speech clarity by filtering out unwanted ambient sounds like keyboard typing, fans, or traffic.
The SDK recommends using PLATFORM_NOISE_SUPPRESSOR as the preferred algorithm with SOFTWARE as fallback for best compatibility and performance across devices. This is the default configuration.
- PLATFORM_NOISE_SUPPRESSOR - Uses the platform's built-in noise suppression (Android NoiseSuppressor). Provides the best performance and quality when available. Requires Android API level 29+. The SDK will automatically fall back to SOFTWARE if native noise suppression is unavailable.
- SOFTWARE - Uses a software-based noise suppression implementation. A reliable fallback option for devices without native noise suppression or when native noise suppression is unavailable.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static StageAudioManager.NoiseSuppression[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLATFORM_NOISE_SUPPRESSOR
-
SOFTWARE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-