mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
unitTest: fix incorrect check in ut_conference
This patch fixes a logic error in testCreateParticipantsSinks which was
introduced in commit 0757c2cf
.
GitLab: #1132
Change-Id: I1c34857f5a309ee34dd976a9d91c3ef1ba938408
This commit is contained in:
@ -539,7 +539,7 @@ ConferenceTest::testCreateParticipantsSinks()
|
||||
cv.wait_for(lk, 30s, [&] { return pInfos_.size() == expectedNumberOfParticipants; }));
|
||||
|
||||
auto dm = jami::getVideoDeviceMonitor();
|
||||
if (dm && dm->getDeviceList().empty()) {
|
||||
if (dm && !dm->getDeviceList().empty()) {
|
||||
JAMI_INFO() << "Check sinks if video device available.";
|
||||
std::lock_guard lock(pInfosMtx_);
|
||||
for (auto& info : pInfos_) {
|
||||
|
Reference in New Issue
Block a user