3524
PROPOSED STANDARD

Mapping of Media Streams to Resource Reservation Flows

Authors: G. Camarillo, A. Monrad
Date: April 2003
Area: rai
Working Group: mmusic
Stream: IETF

Abstract

This document defines an extension to the Session Description Protocol (SDP) grouping framework. It allows requesting a group of media streams to be mapped into a single resource reservation flow. The SDP syntax needed is defined, as well as a new "semantics" attribute called Single Reservation Flow (SRF). [STANDARDS-TRACK]

RFC 3524: Mapping of Media Streams to Resource Reservation Flows [RFC Home] [TEXT|PDF|HTML] [Tracker] [IPR] [Info page]

PROPOSED STANDARD
Network Working Group                                       G. Camarillo
Request for Comments: 3524                                     A. Monrad
Category: Standards Track                                       Ericsson
                                                              April 2003


         <span class="h1">Mapping of Media Streams to Resource Reservation Flows</span>

Status of this Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (2003).  All Rights Reserved.

Abstract

   This document defines an extension to the Session Description
   Protocol (SDP) grouping framework.  It allows requesting a group of
   media streams to be mapped into a single resource reservation flow.
   The SDP syntax needed is defined, as well as a new "semantics"
   attribute called Single Reservation Flow (SRF).

Table of Contents

   <a href="#section-1">1</a>.  Introduction ........................................    <a href="#page-2">2</a>
       <a href="#section-1.1">1.1</a>  Terminology ....................................    <a href="#page-2">2</a>
   <a href="#section-2">2</a>.  SRF Semantics .......................................    <a href="#page-2">2</a>
   <a href="#section-3">3</a>.  Applicability Statement .............................    <a href="#page-3">3</a>
   <a href="#section-4">4</a>.  Examples ............................................    <a href="#page-3">3</a>
   <a href="#section-5">5</a>.  IANA Considerations .................................    <a href="#page-4">4</a>
   <a href="#section-6">6</a>.  Security Considerations .............................    <a href="#page-4">4</a>
   <a href="#section-7">7</a>.  Acknowledgements ....................................    <a href="#page-4">4</a>
   <a href="#section-8">8</a>.  Normative References ................................    <a href="#page-5">5</a>
   <a href="#section-9">9</a>.  Informative References ..............................    <a href="#page-5">5</a>
   <a href="#section-10">10</a>. Authors' Addresses ..................................    <a href="#page-5">5</a>
   <a href="#section-11">11</a>. Full Copyright Statement ............................    <a href="#page-6">6</a>









<span class="grey">Camarillo & Monrad          Standards Track                     [Page 1]</span>

<span id="page-2" ></span>
<span class="grey"><a href="./rfc3524">RFC 3524</a>  Mapping Media Streams to Resource Reservation Flows April 2003</span>


<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>.  Introduction</span>

   Resource reservation protocols assign network resources to particular
   flows of IP packets.  When a router receives an IP packet, it applies
   a filter in order to map the packet to the flow it belongs.  The
   router provides the IP packet with the Quality of Service (QoS)
   corresponding to its flow.  Routers typically use the source and the
   destination IP addresses and port numbers to filter packets.

   Multimedia sessions typically contain multiple media streams (e.g. an
   audio stream and a video stream).  In order to provide QoS for a
   multimedia session it is necessary to map all the media streams to
   resource reservation flows.  This mapping can be performed in
   different ways.  Two possible ways are to map all the media streams
   to a single resource reservation flow or to map every single media
   stream to a different resource reservation flow.  Some applications
   require that the former type of mapping is performed while other
   applications require the latter.  It is even possible that a mixture
   of both mappings is required for a particular media session.  For
   instance, a multimedia session with three media streams might require
   that two of them are mapped into a single reservation flow while the
   third media stream uses a second reservation flow.

   This document defines the SDP [<a href="#ref-1" title=""SDP: Session Description Protocol"">1</a>] syntax needed to express how media
   streams need to be mapped into reservation flows.  For this purpose,
   we use the SDP grouping framework [<a href="#ref-2" title=""Grouping of Media Lines in the Session Description Protocol (SDP)"">2</a>] and define a new "semantics"
   attribute called Single Reservation Flow (SRF).

