From 5fb5de1a912ca696b13de760ed43261daef26957 Mon Sep 17 00:00:00 2001
From: agsantos <aline.gondimsantos@savoirfairelinux.com>
Date: Fri, 11 Jun 2021 16:02:26 -0400
Subject: [PATCH] conference: fix audio only participant

with lasts ms patches, audio only participants dummy video was not being attached to conference mixer, causing participant to not show

Change-Id: I4621562e901aec7dfed6c6ae4a543724f9ccb0d3
GitLab: #565
---
 src/sip/sipcall.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sip/sipcall.cpp b/src/sip/sipcall.cpp
index ddc2c6491f..8c3d0ddd9a 100644
--- a/src/sip/sipcall.cpp
+++ b/src/sip/sipcall.cpp
@@ -1,4 +1,4 @@
-/*
+/*
  *  Copyright (C) 2004-2021 Savoir-faire Linux Inc.
  *
  *  Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
@@ -1860,7 +1860,7 @@ SIPCall::startAllMedia()
 
 #ifdef ENABLE_VIDEO
         if (iter->mediaAttribute_->type_ == MEDIA_VIDEO)
-            isVideoEnabled = true;
+            isVideoEnabled |= iter->mediaAttribute_->enabled_;
 #endif
 
         // Not restarting media loop on hold as it's a huge waste of CPU ressources
-- 
GitLab