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:
Sébastien Blin
2024-02-28 15:00:43 -05:00
parent f2d8c57fc7
commit a404577a9e
15 changed files with 143 additions and 115 deletions

View File

@ -298,10 +298,10 @@ class libjamiCtrl(Thread):
def onConferenceCreated_cb(self):
pass
def onConferenceCreated_callback(self, confId):
def onConferenceCreated_callback(self, convId, confId):
pass
def onConferenceCreated(self, confId):
def onConferenceCreated(self, convId, confId):
self.currentConfId = confId
self.onConferenceCreated_cb()
self.onConferenceCreated_callback(confId)