Commit a7378c4b authored by Sébastien Blin's avatar Sébastien Blin Committed by Adrien Béraud

conference: avoid segmentation fault

Change-Id: I0de5e7483fd3fbef2dc767af1c44440f5cc33053
parent 650e633c
......@@ -84,6 +84,7 @@ Conference::add(const std::string &participant_id)
void
Conference::setActiveParticipant(const std::string &participant_id)
{
if (!videoMixer_) return;
for (const auto &item : participants_) {
if (participant_id == item) {
if (auto call = Manager::instance().callFactory.getCall<SIPCall>(participant_id)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment