From 38c3589314cd1b5f36e78610b8ca1738d06b3b84 Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Wed, 17 Feb 2010 03:01:59 +0000 Subject: [PATCH] 0.3 git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3928 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0261.xml | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/xep-0261.xml b/xep-0261.xml index ee61d996..519abd9a 100644 --- a/xep-0261.xml +++ b/xep-0261.xml @@ -22,6 +22,12 @@ jingle-ibb jingle &stpeter; + + 0.3 + 2010-02-16 + psa +

Added negotiation flow for block size; corrected some slight errors.

+
0.2 2009-03-09 @@ -75,7 +81,7 @@ Initiator Responder |--------------------------->| | | ]]> -

This flow is illustrated in the following examples (to prevent confusion these use a "stub" transport instead of a real application type).

+

This flow is illustrated in the following examples (to prevent confusion these use a "stub" description instead of a real application type).

First the initiator sends a Jingle session-initiate request.

]]> -

Note: The Jingle IBB Transport Method defines one attribute in addition to those defined in XEP-0047: the 'stanza' attribute. This attribute specifies whether the initiator intends to send IBB data using &MESSAGE; or &IQ; stanzas, but is purely advisory. The default value is "iq", and it is RECOMMENDED to send IBB data using IQ stanzas instead of message stanzas because IQ stanzas provide feedback to the sender regarding delivery to the recipient (e.g., if the recipient is on a small pipe and cannot handle a large volume of IBB packets in quick succession).

The responder immediately acknowledges receipt (but does not yet accept the session).

]]> -

If the offer is acceptable, the responder returns a Jingle session-accept and the initiator acknowledges the session-accept.

+

If the offer is acceptable, the responder returns a Jingle session-accept. If the responder wishes to use a smaller block-size, the responder can specify that in the session-accept by returning a different value for the 'block-size' attribute.

]]> +

The initiator then acknowledges the session-accept.

]]> -

The initiator then immediately begins sending IBB packets using an IQ-set for each chunk as described in XEP-0047, and the responder acknowledges each IQ-set.

+

The foregoing Jingle negotiation replaces the <open/> element from XEP-0047. Therefore the initiator can now immediately begin sending IBB packets using an IQ-set for each chunk as described in XEP-0047, where the responder will acknowledge each IQ-set in accordance with &rfc3920;.

A Jingle implementation SHOULD support security preconditions that are enforced before application media is allowed to flow over the bytestream, such as those described in &xtls;.

+ +

See XEP-0047 for security considerations related to the user of Base64.

+
@@ -237,7 +246,7 @@ Initiator Responder

This specification defines the following XML namespace:

    -
  • urn:xmpp:jingle:transports:s5b:0
  • +
  • urn:xmpp:jingle:transports:ibb:0

Upon advancement of this specification from a status of Experimental to a status of Draft, the ®ISTRAR; shall add the foregoing namespace to the registry located at &NAMESPACES;, as described in Section 4 of &xep0053;.

@@ -249,7 +258,7 @@ Initiator Responder ibb - A method for exchanging data over In-Band Bytestreams. + A method for data exchange over In-Band Bytestreams. streaming XEP-0261 @@ -276,7 +285,7 @@ Initiator Responder - +