From 9bad83b40f91c27129f14f884f71315e26ed2751 Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Tue, 31 Oct 2006 20:48:10 +0000 Subject: [PATCH] 0.3 final git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@144 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0177.xml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/xep-0177.xml b/xep-0177.xml index 80db6563..7c30d239 100644 --- a/xep-0177.xml +++ b/xep-0177.xml @@ -66,8 +66,10 @@ action='session-initiate' initiator='romeo@montague.net/orchard' sid='a73sjjvkla37jfea'> - - + + + + ]]> @@ -79,7 +81,7 @@ ]]> -

Once the session is provisionally accepted, each entity SHOULD send one &TRANSPORT; element in a transport-info meessage, containing exactly one &CANDIDATE; element per channel, whose 'ip' and 'port' attributes specify the IP address and port number of the candidate that the initiator has reason to believe will be most likely to succeed for that channel. This is not necessarily the initiator's preferred address for communication, but instead is the "address most likely to succeed", i.e., the address that is assumed to be reachable by the vast majority of target entities. To determine reachability, the client needs classify ahead of time the permissiveness of the NAT or firewall it is behind, if any. If the NAT is symmetric (not permissive), the candidate SHOULD specify a relay address. Otherwise it SHOULD be an address derived via prior discovery using &rfc3489;, which will be an address on the outside of the firewall or NAT.

+

Once the session is provisionally accepted, each entity SHOULD send one &TRANSPORT; element in a transport-info meessage, containing exactly one &CANDIDATE; element per content type, whose 'ip' and 'port' attributes specify the IP address and port number of the candidate that the initiator has reason to believe will be most likely to succeed for that content type. This is not necessarily the initiator's preferred address for communication, but instead is the "address most likely to succeed", i.e., the address that is assumed to be reachable by the vast majority of target entities. To determine reachability, the client needs classify ahead of time the permissiveness of the NAT or firewall it is behind, if any. If the NAT is symmetric (not permissive), the candidate SHOULD specify a relay address. Otherwise it SHOULD be an address derived via prior discovery using &rfc3489;, which will be an address on the outside of the firewall or NAT.

Note: The Raw UDP candidate is equivalent to the "in-use" candidate as described in &ice;. (In older versions of XEP-0166, this was referrred to as the "default candidate".)

@@ -87,13 +89,15 @@ action='transport-info' initiator='romeo@montague.net/orchard' sid='a73sjjvkla37jfea'> - - - + + + + + ]]> -

The 'generation', 'ip', 'name', and 'port' attributes are REQUIRED. The 'name' attribute specifies the name of the channel and the 'generation' attribute provides a tracking mechanism for determining which version of this candidate is in force (this is useful if the candidate is redefined mid-stream, for example if the port is changed).

+

The 'generation', 'ip', 'name', and 'port' attributes are REQUIRED. The 'name' attribute specifies the name of the content type and the 'generation' attribute provides a tracking mechanism for determining which version of this candidate is in force (this is useful if the candidate is redefined mid-stream, for example if the port is changed).

Either entity may send this "transport-info" action at any time, after which the recipient should attempt to send media data to the specified address (either entity MAY also send the Informational Messages described below). If media data can be delivered for the candidate, the recipient MUST send a Jingle "transport-accept" action to the initiator (either explicitly, or implicitly via a "content-accept" or "session-accept" action.

@@ -101,9 +105,11 @@ action='transport-accept' initiator='romeo@montague.net/orchard' sid='a73sjjvkla37jfea'> - - - + + + + +