Hi all, I have a doubt about the way telepathy-gabble implements jingle file transfer. Please correct me if my below understanding is wrong :
- Basically for solving NAT problem, libnice is used - As part of ICE protocol, for gathering 'candidate' transport addresses, we need STUN / TURN servers - for this purpose, why should telepathy-gabble trigger " http://relay.google.com:80/create_session " ?? inside jingle-factory.c , libsoup APIs are used to make a HTTP GET request to the above URL, with headers "X-Talk-Google-Relay-Auth" & "X-Google-Relay-Auth" In response, we get a list of TURN/STUN server IPs & Ports etc. Instead of this method, why can't we use what the below XML Stanza returns : Request stanza : <iq type="get" to="[email protected]" id="135485202046"><query xmlns="google:jingleinfo"/></iq> Response stanza : <iq to="[email protected]/16b4cb7b" from="[email protected]" id="135485202046" type="result"><query xmlns="google:jingleinfo"><stun><server host=" stun.l.google.com" udp="19302"/><server host="stun3.l.google.com" udp="19302"/><server host="stun2.l.google.com" udp="19302"/><server host=" stun1.l.google.com" udp="19302"/><server host="stun4.l.google.com" udp="19302"/></stun><relay><token>CAESGwoSZjIwMDEwNjdAZ21haWwuY29tENbv0dG8JRoQmHtoMHjFafn/K0opvlnb0A==</token><server host="relay.google.com" udp="19295" tcp="19294" tcpssl="443"/></relay></query></iq> Kindly point to me, if there is a different way to understand... Regards Uday Kiran
_______________________________________________ telepathy mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/telepathy
