[jitsi-dev] Getting started with PseudoTCP


#1

Hi,
I am the founder of a P2P Backup startup called Degoo. We just found out about Jitsi and Ice4j and I must say that I'm very impressed by your work so far! Your code looks very well structured and you've implemented tons of useful features! We are evaluating whether we should Jitsi or libjingle for our app. If we decide to use your library we'd definitely be willing to put some development resources into it.

Right now I'm struggling a bit on the easiest way to get started. Our application doesn't need any audio/video or telephony functionality. We only need to be able to do simple message passing. The messages are up to ~100kb so we'll need to use PseudoTCP to send them. Ice4j looks very straightforward but if I understand things correctly it doesn't have any functionality for exchanging candidates but Jitsi has implemented that over XMPP. Is that correct? We'd prefer to use only Ice4j, since it's much smaller and has much fewer dependencies. The fact that Jitsi has lots of external dependencies and doesn't define them using Maven makes it very hard to integrate Jitsi into our build process. We'd also rather not add the OSGi dependencies that Jitsi has.

So my question is: what's required to use Ice4j independently from Jitsi? I noticed some SDP code in Ice4j. Do you have any tips on libraries and servers that we could use to initiate a session using that?

Thanks in advance!
Regards

Carl Hasselskog
Degoo Backup AB
carl@degoo.com<mailto:carl@degoo.com>
Mobil: +46 73 070 1821
http://degoo.com<http://degoo.com/>
http://twitter.com/#!/CarlHasselskog


#2

Hey Carl,

Hi,

I am the founder of a P2P Backup startup called Degoo. We just found out
about Jitsi and Ice4j and I must say that I'm very impressed by your
work so far! Your code looks very well structured and you've implemented
tons of useful features!

Thank you for your kind words!

We are evaluating whether we should Jitsi or
libjingle for our app. If we decide to use your library we'd definitely
be willing to put some development resources into it.

Right now I'm struggling a bit on the easiest way to get started.

We've implemented several very simple examples in ice4j for both ICE
negotiation and setting up a Pseudo TCP channel.

If you need anything more complete then I suppose Jitsi would the place
to get inspiration from.

Our
application doesn't need any audio/video or telephony functionality. We
only need to be able to do simple message passing. The messages are up
to ~100kb so we'll need to use PseudoTCP to send them. Ice4j looks very
straightforward but if I understand things correctly it doesn't have any
functionality for exchanging candidates but Jitsi has implemented that
over XMPP. Is that correct?

Yes, this is correct. A SIP implementation is pending ... no ETA as of
yet though.

We'd prefer to use only Ice4j, since it's
much smaller and has much fewer dependencies. The fact that Jitsi has
lots of external dependencies and doesn't define them using Maven makes
it very hard to integrate Jitsi into our build process.

We are working on a debian source package. Hopefully this would make
things easier for some of you.

We'd also rather not add the OSGi dependencies that Jitsi has.

We've recently released libjitsi [0]. It currently only handles media
but we have been thinking of adding the protocols support. I suppose
this would have been exactly what you are looking for ... but we haven't
got around to it yet.

So my question is: what's required to use Ice4j independently from
Jitsi?

Well, you basically need to handle signalling on your own. Whether it is
XMPP or SIP you can still use Jitsi for inspiration and example code.

Of course, depending on your application needs, you can also use a
signalling protocol that you designed entirely on your own.

I noticed some SDP code in Ice4j. Do you have any tips on
libraries and servers that we could use to initiate a session using that?

We use JSIP [1] for the examples. We also use this for the SIP support
in XMPP.

Hope this helps,
Emil

[0] libjitsi - https://jitsi.org/libjitsi
[1] jsip - http://jsip.java.net/

ยทยทยท

On 30.07.12, 14:14, Carl Hasselskog wrote:

Thanks in advance!

Regards

Carl Hasselskog

Degoo Backup AB

carl@degoo.com <mailto:carl@degoo.com>

Mobil: +46 73 070 1821

http://degoo.com <http://degoo.com/>

http://twitter.com/#!/CarlHasselskog

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
Jitsi
emcho@jitsi.org PHONE: +33.1.77.62.43.30
http://jitsi.org FAX: +33.1.77.62.47.31