<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a> Terminology</span>

   In this document, the key words "MUST", "MUST NOT", "REQUIRED",
   "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY",
   and "OPTIONAL" are to be interpreted as described in <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>
   [<a href="#ref-3" title=""Key words for use in RFCs to indicate requirement levels"">3</a>] and indicate requirement levels for compliant SIP
   implementations.

<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>.  SRF Semantics</span>

   We define a new "semantics" attribute within the SDP grouping
   framework [<a href="#ref-2" title=""Grouping of Media Lines in the Session Description Protocol (SDP)"">2</a>]: Single Reservation Flow (SRF).

   Media lines grouped using SRF semantics SHOULD be mapped into the
   same resource reservation flow.  Media lines that do not belong to a
   particular SRF group SHOULD NOT be mapped into the reservation flow
   used for that SRF group.






<span class="grey">Camarillo & Monrad          Standards Track                     [Page 2]</span>

<span id="page-3" ></span>
<span class="grey"><a href="./rfc3524">RFC 3524</a>  Mapping Media Streams to Resource Reservation Flows April 2003</span>


   Note that an SRF group MAY consist of a single media line.  In that
   case, following the definition above, that media line will be mapped
   into one reservation flow.  That reservation flow will carry traffic
   from that media line, and from no other media lines.

<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Applicability Statement</span>

   The way resource reservation works in some scenarios makes it
   unnecessary to use the mechanism described in this document.  Some
   resource reservation protocols allow the entity generating the SDP
   session description to allocate resources in both directions (i.e.,
   sendrecv) for the session.  In this case, the generator of the
   session description can chose any particular mapping of media flows
   and reservation flows.

   The mechanism described in this document is useful when the remote
   party needs to be involved in the resource reservation.

<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>.  Examples</span>

   For this example, we have chosen to use SIP [<a href="#ref-4" title=""SIP: Session Initiation Protocol"">4</a>] to transport SDP
   sessions and RSVP [<a href="#ref-5" title=""Resource ReSerVation protocol (RSVP) -- Version 1 Functional Specification"">5</a>] to establish reservation flows.  However, other
   protocols or mechanisms could be used instead without affecting the
   SDP syntax.

   A user agent receives a SIP INVITE with the SDP below:

      v=0
      o=Laura 289083124 289083124 IN IP4 one.example.com
      t=0 0
      c=IN IP4 192.0.0.1
      a=group:SRF 1 2
      m=audio 30000 RTP/AVP 0
      a=mid:1
      m=video 30002 RTP/AVP 31
      a=mid:2

   This user agent uses RSVP to perform resource reservation.  Since
   both media streams are part of an SRF group, the user agent will
   establish a single RSVP session.  An RSVP session is defined by the
   triple:  (DestAddress, ProtocolId[, DstPort]).  Table 1 shows the
   parameters used to establish the RSVP session.

   If the same user agent received an SDP session description with the
   same media streams but without the group line, it would be free to
   map the two media streams into two different RSVP sessions.





<span class="grey">Camarillo & Monrad          Standards Track                     [Page 3]</span>

<span id="page-4" ></span>
<span class="grey"><a href="./rfc3524">RFC 3524</a>  Mapping Media Streams to Resource Reservation Flows April 2003</span>


      Session Number  DestAddress  ProtocolId  DstPort
      ________________________________________________
            1          192.0.0.1      UDP        any

      Table 1: Parameters needed to establish the RSVP session

