[jitsi-dev] About Connection of Jitsi Videobridge


#1

Hello,

I'm a master student in NYU, and now focusing on how to build multiple
jitsi-videobridges to guarantee load balancing.

We want to deploy multiple videobridges at different servers, all of them
belong to one xmpp server and jicofo. And they can relay streams to each
others.

Now we have some troubles on it. Could you please tell me is it possible or
easy to implement? Some ideas about it?

Thank you very much!

···

--
Regards,
Wen Yang
New York University
Polytechnic School of Engineering


#2

Hello,

You can find the documentation here :
https://github.com/jitsi/jicofo/blob/master/doc/load_balancing.md

Best regards,
Hamza KHAIT

···

On 17 April 2016 at 01:15, Wen Yang <wy609@nyu.edu> wrote:

Hello,

I'm a master student in NYU, and now focusing on how to build multiple
jitsi-videobridges to guarantee load balancing.

We want to deploy multiple videobridges at different servers, all of them
belong to one xmpp server and jicofo. And they can relay streams to each
others.

Now we have some troubles on it. Could you please tell me is it possible
or easy to implement? Some ideas about it?

Thank you very much!

--
Regards,
Wen Yang
New York University
Polytechnic School of Engineering

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#3

Hi !

Hello,

I'm a master student in NYU, and now focusing on how to build multiple
jitsi-videobridges to guarantee load balancing.

We want to deploy multiple videobridges at different servers, all of them
belong to one xmpp server and jicofo. And they can relay streams to each
others.

Now we have some troubles on it. Could you please tell me is it possible or
easy to implement? Some ideas about it?

It should be possible, but doesn't look like trivial task. Currently
Jicofo for every conference allocates one Colibri conference on one
JVB. The code that does that is in ChannelAllocator[1] and the class
that corresponds to conference on the bridge is ColibriConference[2].

What you would have to do is to allocate[3] Colibri conference on
two(or more) bridges and interconnect then through extra channels. You
will have to allocate one extra channel for each media type on each of
the bridges and exchange transport information[4] between the bridges.
Probably also the information about existing SSRCs should be
synchronised[5] between the bridges - extra channels should carry info
about all SSRCs held on each of the bridges.

Regards,
Pawel

[1]: https://github.com/jitsi/jicofo/blob/master/src/main/java/org/jitsi/jicofo/ChannelAllocator.java
[2]: https://github.com/jitsi/jicofo/blob/master/src/main/java/org/jitsi/protocol/xmpp/colibri/ColibriConference.java
[3]: http://www.xmpp.org/extensions/inbox/colibri.html#usecases-create
[4]: http://www.xmpp.org/extensions/inbox/colibri.html#usecases-update-transport
[5]: https://github.com/jitsi/jicofo/blob/master/src/main/java/org/jitsi/jicofo/JitsiMeetConference.java#L1079

···

On Sat, Apr 16, 2016 at 6:15 PM, Wen Yang <wy609@nyu.edu> wrote: