Small fix to prevent the app to consider itself as in video mode after a pause/resume if correspondent in low bandwidth mode
This commit is contained in:
parent
404bc2d789
commit
43f66a1ba6
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ public class InCallActivity extends FragmentActivity implements
|
||||||
LinphoneCall call = LinphoneManager.getLc().getCalls()[0];
|
LinphoneCall call = LinphoneManager.getLc().getCalls()[0];
|
||||||
|
|
||||||
if (LinphoneUtils.isCallEstablished(call)) {
|
if (LinphoneUtils.isCallEstablished(call)) {
|
||||||
isVideoEnabled = call.getCurrentParamsCopy().getVideoEnabled();
|
isVideoEnabled = call.getCurrentParamsCopy().getVideoEnabled() && !call.getRemoteParams().isLowBandwidthEnabled();
|
||||||
enableAndRefreshInCallActions();
|
enableAndRefreshInCallActions();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue