conference: correctly remove peer if crashed

Change-Id: I2c64b42dd7ad290dede7d7633eacc6bc20ed95ea
GitLab: #779
This commit is contained in:
Aline Gondim Santos
2022-10-19 12:06:24 -03:00
committed by Adrien Béraud
parent 9d846f66ae
commit 9b2bb28f27

View File

@ -494,6 +494,7 @@ SIPCall::setSipTransport(const std::shared_ptr<SipTransport>& transport,
JAMI_WARN("[call:%s] Ending call because underlying SIP transport was closed",
this_->getCallId().c_str());
this_->stopAllMedia();
this_->detachAudioFromConference();
this_->onFailure(ECONNRESET);
}
}