[Adium-devl] Jingle, Sip and IAX2 in one step
Alvaro Saurin
alvaro.saurin at gmail.com
Fri Nov 10 12:24:19 UTC 2006
On 10 Nov 2006, at 12:50, Andreas Monitzer wrote:
> 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.
Ufff, I think this solution would be a bit messy... We would have
iksernel (C library) processing packets and sending them to Smack (a
Java library) or libjingle (a C++ library), and all these things
interacting with an upper level in Objective-C? It seems a bit messy,
honestly...
BTW, does anybody knows about any ICE library?
Regards
Alvaro
--
Alvaro Saurin <alvaro.saurin at gmail.com> <saurin at dcs.gla.ac.uk>
More information about the devel
mailing list