[Adium-devl] Jingle, Sip and IAX2 in one step

Brian West brian.west at mac.com
Thu Nov 9 03:06:26 UTC 2006


> My code does not implement ICE, but it uses STUN (it should be enough
> for most of the cases). The guys of Jive are working on it, I think.

I am going to try to get the bits you can use released under the  
LGPL.  But for clarity let me explain what RTP-ICE actually is then  
you'll go "OMG what where they smoking when they came up with this  
mess!"

Ok ICE is sent in the same stream as the RTP with and appears as RTP  
version 0 packets.  When a jingle call comes in the candidates we  
send rtp-ice packets to all of those after we do our initial stun  
request to figure out our external IP.  Now every 1 or 2 seconds a  
stun BINDING_REQUEST packet is injected into the RTP stream the  
remote side gets it and injects a stun BINDING_RESPONSE into the rtp  
stream back to the otherside.  This happens in both directions every  
1 to 2 seconds if it doesn't happen often enough the call is  
dropped.  This is the joy of RTP-ICE.

/b





More information about the devel mailing list