mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Remove LinphoneCallUpdated call state
This commit is contained in:
parent
c91deefa48
commit
67c885dab9
4 changed files with 2 additions and 8 deletions
|
|
@ -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))) {
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -335,7 +335,6 @@ static PhoneMainView* phoneMainViewInstance=nil;
|
|||
case LinphoneCallPausedByRemote:
|
||||
case LinphoneCallConnected:
|
||||
case LinphoneCallStreamsRunning:
|
||||
case LinphoneCallUpdated:
|
||||
{
|
||||
[self changeCurrentView:[InCallViewController compositeViewDescription]];
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue