1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-22 07:38:52 -05:00

bandwidth attribute

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2572 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2008-12-16 23:01:12 +00:00
parent f77ad991fe
commit 78a85bb049

View File

@ -26,6 +26,16 @@
&seanegan;
&robmcqueen;
&diana;
<revision>
<version>0.25</version>
<date>2008-12-16</date>
<initials>psa</initials>
<remark>
<ul>
<li>Added optional bandwidth attribute.</li>
</ul>
</remark>
</revision>
<revision>
<version>0.24</version>
<date>2008-09-25</date>
@ -248,6 +258,7 @@
]]></code>
<p>The &DESCRIPTION; element is intended to be a child of a Jingle &CONTENT; element as specified in <cite>XEP-0166</cite>.</p>
<p>The &DESCRIPTION; element MUST possess a 'media' attribute that specifies the media type, such as "audio" or "video", where the media type SHOULD be as registered at &ianamedia;.</p>
<p>The &DESCRIPTION; element MAY possess a 'bandwidth' attribute that specifies the "session bandwidth" as described in Section 6.2 of <cite>RFC 3550</cite>, measured in kilobits per second as described in Section 5.2 of <cite>RFC 4566</cite>.</p>
<p>The encodings SHOULD be provided in order of preference by placing the most-preferred payload type as the first &PAYLOADTYPE; child of the &DESCRIPTION; element and the least-preferred payload type as the last child.</p>
<p>The allowable attributes of the &PAYLOADTYPE; element are as follows:</p>
<table caption='Payload-Type Attributes'>
@ -404,7 +415,8 @@ Initiator Responder
</section1>
<section1 topic='Mapping to Session Description Protocol' anchor='sdp'>
<p>The SDP media type for Jingle RTP is "audio" (see Section 8.2.1 of <cite>RFC 4566</cite>) for audio media, "video" (see Section 8.2.1 of <cite>RFC 4566</cite>) for video media, etc.</p>
<p>The SDP media type for Jingle RTP is "audio" (see Section 8.2.1 of <cite>RFC 4566</cite>) for audio media, "video" (see Section 8.2.1 of <cite>RFC 4566</cite>) for video media, etc. The media type is reflected in the Jingle 'media' attribute.</p>
<p>The Jingle 'bandwidth' attribute SHALL be mapped to an SDP b= line, where the SDP &lt;bwtype&gt; parameter MUST be "AS" and the SDP &lt;bandwidth&gt; parameter contains the value of the Jingle 'bandwidth' attribute.</p>
<p>If the payload type is static (payload-type IDs 0 through 95 inclusive), it MUST be mapped to a media field defined in <cite>RFC 4566</cite>. The generic format for the media field is as follows:</p>
<code><![CDATA[
m=<media> <port> <transport> <fmt list>