mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix video display and pausing during transfert
This commit is contained in:
parent
7e4a6cdb53
commit
28c59401a3
1 changed files with 30 additions and 8 deletions
|
|
@ -179,6 +179,8 @@ extern void libmsbcg729_init();
|
|||
forUser:lUserName
|
||||
withDisplayName:lDisplayName];
|
||||
break;
|
||||
case LinphoneCallPaused:
|
||||
case LinphoneCallPausing:
|
||||
case LinphoneCallPausedByRemote:
|
||||
case LinphoneCallConnected:
|
||||
[callDelegate displayInCall: call
|
||||
|
|
@ -248,10 +250,20 @@ extern void libmsbcg729_init();
|
|||
forUser:@""
|
||||
withDisplayName:@""];
|
||||
} else {
|
||||
[callDelegate displayInCall:call
|
||||
FromUI:mCurrentViewController
|
||||
forUser:lUserName
|
||||
withDisplayName:lDisplayName];
|
||||
call = linphone_core_get_current_call([LinphoneManager getLc]);
|
||||
if(call) {
|
||||
const LinphoneCallParams* current = linphone_call_get_current_params(call);
|
||||
if (linphone_call_params_video_enabled(current)) {
|
||||
[callDelegate displayVideoCall:call FromUI:mCurrentViewController
|
||||
forUser:lUserName
|
||||
withDisplayName:lDisplayName];
|
||||
} else {
|
||||
[callDelegate displayInCall:call
|
||||
FromUI:mCurrentViewController
|
||||
forUser:lUserName
|
||||
withDisplayName:lDisplayName];
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
@ -261,10 +273,20 @@ extern void libmsbcg729_init();
|
|||
forUser:@""
|
||||
withDisplayName:@""];
|
||||
} else {
|
||||
[callDelegate displayInCall:call
|
||||
FromUI:mCurrentViewController
|
||||
forUser:lUserName
|
||||
withDisplayName:lDisplayName];
|
||||
call = linphone_core_get_current_call([LinphoneManager getLc]);
|
||||
if(call) {
|
||||
const LinphoneCallParams* current = linphone_call_get_current_params(call);
|
||||
if (linphone_call_params_video_enabled(current)) {
|
||||
[callDelegate displayVideoCall:call FromUI:mCurrentViewController
|
||||
forUser:lUserName
|
||||
withDisplayName:lDisplayName];
|
||||
} else {
|
||||
[callDelegate displayInCall:call
|
||||
FromUI:mCurrentViewController
|
||||
forUser:lUserName
|
||||
withDisplayName:lDisplayName];
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
case LinphoneCallStreamsRunning:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue