20 May 2013 07:04
STUN RFC3489 vs 5389
Hello, I was having trouble using kde-telepathy call-ui (using farstream 0.1) to call jitsi over xmpp on a NATted network. I was able to have jitsi call itself, and a nokia N9. I packet sniffed and discovered that jitsi was using the RFC5389 version of STUN, while ktp-call-ui + farstream was using the RFC3489 version. Most of the documentation about STUN say the older version doesn't work very well. It looks like libnice supports both versions, Has anyone considered doing something like this? (No idea if the AGENT_USAGE flags are a good idea or not). Diane diff --git a/transmitters/rawudp/fs-rawudp-component.c b/transmitters/rawudp/fs-rawudp-component.c index 156450c..25fa8ca 100644 --- a/transmitters/rawudp/fs-rawudp-component.c +++ b/transmitters/rawudp/fs-rawudp-component.c <at> <at> -509,7 +509,9 <at> <at> fs_rawudp_component_init (FsRawUdpComponent *self) self->priv->associate_on_source = TRUE; stun_agent_init (&self->priv->stun_agent, - STUN_ALL_KNOWN_ATTRIBUTES, STUN_COMPATIBILITY_RFC3489, 0); + STUN_ALL_KNOWN_ATTRIBUTES, + STUN_COMPATIBILITY_RFC5389, + STUN_AGENT_USAGE_ADD_SOFTWARE | STUN_AGENT_USAGE_USE_FINGERPRINT);(Continue reading)
RSS Feed