mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 12:36:25 +00:00
update streams when receiving REPLACE INVITE
This commit is contained in:
parent
5d65d0ef72
commit
da12783df2
1 changed files with 2 additions and 3 deletions
|
|
@ -322,8 +322,7 @@ void MediaSessionPrivate::remoteRinging () {
|
|||
|
||||
void MediaSessionPrivate::replaceOp (SalCallOp *newOp) {
|
||||
CallSessionPrivate::replaceOp(newOp);
|
||||
stopStreams();
|
||||
initializeStreams();
|
||||
updateStreams(newOp->getFinalMediaDescription(), state);
|
||||
}
|
||||
|
||||
int MediaSessionPrivate::resumeAfterFailedTransfer () {
|
||||
|
|
@ -1182,7 +1181,7 @@ void MediaSessionPrivate::getLocalIp (const Address &remoteAddr) {
|
|||
struct addrinfo *res = nullptr;
|
||||
string host(remoteAddr.getDomain());
|
||||
int err;
|
||||
|
||||
|
||||
if (host[0] == '[')
|
||||
host = host.substr(1, host.size() - 2);
|
||||
memset(&hints, 0, sizeof(hints));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue