mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
call-swarm: avoid dummy call to create a conference
Now a conference can start without any call (this avoid to attach a call without peer to create a conference). Path is now clearer for a call creation: + If we receive a call, we attach it to the conference + Else we do not create any call and just attach the host. Next step is to be able to attach a host in audio only without weird tricks and group addParticipant/bindParticipant GitLab: #953 Change-Id: I13785a5525e041c37fb62c0c9f355e9371f1e4ad
This commit is contained in:
@ -211,7 +211,7 @@ install_signal_primitives(void*)
|
||||
add_handler<libjami::CallSignal::RecordPlaybackFilepath, const std::string&, const std::string&>(
|
||||
handlers, "record-playback-filepath");
|
||||
|
||||
add_handler<libjami::CallSignal::ConferenceCreated, const std::string&, const std::string&>(
|
||||
add_handler<libjami::CallSignal::ConferenceCreated, const std::string&, const std::string&, const std::string&>(
|
||||
handlers, "conference-created");
|
||||
|
||||
add_handler<libjami::CallSignal::ConferenceChanged,
|
||||
|
@ -235,7 +235,7 @@ ConferenceTest::registerSignalHandlers()
|
||||
cv.notify_one();
|
||||
}));
|
||||
confHandlers.insert(libjami::exportable_callback<libjami::CallSignal::ConferenceCreated>(
|
||||
[=](const std::string&, const std::string& conferenceId) {
|
||||
[=](const std::string&, const std::string&, const std::string& conferenceId) {
|
||||
confId = conferenceId;
|
||||
cv.notify_one();
|
||||
}));
|
||||
|
Reference in New Issue
Block a user