Moved pwd and ufrag attributes from candidate element to transport element since they describe session-level or media-level information.
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. A content type MUST include one transport method. If the initiator wishes to negotiate the ice-udp transport method for an application format, it MUST include an empty &TRANSPORT; child element qualified by the 'urn:xmpp:tmp:jingle:transports:ice-tcp' namespace &NSNOTE;.
+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. A content type MUST include one transport method. If the initiator wishes to negotiate the ice-udp transport method for an application format, it MUST include an empty &TRANSPORT; child element qualified by the 'urn:xmpp:tmp:jingle:transports:ice-udp' namespace &NSNOTE;.
The 'pwd' and 'ufrag' attributes MUST be included in the session-initate request, in subsequent content-add and content-replace actions, and when offering candidates via the transport-info action. The attributes SHOULD NOT be included in a session-accept action. The values are separately generated for both the initiator and the receiver, in accordance with &icecore; and as shown in the examples. The attributes are defined as follows.
+Name | +Description | +SDP Syntax | +Example | +
---|---|---|---|
pwd | +A Password as defined in &icecore;. | +a=ice-pwd line | +asd88fgpdd777uzjYhagZg | +
ufrag | +A User Fragment as defined in &icecore;. | +a=ice-ufrag line | +8hhy | +
As described in XEP-0166, to acknowledge receipt of the session initiation request, the responder returns an IQ-result:
@@ -247,9 +276,7 @@ INITIATOR RESPONDER port='8998' priority='2130706431' protocol='udp' - pwd='asd88fgpdd777uzjYhagZg' - type='host' - ufrag='8hhy'/> + type='host'/> ]]>The attributes of the <candidate/> element are described in the following table:
Transport protocol field in a=candidate line | udp | -||
pwd | -A Password as defined in &icecore;. | -a=ice-pwd line | -asd88fgpdd777uzjYhagZg | -
rel-addr | A related address as defined in &icecore;. | @@ -345,12 +366,6 @@ INITIATOR RESPONDERTyp field in a=candidate line | srflx |
ufrag | -A User Fragment as defined in &icecore;. | -a=ice-ufrag line | -8hhy | -
If an entity supports the Jingle ice-udp transport, it MUST return a feature of "urn:xmpp:tmp:jingle:transports:ice-tcp" &NSNOTE; in response to &xep0030; information requests.
+If an entity supports the Jingle ice-udp transport, it MUST return a feature of "urn:xmpp:tmp:jingle:transports:ice-udp" &NSNOTE; in response to &xep0030; information requests.
Until this specification advances to a status of Draft, its associated namespaces shall be:
Upon advancement of this specification, the ®ISTRAR; shall issue permanent namespaces in accordance with the process defined in Section 4 of &xep0053;.
The following namespaces are requested, and are thought to be unique per the XMPP Registrar's requirements:
@@ -907,17 +920,17 @@ INITIATOR NAT RESPONDERThanks to Steffen Larsen for his helpful feedback.
+Thanks to Steffen Larsen and Paul Witty for their comments.