diff --git a/src/org/linphone/InCallActivity.java b/src/org/linphone/InCallActivity.java index 5211d34fa..bf1802ed6 100644 --- a/src/org/linphone/InCallActivity.java +++ b/src/org/linphone/InCallActivity.java @@ -895,6 +895,12 @@ public class InCallActivity extends FragmentActivity implements if (state == State.CallUpdatedByRemote) { // If the correspondent proposes video while audio call + boolean isVideoEnabled = LinphoneManager.getInstance().isVideoEnabled(); + if (!isVideoEnabled) { + acceptCallUpdate(false); + return; + } + boolean remoteVideo = call.getRemoteParams().getVideoEnabled(); boolean localVideo = call.getCurrentParamsCopy().getVideoEnabled(); boolean autoAcceptCameraPolicy = LinphoneManager.getInstance().isAutoAcceptCamera();