mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-22 01:02:17 -05:00
0.3
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1388 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
413cd96e89
commit
f9270c317d
21
xep-0208.xml
21
xep-0208.xml
@ -22,6 +22,12 @@
|
|||||||
<supersededby/>
|
<supersededby/>
|
||||||
<shortname>N/A</shortname>
|
<shortname>N/A</shortname>
|
||||||
&stpeter;
|
&stpeter;
|
||||||
|
<revision>
|
||||||
|
<version>0.3</version>
|
||||||
|
<date>2007-11-15</date>
|
||||||
|
<initials>psa</initials>
|
||||||
|
<remark><p>Editorial review and consistency check.</p></remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>0.2</version>
|
<version>0.2</version>
|
||||||
<date>2007-05-11</date>
|
<date>2007-05-11</date>
|
||||||
@ -49,13 +55,13 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section1 topic='Introduction' anchor='intro'>
|
<section1 topic='Introduction' anchor='intro'>
|
||||||
<p>&xep0166; defines a framework for using XMPP to negotiate and manage out-of-band media sessions. Unfortunately, most developers of XMPP clients have limited experience with multimedia applications such as voice and video, making it difficult to get started with implementation of Jingle technologies. Therefore this document provides a simple transport and session type that client developers can use to bootstrap Jingle implementations.</p>
|
<p>&xep0166; defines a framework for using XMPP to negotiate and manage out-of-band media sessions. Unfortunately, most developers of XMPP clients have limited experience with multimedia applications such as voice and video, making it difficult to get started with implementation of Jingle technologies. Therefore this document provides a simple application format that client developers can use to bootstrap Jingle implementations.</p>
|
||||||
<p><em>Note: The methods specified herein are provided for experimentation and unit testing only. They are not intended for inclusion in released software or production environments.</em></p>
|
<p><em>Note: The methods specified herein are provided for experimentation and unit testing only. They are not intended for inclusion in released software or production environments.</em></p>
|
||||||
</section1>
|
</section1>
|
||||||
|
|
||||||
<section1 topic='Protocol Flow' anchor='protocol'>
|
<section1 topic='Protocol Flow' anchor='protocol'>
|
||||||
<p>The intent of this simple Jingle profile is to enable exchange of data using the Echo Protocol specified in &rfc0862;, but using a port other than 7 (the default port for this experimental usage is 17777). The protocol flow is as follows. (The following examples use &xep0177; as the transport protocol; although it is possible to complete echo protocol exchanges via TCP, that is deemed less useful and there is no Jingle transport for direct TCP exchanges.)</p>
|
<p>The intent of this simple Jingle profile is to enable exchange of data using the Echo Protocol specified in &rfc0862;, but using a port other than 7 (the default port for this experimental usage is 17777). The protocol flow is as follows. (The following examples use &xep0177; as the transport protocol; although it is possible to complete echo protocol exchanges via TCP, that is deemed less useful and there is no Jingle transport method for direct TCP exchanges.)</p>
|
||||||
<example caption='Initiatior Creates Session'><![CDATA[
|
<example caption='Initiation'><![CDATA[
|
||||||
<iq from='romeo@montague.net/orchard' to='juliet@capulet.com/balcony' id='jingle1' type='set'>
|
<iq from='romeo@montague.net/orchard' to='juliet@capulet.com/balcony' id='jingle1' type='set'>
|
||||||
<jingle xmlns='http://www.xmpp.org/extensions/xep-0166.html#ns'
|
<jingle xmlns='http://www.xmpp.org/extensions/xep-0166.html#ns'
|
||||||
action='session-initiate'
|
action='session-initiate'
|
||||||
@ -70,11 +76,12 @@
|
|||||||
</jingle>
|
</jingle>
|
||||||
</iq>
|
</iq>
|
||||||
]]></example>
|
]]></example>
|
||||||
<example caption='Receiver Provisionally Accepts the Session Request'><![CDATA[
|
<p>If none of the errors specified in <cite>XEP-0166</cite> occurs, the receiver acknowledges the session request.</p>
|
||||||
|
<example caption='Receiver provisionally accepts the session request'><![CDATA[
|
||||||
<iq from='juliet@capulet.com/balcony' to='romeo@montague.net/orchard' type='result' id='jingle1'/>
|
<iq from='juliet@capulet.com/balcony' to='romeo@montague.net/orchard' type='result' id='jingle1'/>
|
||||||
]]></example>
|
]]></example>
|
||||||
<p>If no negotiation is required (e.g., to modify the port number or transport protocol), the receiver simply accepts the session request. (Alternatively, if the receiver wants to use a port other 17777, it SHOULD negotiate the port using a Jingle content-add action; see <cite>XEP-0166</cite> for details and examples.)</p>
|
<p>If no negotiation is required (e.g., to modify the port number or transport method), the receiver simply accepts the session request. (Alternatively, if the receiver wants to use a port other 17777, it SHOULD negotiate the port using a Jingle content-add action; see <cite>XEP-0166</cite> for details and examples.)</p>
|
||||||
<example caption='Receiver Definitively Accepts the Session Request'><![CDATA[
|
<example caption='Receiver definitively accepts the session request'><![CDATA[
|
||||||
<iq from='juliet@capulet.com/balcony' to='romeo@montague.net/orchard' id='jingle2' type='set'>
|
<iq from='juliet@capulet.com/balcony' to='romeo@montague.net/orchard' id='jingle2' type='set'>
|
||||||
<jingle xmlns='http://www.xmpp.org/extensions/xep-0166.html#ns'
|
<jingle xmlns='http://www.xmpp.org/extensions/xep-0166.html#ns'
|
||||||
action='session-accept'
|
action='session-accept'
|
||||||
@ -82,7 +89,7 @@
|
|||||||
sid='a73sjjvkla37jfea'/>
|
sid='a73sjjvkla37jfea'/>
|
||||||
</iq>
|
</iq>
|
||||||
]]></example>
|
]]></example>
|
||||||
<example caption='Initiating Entity Acknowledges Definitive Acceptance'><![CDATA[
|
<example caption='Initiating entity acknowledges definitive acceptance'><![CDATA[
|
||||||
<iq type='result' to='juliet@capulet.com/balcony' from='romeo@montague.net/orchard' id='accept1'/>
|
<iq type='result' to='juliet@capulet.com/balcony' from='romeo@montague.net/orchard' id='accept1'/>
|
||||||
]]></example>
|
]]></example>
|
||||||
<p>The parties may now exchange data using the echo protocol in order to test the connection.</p>
|
<p>The parties may now exchange data using the echo protocol in order to test the connection.</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user