Fix EC/EL and conferencing.
This commit is contained in:
parent
9136acd614
commit
ae6747dbd5
1 changed files with 4 additions and 4 deletions
|
@ -236,13 +236,13 @@ public final class LinphoneManager implements LinphoneCoreListener {
|
||||||
public void routeAudioToSpeaker(boolean isUserRequest) {
|
public void routeAudioToSpeaker(boolean isUserRequest) {
|
||||||
if (isUserRequest) sUserRequestedSpeaker = true;
|
if (isUserRequest) sUserRequestedSpeaker = true;
|
||||||
routeAudioToSpeakerHelper(true);
|
routeAudioToSpeakerHelper(true);
|
||||||
if (mLc.isIncall()) {
|
LinphoneCall currentCall = mLc.getCurrentCall();
|
||||||
|
if (currentCall != null) {
|
||||||
/*disable EC, it is not efficient enough on speaker mode due to bad quality of speakers and saturation*/
|
/*disable EC, it is not efficient enough on speaker mode due to bad quality of speakers and saturation*/
|
||||||
mLc.getCurrentCall().enableEchoCancellation(false);
|
currentCall.enableEchoCancellation(false);
|
||||||
/* instead we prefer the echo limiter */
|
/* instead we prefer the echo limiter */
|
||||||
mLc.getCurrentCall().enableEchoLimiter(true);
|
currentCall.enableEchoLimiter(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue