Skip to content
Snippets Groups Projects
Commit 27e97f49 authored by Pierre Lespagnol's avatar Pierre Lespagnol
Browse files

conference: add host in confInfo when detached

This allows the rendez-vous to be considered as a
conference and not as participant for the other
conference.

Change-Id: I9053533a605f1928da93ed3d3e9235db8b764591
parent 37125acf
No related branches found
No related tags found
No related merge requests found
...@@ -115,6 +115,10 @@ Conference::Conference() ...@@ -115,6 +115,10 @@ Conference::Conference()
newInfo.emplace_back(ParticipantInfo { newInfo.emplace_back(ParticipantInfo {
std::move(uri), "", false, 0, 0, 0, 0, true, false, false, isModerator}); std::move(uri), "", false, 0, 0, 0, 0, true, false, false, isModerator});
} }
// Add host in confInfo with audio and video muted if detached
if (shared->getState() == State::ACTIVE_DETACHED)
newInfo.emplace_back(ParticipantInfo {
"", "", false, 0, 0, 0, 0, true, true, false, true});
shared->updateConferenceInfo(std::move(newInfo)); shared->updateConferenceInfo(std::move(newInfo));
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment