| draft-ietf-avt-rapid-rtp-sync-11.txt | draft-ietf-avt-rapid-rtp-sync-12.txt | |||
|---|---|---|---|---|
| Network Working Group C. Perkins | Network Working Group C. Perkins | |||
| Internet-Draft University of Glasgow | Internet-Draft University of Glasgow | |||
| Updates: 3550 (if approved) T. Schierl | Updates: 3550 (if approved) T. Schierl | |||
| Intended status: Standards Track Fraunhofer HHI | Intended status: Standards Track Fraunhofer HHI | |||
| Expires: December 1, 2010 May 30, 2010 | Expires: January 10, 2011 July 9, 2010 | |||
| Rapid Synchronisation of RTP Flows | Rapid Synchronisation of RTP Flows | |||
| draft-ietf-avt-rapid-rtp-sync-11.txt | draft-ietf-avt-rapid-rtp-sync-12.txt | |||
| Abstract | Abstract | |||
| This memo outlines how RTP sessions are synchronised, and discusses | This memo outlines how RTP sessions are synchronised, and discusses | |||
| how rapidly such synchronisation can occur. We show that most RTP | how rapidly such synchronisation can occur. We show that most RTP | |||
| sessions can be synchronised immediately, but that the use of video | sessions can be synchronised immediately, but that the use of video | |||
| switching multipoint conference units (MCUs) or large source specific | switching multipoint conference units (MCUs) or large source specific | |||
| multicast (SSM) groups can greatly increase the synchronisation | multicast (SSM) groups can greatly increase the synchronisation | |||
| delay. This increase in delay can be unacceptable to some | delay. This increase in delay can be unacceptable to some | |||
| applications that use layered and/or multi-description codecs. | applications that use layered and/or multi-description codecs. | |||
| skipping to change at page 1, line 47 ¶ | skipping to change at page 1, line 47 ¶ | |||
| Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
| Task Force (IETF). Note that other groups may also distribute | Task Force (IETF). Note that other groups may also distribute | |||
| working documents as Internet-Drafts. The list of current Internet- | working documents as Internet-Drafts. The list of current Internet- | |||
| Drafts is at http://datatracker.ietf.org/drafts/current/. | Drafts is at http://datatracker.ietf.org/drafts/current/. | |||
| Internet-Drafts are draft documents valid for a maximum of six months | Internet-Drafts are draft documents valid for a maximum of six months | |||
| 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." | |||
| This Internet-Draft will expire on December 1, 2010. | This Internet-Draft will expire on January 10, 2011. | |||
| Copyright Notice | Copyright Notice | |||
| Copyright (c) 2010 IETF Trust and the persons identified as the | Copyright (c) 2010 IETF Trust and the persons identified as the | |||
| document authors. All rights reserved. | document authors. All rights reserved. | |||
| This document is subject to BCP 78 and the IETF Trust's Legal | This document is subject to BCP 78 and the IETF Trust's Legal | |||
| Provisions Relating to IETF Documents | Provisions Relating to IETF Documents | |||
| (http://trustee.ietf.org/license-info) in effect on the date of | (http://trustee.ietf.org/license-info) in effect on the date of | |||
| publication of this document. Please review these documents | publication of this document. Please review these documents | |||
| carefully, as they describe your rights and restrictions with respect | carefully, as they describe your rights and restrictions with respect | |||
| skipping to change at page 2, line 38 ¶ | skipping to change at page 2, line 38 ¶ | |||
| 3.1. Reduced Initial RTCP Interval for SSM Senders . . . . . . 9 | 3.1. Reduced Initial RTCP Interval for SSM Senders . . . . . . 9 | |||
| 3.2. Rapid Resynchronisation Request . . . . . . . . . . . . . 10 | 3.2. Rapid Resynchronisation Request . . . . . . . . . . . . . 10 | |||
| 3.3. In-band Delivery of Synchronisation Metadata . . . . . . . 11 | 3.3. In-band Delivery of Synchronisation Metadata . . . . . . . 11 | |||
| 4. Application to Decoding Order Recovery in Layered Codecs . . . 13 | 4. Application to Decoding Order Recovery in Layered Codecs . . . 13 | |||
| 4.1. In-band Synchronisation for Decoding Order Recovery . . . 14 | 4.1. In-band Synchronisation for Decoding Order Recovery . . . 14 | |||
| 4.2. Timestamp based decoding order recovery . . . . . . . . . 15 | 4.2. Timestamp based decoding order recovery . . . . . . . . . 15 | |||
| 4.3. Example . . . . . . . . . . . . . . . . . . . . . . . . . 16 | 4.3. Example . . . . . . . . . . . . . . . . . . . . . . . . . 16 | |||
| 5. Security Considerations . . . . . . . . . . . . . . . . . . . 17 | 5. Security Considerations . . . . . . . . . . . . . . . . . . . 17 | |||
| 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 18 | 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 18 | |||
| 7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 18 | 7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 18 | |||
| 8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 18 | 8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 19 | |||
| 8.1. Normative References . . . . . . . . . . . . . . . . . . . 18 | 8.1. Normative References . . . . . . . . . . . . . . . . . . . 19 | |||
| 8.2. Informative References . . . . . . . . . . . . . . . . . . 19 | 8.2. Informative References . . . . . . . . . . . . . . . . . . 19 | |||
| Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 20 | Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 20 | |||
| 1. Introduction | 1. Introduction | |||
| When using RTP to deliver multimedia content it's often necessary to | When using RTP to deliver multimedia content it's often necessary to | |||
| synchronise playout of audio and video components of a presentation. | synchronise playout of audio and video components of a presentation. | |||
| This is achieved using information contained in RTP Control Protocol | This is achieved using information contained in RTP Control Protocol | |||
| (RTCP) Sender Report (SR) packets [1]. These are sent periodically, | (RTCP) Sender Report (SR) packets [1]. These are sent periodically, | |||
| and the components of a multimedia session cannot be synchronised | and the components of a multimedia session cannot be synchronised | |||
| skipping to change at page 10, line 5 ¶ | skipping to change at page 10, line 5 ¶ | |||
| Three backwards compatible RTP extensions are defined to reduce the | Three backwards compatible RTP extensions are defined to reduce the | |||
| possible synchronisation delay: a reduced initial RTCP interval for | possible synchronisation delay: a reduced initial RTCP interval for | |||
| SSM senders, a rapid resynchronisation request message, and RTP | SSM senders, a rapid resynchronisation request message, and RTP | |||
| header extensions that can convey synchronisation metadata in-band. | header extensions that can convey synchronisation metadata in-band. | |||
| 3.1. Reduced Initial RTCP Interval for SSM Senders | 3.1. Reduced Initial RTCP Interval for SSM Senders | |||
| In SSM sessions where the initial synchronisation delay is important, | In SSM sessions where the initial synchronisation delay is important, | |||
| the RTP sender MAY set the delay before sending the initial compound | the RTP sender MAY set the delay before sending the initial compound | |||
| RTCP packet to zero, and send its first RTCP packet immediately upon | RTCP packet to zero, and send its first RTCP packet immediately upon | |||
| joining the SSM session. RTP receivers in an SSM session, sending | joining the SSM session. This is purely a local change to the sender | |||
| unicast RTCP feedback, MUST NOT send RTCP packets with zero initial | that can be implemented as a configurable option. RTP receivers in | |||
| delay; the timing rules defined in [4] apply unchanged to receivers. | an SSM session, sending unicast RTCP feedback, MUST NOT send RTCP | |||
| packets with zero initial delay; the timing rules defined in [4] | ||||
| apply unchanged to receivers. | ||||
| 3.2. Rapid Resynchronisation Request | 3.2. Rapid Resynchronisation Request | |||
| The general format of an RTP/AVPF transport layer feedback message is | The general format of an RTP/AVPF transport layer feedback message is | |||
| shown in Figure 4 (see [2] for details). | shown in Figure 4 (see [2] for details). | |||
| 0 1 2 3 | 0 1 2 3 | |||
| 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 | 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |||
| |V=2|P| FMT | PT=RTPFB=205 | length | | |V=2|P| FMT | PT=RTPFB=205 | length | | |||
| skipping to change at page 11, line 11 ¶ | skipping to change at page 11, line 12 ¶ | |||
| packets if its regular schedule for transmission of synchronisation | packets if its regular schedule for transmission of synchronisation | |||
| metadata can be expected to allow the receiver to synchronise the | metadata can be expected to allow the receiver to synchronise the | |||
| media streams within a reasonable time frame. | media streams within a reasonable time frame. | |||
| When using SSM sessions with unicast feedback, is possible that the | When using SSM sessions with unicast feedback, is possible that the | |||
| feedback target and media source are not co-located. If a feedback | feedback target and media source are not co-located. If a feedback | |||
| target receives an RTCP-SR-REQ feedback message in such a case, the | target receives an RTCP-SR-REQ feedback message in such a case, the | |||
| request should be forwarded to the media source. The mechanism to be | request should be forwarded to the media source. The mechanism to be | |||
| used for forwarding such requests is not defined here. | used for forwarding such requests is not defined here. | |||
| If the feedback target provides a network management interface, it | ||||
| might be useful to provide a log of which receivers send RTCP-SR-REQ | ||||
| feedback packets and which do not, since those which do not will see | ||||
| slower stream synchronisation. | ||||
| 3.3. In-band Delivery of Synchronisation Metadata | 3.3. In-band Delivery of Synchronisation Metadata | |||
| The RTP header extension mechanism defined in [6] can be adopted to | The RTP header extension mechanism defined in [6] can be adopted to | |||
| carry an OPTIONAL NTP format timestamp in RTP data packets. If such | carry an OPTIONAL NTP format timestamp in RTP data packets. If such | |||
| a timestamp is included, it MUST correspond to the same time instant | a timestamp is included, it MUST correspond to the same time instant | |||
| as the RTP timestamp in the packet's header, and MUST be derived from | as the RTP timestamp in the packet's header, and MUST be derived from | |||
| the same clock used to generate the NTP format timestamps included in | the same clock used to generate the NTP format timestamps included in | |||
| RTCP SR packets. Provided it has knowledge of the SSRC to CNAME | RTCP SR packets. Provided it has knowledge of the SSRC to CNAME | |||
| mapping, either from prior receipt of an RTCP CNAME packet or via | mapping, either from prior receipt of an RTCP CNAME packet or via | |||
| out-of-band signalling [10], the receiver can use the information | out-of-band signalling [10], the receiver can use the information | |||
| skipping to change at page 13, line 34 ¶ | skipping to change at page 13, line 34 ¶ | |||
| When the SDP is used, the use of the RTP header extensions defined | When the SDP is used, the use of the RTP header extensions defined | |||
| above MUST be indicated as specified in [6]. Therefore the following | above MUST be indicated as specified in [6]. Therefore the following | |||
| URIs MUST be used: | URIs MUST be used: | |||
| o The URI used for signalling the use of Variant A/64-bit NTP RTP | o The URI used for signalling the use of Variant A/64-bit NTP RTP | |||
| header extension in SDP is "urn:ietf:params:rtp-hdrext:ntp-64". | header extension in SDP is "urn:ietf:params:rtp-hdrext:ntp-64". | |||
| o The URI used for signalling the use of Variant B/56-bit NTP RTP | o The URI used for signalling the use of Variant B/56-bit NTP RTP | |||
| header extension in SDP is "urn:ietf:params:rtp-hdrext:ntp-56". | header extension in SDP is "urn:ietf:params:rtp-hdrext:ntp-56". | |||
| The use of these RTP header extensions can greatly improve user | ||||
| experience in IPTV channel surfing and in some interactive video | ||||
| conferencing scenarios. Network management tools that attempt to | ||||
| monitor the user experience may wish to log which sessions signal and | ||||
| use these extensions. | ||||
| 4. Application to Decoding Order Recovery in Layered Codecs | 4. Application to Decoding Order Recovery in Layered Codecs | |||
| Packets in RTP flows are often predictively coded, with a receiver | Packets in RTP flows are often predictively coded, with a receiver | |||
| having to arrange the packets into a particular order before it can | having to arrange the packets into a particular order before it can | |||
| decode the media data. Depending on the payload format, the decoding | decode the media data. Depending on the payload format, the decoding | |||
| order might be explicitly specified as a field in the RTP payload | order might be explicitly specified as a field in the RTP payload | |||
| header, or the receiver might decode the packets in order of their | header, or the receiver might decode the packets in order of their | |||
| RTP timestamps. If a layered encoding is used, where the media data | RTP timestamps. If a layered encoding is used, where the media data | |||
| is split across several RTP flows, then it is often necessary to | is split across several RTP flows, then it is often necessary to | |||
| exactly synchronise the RTP flows comprising the different layers | exactly synchronise the RTP flows comprising the different layers | |||
| End of changes. 7 change blocks. | ||||
| 8 lines changed or deleted | 21 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/ | ||||