setAudioSampleCallback

fun setAudioSampleCallback(callback: (JavaAudioDeviceModule.AudioSamples) -> Unit)

Set to get callbacks when audio input from microphone is received. This can be example used to detect whether a person is speaking while muted.