1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 16:55:07 -05:00

removed optional but unnecessary transport-replace for explicit acceptance of newly-offered candidates

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3132 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2009-05-06 19:57:50 +00:00
parent c1182d595d
commit a0d91b14e0

View File

@ -675,81 +675,7 @@ INITIATOR NAT RESPONDER
to='romeo@montague.lit/orchard'
type='result'/>
]]></example>
<p>The parties SHOULD check the newly-offered candidate for connectivity, as described previously. If the parties determine that media can flow over the candidate, the initiating party MAY send a transport-replace message to the responder in order to use the new candidate.</p>
<example caption="Initiator sends transport-replace"><![CDATA[
<iq from='romeo@montague.lit/orchard'
id='zx81d0l4'
to='juliet@capulet.lit/balcony'
type='set'>
<jingle xmlns='urn:xmpp:jingle:1'
action='transport-replace'
initiator='romeo@montague.lit/orchard'
responder='juliet@capulet.lit/balcony'
sid='a73sjjvkla37jfea'>
<content creator='initiator' name='this-is-the-audio-content'>
<transport xmlns='urn:xmpp:jingle:transports:ice-udp:1'
pwd='asd88fgpdd777uzjYhagZg'
ufrag='8hhy'>
<candidate component='1'
foundation='1'
generation='0'
id='m3110wc4nd'
ip='2001:db8::9:1'
network='0'
port='9001'
priority='21149780477'
protocol='udp'
type='host'/>
</transport>
</content>
</jingle>
</iq>
]]></example>
<p>The responder then acknowledges the replaced transport definition.</p>
<example caption="Responder acknowledges transport-replace"><![CDATA[
<iq from='juliet@capulet.lit/balcony'
id='zx81d0l4'
to='romeo@montague.lit/orchard'
type='result'/>
]]></example>
<p>The responder then accepts the replaced transport definition.</p>
<example caption="Responder definitively accepts the replaced transport definition"><![CDATA[
<iq from='juliet@capulet.lit/balcony'
id='gk2gd617'
to='romeo@montague.lit/orchard'
type='set'>
<jingle xmlns='urn:xmpp:jingle:1'
action='transport-accept'
initiator='romeo@montague.lit/orchard'
responder='juliet@capulet.lit/balcony'
sid='a73sjjvkla37jfea'>
<content creator='initiator' name='this-is-the-audio-content'>
<transport xmlns='urn:xmpp:jingle:transports:ice-udp:1'
pwd='asd88fgpdd777uzjYhagZg'
ufrag='9uB6'>
<candidate component='1'
foundation='1'
generation='0'
id='m3110wc4nd'
ip='10.0.1.2'
network='0'
port='9001'
priority='21149780477'
protocol='udp'
type='host'/>
</transport>
</content>
</jingle>
</iq>
]]></example>
<p>The initiator then acknowledges transport acceptance.</p>
<example caption="Initiator acknowledges transport acceptance"><![CDATA[
<iq from='romeo@montague.lit/orchard'
id='gk2gd617'
to='juliet@capulet.lit/balcony'
type='result'/>
]]></example>
<p>The parties then use the new candidate in subsequent communications.</p>
<p>The parties SHOULD check the newly-offered candidate for connectivity, as described previously. If the parties determine that media can flow over the candidate, MAY then use the new candidate in subsequent communications.</p>
</section2>
</section1>