Difference between revisions of "GoogleTalk"

From IMWiki
Jump to: navigation, search
(Adding a new page for Google Talk)
 
Line 13: Line 13:
 
* Voice chat
 
* Voice chat
 
* Webcam support
 
* Webcam support
 +
 +
== File Transfer ==
 +
 +
The scenario is as follows :
 +
 +
<romeo@montague.lit> (sender) wants to send a file somefile.tar.gz of size (in bytes) 24410321 to <juliet@capulet.lit>.
 +
 +
The procedure is as follows:
 +
 +
FULL XML OF SENDING A FILE !
 +
 +
Sending (ssl) <iq type='set' id='purple937c6e2e' to='juliet@capulet.lit'><session xmlns='http://www.google.com/session' type='initiate' id='purple937c6e2d' initiator='romeo@montague.lit'><description xmlns='http://www.google.com/session/share'><manifest><file size='24410321'><name>somefile.tar.gz</name></file></manifest><protocol><http><url name='source-path'>/temporary/x9w0a15d8gll334681a9tps7j838f104/</url><url name='preview-path'>/temporary/p4e2a64s2ugd204688x7prk8s601m238/</url></http></protocol></description><transport xmlns='http://www.google.com/transport/p2p'/></session></iq>
 +
 +
Recv (ssl)(125): <iq to="romeo@montague.lit" id="purple937c6e2e" type="result" from="juliet@capulet.lit"/>
 +
 +
Recv (ssl)(315): <iq to="romeo@montague.lit" type="set" id="58" from="juliet@capulet.lit"><session type="transport-accept" id="purple937c6e2d" initiator="romeo@montague.lit" xmlns="http://www.google.com/session"><transport xmlns="http://www.google.com/transport/p2p"/></session></iq>
 +
 +
Sending (ssl) (romeo@montague.lit): <iq type='result' to='juliet@capulet.lit' id='58'/>
 +
 +
Recv (ssl)(359): <iq to="romeo@montague.lit" type="set" id="59" from="juliet@capulet.lit"><session type="accept" id="purple937c6e2d" initiator="romeo@montague.lit" xmlns="http://www.google.com/session"><description xmlns="http://www.google.com/session/share"><manifest/><protocol><http/></protocol></description></session></iq>
 +
 +
Sending (ssl) (romeo@montague.lit): <iq type='result' id='59' to='juliet@capulet.lit'/>
 +
 +
Recv (ssl)(318): <iq to="romeo@montague.lit" type="set" id="60" from="juliet@capulet.lit"><session type="info" id="purple937c6e2d" initiator="romeo@montague.lit" xmlns="http://www.google.com/session"><channel name="private-1" xmlns="http://www.google.com/session/share"/></session></iq>
 +
 +
Sending (ssl) (romeo@montague.lit): <iq type='result' id='60' to='juliet@capulet.lit'/>
 +
 +
Sending (ssl) (romeo@montague.lit): <iq type='set' id='purple937c6e2f' to='juliet@capulet.lit' from='romeo@montague.lit'><session xmlns='http://www.google.com/session' id='purple937c6e2d' initiator='romeo@montague.lit' type='transport-info'><transport xmlns='http://www.google.com/transport/p2p'><candidate address='192.168.160.101' port='55433' name='private-1' username='ccgg8psCDi8ALHPN' password='' preference='1' protocol='udp' type='host' generation='0' network='0'/></transport></session></iq>
 +
 +
Sending (ssl) (romeo@montague.lit): <iq type='set' id='purple937c6e30' to='juliet@capulet.lit' from='romeo@montague.lit'><session xmlns='http://www.google.com/session' id='purple937c6e2d' initiator='romeo@montague.lit' type='transport-info'><transport xmlns='http://www.google.com/transport/p2p'><candidate address='49.248.185.251' port='10009' name='private-1' username='O95nDgXTEZU5aOU0' password='' preference='0.9000000000000' protocol='udp' type='stun' generation='0' network='0'/></transport></session></iq>
 +
 +
Sending (ssl) (romeo@montague.lit): <iq type='set' id='purple937c6e31' to='juliet@capulet.lit' from='romeo@montague.lit'><session xmlns='http://www.google.com/session' id='purple937c6e2d' initiator='romeo@montague.lit' type='transport-info'><transport xmlns='http://www.google.com/transport/p2p'><candidate address='74.125.135.127' port='19305' name='private-1' username='wRIIOW0B+mg3F9wf' password='' preference='0.5' protocol='udp' type='relay' generation='0' network='0'/></transport></session></iq>
 +
 +
