-
public final class AudioPipelineConfigurationMicrophone pipeline configuration.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanuseSoftwareMuteprivate final Function1<MutedSpeechEvent, Unit>onMutedSpeechprivate final FloatmutedSpeechThreshold
-
Constructor Summary
Constructors Constructor Description AudioPipelineConfiguration(Boolean useSoftwareMute, Function1<MutedSpeechEvent, Unit> onMutedSpeech, Float mutedSpeechThreshold)
-
Method Summary
Modifier and Type Method Description final BooleangetUseSoftwareMute()final Function1<MutedSpeechEvent, Unit>getOnMutedSpeech()final FloatgetMutedSpeechThreshold()-
-
Constructor Detail
-
AudioPipelineConfiguration
AudioPipelineConfiguration(Boolean useSoftwareMute, Function1<MutedSpeechEvent, Unit> onMutedSpeech, Float mutedSpeechThreshold)
- Parameters:
useSoftwareMute- When true, the microphone track stays open when muted and outbound audio is zeroed locally.onMutedSpeech- Invoked when local speech is detected while muted.mutedSpeechThreshold- Audio level in dB at which speech is detected.
-
-
Method Detail
-
getUseSoftwareMute
final Boolean getUseSoftwareMute()
-
getOnMutedSpeech
final Function1<MutedSpeechEvent, Unit> getOnMutedSpeech()
-
getMutedSpeechThreshold
final Float getMutedSpeechThreshold()
-
-
-
-