-
- All Implemented Interfaces:
-
io.livekit.android.audio.AudioProcessorInterface
public final class SoftwareMuteProcessor implements AudioProcessorInterfaceCapture post-processor that implements software microphone mute
This class zeroes outbound audio while muted so the capture pipeline stays open, measures RMS on the captured audio to detect speech while muted, and delivers throttled onMutedSpeech events after a short hangover latch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSoftwareMuteProcessor.Companion
-
Method Summary
Modifier and Type Method Description final UnitsetMuted(Boolean newValue)final BooleanisMuted()StringgetName()BooleanisEnabled()UnitinitializeAudioProcessing(Integer sampleRateHz, Integer numChannels)UnitresetAudioProcessing(Integer newRate)UnitprocessAudio(Integer numBands, Integer numFrames, ByteBuffer buffer)-
-
Method Detail
-
initializeAudioProcessing
Unit initializeAudioProcessing(Integer sampleRateHz, Integer numChannels)
-
resetAudioProcessing
Unit resetAudioProcessing(Integer newRate)
-
processAudio
Unit processAudio(Integer numBands, Integer numFrames, ByteBuffer buffer)
-
-
-
-