<p>This documents specifies how to negotiate the use of the RTP
Header Extensions as defined by &rfc5285; with Jingle RTP
Header Extensions as defined by &rfc5285;and &rfc8285;with Jingle RTP
sessions.</p>
</section1>
@ -69,48 +70,52 @@
@@ -69,48 +70,52 @@
<p>The Jingle extension defined herein is designed to meet the following requirements:</p>
<ol>
<li>Enable negotiations of the RTP Header extensions as defined in
<cite>RFC 5285</cite>.</li>
<cite>RFC 5285</cite> and <cite>RFC 8285</cite>.</li>
<li>Map these parameters to Session Description Protocol (SDP; see
&rfc4566;) to enable interoperability.</li>
</ol>
</section1>
<section1topic='New element'anchor='element'>
<section1topic='New elements'anchor='element'>
<p>This specification defines a new element, <rtp-hdrext/>,
that can be inserted in the <description/> element of a
XEP-0167 RTP session.</p>
<p>The attributes of the <rtp-hdrext/> element are:</p>
<tablecaption='rtp-hdrext attributes'>
<tr>
<th>Attribute</th>
<th>Description</th>
<th>Inclusion</th>
<th>Possible values</th>
</tr>
<tr>
<td>id</td>
<td>The ID of the extensions</td>
<td>REQUIRED</td>
<td>1-256, 4096-4351</td>
</tr>
<tr>
<td>uri</td>
<td>The URI that defines the extension</td>
<td>REQUIRED</td>
<td>Any valid URI</td>
</tr>
<tr>
<td>senders</td>
<td>Which party is allowed to send the negotiated RTP Header Extensions</td>
<td>OPTIONAL (defaults to "both")</td>
<td>"initiator", "responder", and "both"</td>
</tr>
</table>
<p>Any type of RTP Header Extension that requires extra
parameters in the a=b form can embed <parameter/> elements to
describe it. Any other form of parameter can be stored as the 'key' attribute in a parameter element with an empty value.</p>
<p>The attributes of the <rtp-hdrext/> element are:</p>
<tablecaption='rtp-hdrext attributes'>
<tr>
<th>Attribute</th>
<th>Description</th>
<th>Inclusion</th>
<th>Possible values</th>
</tr>
<tr>
<td>id</td>
<td>The ID of the extensions</td>
<td>REQUIRED</td>
<td>1-256, 4096-4351</td>
</tr>
<tr>
<td>uri</td>
<td>The URI that defines the extension</td>
<td>REQUIRED</td>
<td>Any valid URI</td>
</tr>
<tr>
<td>senders</td>
<td>Which party is allowed to send the negotiated RTP Header Extensions</td>
<td>OPTIONAL (defaults to "both")</td>
<td>"initiator", "responder", and "both"</td>
</tr>
</table>
<p>Any type of RTP Header Extension that requires extra
parameters in the a=b form can embed <parameter/> elements to
describe it. Any other form of parameter can be stored as the 'key' attribute in a parameter element with an empty value.</p>
<p>This specification defines a new element, <extmap-allow-mixed/>,
that can be inserted in the <description/> element of a
XEP-0167 RTP session. The element has no attributes.</p>
</section1>
@ -132,6 +137,9 @@ describe it. Any other form of parameter can be stored as the 'key' attribute in
@@ -132,6 +137,9 @@ describe it. Any other form of parameter can be stored as the 'key' attribute in
field from "both" to "initator" or "responder", but MUST NOT modify it
if it is "initator" or "responder".</p>
<p>The usage of the <extmap-allow-mixed/> is governed by the
SDP Offer/Answer mechanism as well.</p>
<p>Example negotiation where the initiator offers to use the
timestamp offset header extension as defined in &rfc5450; and also
the requests synchronisation metadata header extension (&rfc6051;)
@ -150,11 +158,13 @@ describe it. Any other form of parameter can be stored as the 'key' attribute in
@@ -150,11 +158,13 @@ describe it. Any other form of parameter can be stored as the 'key' attribute in
@ -186,6 +196,10 @@ describe it. Any other form of parameter can be stored as the 'key' attribute in
@@ -186,6 +196,10 @@ describe it. Any other form of parameter can be stored as the 'key' attribute in
direction to the 'senders' attribute and the URI to the 'uri'
attribute.</p>
<p>The <extmap-allow-mixed/> element maps to the "a=extmap-allow-mixed" SDP line
defined in <cite>RFC 8285</cite>. Note that a session-level line might need to be mapped
to all <description/> elements.</p>
<p>Example conversion of a incomplete sample fragment of a SDP taken from <cite>RFC 5285</cite> section 6 into equivalent XMPP:</p>