mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
Fix 2 call-related crashes.
This commit is contained in:
parent
ca159350b8
commit
8a23ea59b7
2 changed files with 2 additions and 2 deletions
|
|
@ -1049,7 +1049,7 @@ LinphoneCallState CallSession::getState () const {
|
|||
|
||||
string CallSession::getRemoteUserAgent () const {
|
||||
L_D();
|
||||
if (d->op)
|
||||
if (d->op && d->op->get_remote_ua())
|
||||
return d->op->get_remote_ua();
|
||||
return string();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4317,7 +4317,7 @@ LinphoneStatus MediaSession::update (const MediaSessionParams *msp, const string
|
|||
if (d->currentParams == msp)
|
||||
lWarning() << "CallSession::update() is given the current params, this is probably not what you intend to do!";
|
||||
d->iceAgent->checkSession(IR_Controlling, true);
|
||||
if (d->params) {
|
||||
if (msp) {
|
||||
#if 0
|
||||
call->broken = FALSE;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue