setMicrophoneMode

open fun setMicrophoneMode(microphoneMode: MicrophoneMode)

Must be called before prepareAudio.

Parameters

microphoneMode

mode to work accord to audioEncoder. By default ASYNC: SYNC using same thread. This mode could solve choppy audio or AudioEncoder frame discarded. ASYNC using other thread.