1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
|
<pre>Internet Engineering Task Force (IETF) C. Holmberg
Request for Comments: 8035 Ericsson
Updates: <a href="./rfc5761">5761</a> November 2016
Category: Standards Track
ISSN: 2070-1721
<span class="h1">Session Description Protocol (SDP) Offer/Answer Clarifications</span>
<span class="h1">for RTP/RTCP Multiplexing</span>
Abstract
This document updates <a href="./rfc5761">RFC 5761</a> by clarifying the SDP offer/answer
negotiation of RTP and RTP Control Protocol (RTCP) multiplexing. It
makes it clear that an answerer can only include an "a=rtcp-mux"
attribute in a Session Description Protocol (SDP) answer if the
associated SDP offer contained the attribute.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc7841#section-2">Section 2 of RFC 7841</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc8035">http://www.rfc-editor.org/info/rfc8035</a>.
<span class="grey">Holmberg Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc8035">RFC 8035</a> RTP/RTCP Mux Clarifications November 2016</span>
Copyright Notice
Copyright (c) 2016 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
This document may contain material from IETF Documents or IETF
Contributions published or made publicly available before November
10, 2008. The person(s) controlling the copyright in some of this
material may not have granted the IETF Trust the right to allow
modifications of such material outside the IETF Standards Process.
Without obtaining an adequate license from the person(s) controlling
the copyright in such materials, this document may not be modified
outside the IETF Standards Process, and derivative works of it may
not be created outside the IETF Standards Process, except to format
it for publication as an RFC or to translate it into languages other
than English.
<span class="grey">Holmberg Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc8035">RFC 8035</a> RTP/RTCP Mux Clarifications November 2016</span>
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-2">2</a>. Conventions . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3">3</a>. Update to <a href="./rfc5761">RFC 5761</a> . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3.1">3.1</a>. Update to <a href="#section-5.1.1">Section 5.1.1</a> . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-4">4</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-5">5</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-6">6</a>. Normative References . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
<a href="./rfc5761">RFC 5761</a> [<a href="./rfc5761" title=""Multiplexing RTP Data and Control Packets on a Single Port"">RFC5761</a>] specifies how to multiplex RTP data packets and
RTP Control Protocol (RTCP) packets on a single UDP port, and how to
negotiate usage of such multiplexing using the SDP offer/answer
mechanism [<a href="./rfc3264" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">RFC3264</a>] with an "a=rtcp-mux" attribute. However, the
text is unclear on whether an answerer is allowed to include the
attribute in an answer even if the associated offer did not contain
an attribute.
This document updates <a href="./rfc5761">RFC 5761</a> [<a href="./rfc5761" title=""Multiplexing RTP Data and Control Packets on a Single Port"">RFC5761</a>] by clarifying that an
answerer can only include an "a=rtcp-mux" attribute in an answer if
the associated offer contained the attribute. It also clarifies that
the negotiation of RTP and RTCP multiplexing is for usage in both
directions.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Conventions</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Update to <a href="./rfc5761">RFC 5761</a></span>
This section updates <a href="./rfc5761#section-5.1.1">Section 5.1.1 of RFC 5761</a> by clarifying that an
answerer can only include an "a=rtcp-mux" attribute in an answer if
the associated offer contained the attribute, and by clarifying that
the negotiation of RTP and RTCP multiplexing is for usage in both
directions.
<span class="grey">Holmberg Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc8035">RFC 8035</a> RTP/RTCP Mux Clarifications November 2016</span>
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Update to <a href="#section-5.1.1">Section 5.1.1</a></span>
In this section, any references to Sections <a href="#section-4">4</a> and <a href="#section-8">8</a> are to those
sections in [<a href="./rfc5761" title=""Multiplexing RTP Data and Control Packets on a Single Port"">RFC5761</a>].
OLD TEXT:
When the Session Description Protocol (SDP) [8] is used to negotiate
RTP sessions following the offer/answer model [9], the "a=rtcp-mux"
attribute (see <a href="#section-8">Section 8</a>) indicates the desire to multiplex RTP and
RTCP onto a single port. The initial SDP offer MUST include this
attribute at the media level to request multiplexing of RTP and RTCP
on a single port. For example:
v=0
o=csp 1153134164 1153134164 IN IP6 2001:DB8::211:24ff:fea3:7a2e
s=-
c=IN IP6 2001:DB8::211:24ff:fea3:7a2e
t=1153134164 1153137764
m=audio 49170 RTP/AVP 97
a=rtpmap:97 iLBC/8000
a=rtcp-mux
This offer denotes a unicast voice-over-IP session using the RTP/AVP
profile with iLBC coding. The answerer is requested to send both RTP
and RTCP to port 49170 on IPv6 address 2001:DB8::211:24ff:fea3:7a2e.
If the answerer wishes to multiplex RTP and RTCP onto a single port,
it MUST include a media-level "a=rtcp-mux" attribute in the answer.
The RTP payload types used in the answer MUST conform to the rules in
<a href="#section-4">Section 4</a>.
If the answer does not contain an "a=rtcp-mux" attribute, the offerer
MUST NOT multiplex RTP and RTCP packets on a single port. Instead,
it should send and receive RTCP on a port allocated according to the
usual port-selection rules (either the port pair, or a signalled port
if the "a=rtcp:" attribute [10] is also included). This will occur
when talking to a peer that does not understand the "a=rtcp-mux"
attribute.
When SDP is used in a declarative manner, the presence of an
"a=rtcp-mux" attribute signals that the sender will multiplex RTP and
RTCP on the same port. The receiver MUST be prepared to receive RTCP
packets on the RTP port, and any resource reservation needs to be
made including the RTCP bandwidth.
<span class="grey">Holmberg Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc8035">RFC 8035</a> RTP/RTCP Mux Clarifications November 2016</span>
NEW TEXT:
When the Session Description Protocol (SDP) [8] is used to negotiate
RTP sessions following the offer/answer model [9], the "a=rtcp-mux"
attribute (see <a href="#section-8">Section 8</a>) indicates the desire to multiplex RTP and
RTCP onto a single port, and the usage is always negotiated for both
directions.
If the offerer wishes to multiplex RTP and RTCP onto a single port,
the initial SDP offer MUST include the attribute at the media level
to request multiplexing of RTP and RTCP on a single port. For
example:
v=0
o=csp 1153134164 1153134164 IN IP6 2001:DB8::211:24ff:fea3:7a2e
s=-
c=IN IP6 2001:DB8::211:24ff:fea3:7a2e
t=1153134164 1153137764
m=audio 49170 RTP/AVP 97
a=rtpmap:97 iLBC/8000
a=rtcp-mux
This offer denotes a unicast voice-over-IP session using the RTP/AVP
profile with Internet Low Bit Rate Codec (iLBC) coding. The answerer
is requested to send both RTP and RTCP to port 49170 on IPv6 address
2001:DB8::211:24ff:fea3:7a2e.
If the offer contains the "a=rtcp-mux" attribute, and if the answerer
wishes to multiplex RTP and RTCP onto a single port, it MUST include
a media-level "a=rtcp-mux" attribute in the answer. The RTP payload
types used in the answer MUST conform to the rules in <a href="#section-4">Section 4</a>. If
the offer does not contain the "a=rtcp-mux" attribute, the answerer
MUST NOT include an "a=rtcp-mux" attribute in the answer, and the
answerer MUST NOT multiplex RTP and RTCP packets on a single port.
If the answer contains an "a=rtcp-mux" attribute, the offerer and
answerer MUST multiplex RTP and RTCP packets on a single port.
If the answer does not contain an "a=rtcp-mux" attribute, the offerer
and answerer MUST NOT multiplex RTP and RTCP packets on a single
port. Instead, they should send and receive RTCP on a port allocated
according to the usual port-selection rules (either the port pair, or
a signalled port if the "a=rtcp:" attribute [10] is also included).
This will occur when talking to a peer that does not understand the
"a=rtcp-mux" attribute.
<span class="grey">Holmberg Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc8035">RFC 8035</a> RTP/RTCP Mux Clarifications November 2016</span>
When SDP is used in a declarative manner, the presence of an "a=rtcp-
mux" attribute signals that the sender will multiplex RTP and RTCP on
the same port. The receiver MUST be prepared to receive RTCP packets
on the RTP port, and any resource reservation needs to be made
including the RTCP bandwidth.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Security Considerations</span>
The security considerations for RTP and RTCP multiplexing are
described in <a href="./rfc5761">RFC 5761</a>. This specification does not impact those
security considerations.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. IANA Considerations</span>
IANA has added a reference to this document for the att-field (media
level only) registration "rtcp-mux" in the "Session Description
Protocol (SDP) Parameters" registry.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC3264">RFC3264</a>] Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model
with Session Description Protocol (SDP)", <a href="./rfc3264">RFC 3264</a>,
DOI 10.17487/RFC3264, June 2002,
<<a href="http://www.rfc-editor.org/info/rfc3264">http://www.rfc-editor.org/info/rfc3264</a>>.
[<a id="ref-RFC5761">RFC5761</a>] Perkins, C. and M. Westerlund, "Multiplexing RTP Data and
Control Packets on a Single Port", <a href="./rfc5761">RFC 5761</a>,
DOI 10.17487/RFC5761, April 2010,
<<a href="http://www.rfc-editor.org/info/rfc5761">http://www.rfc-editor.org/info/rfc5761</a>>.
Acknowledgements
Thanks to Colin Perkins, Magnus Westerlund, Paul Kyzivat, and Roni
Even for providing comments on the document. Thomas Belling provided
useful input in the discussions that took place in 3GPP and resulted
in the submission of the document. Elwyn Davies performed the
Gen-ART review. Rick Casarez performed the Ops-Dir review. Alissa
Cooper and Spencer Dawkins provided IESG review comments.
<span class="grey">Holmberg Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc8035">RFC 8035</a> RTP/RTCP Mux Clarifications November 2016</span>
Author's Address
Christer Holmberg
Ericsson
Hirsalantie 11
Jorvas 02420
Finland
Email: christer.holmberg@ericsson.com
Holmberg Standards Track [Page 7]
</pre>
|