| draft-perkins-dccp-rtp-01.txt | draft-perkins-dccp-rtp-02.txt | |||
|---|---|---|---|---|
| Network Working Group C. Perkins | Network Working Group C. Perkins | |||
| Internet-Draft University of Glasgow | Internet-Draft University of Glasgow | |||
| Expires: September 7, 2006 March 6, 2006 | Expires: December 28, 2006 June 26, 2006 | |||
| RTP and the Datagram Congestion Control Protocol (DCCP) | RTP and the Datagram Congestion Control Protocol (DCCP) | |||
| draft-perkins-dccp-rtp-01.txt | draft-perkins-dccp-rtp-02.txt | |||
| Status of this Memo | Status of this Memo | |||
| By submitting this Internet-Draft, each author represents that any | By submitting this Internet-Draft, each author represents that any | |||
| applicable patent or other IPR claims of which he or she is aware | applicable patent or other IPR claims of which he or she is aware | |||
| have been or will be disclosed, and any of which he or she becomes | have been or will be disclosed, and any of which he or she becomes | |||
| aware will be disclosed, in accordance with Section 6 of BCP 79. | aware will be disclosed, in accordance with Section 6 of BCP 79. | |||
| Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
| Task Force (IETF), its areas, and its working groups. Note that | Task Force (IETF), its areas, and its working groups. Note that | |||
| skipping to change at page 1, line 33 ¶ | skipping to change at page 1, line 33 ¶ | |||
| and may be updated, replaced, or obsoleted by other documents at any | and may be updated, replaced, or obsoleted by other documents at any | |||
| time. It is inappropriate to use Internet-Drafts as reference | time. It is inappropriate to use Internet-Drafts as reference | |||
| material or to cite them other than as "work in progress." | material or to cite them other than as "work in progress." | |||
| The list of current Internet-Drafts can be accessed at | The list of current Internet-Drafts can be accessed at | |||
| http://www.ietf.org/ietf/1id-abstracts.txt. | http://www.ietf.org/ietf/1id-abstracts.txt. | |||
| The list of Internet-Draft Shadow Directories can be accessed at | The list of Internet-Draft Shadow Directories can be accessed at | |||
| http://www.ietf.org/shadow.html. | http://www.ietf.org/shadow.html. | |||
| This Internet-Draft will expire on September 7, 2006. | This Internet-Draft will expire on December 28, 2006. | |||
| Copyright Notice | Copyright Notice | |||
| Copyright (C) The Internet Society (2006). | Copyright (C) The Internet Society (2006). | |||
| Abstract | Abstract | |||
| The Real-time Transport Protocl (RTP) is a widely used transport for | The Real-time Transport Protocol (RTP) is a widely used transport for | |||
| real-time media on IP networks. The Datagram Congestion Control | real-time media on IP networks. The Datagram Congestion Control | |||
| Protocol (DCCP) is a newly defined transport protocol that provides | Protocol (DCCP) is a newly defined transport protocol that provides | |||
| desirable services for real-time applications. This memo specifies a | desirable services for real-time applications. This memo specifies a | |||
| mapping of RTP onto DCCP, along with associated signalling, such that | mapping of RTP onto DCCP, along with associated signalling, such that | |||
| real-time applications can make use of the services provided by DCCP. | real-time applications can make use of the services provided by DCCP. | |||
| Table of Contents | Table of Contents | |||
| 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 | 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 | |||
| 2. Rationale . . . . . . . . . . . . . . . . . . . . . . . . . . 3 | 2. Rationale . . . . . . . . . . . . . . . . . . . . . . . . . . 3 | |||
| 3. Conventions Used in this Memo . . . . . . . . . . . . . . . . 4 | 3. Conventions Used in this Memo . . . . . . . . . . . . . . . . 4 | |||
| 4. RTP over DCCP: Framing . . . . . . . . . . . . . . . . . . . . 4 | 4. RTP over DCCP: Framing . . . . . . . . . . . . . . . . . . . . 4 | |||
| 4.1. RTP Data Packets . . . . . . . . . . . . . . . . . . . . . 4 | 4.1. RTP Data Packets . . . . . . . . . . . . . . . . . . . . . 4 | |||
| 4.2. RTP Control Packets . . . . . . . . . . . . . . . . . . . 5 | 4.2. RTP Control Packets . . . . . . . . . . . . . . . . . . . 5 | |||
| 4.3. Multiplexing Data and Control . . . . . . . . . . . . . . 6 | 4.3. Multiplexing Data and Control . . . . . . . . . . . . . . 6 | |||
| 4.4. RTP Sessions and DCCP Connections . . . . . . . . . . . . 7 | 4.4. RTP Sessions and DCCP Connections . . . . . . . . . . . . 7 | |||
| 4.5. RTP Profiles . . . . . . . . . . . . . . . . . . . . . . . 7 | 4.5. RTP Profiles . . . . . . . . . . . . . . . . . . . . . . . 8 | |||
| 5. RTP over DCCP: Signalling using SDP . . . . . . . . . . . . . 8 | 5. RTP over DCCP: Signalling using SDP . . . . . . . . . . . . . 8 | |||
| 5.1. Protocol Identification . . . . . . . . . . . . . . . . . 8 | 5.1. Protocol Identification . . . . . . . . . . . . . . . . . 8 | |||
| 5.2. Service Codes . . . . . . . . . . . . . . . . . . . . . . 9 | 5.2. Service Codes . . . . . . . . . . . . . . . . . . . . . . 9 | |||
| 5.3. Connection Management . . . . . . . . . . . . . . . . . . 10 | 5.3. Connection Management . . . . . . . . . . . . . . . . . . 10 | |||
| 5.4. Example . . . . . . . . . . . . . . . . . . . . . . . . . 10 | 5.4. Example . . . . . . . . . . . . . . . . . . . . . . . . . 10 | |||
| 6. Security Considerations . . . . . . . . . . . . . . . . . . . 11 | 6. Security Considerations . . . . . . . . . . . . . . . . . . . 11 | |||
| 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 11 | 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 12 | |||
| 8. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 12 | 8. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 12 | |||
| 9. References . . . . . . . . . . . . . . . . . . . . . . . . . . 12 | 9. References . . . . . . . . . . . . . . . . . . . . . . . . . . 12 | |||
| 9.1. Normative References . . . . . . . . . . . . . . . . . . . 12 | 9.1. Normative References . . . . . . . . . . . . . . . . . . . 12 | |||
| 9.2. Informative References . . . . . . . . . . . . . . . . . . 13 | 9.2. Informative References . . . . . . . . . . . . . . . . . . 13 | |||
| Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 14 | Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 15 | |||
| Intellectual Property and Copyright Statements . . . . . . . . . . 15 | Intellectual Property and Copyright Statements . . . . . . . . . . 16 | |||
| 1. Introduction | 1. Introduction | |||
| The Real-time Transport Protocol (RTP) [1] is widely used in video | The Real-time Transport Protocol (RTP) [1] is widely used in video | |||
| streaming, telephony, and other real-time networked applications. | streaming, telephony, and other real-time networked applications. | |||
| RTP can run over a range of lower-layer transport protocols, and the | RTP can run over a range of lower-layer transport protocols, and the | |||
| performance of an application using RTP is heavily influenced by the | performance of an application using RTP is heavily influenced by the | |||
| choice of lower-layer transport. The Datagram Congestion Control | choice of lower-layer transport. The Datagram Congestion Control | |||
| Protocol (DCCP) [2] is a newly specified transport protocol that | Protocol (DCCP) [2] is a newly specified transport protocol that | |||
| provides desirable properties for real-time applications running on | provides desirable properties for real-time applications running on | |||
| skipping to change at page 3, line 40 ¶ | skipping to change at page 3, line 40 ¶ | |||
| With the widespread adoption of RTP have come concerns that many real | With the widespread adoption of RTP have come concerns that many real | |||
| time applications do not implement congestion control, leading to the | time applications do not implement congestion control, leading to the | |||
| potential for congestion collapse of the network [14]. The designers | potential for congestion collapse of the network [14]. The designers | |||
| of RTP recognised this issue, stating that [4]: | of RTP recognised this issue, stating that [4]: | |||
| If best-effort service is being used, RTP receivers SHOULD monitor | If best-effort service is being used, RTP receivers SHOULD monitor | |||
| packet loss to ensure that the packet loss rate is within | packet loss to ensure that the packet loss rate is within | |||
| acceptable parameters. Packet loss is considered acceptable if a | acceptable parameters. Packet loss is considered acceptable if a | |||
| TCP flow across the same network path and experiencing the same | TCP flow across the same network path and experiencing the same | |||
| network conditions would achieve an average throughput, measured | network conditions would achieve an average throughput, measured | |||
| on a reasonable timescale, that is not less than the RTP flow is | on a reasonable time-scale, that is not less than the RTP flow is | |||
| achieving. This condition can be satisfied by implementing | achieving. This condition can be satisfied by implementing | |||
| congestion control mechanisms to adapt the transmission rate (or | congestion control mechanisms to adapt the transmission rate (or | |||
| the number of layers subscribed for a layered multicast session), | the number of layers subscribed for a layered multicast session), | |||
| or by arranging for a receiver to leave the session if the loss | or by arranging for a receiver to leave the session if the loss | |||
| rate is unacceptably high. | rate is unacceptably high. | |||
| While the goals are clear, the development of TCP friendly congestion | While the goals are clear, the development of TCP friendly congestion | |||
| control that can be used with RTP and real-time media applications is | control that can be used with RTP and real-time media applications is | |||
| an open research question with many proposals for new algorithms, but | an open research question with many proposals for new algorithms, but | |||
| little deployment experience. | little deployment experience. | |||
| skipping to change at page 5, line 16 ¶ | skipping to change at page 5, line 16 ¶ | |||
| specification, and any applicable RTP Profile and Payload Format. | specification, and any applicable RTP Profile and Payload Format. | |||
| Header processing is not affected by DCCP framing (in particular, | Header processing is not affected by DCCP framing (in particular, | |||
| note that the semantics of the RTP sequence number and the DCCP | note that the semantics of the RTP sequence number and the DCCP | |||
| sequence number are not compatible, and the value of one cannot be | sequence number are not compatible, and the value of one cannot be | |||
| inferred from the other). | inferred from the other). | |||
| A DCCP connection is opened when an end system joins an RTP session, | A DCCP connection is opened when an end system joins an RTP session, | |||
| and it remains open for the duration of the session. To ensure NAT | and it remains open for the duration of the session. To ensure NAT | |||
| bindings are kept open, an end system SHOULD send periodic low rate | bindings are kept open, an end system SHOULD send periodic low rate | |||
| zero length DCCP-Data packets during periods when it has no RTP data | zero length DCCP-Data packets during periods when it has no RTP data | |||
| to send. This removes the need for RTP no-op packets [17] when using | to send. This removes the need for RTP no-op packets [17], and | |||
| RTP over DCCP. | similar application level keep-alives, when using RTP over DCCP. | |||
| RTP data packets MUST obey the dictates of DCCP congestion control. | RTP data packets MUST obey the dictates of DCCP congestion control. | |||
| In some cases, the congestion control will require a sender to send | In some cases, the congestion control will require a sender to send | |||
| at a rate below that which the payload format would otherwise use. | at a rate below that which the payload format would otherwise use. | |||
| To support this, an application should use either a rate adaptive | To support this, an application should use either a rate adaptive | |||
| payload format, or a range of payload formats (allowing it to switch | payload format, or a range of payload formats (allowing it to switch | |||
| to a lower rate format if necessary). Details of the rate adaptation | to a lower rate format if necessary). Details of the rate adaptation | |||
| policy for particular payload formats are outside the scope of this | policy for particular payload formats are outside the scope of this | |||
| memo. | memo. | |||
| skipping to change at page 5, line 44 ¶ | skipping to change at page 5, line 44 ¶ | |||
| of this feature in conjunction with payload-specific mechanisms to | of this feature in conjunction with payload-specific mechanisms to | |||
| improve performance when operating in environments with frequent non- | improve performance when operating in environments with frequent non- | |||
| congestive packet corruption. If such a payload format is used, an | congestive packet corruption. If such a payload format is used, an | |||
| RTP end system MAY enable partial checksums at the DCCP layer, in | RTP end system MAY enable partial checksums at the DCCP layer, in | |||
| which case the checksum MUST cover at least the DCCP and RTP headers | which case the checksum MUST cover at least the DCCP and RTP headers | |||
| to ensure packets are correctly delivered. Partial checksums MUST | to ensure packets are correctly delivered. Partial checksums MUST | |||
| NOT be used unless supported by mechanisms in the RTP payload format. | NOT be used unless supported by mechanisms in the RTP payload format. | |||
| 4.2. RTP Control Packets | 4.2. RTP Control Packets | |||
| The RTP Control Protocol (RTCP) is be used in the usual manner with | The RTP Control Protocol (RTCP) is used in the standard manner with | |||
| DCCP. RTCP packets MUST be sent grouped into compound packets, as | DCCP. RTCP packets are grouped into compound packets, as described | |||
| described in Section 6.1 of [1]. Each compound RTCP packet MUST be | in Section 6.1 of [1], and each compound RTCP packet is transported | |||
| transported in a single DCCP datagram. | in a single DCCP datagram. | |||
| The usual RTCP timing rules apply, subject to the constraint that | The usual RTCP timing rules apply, with the additional constraint | |||
| RTCP packets MUST be subject to DCCP congestion control. | that RTCP packets MUST obey the DCCP congestion control algorithm | |||
| negotiated for the connection. This can prevent a participant from | ||||
| sending an RTCP packet at the expiration of the RTCP transmission | ||||
| timer if there is insufficient network capacity available. In such | ||||
| cases the RTCP packet is delayed and sent at the earliest possible | ||||
| instant when capacity becomes available. The actual time the RTCP | ||||
| packet was sent is then used as the basis for calculating the next | ||||
| RTCP transmission time. | ||||
| TODO: RTCP relies on a configured nominal "session bandwidth" in the | RTCP packets comprise only a small fraction of the total traffic in | |||
| calculation of the reporting interval. It is not clear that this is | an RTP session. Accordingly, it is expected that delays in their | |||
| appropriate for congestion controlled sessions, since the actual RTP | transmission due to congestion control will not be common, provided | |||
| rate may vary significantly over time, and may differ for each half | the configured nominal "session bandwidth" (see Section 6.2 of [1]) | |||
| of a DCCP connection. There are two options: 1) use the nominal RTP | is in line with the bandwidth achievable on the DCCP connection. If, | |||
| session bandwidth to drive RTCP, accepting that this may over- or | however, the capacity of the DCCP connection is significantly below | |||
| under-estimate the RTCP reporting interval; or 2) modify the RTCP | the nominal session bandwidth, RTCP packets may be delayed enough for | |||
| reporting interval based on the session bandwidth as determined by | participants to time out due to apparant inactivity. In such cases, | |||
| the congestion control algorithm. The second choice introduces some | the session parameters SHOULD be re-negotiated to more closely match | |||
| considerable complexity, since there is no longer a simple definition | the available capacity, for example by performing a SIP re-invite | |||
| for the reporting interval on which all participants will agree, but | with an updated "b=" line. | |||
| it will better control the RTCP sending rate. | ||||
| Since the nominal session bandwidth is chosen based on media codec | ||||
| capabilities, a session where the nominal bandwidth is much larger | ||||
| than the available bandwidth will likely become unusable due to | ||||
| constraints on the media channel, and so require negotiation of a | ||||
| lower bandwidth codec, before it becomes unusable due to | ||||
| constraints on the RTCP channel. | ||||
| As noted in Section 17.1 of [2], there is the potential for overlap | As noted in Section 17.1 of [2], there is the potential for overlap | |||
| between the information conveyed in RTCP packets and that conveyed in | between information conveyed in RTCP packets and that conveyed in | |||
| DCCP acknowledgement options. In general this is not an issue: RTCP | DCCP acknowledgement options. In general this is not an issue since | |||
| packets contain media-specific data that is not present in DCCP | RTCP packets contain media-specific data that is not present in DCCP | |||
| acknowledgement optionss, and DCCP options contain network-level data | acknowledgement options, and DCCP options contain network-level data | |||
| that is not present in RTCP. Indeed, there is no overlap between the | that is not present in RTCP. Indeed, there is no overlap between the | |||
| five RTCP packet types defined in the RTP specification [1] and the | five RTCP packet types defined in the RTP specification [1] and the | |||
| standard DCCP options defined in [2]. There are, however, other | standard DCCP options [2]. There are, however, cases where overlap | |||
| cases where overlap does occur: most clearly between the optional | does occur: most clearly between the optional RTCP Extended Reports | |||
| RTCP Extended Reports Loss RLE Blocks [19] and the DCCP Ack Vector | Loss RLE Blocks [19] and the DCCP Ack Vector option. If there is | |||
| option. If there is overlap between RTCP report packets and DCCP | overlap between RTCP report packets and DCCP acknowledgements, an | |||
| acknowledgements, an application should use either RTCP feedback or | application should use either RTCP feedback or DCCP acknowledgements, | |||
| DCCP acknowledgements, but not both (use of both types of feedback | but not both (use of both types of feedback will waste available | |||
| will waste available network capacity, but is not otherwise harmful). | network capacity, but is not otherwise harmful). | |||
| 4.3. Multiplexing Data and Control | 4.3. Multiplexing Data and Control | |||
| The obvious mapping of RTP onto DCCP creates two DCCP connections for | The obvious mapping of RTP onto DCCP creates two DCCP connections for | |||
| each RTP flow: one for RTP data packets, one for RTP control packets. | each RTP flow: one for RTP data packets, one for RTP control packets. | |||
| A frequent criticism of RTP relates to the number of ports it uses, | A frequent criticism of RTP relates to the number of ports it uses, | |||
| since large telephony gateways can support more than 32768 RTP flows | since large telephony gateways can support more than 32768 RTP flows | |||
| between pairs of gateways, and so run out of UDP ports. In addition, | between pairs of gateways, and so run out of UDP ports. In addition, | |||
| use of multiple ports complicates NAT traversal. For these reasons, | use of multiple ports complicates NAT traversal. For these reasons, | |||
| it is RECOMENDED that RTP and RTCP flows be multiplexed onto a single | it is RECOMMENDED that RTP and RTCP flows be multiplexed onto a | |||
| DCCP connection. | single DCCP connection. | |||
| RTP and RTCP packets multiplexed onto a single connection can be | RTP and RTCP packets multiplexed onto a single connection can be | |||
| distinguished provided care is taken in assigning RTP payload types. | distinguished provided care is taken in assigning RTP payload types. | |||
| The RTP payload type and marker bit(s) occupy the same space in the | The RTP payload type and marker bit(s) occupy the same space in the | |||
| packet as does the RTCP packet type field. Provided the RTP payload | packet as does the RTCP packet type field. Provided the RTP payload | |||
| type is chosen such that the payload type, or the payload type plus | type is chosen such that the payload type, or the payload type plus | |||
| 128 (when the marker bit is set), does not clash with any of the used | 128 (when the marker bit is set), does not clash with any of the used | |||
| RTCP packet types, the two can be demultiplexed. With the RTCP | RTCP packet types, the two can be demultiplexed. With the RTCP | |||
| packet types registered at the time of this writing, this implies | packet types registered at the time of this writing, this implies | |||
| that RTP payload types 64-65 and 72-79 must be avoided. None of the | that RTP payload types 64-65 and 72-79 must be avoided. None of the | |||
| skipping to change at page 7, line 44 ¶ | skipping to change at page 8, line 9 ¶ | |||
| A single RTP session may also span a DCCP connection and some other | A single RTP session may also span a DCCP connection and some other | |||
| type of transport connection. An example might be an RTP over DCCP | type of transport connection. An example might be an RTP over DCCP | |||
| connection from an RTP end system to an RTP translator, with an RTP | connection from an RTP end system to an RTP translator, with an RTP | |||
| over UDP/IP multicast group on the other side of the translator. A | over UDP/IP multicast group on the other side of the translator. A | |||
| second example might be an RTP over DCCP connection that links PSTN | second example might be an RTP over DCCP connection that links PSTN | |||
| gateways. The issues for such an RTP translator are similar to those | gateways. The issues for such an RTP translator are similar to those | |||
| when linking two DCCP connections, except that the congestion control | when linking two DCCP connections, except that the congestion control | |||
| algorithms on either side of the translator may not be compatible. | algorithms on either side of the translator may not be compatible. | |||
| Implementation of effective translators for such an environment is | Implementation of effective translators for such an environment is | |||
| nontrivial. | non-trivial. | |||
| 4.5. RTP Profiles | 4.5. RTP Profiles | |||
| In general, there is no conflict between new RTP Profiles and DCCP | In general, there is no conflict between new RTP Profiles and DCCP | |||
| framing, and most RTP profiles can be negotiated for use over DCCP. | framing, and most RTP profiles can be negotiated for use over DCCP. | |||
| The only potential for conflict occurs if an RTP profile changes the | The only potential for conflict occurs if an RTP profile changes the | |||
| RTCP reporting interval or the RTP packet transmission rules, since | RTCP reporting interval or the RTP packet transmission rules, since | |||
| this may conflict with DCCP congestion control. If an RTP profile | this may conflict with DCCP congestion control. If an RTP profile | |||
| conflicts with DCCP congestion control, that profile MUST NOT be used | conflicts with DCCP congestion control, that profile MUST NOT be used | |||
| with DCCP. | with DCCP. | |||
| Of the profiles currently defined, the RTP Profile for Audio and | Of the profiles currently defined, the RTP Profile for Audio and | |||
| Video Conferences with Minimal Control [4], the Secure Real-time | Video Conferences with Minimal Control [4], the Secure Real-time | |||
| Transport Protocol [7] the Extended RTP Profile for RTCP-based | Transport Protocol [7], the Extended RTP Profile for RTCP-based | |||
| Feedback [8], and the Extended Secure RTP Profile for RTCP-based | Feedback [8], and the Extended Secure RTP Profile for RTCP-based | |||
| Feedback [9] MAY be used with DCCP. The RTP Profile for TFRC [15] | Feedback [9] MAY be used with DCCP. The RTP Profile for TFRC [15] | |||
| MUST NOT be used with DCCP, since it conflicts with DCCP congestion | MUST NOT be used with DCCP, since it conflicts with DCCP congestion | |||
| control by providing alternative congestion control semantics. | control by providing alternative congestion control semantics. | |||
| 5. RTP over DCCP: Signalling using SDP | 5. RTP over DCCP: Signalling using SDP | |||
| The Session Description Protocol (SDP) [3] and the offer/answer model | The Session Description Protocol (SDP) [3] and the offer/answer model | |||
| [10] are widely used to negotiate RTP sessions (for example, using | [10] are widely used to negotiate RTP sessions (for example, using | |||
| the Session Initiation Protocol [20]). This section describes how | the Session Initiation Protocol [20]). This section describes how | |||
| SDP is used to signal RTP sessions running over DCCP. | SDP is used to signal RTP sessions running over DCCP. | |||
| 5.1. Protocol Identification | 5.1. Protocol Identification | |||
| SDP uses a media ("m=") line to convey details of the media format | SDP uses a media ("m=") line to convey details of the media format | |||
| and transport protocol used. The ABNF syntax of a media line is as | and transport protocol used. The ABNF syntax of a media line is as | |||
| follows (from [3]): | follows (from [3]): | |||
| media-field = "m=" media SP port ["/" integer] SP proto | media-field = %x6d "=" media SP port ["/" integer] SP proto | |||
| 1*(SP fmt) CRLF | 1*(SP fmt) CRLF | |||
| The proto field denotes the transport protocol used for the media, | The proto field denotes the transport protocol used for the media, | |||
| while the port indicates the transport port to which the media is | while the port indicates the transport port to which the media is | |||
| sent. Following [5] and [11] this memo defines the following five | sent. Following [5] and [11] this memo defines the following five | |||
| values of the proto field to indicate media transported using DCCP: | values of the proto field to indicate media transported using DCCP: | |||
| DCCP | DCCP | |||
| DCCP/RTP/AVP | DCCP/RTP/AVP | |||
| DCCP/RTP/SAVP | DCCP/RTP/SAVP | |||
| skipping to change at page 9, line 24 ¶ | skipping to change at page 9, line 38 ¶ | |||
| The "DCCP/RTP/SAVPF" protocol identifier refers to RTP using the | The "DCCP/RTP/SAVPF" protocol identifier refers to RTP using the | |||
| Extended Secure RTP Profile for RTCP-based Feedback [9] running over | Extended Secure RTP Profile for RTCP-based Feedback [9] running over | |||
| DCCP. | DCCP. | |||
| By default, a single DCCP connection on the specified port is used | By default, a single DCCP connection on the specified port is used | |||
| for both RTP and RTCP packets. The "a=rtcp:" attribute [12] MAY be | for both RTP and RTCP packets. The "a=rtcp:" attribute [12] MAY be | |||
| used to specify an alternate DCCP port for RTCP, in which case a | used to specify an alternate DCCP port for RTCP, in which case a | |||
| separate DCCP connection is opened to transport the RTCP data. | separate DCCP connection is opened to transport the RTCP data. | |||
| Port 5004 is registered for use by RTP and SHOULD be the default port | ||||
| chosen by applications. If more than one RTP session is active from | ||||
| a host, ports in the dynamic range SHOULD be used for the other | ||||
| sessions. If RTCP is to be sent on a separate DCCP connection to | ||||
| RTP, the RTCP connection SHOULD use port 5005 by default. | ||||
| 5.2. Service Codes | 5.2. Service Codes | |||
| In addition to the port number, specified on the SDP "m=" line, a | In addition to the port number, specified on the SDP "m=" line, a | |||
| DCCP connection has an associated service code. A single new SDP | DCCP connection has an associated service code. A single new SDP | |||
| attribute is defined to signal the service code: | attribute is defined to signal the service code: | |||
| dccp-service-attr = "a=dccp-service-code:" service-code | dccp-service-attr = %x61 "=dccp-service-code:" service-code | |||
| service-code = hex-sc / decimal-sc / ascii-sc | service-code = hex-sc / decimal-sc / ascii-sc | |||
| hex-sc = "SC=x" *HEXDIG | hex-sc = "SC=x" *HEXDIG | |||
| decimal-sc = "SC=" *DIGIT | decimal-sc = "SC=" *DIGIT | |||
| ascii-sc = "SC:" *sc-char | ascii-sc = "SC:" *sc-char | |||
| sc-char = %d42-43, %d45-47, %d63-90, %d95, %d97-122 | sc-char = %d42-43, %d45-47, %d63-90, %d95, %d97-122 | |||
| skipping to change at page 10, line 36 ¶ | skipping to change at page 11, line 11 ¶ | |||
| 5.4. Example | 5.4. Example | |||
| An offerer at 192.0.2.47 signals its availability for an H.261 video | An offerer at 192.0.2.47 signals its availability for an H.261 video | |||
| session, using RTP/AVP over DCCP with service code "RTPV": | session, using RTP/AVP over DCCP with service code "RTPV": | |||
| v=0 | v=0 | |||
| o=alice 1129377363 1 IN IP4 192.0.2.47 | o=alice 1129377363 1 IN IP4 192.0.2.47 | |||
| s=- | s=- | |||
| c=IN IP4 192.0.2.47 | c=IN IP4 192.0.2.47 | |||
| t=0 0 | t=0 0 | |||
| m=video 51370 DCCP/RTP/AVP 99 | m=video 5004 DCCP/RTP/AVP 99 | |||
| a=rtpmap:99 h261/90000 | a=rtpmap:99 h261/90000 | |||
| a=dccp-service-code:SC=x52545056 | a=dccp-service-code:SC=x52545056 | |||
| a=setup:passive | a=setup:passive | |||
| a=connection:new | a=connection:new | |||
| An answerer at 192.0.2.128 receives this offer and responds with the | An answerer at 192.0.2.128 receives this offer and responds with the | |||
| following answer: | following answer: | |||
| v=0 | v=0 | |||
| o=bob 1129377364 1 IN IP4 192.0.2.128 | o=bob 1129377364 1 IN IP4 192.0.2.128 | |||
| s=- | s=- | |||
| c=IN IP4 192.0.2.128 | c=IN IP4 192.0.2.128 | |||
| t=0 0 | t=0 0 | |||
| m=video 9 DCCP/RTP/AVP 99 | m=video 9 DCCP/RTP/AVP 99 | |||
| a=rtpmap:99 h261/90000 | a=rtpmap:99 h261/90000 | |||
| a=dccp-service-code:SC:RTPV | a=dccp-service-code:SC:RTPV | |||
| a=setup:active | a=setup:active | |||
| a=connection:new | a=connection:new | |||
| The end point at 192.0.2.128 then initiates a DCCP connection to port | The end point at 192.0.2.128 then initiates a DCCP connection to port | |||
| 51370 at 192.0.2.47. Note that DCCP port 51370 is used for both the | 5004 at 192.0.2.47. Note that DCCP port 5004 is used for both the | |||
| RTP and RTCP data, and port 51371 is unused. | RTP and RTCP data, and port 5005 is unused. | |||
| 6. Security Considerations | 6. Security Considerations | |||
| The security considerations in the RTP specification [1] and any | The security considerations in the RTP specification [1] and any | |||
| applicable RTP profile (e.g. [4], [7], [8], or [9]) or payload format | applicable RTP profile (e.g. [4], [7], [8], or [9]) or payload format | |||
| apply when transporting RTP over DCCP. | apply when transporting RTP over DCCP. | |||
| The security considerations in the DCCP specification [2] apply. | The security considerations in the DCCP specification [2] apply. | |||
| The SDP signalling described in Section 5 is subject to the security | The SDP signalling described in Section 5 is subject to the security | |||
| considerations of [3], [10], [11] and [5]. | considerations of [3], [10], [11] and [5]. | |||
| It is not believed that any additional security considerations are | It is not believed that any additional security considerations are | |||
| introduced as a result of combining these protocols. Indeed, the | introduced as a result of combining these protocols. Indeed, the | |||
| provision of effective congestion control for RTP will alleviate the | provision of effective congestion control for RTP will alleviate the | |||
| potential for denial-of-service present when RTP flows ignore the | potential for denial-of-service present when RTP flows ignore the | |||
| advice in [1] to monitor packet loss and reduce their sending rate in | advice in [1] to monitor packet loss and reduce their sending rate in | |||
| the face of persistant congestion. | the face of persistent congestion. | |||
| 7. IANA Considerations | 7. IANA Considerations | |||
| The following SDP "proto" field identifiers are registered: "DCCP", | The following SDP "proto" field identifiers are registered: "DCCP", | |||
| "DCCP/RTP/AVP", "DCCP/RTP/SAVP", "DCCP/RTP/AVPF" and "DCCP/RTP/SAVPF" | "DCCP/RTP/AVP", "DCCP/RTP/SAVP", "DCCP/RTP/AVPF" and "DCCP/RTP/SAVPF" | |||
| (see Section 5.1 of this memo). | (see Section 5.1 of this memo). | |||
| One new SDP attribute ("a=dccp-service-code:") is registered (see | One new SDP attribute ("a=dccp-service-code:") is registered (see | |||
| Section 5.2 of this memo). | Section 5.2 of this memo). | |||
| The following DCCP service codes are registered: SC:RTPA, SC:RTPV, | The following DCCP service codes are registered: SC:RTPA, SC:RTPV, | |||
| SC:RTPT, and SC:RTPO (see Section 5.2 of this memo). | SC:RTPT, and SC:RTPO (see Section 5.2 of this memo). | |||
| DCCP ports 5004 ("DCCP RTP") and 5005 ("DCCP RTCP") are registered | ||||
| for use as default RTP/RTCP ports (see Section 5.1 of this memo). | ||||
| The four services codes listed above are to be associated with these | ||||
| ports. | ||||
| 8. Acknowledgements | 8. Acknowledgements | |||
| This work was supported in part by the UK Engineering and Physical | This work was supported in part by the UK Engineering and Physical | |||
| Sciences Research Council. Thanks are due to to Philippe Gentric, | Sciences Research Council. Thanks are due to to Philippe Gentric, | |||
| Magnus Westerlund and the other members of the DCCP working group for | Magnus Westerlund and the other members of the DCCP working group for | |||
| their comments. | their comments. | |||
| 9. References | 9. References | |||
| 9.1. Normative References | 9.1. Normative References | |||
| [1] Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, | [1] Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, | |||
| "RTP: A Transport Protocol for Real-Time Applications", STD 64, | "RTP: A Transport Protocol for Real-Time Applications", STD 64, | |||
| RFC 3550, July 2003. | RFC 3550, July 2003. | |||
| [2] Kohler, E., "Datagram Congestion Control Protocol (DCCP)", | [2] Kohler, E., Handley, M., and S. Floyd, "Datagram Congestion | |||
| draft-ietf-dccp-spec-11 (work in progress), March 2005. | Control Protocol (DCCP)", RFC 4340, March 2006. | |||
| [3] Handley, M., "SDP: Session Description Protocol", | [3] Handley, M., Jacobson, V., and CS. Perkins, "SDP: Session | |||
| draft-ietf-mmusic-sdp-new-25 (work in progress), July 2005. | Description Protocol", RFC 4566, June 2006. | |||
| [4] Schulzrinne, H. and S. Casner, "RTP Profile for Audio and Video | [4] Schulzrinne, H. and S. Casner, "RTP Profile for Audio and Video | |||
| Conferences with Minimal Control", STD 65, RFC 3551, July 2003. | Conferences with Minimal Control", STD 65, RFC 3551, July 2003. | |||
| [5] Lazzaro, J., "Framing RTP and RTCP Packets over Connection- | [5] Lazzaro, J., "Framing RTP and RTCP Packets over Connection- | |||
| Oriented Transport", draft-ietf-avt-rtp-framing-contrans-06 | Oriented Transport", RFC 4571, June 2006. | |||
| (work in progress), September 2005. | ||||
| [6] Bradner, S., "Key words for use in RFCs to Indicate Requirement | [6] Bradner, S., "Key words for use in RFCs to Indicate Requirement | |||
| Levels", BCP 14, RFC 2119, March 1997. | Levels", BCP 14, RFC 2119, March 1997. | |||
| [7] Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K. | [7] Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K. | |||
| Norrman, "The Secure Real-time Transport Protocol (SRTP)", | Norrman, "The Secure Real-time Transport Protocol (SRTP)", | |||
| RFC 3711, March 2004. | RFC 3711, March 2004. | |||
| [8] Ott, J. and S. Wenger, "Extended RTP Profile for RTCP-based | [8] Ott, J., Wenger, S., Sato, N., and C. Burmeister, "Extended RTP | |||
| Feedback(RTP/AVPF)", draft-ietf-avt-rtcp-feedback-11 (work in | Profile for RTCP-based Feedback(RTP/AVPF)", RFC 4585, | |||
| progress), August 2004. | June 2006. | |||
| [9] Ott, J. and E. Carrara, "Extended Secure RTP Profile for RTCP- | [9] Ott, J. and E. Carrara, "Extended Secure RTP Profile for RTCP- | |||
| based Feedback (RTP/SAVPF)", draft-ietf-avt-profile-savpf-02 | based Feedback (RTP/SAVPF)", draft-ietf-avt-profile-savpf-02 | |||
| (work in progress), July 2005. | (work in progress), July 2005. | |||
| [10] Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model with | [10] Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model with | |||
| Session Description Protocol (SDP)", RFC 3264, June 2002. | Session Description Protocol (SDP)", RFC 3264, June 2002. | |||
| [11] Yon, D. and G. Camarillo, "TCP-Based Media Transport in the | [11] Yon, D. and G. Camarillo, "TCP-Based Media Transport in the | |||
| Session Description Protocol (SDP)", RFC 4145, September 2005. | Session Description Protocol (SDP)", RFC 4145, September 2005. | |||
| skipping to change at page 13, line 18 ¶ | skipping to change at page 13, line 38 ¶ | |||
| [13] Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax | [13] Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax | |||
| Specifications: ABNF", RFC 2234, November 1997. | Specifications: ABNF", RFC 2234, November 1997. | |||
| 9.2. Informative References | 9.2. Informative References | |||
| [14] Floyd, S. and J. Kempf, "IAB Concerns Regarding Congestion | [14] Floyd, S. and J. Kempf, "IAB Concerns Regarding Congestion | |||
| Control for Voice Traffic in the Internet", RFC 3714, | Control for Voice Traffic in the Internet", RFC 3714, | |||
| March 2004. | March 2004. | |||
| [15] Gharai, L., "RTP Profile for TCP Friendly Rate Control", | [15] Gharai, L., "Use of the Extended RTP Profile for RTCP-based | |||
| draft-ietf-avt-tfrc-profile-04 (work in progress), July 2005. | Feedback (RTP/AVPF) to Support TCP-Friendly Rate Control", | |||
| draft-ietf-avt-tfrc-profile-06 (work in progress), June 2006. | ||||
| [16] Handley, M., Floyd, S., Padhye, J., and J. Widmer, "TCP | [16] Handley, M., Floyd, S., Padhye, J., and J. Widmer, "TCP | |||
| Friendly Rate Control (TFRC): Protocol Specification", | Friendly Rate Control (TFRC): Protocol Specification", | |||
| RFC 3448, January 2003. | RFC 3448, January 2003. | |||
| [17] Andreasen, F., "A No-Op Payload Format for RTP", | [17] Andreasen, F., "A No-Op Payload Format for RTP", | |||
| draft-wing-avt-rtp-noop-03 (work in progress), May 2005. | draft-wing-avt-rtp-noop-03 (work in progress), May 2005. | |||
| [18] Sjoberg, J., Westerlund, M., Lakaniemi, A., and Q. Xie, "Real- | [18] Sjoberg, J., Westerlund, M., Lakaniemi, A., and Q. Xie, "Real- | |||
| Time Transport Protocol (RTP) Payload Format and File Storage | Time Transport Protocol (RTP) Payload Format and File Storage | |||
| End of changes. 30 change blocks. | ||||
| 61 lines changed or deleted | 85 lines changed or added | |||
This html diff was produced by rfcdiff 1.46. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||