<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>.  IANA Considerations</span>

   IANA has registered the following new "semantics" attribute for the
   SDP grouping framework [<a href="#ref-2" title=""Grouping of Media Lines in the Session Description Protocol (SDP)"">2</a>].  It has been registered in the SDP
   parameters registry (<a href="http://www.iana.org/assignments/sdp-parameters">http://www.iana.org/assignments/sdp-parameters</a>)
   under Semantics for the "group" SDP Attribute:

   Semantics                  Token      Reference
   -------------------        -----      ---------
   Single Reservation flow     SRF       [<a href="./rfc3524">RFC3524</a>]

<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>.  Security Considerations</span>

   An attacker adding group lines using the SRF semantics to an SDP
   session description could force a user agent to establish a larger or
   a smaller number of resource reservation flows than needed.  This
   could consume extra resources in the end-point or degrade the quality
   of service for a particular session.  It is thus STRONGLY RECOMMENDED
   that integrity protection be applied to the SDP session descriptions.
   For session descriptions carried in SIP, S/MIME is the natural choice
   to provide such end-to-end integrity protection, as described in <a href="./rfc3261">RFC</a>
   <a href="./rfc3261">3261</a> [<a href="#ref-4" title=""SIP: Session Initiation Protocol"">4</a>]. Other applications MAY use a different form of integrity
   protection.

<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>.  Acknowledgements</span>

   Jonathan Rosenberg provided useful comments about the applicability
   of the mechanism described in this document.

















<span class="grey">Camarillo & Monrad          Standards Track                     [Page 4]</span>

<span id="page-5" ></span>
<span class="grey"><a href="./rfc3524">RFC 3524</a>  Mapping Media Streams to Resource Reservation Flows April 2003</span>


<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>.  Normative References</span>

   [<a id="ref-1">1</a>]  Handley, M. and V. Jacobson, "SDP: Session Description
        Protocol", <a href="./rfc2327">RFC 2327</a>, April 1998.

   [<a id="ref-2">2</a>]  Camarillo, G., Eriksson, G., Holler, J. and H. Schulzrinne,
        "Grouping of Media Lines in the Session Description Protocol
        (SDP)", December 2002.

   [<a id="ref-3">3</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>, March 1997.

<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>.  Informative References</span>

   [<a id="ref-4">4</a>]  Rosenberg, J., Schulzrinne, H., Camarillo,  G., Johnston, A.,
        Peterson, J., Sparks, R., Handley, M. and E. Schooler, "SIP:
        Session Initiation Protocol", <a href="./rfc3261">RFC 3261</a>, June 2002.

   [<a id="ref-5">5</a>]  Braden, R., Zhang, L., Berson, S., Herzog, S. and S. Jamin,
        "Resource ReSerVation protocol (RSVP) -- Version 1 Functional
        Specification", <a href="./rfc2205">RFC 2205</a>, September 1997.

<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>.  Authors' Addresses</span>

   Gonzalo Camarillo
   Ericsson
   Advanced Signalling Research Lab.
   FIN-02420 Jorvas
   Finland

   EMail:  [email protected]


   Atle Monrad
   Ericsson
   N-4898 Grimstad
   Norway

   EMail:  [email protected]












<span class="grey">Camarillo & Monrad          Standards Track                     [Page 5]</span>

<span id="page-6" ></span>
<span class="grey"><a href="./rfc3524">RFC 3524</a>  Mapping Media Streams to Resource Reservation Flows April 2003</span>


<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>.  Full Copyright Statement</span>

   Copyright (C) The Internet Society (2003).  All Rights Reserved.

   This document and translations of it may be copied and furnished to
   others, and derivative works that comment on or otherwise explain it
   or assist in its implementation may be prepared, copied, published
   and distributed, in whole or in part, without restriction of any
   kind, provided that the above copyright notice and this paragraph are
   included on all such copies and derivative works.  However, this
   document itself may not be modified in any way, such as by removing
   the copyright notice or references to the Internet Society or other
   Internet organizations, except as needed for the purpose of
   developing Internet standards in which case the procedures for
   copyrights defined in the Internet Standards process must be
   followed, or as required to translate it into languages other than
   English.

   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assigns.

   This document and the information contained herein is provided on an
   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Acknowledgement

   Funding for the RFC Editor function is currently provided by the
   Internet Society.



















Camarillo & Monrad          Standards Track                     [Page 6]

Additional Resources