Sending (ssl) (romeo@montague.lit): <iq type='set' id='purple937c6e32' to='juliet@capulet.lit' from='romeo@montague.lit'><session xmlns='http://www.google.com/session' id='purple937c6e2d' initiator='romeo@montague.lit' type='transport-info'><transport xmlns='http://www.google.com/transport/p2p'><candidate address='74.125.135.127' port='19305' name='private-1' username='wRIIOW0B+mg3F9wf' password='' preference='0.5' protocol='udp' type='relay' generation='0' network='0'/></transport></session></iq>
 +
 +
Sending (ssl) (romeo@montague.lit): <iq type='set' id='purple937c6e33' to='juliet@capulet.lit' from='romeo@montague.lit'><session xmlns='http://www.google.com/session' id='purple937c6e2d' initiator='romeo@montague.lit' type='transport-info'><transport xmlns='http://www.google.com/transport/p2p'><candidate address='74.125.135.127' port='443' name='private-1' username='wRIIOW0B+mg3F9wf' password='' preference='0.5' protocol='udp' type='relay' generation='0' network='0'/></transport></session></iq>
 +
 +
Recv (ssl)(517): <iq to="romeo@montague.lit" type="set" id="61" from="juliet@capulet.lit"><session type="transport-info" id="purple937c6e2d" initiator="romeo@montague.lit" xmlns="http://www.google.com/session"><transport xmlns="http://www.google.com/transport/p2p"><candidate name="private-1" address="192.168.160.50" port="55455" preference="1" username="sVfmPJvuPBdh+ail" protocol="udp" generation="0" password="+9SLmzhJo6nqxYgE" type="local" network="0"/></transport></session></iq>
 +
 +
Sending (ssl) (romeo@montague.lit): <iq type='result' id='61' to='juliet@capulet.lit'/>
 +
 +
Recv (ssl)(518): <iq to="romeo@montague.lit" type="set" id="62" from="juliet@capulet.lit"><session type="transport-info" id="purple937c6e2d" initiator="romeo@montague.lit" xmlns="http://www.google.com/session"><transport xmlns="http://www.google.com/transport/p2p"><candidate name="private-1" address="49.248.185.251" port="10008" preference="0.9" username="Rv3rcSEkQXTc3tna" protocol="udp" generation="0" password="Pw+zp7X9P9yFpQXF" type="stun" network="0"/></transport></session></iq>
 +
 +
Sending (ssl) (romeo@montague.lit): <iq type='result' id='62' to='juliet@capulet.lit'/>
 +
 +
Recv (ssl)(125): <iq to="romeo@montague.lit" id="purple937c6e2f" type="result" from="juliet@capulet.lit"/>
 +
Recv (ssl)(125): <iq to="romeo@montague.lit" id="purple937c6e30" type="result" from="juliet@capulet.lit"/>
 +
Recv (ssl)(125): <iq to="romeo@montague.lit" id="purple937c6e31" type="result" from="juliet@capulet.lit"/>
 +
Recv (ssl)(125): <iq to="romeo@montague.lit" id="purple937c6e32" type="result" from="juliet@capulet.lit"/>
 +
Recv (ssl)(125): <iq to="romeo@montague.lit" id="purple937c6e33" type="result" from="juliet@capulet.lit"/>
 +
 +
Recv (ssl)(302): <iq to="romeo@montague.lit" type="set" id="68" from="juliet@capulet.lit"><session type="info" id="purple937c6e2d" initiator="romeo@montague.lit" xmlns="http://www.google.com/session"><complete xmlns="http://www.google.com/session/share"/></session></iq>
 +
 +
Sending (ssl) (romeo@montague.lit): <iq type='result' id='68' to='juliet@capulet.lit'/>
 +
 +
Recv (ssl)(243): <iq to="romeo@montague.lit" type="set" id="69" from="juliet@capulet.lit"><session type="terminate" id="purple937c6e2d" initiator="romeo@montague.lit" xmlns="http://www.google.com/session"/></iq>

