[jitsi-dev] Re: Using videobridge [Was: Jitsi 2.0 Now Released!]


#1

Hi,

I suppose jit.si uses openfire as its XMPP service?
Anyone managed to enable jitsi-videobridge in ejabberd?

Thanks,

Vieri

···

--- On Wed, 3/6/13, Boris Grozev <boris@jitsi.org> wrote:

Code for the jitsi implementation of the server component is available
here:
https://svn.java.net/svn/jitsi~svn/jitsi-videobridge/


#2

Code for the jitsi implementation of the server component is available
here:
https://svn.java.net/svn/jitsi~svn/jitsi-videobridge/

Hi,

I suppose jit.si uses openfire as its XMPP service?
Anyone managed to enable jitsi-videobridge in ejabberd?

Shouldn't be any difference. Jitsi Videobridge connects as an XMPP
component so there's no expectation as to the nature of the server.

Cheers,
Emil

···

On 06.03.13, 21:00, Vieri wrote:

--- On Wed, 3/6/13, Boris Grozev <boris@jitsi.org> wrote:

Thanks,

Vieri

--
https://jitsi.org


#3

However, I suppose I'd need to write an erlang jitsi-videobridge module for ejabberd just like you devs wrote the openfire plugin, right? Or is it unnecessary?
(please note that I haven't even started reading anything about jitsi-videobridge but I'm just preparing myself to use it - so please forgive my ignorance)

Thanks,

Vieri

···

--- On Wed, 3/6/13, Emil Ivov <emcho@jitsi.org> wrote:

On 06.03.13, 21:00, Vieri wrote:
>
> --- On Wed, 3/6/13, Boris Grozev <boris@jitsi.org> > wrote:
>> Code for the jitsi implementation of the server
component is available
>> here:
>> https://svn.java.net/svn/jitsi~svn/jitsi-videobridge/
>
> Hi,
>
> I suppose jit.si uses openfire as its XMPP service?
> Anyone managed to enable jitsi-videobridge in
ejabberd?

Shouldn't be any difference. Jitsi Videobridge connects as
an XMPP
component so there's no expectation as to the nature of the
server.


#4

Hey Vieri,

Code for the jitsi implementation of the server

component is available

here: https://svn.java.net/svn/jitsi~svn/jitsi-videobridge/

Hi,

I suppose jit.si uses openfire as its XMPP service? Anyone
managed to enable jitsi-videobridge in

ejabberd?

Shouldn't be any difference. Jitsi Videobridge connects as an XMPP
component so there's no expectation as to the nature of the
server.

However, I suppose I'd need to write an erlang jitsi-videobridge
module for ejabberd just like you devs wrote the openfire plugin,
right?

Nope, absolutely not. XMPP components connect to XMPP servers in a way
defined by the XMPP protocol. No extra modules are required on the server.

Or is it unnecessary? (please note that I haven't even started
reading anything about jitsi-videobridge but I'm just preparing
myself to use it - so please forgive my ignorance)

Nothing to forgive. This is exactly the right place to ask such
questions! :slight_smile:

Cheers,
Emil

···

On 07.03.13, 00:49, Vieri wrote:

--- On Wed, 3/6/13, Emil Ivov <emcho@jitsi.org> wrote:

On 06.03.13, 21:00, Vieri wrote:

--- On Wed, 3/6/13, Boris Grozev <boris@jitsi.org> >> wrote:

Thanks,

Vieri

--
https://jitsi.org


#5

So if I already have openfire running on my server, all I need to get this
working is to install the plugin from
here<https://svn.java.net/svn/jitsi~svn/jitsi-videobridge/openfire/src/java/org/jitsi/videobridge/openfire/PluginImpl.java>
?
Is that correct or do I need to do anything else?

Thanks

···

On Wed, Mar 6, 2013 at 10:54 PM, Emil Ivov <emcho@jitsi.org> wrote:

Hey Vieri,

