From 57d7384134ddac1f2b5c9c3de5b8a4c8076a4453 Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Mon, 20 Oct 2008 19:49:00 +0000 Subject: [PATCH] 0.12: added component attribute and allowed multiple candidate elements git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2412 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0177.xml | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/xep-0177.xml b/xep-0177.xml index b9a8ccf2..95ebbdac 100644 --- a/xep-0177.xml +++ b/xep-0177.xml @@ -26,6 +26,12 @@ &scottlu; &hildjj; &seanegan; + + 0.12 + 2008-10-20 + psa +

For consistency with the ICE-UDP transport method, added component attribute to handle RTCP candidates and allowed multiple child elements.

+
0.11 2008-09-30 @@ -118,7 +124,7 @@
  • The transport negotiation process is defined in the Protocol Description section of this document.

  • The semantics of the &TRANSPORT; element are defined in the Transport Initiation section of this document.

  • Successful negotiation of the Raw UDP method results in use of a datagram transport that is suitable for applications where some packet loss is tolerable, such as audio and video.

  • -
  • If multiple components are to be communicated over the transport, the first component shall be associated with the port in the transport initiation stanza and the second component (e.g., for RTCP) shall be associated with a UDP port that is one number higher than the specified port (e.g., if the specified port is 13540 then the port for the second component shall be 13541).

  • +
  • If multiple components are to be communicated over the transport in the context of the Real-time Transport Protocol (RTP; see &rfc3550;), the component numbered "1" shall be associated with RTP and the component numbered "2" shall be associated with the Real Time Control Protocol (RTCP).

  • @@ -127,7 +133,7 @@ | | ack | |<-----------------------------------| @@ -152,7 +158,7 @@ INITIATOR RESPONDER ]]> -

    In order for the initiator in a Jingle exchange to start the negotiation, it MUST send a Jingle "session-initiate" stanza as described in XEP-0166. This stanza MUST include at least one content type. If the initiator wishes to negotiate the Raw UDP transport for a given content type, it MUST include a &TRANSPORT; child element qualified by the 'urn:xmpp:jingle:transports:raw-udp:0' namespace &VNOTE;, which MUST This is required to avoid a round trip and help expedite the negotiation. include the initiator's Raw UDP candidate via the 'ip', 'port', 'generation', and 'id' attributes of the &CANDIDATE; element.

    +

    In order for the initiator in a Jingle exchange to start the negotiation, it MUST send a Jingle "session-initiate" stanza as described in XEP-0166. This stanza MUST include at least one content type. If the initiator wishes to negotiate the Raw UDP transport for a given content type, it MUST include a &TRANSPORT; child element qualified by the 'urn:xmpp:jingle:transports:raw-udp:0' namespace &VNOTE;, which MUST This is required to avoid a round trip and help expedite the negotiation. include the initiator's Raw UDP candidate via the 'ip', 'port', 'generation', and 'id' attributes of the &CANDIDATE; element. The &TRANSPORT; element MAY include more than one &CANDIDATE; element (typically one for RTP and another for RTCP).

    -

    As noted, the responder SHOULD send its own Raw UDP candidate to the initiator by sending a transport-info message to the initiator, as shown in the following example.

    +

    As noted, the responder SHOULD send its own Raw UDP candidate to the initiator by sending a transport-info message to the initiator, as shown in the following example (notice that this example includes two &CANDIDATE; elements, one for RTP and the other for RTCP).

    - + @@ -389,7 +401,7 @@ INITIATOR RESPONDER + maxOccurs='unbounded'/> @@ -441,6 +453,6 @@ INITIATOR RESPONDER
    -

    Thanks to Steffen Larsen, Robert McQueen, and Mike Ruprecht for their feedback.

    +

    Thanks to Olivier Crête, Steffen Larsen, Robert McQueen, and Mike Ruprecht for their feedback.