Revision as of 00:29, 19 September 2013

This page is currently under construction. Please come back later to see updated info.

Introduction

Google Talk is an instant messaging service that provides both text and voice communication. The instant messaging service is colloquially known as "gtalk" or "gchat" to its users. Because the Google Talk servers communicate with clients using an open protocol, Extensible Messaging and Presence Protocol XMPP, the service can also be accessed using any other client that supports XMPP. Such clients are available for a number of operating systems not supported by the Google Talk client.

Google Talk makes use of libjingle, which is Google's implementation of Jingle. Clients which implement support for Jingle are incompatible with libjingle as they are different enough.

Features

Google Talk supports the following features :

  • File transfer
  • Instant messaging
  • Voice chat
  • Webcam support

File Transfer

The scenario is as follows :

<romeo@montague.lit> (sender) wants to send a file somefile.tar.gz of size (in bytes) 24410321 to <juliet@capulet.lit>.

The procedure is as follows:

FULL XML OF SENDING A FILE !

Sending (ssl) <iq type='set' id='purple937c6e2e' to='juliet@capulet.lit'><session xmlns='http://www.google.com/session' type='initiate' id='purple937c6e2d' initiator='romeo@montague.lit'><description xmlns='http://www.google.com/session/share'><manifest><file size='24410321'><name>somefile.tar.gz</name></file></manifest><protocol><http><url name='source-path'>/temporary/x9w0a15d8gll334681a9tps7j838f104/</url><url name='preview-path'>/temporary/p4e2a64s2ugd204688x7prk8s601m238/</url></http></protocol></description><transport xmlns='http://www.google.com/transport/p2p'/></session></iq>

Recv (ssl)(125): <iq to="romeo@montague.lit" id="purple937c6e2e" type="result" from="juliet@capulet.lit"/>

Recv (ssl)(315): <iq to="romeo@montague.lit" type="set" id="58" from="juliet@capulet.lit"><session type="transport-accept" id="purple937c6e2d" initiator="romeo@montague.lit" xmlns="http://www.google.com/session"><transport xmlns="http://www.google.com/transport/p2p"/></session></iq>

Sending (ssl) (romeo@montague.lit): <iq type='result' to='juliet@capulet.lit' id='58'/>

Recv (ssl)(359): <iq to="romeo@montague.lit" type="set" id="59" from="juliet@capulet.lit"><session type="accept" id="purple937c6e2d" initiator="romeo@montague.lit" xmlns="http://www.google.com/session"><description xmlns="http://www.google.com/session/share"><manifest/><protocol><http/></protocol></description></session></iq>

Sending (ssl) (romeo@montague.lit): <iq type='result' id='59' to='juliet@capulet.lit'/>

Recv (ssl)(318): <iq to="romeo@montague.lit" type="set" id="60" from="juliet@capulet.lit"><session type="info" id="purple937c6e2d" initiator="romeo@montague.lit" xmlns="http://www.google.com/session"><channel name="private-1" xmlns="http://www.google.com/session/share"/></session></iq>

Sending (ssl) (romeo@montague.lit): <iq type='result' id='60' to='juliet@capulet.lit'/>

Sending (ssl) (romeo@montague.lit): <iq type='set' id='purple937c6e2f' to='juliet@capulet.lit' from='romeo@montague.lit'><session xmlns='http://www.google.com/session' id='purple937c6e2d' initiator='romeo@montague.lit' type='transport-info'><transport xmlns='http://www.google.com/transport/p2p'><candidate address='192.168.160.101' port='55433' name='private-1' username='ccgg8psCDi8ALHPN' password= preference='1' protocol='udp' type='host' generation='0' network='0'/></transport></session></iq>

Sending (ssl) (romeo@montague.lit): <iq type='set' id='purple937c6e30' to='juliet@capulet.lit' from='romeo@montague.lit'><session xmlns='http://www.google.com/session' id='purple937c6e2d' initiator='romeo@montague.lit' type='transport-info'><transport xmlns='http://www.google.com/transport/p2p'><candidate address='49.248.185.251' port='10009' name='private-1' username='O95nDgXTEZU5aOU0' password= preference='0.9000000000000' protocol='udp' type='stun' generation='0' network='0'/></transport></session></iq>

