[Adium-devl] Jingle, Sip and IAX2 in one step
Andreas Monitzer
soc at monitzer.com
Fri Nov 10 11:50:24 UTC 2006
On Nov 10, 2006, at 11:25, Colin Barrett wrote:
> This is a really interesting discussion. I think the next thing we
> want to look at is implementation: where would the ICE code be? Smack?
> in Adium?
In Adium, so other protocols can benefit from it, too.
> If it's in Adium, can we use libjingle for connection
> negotiation while still using Smack for XMPP requests?
Theoretically, yes. Unfortunately, most ICE libraries just assume
that you're implementing a phone client that happens to use XMPP,
instead of an XMPP client, that happens to support VoIP. Because of
this invalid assumption, all of them do the connection management
themselves using the most minimalistic library possible (it's called
iksemel, which is nothing more than a stream XML parser with some
basic filtering support). The right way would be to use a callback-
mechanism the application could plug in. This technique would allow
using Smack for the non-jingle stuff.
> I'm assuming that Jingle operates out-of-band from the normal XMPP
> stream.
No, jingle is a protocol that sets up the out-of-band stream (using
ICE etc). Once this stream is up, RTP comes into play.
andy
More information about the devel
mailing list