Skip to content
Snippets Groups Projects
Commit 110ea45a authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Adrien Béraud
Browse files

call: stop media when call failed

Change-Id: Icbeffec03c80929f1122a5a02df661124fa683a5
parent 1b660ad5
No related branches found
No related tags found
No related merge requests found
...@@ -245,6 +245,7 @@ SIPCall::setTransport(const std::shared_ptr<SipTransport>& t) ...@@ -245,6 +245,7 @@ SIPCall::setTransport(const std::shared_ptr<SipTransport>& t)
JAMI_WARN( JAMI_WARN(
"[call:%s] Ending call because underlying SIP transport was closed", "[call:%s] Ending call because underlying SIP transport was closed",
this_->getCallId().c_str()); this_->getCallId().c_str());
this_->stopAllMedia();
this_->onFailure(ECONNRESET); this_->onFailure(ECONNRESET);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment