Creating a Conference-MESH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Plotkowiak wrote:
> A very basic problem but I struggle to find an elegant solution:
> 
> I have a couple of PCs I want to connect in a conference, I would like 
> to connect them in a mesh manner so speaking of:
> 
> A  ---  B
> |    X    |
> C ----  D
> 
> 
> So everybody is connected to everybody and sends his microphone stream 
> to those and receives his microphone stream from those.
> What I implemented so far was that each client holds a conference and 
> each incoming call is added to this conference, which works fine, but I 
> have to do the setup phase on each client manuall so  for example doing 
> a  call from 192.168.0.1 <http://192.168.0.1> to 192.168.0.2 
> <http://192.168.0.2> and 192.168.0.3 <http://192.168.0.3> and so on...
> 
> So here my proposition for my way to "autoconfigure" this mesh:
> Each client autoaccepts incoming calls and puts them into his conference.
> Each client has a struct containing all IP adresses.
> Each client tries to connect to all of those adresses, except:
> 
> a) his own one
> b) the ones which he already accepted the incoming connection with.
> 
> How do i find out to which of those I am already connected?


By "connected", did you mean connected in the conference bridge? If 
so, then you don't need to. Just connect the slot as usual; if 
connection is already established, the function will do nothing and 
just return PJ_SUCCESS.

cheers,
  -benny


> Cheers
> Thomas
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


-- 
Benny Prijono
http://www.pjsip.org




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux