1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-28 04:02:20 -05:00
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1707 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2008-02-29 03:27:19 +00:00
parent 828ca33f2d
commit 0b31123530

View File

@ -25,6 +25,12 @@
&stpeter; &stpeter;
&seanegan; &seanegan;
&robmcqueen; &robmcqueen;
<revision>
<version>0.16</version>
<date>2008-02-28</date>
<initials>psa</initials>
<remark><p>Moved profile attribute from XEP-0166 to this specification.</p></remark>
</revision>
<revision> <revision>
<version>0.15</version> <version>0.15</version>
<date>2008-01-11</date> <date>2008-01-11</date>
@ -182,7 +188,7 @@
</description> </description>
]]></example> ]]></example>
<p>The &DESCRIPTION; element is intended to be a child of a &CONTENT; element as specified in <cite>XEP-0166</cite>.</p> <p>The &DESCRIPTION; element is intended to be a child of a &CONTENT; element as specified in <cite>XEP-0166</cite>.</p>
<p>The &CONTENT; element SHOULD possess a 'profile' attribute that specifies the exact protocol in use as would be encapsulated in SDP (e.g., "RTP/AVP" or "UDP/TLS/RTP/SAVP").</p> <p>The &DESCRIPTION; element SHOULD possess a 'profile' attribute that specifies the profile of RTP in use as would be encapsulated in SDP (e.g., "RTP/AVP" or "UDP/TLS/RTP/SAVP").</p>
<p>The encodings SHOULD be provided in order of preference by placing the most-preferred &PAYLOADTYPE; element as the first child of the &DESCRIPTION; element (etc.).</p> <p>The encodings SHOULD be provided in order of preference by placing the most-preferred &PAYLOADTYPE; element as the first child of the &DESCRIPTION; element (etc.).</p>
<p>The allowable attributes of the &PAYLOADTYPE; element are as follows:</p> <p>The allowable attributes of the &PAYLOADTYPE; element are as follows:</p>
<table caption='Payload-Type Attributes'> <table caption='Payload-Type Attributes'>
@ -248,8 +254,8 @@
action='session-initiate' action='session-initiate'
initiator='romeo@montague.net/orchard' initiator='romeo@montague.net/orchard'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content name='this-is-the-audio-content' profile='RTP/AVP'> <content name='this-is-the-audio-content'>
<description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp' profile='RTP/AVP'>
<payload-type id='96' name='speex' clockrate='16000'/> <payload-type id='96' name='speex' clockrate='16000'/>
<payload-type id='97' name='speex' clockrate='8000'/> <payload-type id='97' name='speex' clockrate='8000'/>
<payload-type id='18' name='G729'/> <payload-type id='18' name='G729'/>
@ -279,7 +285,7 @@
action='content-accept' action='content-accept'
initiator='romeo@montague.net/orchard' initiator='romeo@montague.net/orchard'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content name='this-is-the-audio-content' profile='RTP/AVP'> <content name='this-is-the-audio-content'>
<description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp'>
<payload-type id='97' name='speex' clockrate='8000'/> <payload-type id='97' name='speex' clockrate='8000'/>
<payload-type id='18' name='G729'/> <payload-type id='18' name='G729'/>
@ -312,8 +318,8 @@
initiator='romeo@montague.net/orchard' initiator='romeo@montague.net/orchard'
responder='juliet@capulet.com/balcony' responder='juliet@capulet.com/balcony'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content creator='initiator' name='this-is-the-audio-content' profile='RTP/AVP'> <content creator='initiator' name='this-is-the-audio-content'>
<description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp' profile='RTP/AVP'>
<payload-type id='97' name='speex' clockrate='8000'/> <payload-type id='97' name='speex' clockrate='8000'/>
<payload-type id='18' name='G729'/> <payload-type id='18' name='G729'/>
<payload-type id='0' name='PCMU' /> <payload-type id='0' name='PCMU' />
@ -516,7 +522,7 @@ Romeo Juliet
| ack | | ack |
|---------------------------->| |---------------------------->|
| terminate | | terminate |
| (reasoncode = busy) | | (reason = busy) |
|<----------------------------| |<----------------------------|
| ack | | ack |
|---------------------------->| |---------------------------->|
@ -532,8 +538,8 @@ Romeo Juliet
action='session-initiate' action='session-initiate'
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content creator='initiator' name='this-is-the-audio-content' profile='RTP/AVP'> <content creator='initiator' name='this-is-the-audio-content'>
<description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp' profile='RTP/AVP'>
<payload-type id='96' name='speex' clockrate='16000'/> <payload-type id='96' name='speex' clockrate='16000'/>
<payload-type id='97' name='speex' clockrate='8000'/> <payload-type id='97' name='speex' clockrate='8000'/>
<payload-type id='18' name='G729'/> <payload-type id='18' name='G729'/>
@ -578,9 +584,12 @@ Romeo Juliet
<jingle xmlns='urn:xmpp:tmp:jingle' <jingle xmlns='urn:xmpp:tmp:jingle'
action='session-terminate' action='session-terminate'
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
reasoncode='busy' sid='a73sjjvkla37jfea'>
reasontext='No time to chat right now!' <reason>
sid='a73sjjvkla37jfea'/> <condition><busy/></condition>
<text>No time to chat right now!</text>
</reason>
</jingle>
</iq> </iq>
]]></example> ]]></example>
<p>The other party then acknowledges termination of the session:</p> <p>The other party then acknowledges termination of the session:</p>
@ -636,8 +645,8 @@ Romeo Juliet
action='session-initiate' action='session-initiate'
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content creator='initiator' name='this-is-the-audio-content' profile='RTP/AVP'> <content creator='initiator' name='this-is-the-audio-content'>
<description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp' profile='RTP/AVP'>
<payload-type id='96' name='speex' clockrate='16000'/> <payload-type id='96' name='speex' clockrate='16000'/>
<payload-type id='97' name='speex' clockrate='8000'/> <payload-type id='97' name='speex' clockrate='8000'/>
<payload-type id='18' name='G729'/> <payload-type id='18' name='G729'/>
@ -684,8 +693,8 @@ Romeo Juliet
action='content-modify' action='content-modify'
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content creator='initiator' name='this-is-the-audio-content' profile='RTP/AVP'> <content creator='initiator' name='this-is-the-audio-content'>
<description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp' profile='RTP/AVP'>
[ ... ] [ ... ]
</description> </description>
<transport xmlns='urn:xmpp:tmp:jingle:transports:ice-tcp'> <transport xmlns='urn:xmpp:tmp:jingle:transports:ice-tcp'>
@ -726,8 +735,8 @@ Romeo Juliet
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
responder='juliet@capulet.lit/balcony' responder='juliet@capulet.lit/balcony'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content creator='initiator' name='this-is-the-audio-content' profile='RTP/AVP'> <content creator='initiator' name='this-is-the-audio-content'>
<description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp' profile='RTP/AVP'>
<payload-type id='97' name='speex' clockrate='8000'/> <payload-type id='97' name='speex' clockrate='8000'/>
<payload-type id='18' name='G729'/> <payload-type id='18' name='G729'/>
<payload-type id='0' name='PCMU' /> <payload-type id='0' name='PCMU' />
@ -775,9 +784,12 @@ Romeo Juliet
<jingle xmlns='urn:xmpp:tmp:jingle' <jingle xmlns='urn:xmpp:tmp:jingle'
action='session-terminate' action='session-terminate'
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
reasoncode='no-error' sid='a73sjjvkla37jfea'>
reasontext='Sorry, gotta go!' <reason>
sid='a73sjjvkla37jfea'/> <condition><no-error/></condition>
<text>Sorry, gotta go!</text>
</reason>
</jingle>
</iq> </iq>
]]></example> ]]></example>
<p>The other party then acknowledges termination of the session:</p> <p>The other party then acknowledges termination of the session:</p>
@ -855,8 +867,8 @@ Romeo Juliet
action='session-initiate' action='session-initiate'
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content creator='initiator' name='this-is-the-audio-content' profile='RTP/AVP'> <content creator='initiator' name='this-is-the-audio-content'>
<description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp' profile='RTP/AVP'>
<payload-type id='96' name='speex' clockrate='16000'/> <payload-type id='96' name='speex' clockrate='16000'/>
<payload-type id='97' name='speex' clockrate='8000'/> <payload-type id='97' name='speex' clockrate='8000'/>
<payload-type id='18' name='G729'/> <payload-type id='18' name='G729'/>
@ -865,8 +877,8 @@ Romeo Juliet
</description> </description>
<transport xmlns='urn:xmpp:tmp:jingle:transports:ice-tcp'/> <transport xmlns='urn:xmpp:tmp:jingle:transports:ice-tcp'/>
</content> </content>
<content creator='initiator' name='this-is-the-video-content' profile='RTP/AVP'> <content creator='initiator' name='this-is-the-video-content'>
<description xmlns='urn:xmpp:tmp:jingle:apps:video-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:video-rtp' profile='RTP/AVP'>
<payload-type id='96' name='theora' clockrate='90000' height='720' width='1280'> <payload-type id='96' name='theora' clockrate='90000' height='720' width='1280'>
<parameter name='delivery-method' value='inline'/> <parameter name='delivery-method' value='inline'/>
<parameter name='configuration' value='somebase16string'/> <parameter name='configuration' value='somebase16string'/>
@ -916,7 +928,7 @@ Romeo Juliet
action='content-remove' action='content-remove'
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content creator='initiator' name='this-is-the-video-content' profile='RTP/AVP'/> <content creator='initiator' name='this-is-the-video-content'>
</jingle> </jingle>
</iq> </iq>
]]></example> ]]></example>
@ -937,8 +949,8 @@ Romeo Juliet
action='content-modify' action='content-modify'
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content creator='initiator' name='this-is-the-audio-content' profile='RTP/AVP'> <content creator='initiator' name='this-is-the-audio-content'>
<description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp' profile='RTP/AVP'>
[ ... ] [ ... ]
</description> </description>
<transport xmlns='urn:xmpp:tmp:jingle:transports:ice-tcp'> <transport xmlns='urn:xmpp:tmp:jingle:transports:ice-tcp'>
@ -979,8 +991,8 @@ Romeo Juliet
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
responder='juliet@capulet.lit/balcony' responder='juliet@capulet.lit/balcony'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content creator='initiator' name='this-is-the-audio-content' profile='RTP/AVP'> <content creator='initiator' name='this-is-the-audio-content'>
<description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp' profile='RTP/AVP'>
<payload-type id='97' name='speex' clockrate='8000'/> <payload-type id='97' name='speex' clockrate='8000'/>
<payload-type id='18' name='G729'/> <payload-type id='18' name='G729'/>
<payload-type id='0' name='PCMU' /> <payload-type id='0' name='PCMU' />
@ -1069,8 +1081,8 @@ Romeo Juliet
action='content-add' action='content-add'
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content creator='responder' name='video-is-back' profile='RTP/AVP'> <content creator='responder' name='video-is-back'>
<description xmlns='urn:xmpp:tmp:jingle:apps:video-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:video-rtp' profile='RTP/AVP'>
<payload-type id='96' name='theora' height='720' width='1280'> <payload-type id='96' name='theora' height='720' width='1280'>
<parameter name='delivery-method' value='inline'/> <parameter name='delivery-method' value='inline'/>
<parameter name='configuration' value='somebase16string'/> <parameter name='configuration' value='somebase16string'/>
@ -1100,8 +1112,8 @@ Romeo Juliet
action='content-accept' action='content-accept'
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content creator='responder' name='video-is-back' profile='RTP/AVP'> <content creator='responder' name='video-is-back'>
<description xmlns='urn:xmpp:tmp:jingle:apps:video-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:video-rtp' profile='RTP/AVP'>
<payload-type id='96' name='theora' height='720' width='1280'> <payload-type id='96' name='theora' height='720' width='1280'>
<parameter name='delivery-method' value='inline'/> <parameter name='delivery-method' value='inline'/>
<parameter name='configuration' value='somebase16string'/> <parameter name='configuration' value='somebase16string'/>
@ -1133,9 +1145,12 @@ Romeo Juliet
<jingle xmlns='urn:xmpp:tmp:jingle' <jingle xmlns='urn:xmpp:tmp:jingle'
action='session-terminate' action='session-terminate'
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
reasoncode='no-error' sid='a73sjjvkla37jfea'>
reasontext='I&apos;m outta here!' <reason>
sid='a73sjjvkla37jfea'/> <condition><busy/></condition>
<text>I&apos;m outta here!</text>
</reason>
</jingle>
</iq> </iq>
]]></example> ]]></example>
<example caption="Responder acknowledges session-terminate"><![CDATA[ <example caption="Responder acknowledges session-terminate"><![CDATA[
@ -1198,8 +1213,8 @@ Romeo Juliet
action='session-initiate' action='session-initiate'
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content creator='initiator' name='this-is-the-audio-content' profile='RTP/AVP'> <content creator='initiator' name='this-is-the-audio-content'>
<description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp' profile='RTP/AVP'>
<payload-type id='96' name='speex' clockrate='16000'/> <payload-type id='96' name='speex' clockrate='16000'/>
<payload-type id='97' name='speex' clockrate='8000'/> <payload-type id='97' name='speex' clockrate='8000'/>
<payload-type id='18' name='G729'/> <payload-type id='18' name='G729'/>
@ -1289,8 +1304,8 @@ Romeo Juliet
action='content-modify' action='content-modify'
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content creator='initiator' name='this-is-the-audio-content' profile='RTP/AVP'> <content creator='initiator' name='this-is-the-audio-content'>
<description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp' profile='RTP/AVP'>
[ ... ] [ ... ]
</description> </description>
<transport xmlns='urn:xmpp:tmp:jingle:transports:ice-tcp'> <transport xmlns='urn:xmpp:tmp:jingle:transports:ice-tcp'>
@ -1331,8 +1346,8 @@ Romeo Juliet
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
responder='juliet@capulet.lit/balcony' responder='juliet@capulet.lit/balcony'
sid='a73sjjvkla37jfea'> sid='a73sjjvkla37jfea'>
<content creator='initiator' name='this-is-the-audio-content' profile='UDP/TLS/RTP/SAVP'> <content creator='initiator' name='this-is-the-audio-content'>
<description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp'> <description xmlns='urn:xmpp:tmp:jingle:apps:audio-rtp' profile='UDP/TLS/RTP/SAVP'>
<payload-type id='97' name='speex' clockrate='8000'/> <payload-type id='97' name='speex' clockrate='8000'/>
<payload-type id='18' name='G729'/> <payload-type id='18' name='G729'/>
<payload-type id='0' name='PCMU' /> <payload-type id='0' name='PCMU' />
@ -1380,9 +1395,12 @@ Romeo Juliet
<jingle xmlns='urn:xmpp:tmp:jingle' <jingle xmlns='urn:xmpp:tmp:jingle'
action='session-terminate' action='session-terminate'
initiator='romeo@montague.lit/orchard' initiator='romeo@montague.lit/orchard'
reasoncode='no-error' sid='a73sjjvkla37jfea'>
reasontext='Sorry, gotta go!' <reason>
sid='a73sjjvkla37jfea'/> <condition><no-error/></condition>
<text>Sorry, gotta go!</text>
</reason>
</jingle>
</iq> </iq>
]]></example> ]]></example>
<p>The other party then acknowledges termination of the session:</p> <p>The other party then acknowledges termination of the session:</p>
@ -1460,6 +1478,7 @@ Romeo Juliet
<xs:sequence minOccurs='0' maxOccurs='unbounded'/> <xs:sequence minOccurs='0' maxOccurs='unbounded'/>
<xs:element ref='payload-type'/> <xs:element ref='payload-type'/>
</xs:sequence> </xs:sequence>
<xs:attribute name='profile' use='optional' type='xs:string'/>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>