call-swarm: fix host attachment for audio-calls

Also, start to fix audio binding (this will be a full patch, but
at least do not attach host)

GitLab: #959
Change-Id: I0aeb9121e2880a5afb4b1ca1a30710d1b60a2e7e
This commit is contained in:
Sébastien Blin
2024-02-27 12:20:23 -05:00
parent 5b7acc3a28
commit f2d8c57fc7
9 changed files with 58 additions and 52 deletions

View File

@ -829,6 +829,10 @@ ConversationCallTest::testUsePreference()
// Alice should be the host
CPPUNIT_ASSERT(aliceAccount->getConference(confId));
// Bob should be the only participant
CPPUNIT_ASSERT(cv.wait_for(lk, 5s, [&]() { return pInfos_.size() == 1; }));
auto uri = string_remove_suffix(pInfos_[0]["uri"], '@');
CPPUNIT_ASSERT(uri == bobUri);
Manager::instance().hangupCall(bobId, callId);
}