Sending (ssl) (romeo@montague.lit): <iq type='set' id='purple937c6e31' to='juliet@capulet.lit' from='romeo@montague.lit'><session xmlns='http://www.google.com/session' id='purple937c6e2d' initiator='romeo@montague.lit' type='transport-info'><transport xmlns='http://www.google.com/transport/p2p'><candidate address='74.125.135.127' port='19305' name='private-1' username='wRIIOW0B+mg3F9wf' password= preference='0.5' protocol='udp' type='relay' generation='0' network='0'/></transport></session></iq>

Sending (ssl) (romeo@montague.lit): <iq type='set' id='purple937c6e32' to='juliet@capulet.lit' from='romeo@montague.lit'><session xmlns='http://www.google.com/session' id='purple937c6e2d' initiator='romeo@montague.lit' type='transport-info'><transport xmlns='http://www.google.com/transport/p2p'><candidate address='74.125.135.127' port='19305' name='private-1' username='wRIIOW0B+mg3F9wf' password= preference='0.5' protocol='udp' type='relay' generation='0' network='0'/></transport></session></iq>

Sending (ssl) (romeo@montague.lit): <iq type='set' id='purple937c6e33' to='juliet@capulet.lit' from='romeo@montague.lit'><session xmlns='http://www.google.com/session' id='purple937c6e2d' initiator='romeo@montague.lit' type='transport-info'><transport xmlns='http://www.google.com/transport/p2p'><candidate address='74.125.135.127' port='443' name='private-1' username='wRIIOW0B+mg3F9wf' password= preference='0.5' protocol='udp' type='relay' generation='0' network='0'/></transport></session></iq>

Recv (ssl)(517): <iq to="romeo@montague.lit" type="set" id="61" from="juliet@capulet.lit"><session type="transport-info" id="purple937c6e2d" initiator="romeo@montague.lit" xmlns="http://www.google.com/session"><transport xmlns="http://www.google.com/transport/p2p"><candidate name="private-1" address="192.168.160.50" port="55455" preference="1" username="sVfmPJvuPBdh+ail" protocol="udp" generation="0" password="+9SLmzhJo6nqxYgE" type="local" network="0"/></transport></session></iq>

Sending (ssl) (romeo@montague.lit): <iq type='result' id='61' to='juliet@capulet.lit'/>

Recv (ssl)(518): <iq to="romeo@montague.lit" type="set" id="62" from="juliet@capulet.lit"><session type="transport-info" id="purple937c6e2d" initiator="romeo@montague.lit" xmlns="http://www.google.com/session"><transport xmlns="http://www.google.com/transport/p2p"><candidate name="private-1" address="49.248.185.251" port="10008" preference="0.9" username="Rv3rcSEkQXTc3tna" protocol="udp" generation="0" password="Pw+zp7X9P9yFpQXF" type="stun" network="0"/></transport></session></iq>

Sending (ssl) (romeo@montague.lit): <iq type='result' id='62' to='juliet@capulet.lit'/>

Recv (ssl)(125): <iq to="romeo@montague.lit" id="purple937c6e2f" type="result" from="juliet@capulet.lit"/> Recv (ssl)(125): <iq to="romeo@montague.lit" id="purple937c6e30" type="result" from="juliet@capulet.lit"/> Recv (ssl)(125): <iq to="romeo@montague.lit" id="purple937c6e31" type="result" from="juliet@capulet.lit"/> Recv (ssl)(125): <iq to="romeo@montague.lit" id="purple937c6e32" type="result" from="juliet@capulet.lit"/> Recv (ssl)(125): <iq to="romeo@montague.lit" id="purple937c6e33" type="result" from="juliet@capulet.lit"/>

Recv (ssl)(302): <iq to="romeo@montague.lit" type="set" id="68" from="juliet@capulet.lit"><session type="info" id="purple937c6e2d" initiator="romeo@montague.lit" xmlns="http://www.google.com/session"><complete xmlns="http://www.google.com/session/share"/></session></iq>

Sending (ssl) (romeo@montague.lit): <iq type='result' id='68' to='juliet@capulet.lit'/>

Recv (ssl)(243): <iq to="romeo@montague.lit" type="set" id="69" from="juliet@capulet.lit"><session type="terminate" id="purple937c6e2d" initiator="romeo@montague.lit" xmlns="http://www.google.com/session"/></iq>