Remove LinphoneCallUpdated call state

This commit is contained in:
Yann Diorcet 2012-10-02 16:51:26 +02:00
parent c91deefa48
commit 67c885dab9
4 changed files with 2 additions and 8 deletions

View file

@ -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))) {

View file

@ -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];
}

View file

@ -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;

View file

@ -335,7 +335,6 @@ static PhoneMainView* phoneMainViewInstance=nil;
case LinphoneCallPausedByRemote:
case LinphoneCallConnected:
case LinphoneCallStreamsRunning:
case LinphoneCallUpdated:
{
[self changeCurrentView:[InCallViewController compositeViewDescription]];
break;