forceHandleAudioRouting

var forceHandleAudioRouting: Boolean = false

On certain Android devices, audio routing does not function properly and bluetooth microphones will not work unless audio mode is set to AudioManager.MODE_IN_COMMUNICATION or AudioManager.MODE_IN_CALL.

AudioSwitchHandler by default will not handle audio routing in those cases to avoid audio issues.

If this set to true, AudioSwitchHandler will attempt to do audio routing, though behavior is undefined.

Sources

SDK source
Link copied to clipboard