On 07.03.13, 00:49, Vieri wrote:
>
>
> --- On Wed, 3/6/13, Emil Ivov <emcho@jitsi.org> wrote:
>
>> On 06.03.13, 21:00, Vieri wrote:
>>>
>>> --- On Wed, 3/6/13, Boris Grozev <boris@jitsi.org> > >> wrote:
>>>> Code for the jitsi implementation of the server
>> component is available
>>>> here: https://svn.java.net/svn/jitsi~svn/jitsi-videobridge/
>>>
>>> Hi,
>>>
>>> I suppose jit.si uses openfire as its XMPP service? Anyone
>>> managed to enable jitsi-videobridge in
>> ejabberd?
>>
>> Shouldn't be any difference. Jitsi Videobridge connects as an XMPP
>> component so there's no expectation as to the nature of the
>> server.
>
> However, I suppose I'd need to write an erlang jitsi-videobridge
> module for ejabberd just like you devs wrote the openfire plugin,
> right?

Nope, absolutely not. XMPP components connect to XMPP servers in a way
defined by the XMPP protocol. No extra modules are required on the server.

> Or is it unnecessary? (please note that I haven't even started
> reading anything about jitsi-videobridge but I'm just preparing
> myself to use it - so please forgive my ignorance)

Nothing to forgive. This is exactly the right place to ask such
questions! :slight_smile:

Cheers,
Emil
>
> Thanks,
>
> Vieri
>
>

--
https://jitsi.org


#6

So if I already have openfire running on my server, all I need to get
this working is to install the plugin from here
<https://svn.java.net/svn/jitsi~svn/jitsi-videobridge/openfire/src/java/org/jitsi/videobridge/openfire/PluginImpl.java>?
Is that correct or do I need to do anything else?

That's enough. And you don't even need to set it up as a plugin. You can
just install it as an external XMPP component (doesn't even need to be
on the same machine).

Emil

···

On 14.03.13, 11:28, Privus 007 wrote:

Thanks

On Wed, Mar 6, 2013 at 10:54 PM, Emil Ivov <emcho@jitsi.org > <mailto:emcho@jitsi.org>> wrote:

    Hey Vieri,

    On 07.03.13, 00:49, Vieri wrote:
    >
    >
    > --- On Wed, 3/6/13, Emil Ivov <emcho@jitsi.org > <mailto:emcho@jitsi.org>> wrote:
    >
    >> On 06.03.13, 21:00, Vieri wrote:
    >>>
    >>> --- On Wed, 3/6/13, Boris Grozev <boris@jitsi.org > <mailto:boris@jitsi.org>> > >> wrote:
    >>>> Code for the jitsi implementation of the server
    >> component is available
    >>>> here: https://svn.java.net/svn/jitsi~svn/jitsi-videobridge/
    >>>
    >>> Hi,
    >>>
    >>> I suppose jit.si <http://jit.si> uses openfire as its XMPP
    service? Anyone
    >>> managed to enable jitsi-videobridge in
    >> ejabberd?
    >>
    >> Shouldn't be any difference. Jitsi Videobridge connects as an XMPP
    >> component so there's no expectation as to the nature of the
    >> server.
    >
    > However, I suppose I'd need to write an erlang jitsi-videobridge
    > module for ejabberd just like you devs wrote the openfire plugin,
    > right?

    Nope, absolutely not. XMPP components connect to XMPP servers in a way
    defined by the XMPP protocol. No extra modules are required on the
    server.

    > Or is it unnecessary? (please note that I haven't even started
    > reading anything about jitsi-videobridge but I'm just preparing
    > myself to use it - so please forgive my ignorance)

    Nothing to forgive. This is exactly the right place to ask such
    questions! :slight_smile:

    Cheers,
    Emil
    >
    > Thanks,
    >
    > Vieri
    >
    >

    --
    https://jitsi.org

--
https://jitsi.org


#7

Hi Emil,

