Default recording device to device microphone when in a call

This commit is contained in:
Christophe Deschamps 2022-04-29 11:12:19 +02:00
parent 1d2d6f7605
commit 08ce19533b

View file

@ -85,7 +85,7 @@ import linphonesw
Log.i("[Audio Route Helper] Headphones/headset device is able to record audio, also change input audio device")
applyAudioRouteChange(call:call,types: [AudioDeviceType.Headphones, AudioDeviceType.Headset], output:false)
}
default: break
default: applyAudioRouteChange(call:call,types: [AudioDeviceType.Microphone], output:false)
}
}