diff --git a/Classes/InCallViewController.m b/Classes/InCallViewController.m index f37166c28..bc89802a2 100644 --- a/Classes/InCallViewController.m +++ b/Classes/InCallViewController.m @@ -245,7 +245,6 @@ static UICompositeViewDescription *compositeDescription = nil; } case LinphoneCallConnected: case LinphoneCallStreamsRunning: - case LinphoneCallUpdated: { //check video if (linphone_call_params_video_enabled(linphone_call_get_current_params(call))) { diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index e414b540f..b38fde7f4 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -398,8 +398,7 @@ static void linphone_iphone_display_status(struct _LinphoneCore * lc, const char if(state == LinphoneCallIncomingReceived || state == LinphoneCallOutgoingInit || state == LinphoneCallConnected || - state == LinphoneCallStreamsRunning || - state == LinphoneCallUpdated) { + state == LinphoneCallStreamsRunning) { if (linphone_call_params_video_enabled(linphone_call_get_current_params(call))) { [self setSpeakerEnabled:TRUE]; } diff --git a/Classes/LinphoneUI/UIVideoButton.m b/Classes/LinphoneUI/UIVideoButton.m index 82727c22d..ef4889035 100644 --- a/Classes/LinphoneUI/UIVideoButton.m +++ b/Classes/LinphoneUI/UIVideoButton.m @@ -110,12 +110,9 @@ if (currentCall) { LinphoneCallState state = linphone_call_get_state(currentCall); switch (state) { - case LinphoneCallUpdated: - { - [waitView stopAnimating]; - } case LinphoneCallStreamsRunning: { + [waitView stopAnimating]; [self setEnabled:TRUE]; if (linphone_call_params_video_enabled(linphone_call_get_current_params(currentCall))) { val = true; diff --git a/Classes/PhoneMainView.m b/Classes/PhoneMainView.m index 488df4e09..874189546 100644 --- a/Classes/PhoneMainView.m +++ b/Classes/PhoneMainView.m @@ -335,7 +335,6 @@ static PhoneMainView* phoneMainViewInstance=nil; case LinphoneCallPausedByRemote: case LinphoneCallConnected: case LinphoneCallStreamsRunning: - case LinphoneCallUpdated: { [self changeCurrentView:[InCallViewController compositeViewDescription]]; break;