This has became a serious puzzle for me , at the moment I can't build the module(videobridge) for openfire, the build process only builds jitsi-videobridge.jar, and this Jar file doesn't contain any of the openfire folder's resources at all.
Hence my question is that how can I easily integrate this plugin/module with openfire?

Rgds
--Pooya

···

On 03/14/2013 08:07 PM, Emil Ivov wrote:

On 14.03.13, 11:28, Privus 007 wrote:

So if I already have openfire running on my server, all I need to get
this working is to install the plugin from here
<https://svn.java.net/svn/jitsi~svn/jitsi-videobridge/openfire/src/java/org/jitsi/videobridge/openfire/PluginImpl.java>?
Is that correct or do I need to do anything else?

That's enough. And you don't even need to set it up as a plugin. You can
just install it as an external XMPP component (doesn't even need to be
on the same machine).

Emil

Thanks

On Wed, Mar 6, 2013 at 10:54 PM, Emil Ivov <emcho@jitsi.org >> <mailto:emcho@jitsi.org>> wrote:

     Hey Vieri,

     On 07.03.13, 00:49, Vieri wrote:
     >
     > --- On Wed, 3/6/13, Emil Ivov <emcho@jitsi.org >> <mailto:emcho@jitsi.org>> wrote:
     >
     >> On 06.03.13, 21:00, Vieri wrote:
     >>>
     >>> --- On Wed, 3/6/13, Boris Grozev <boris@jitsi.org >> <mailto:boris@jitsi.org>> >> >> wrote:
     >>>> Code for the jitsi implementation of the server
     >> component is available
     >>>> here: https://svn.java.net/svn/jitsi~svn/jitsi-videobridge/
     >>>
     >>> Hi,
     >>>
     >>> I suppose jit.si <http://jit.si> uses openfire as its XMPP
     service? Anyone
     >>> managed to enable jitsi-videobridge in
     >> ejabberd?
     >>
     >> Shouldn't be any difference. Jitsi Videobridge connects as an XMPP
     >> component so there's no expectation as to the nature of the
     >> server.
     >
     > However, I suppose I'd need to write an erlang jitsi-videobridge
     > module for ejabberd just like you devs wrote the openfire plugin,
     > right?

     Nope, absolutely not. XMPP components connect to XMPP servers in a way
     defined by the XMPP protocol. No extra modules are required on the
     server.

     > Or is it unnecessary? (please note that I haven't even started
     > reading anything about jitsi-videobridge but I'm just preparing
     > myself to use it - so please forgive my ignorance)

     Nothing to forgive. This is exactly the right place to ask such
     questions! :slight_smile:

     Cheers,
     Emil
     >
     > Thanks,
     >
     > Vieri
     >

     --
     https://jitsi.org


#8

We will soon be publishing a proper download page with installation
and configuration instructions. We expect a lot of the hurdles to be
cleared at that point. Until then we'd like to thank all of you brave
souls for trying the bridge so early!

In the meantime, the way known to work is to checkout the
jitsi-videobridge and libjitsi projects from SVN and compile and run
jitsi-videobridge using the Ant build.xml:

ant run -Drun.arg.line="--secret=<secret shared between OpenFire and
jitsi-videobridge> --min-port=<minimum of the RTP/RTCP port range>
--max-port=<maximum of the RTP/RTCP port range> --host=<the
hostname/IP address of OpenFire> --port=<the port on which
jitsi-videobridge is to connect to OpenFire>"
-Drun.jvmarg.line="-Djava.library.path=<absolute path to libjitsi's
lib/native OS-specific directory>"

For example, one might use the following on 64-bit Linux where
OpenFire and jitsi-videobridge run on the same machine:

ant run -Drun.arg.line="--secret=123 --min-port=10000 --max-port=20000
--host=localhost --port=5275"
-Drun.jvmarg.line="-Djava.library.path=/workspace/libjitsi/lib/native/linux-64"

···

2013/3/14 Pooya Kazempour <pooya@pmexcel.com>:

This has became a serious puzzle for me , at the moment I can't build the
module(videobridge) for openfire, the build process only builds
jitsi-videobridge.jar, and this Jar file doesn't contain any of the openfire
folder's resources at all.
Hence my question is that how can I easily integrate this plugin/module with
openfire?


#9

Dear Lyubomir,

I have been a fan of Jitsi(Sip-Communicator) Since 2009. But lately I have started to think why shouldn't I contribute to this project as well(Inspired by your efforts). At the moment I have started to test various features of Jitsi, and on top of it VideoBridge functionality.
But with your provided method I couldn't make it work either:-(
I am using OpenSuSe 12.2 x64 as my test server, and openfire on the windows 2008-x86 machine.
Beside that I am using JDK 1.7_03
During the compile process I get the following issue:
  run:
      [java] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      [java] SLF4J: Defaulting to no-operation (NOP) logger implementation
      [java] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      [java] Exception in thread "main" org.xmpp.component.ComponentException: java.net.ConnectException: Connection refused
      [java] at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:272)
      [java] at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)
      [java] at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)
      [java] at org.jitsi.videobridge.Main.main(Main.java:132)
      [java] Caused by: java.net.ConnectException: Connection refused
      [java] at java.net.PlainSocketImpl.socketConnect(Native Method)
      [java] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
      [java] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
      [java] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
      [java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
      [java] at java.net.Socket.connect(Socket.java:579)
      [java] at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:151)
      [java] ... 3 more

Please note that I can telnet to openfire on the specified port as well(in my case 5276).
So still I am unable to make it work and hence start testing it:-(

Rgds.
--Pooya

···

On 03/14/2013 09:53 PM, Lyubomir Marinov wrote:

2013/3/14 Pooya Kazempour <pooya@pmexcel.com>:

This has became a serious puzzle for me , at the moment I can't build the
module(videobridge) for openfire, the build process only builds
jitsi-videobridge.jar, and this Jar file doesn't contain any of the openfire
folder's resources at all.
Hence my question is that how can I easily integrate this plugin/module with
openfire?

We will soon be publishing a proper download page with installation
and configuration instructions. We expect a lot of the hurdles to be
cleared at that point. Until then we'd like to thank all of you brave
souls for trying the bridge so early!

In the meantime, the way known to work is to checkout the
jitsi-videobridge and libjitsi projects from SVN and compile and run
jitsi-videobridge using the Ant build.xml:

ant run -Drun.arg.line="--secret=<secret shared between OpenFire and
jitsi-videobridge> --min-port=<minimum of the RTP/RTCP port range>
--max-port=<maximum of the RTP/RTCP port range> --host=<the
hostname/IP address of OpenFire> --port=<the port on which
jitsi-videobridge is to connect to OpenFire>"
-Drun.jvmarg.line="-Djava.library.path=<absolute path to libjitsi's
lib/native OS-specific directory>"

For example, one might use the following on 64-bit Linux where
OpenFire and jitsi-videobridge run on the same machine:

ant run -Drun.arg.line="--secret=123 --min-port=10000 --max-port=20000
--host=localhost --port=5275"
-Drun.jvmarg.line="-Djava.library.path=/workspace/libjitsi/lib/native/linux-64"


#10

The jitsi-videobridge Jabber Component is unable to connect to
OpenFire. Please double check that jitsi-videobridge's --host and
--port arguments specify information which is in accord with your
OpenFire and network configuration and that the --secret argument
identifies a password shared between jitsi-videobridge and OpenFire.
Should you need more information on the subject, please refer to
OpenFire's documentation on the subject of connecting external Jabber
Components.

···

2013/3/15 Pooya Kazempour <pooya@pmexcel.com>:

     [java] Exception in thread "main"
org.xmpp.component.ComponentException: java.net.ConnectException: Connection
refused
     [java] at
org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:272)