draft-ietf-avt-rapid-rtp-sync-10.txt   draft-ietf-avt-rapid-rtp-sync-11.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: November 6, 2010 May 5, 2010 Expires: December 1, 2010 May 30, 2010
Rapid Synchronisation of RTP Flows Rapid Synchronisation of RTP Flows
draft-ietf-avt-rapid-rtp-sync-10.txt draft-ietf-avt-rapid-rtp-sync-11.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 November 6, 2010. This Internet-Draft will expire on December 1, 2010.
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 36 skipping to change at page 2, line 36
2.2. Synchronisation for Late Joiners . . . . . . . . . . . . . 8 2.2. Synchronisation for Late Joiners . . . . . . . . . . . . . 8
3. Reducing RTP Synchronisation Delays . . . . . . . . . . . . . 9 3. Reducing RTP Synchronisation Delays . . . . . . . . . . . . . 9
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 . . . . . . . . . . . . . . . . . . . . . 17 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 18
7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 18 7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 18
8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 18 8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 18
8.1. Normative References . . . . . . . . . . . . . . . . . . . 18 8.1. Normative References . . . . . . . . . . . . . . . . . . . 18
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.
skipping to change at page 5, line 49 skipping to change at page 5, line 49
RTCP SDES packet with a CNAME item) immediately on joining each RTP RTCP SDES packet with a CNAME item) immediately on joining each RTP
session in the multimedia session. The individual RTP sessions are session in the multimedia session. The individual RTP sessions are
considered to be joined once any in-band signalling for NAT traversal considered to be joined once any in-band signalling for NAT traversal
(e.g. [12]) and/or security keying (e.g. [13],[14]) has concluded, (e.g. [12]) and/or security keying (e.g. [13],[14]) has concluded,
and the media path is open. This implies that the initial RTCP and the media path is open. This implies that the initial RTCP
packet is sent in parallel with the first data packet following the packet is sent in parallel with the first data packet following the
guidance in RFC 3550 that "the delay before sending the initial guidance in RFC 3550 that "the delay before sending the initial
compound RTCP packet MAY be zero" and, in the absence of any packet compound RTCP packet MAY be zero" and, in the absence of any packet
loss, flows can be synchronised immediately. loss, flows can be synchronised immediately.
Note that NAT pinholes, firewall holes, quality-of-service, and media It is expected that NAT pinholes, firewall holes, quality-of-service,
security keys should have been negotiated as part of the signalling, and media security keys will have been negotiated as part of the
whether in-band or out-of-band, before the first RTCP packet is sent. signalling, whether in-band or out-of-band, before the first RTCP
packet is sent. This should ensure that any middleboxes are ready to
accept traffic, and reduce the likelihood that the initial RTCP
packet will be lost.
This should ensure that any middleboxes are ready to accept traffic,
and reduce the likelihood that the initial RTCP packet will be lost.
2.1.2. Source Specific Multicast (SSM) Sessions 2.1.2. Source Specific Multicast (SSM) Sessions
For multicast sessions, the delay before sending the initial RTCP For multicast sessions, the delay before sending the initial RTCP
packet, and hence the synchronisation delay, varies with the session packet, and hence the synchronisation delay, varies with the session
bandwidth and the number of members in the session. For a multicast bandwidth and the number of members in the session. For a multicast
multimedia or layered session, the average synchronisation delay will multimedia or layered session, the average synchronisation delay will
depend on the slowest of the component RTP sessions; this will depend on the slowest of the component RTP sessions; this will
generally be the session with the lowest bandwidth (assuming all the generally be the session with the lowest bandwidth (assuming all the
RTP sessions have the same number of members). RTP sessions have the same number of members).
skipping to change at page 16, line 7 skipping to change at page 16, line 7
decoding order of the RTP flow hierarchy may be indicated by decoding order of the RTP flow hierarchy may be indicated by
mechanisms defined in [8] or by some other means. mechanisms defined in [8] or by some other means.
Note that the decoding order will not necessarily match the packet Note that the decoding order will not necessarily match the packet
transmission order. The receiver will need to buffer packets for a transmission order. The receiver will need to buffer packets for a
codec-dependent amount of time in order for all necessary packets to codec-dependent amount of time in order for all necessary packets to
arrive to allow decoding. arrive to allow decoding.
4.3. Example 4.3. Example
The example shown in Figure 3 refers to three RTP flows A, B and C The example shown in Figure 7 refers to three RTP flows A, B and C
containing a layered, a multi-view or a multi-description media containing a layered, a multi-view or a multi-description media
stream. In the example, the dependency signalling as defined in [8] stream. In the example, the dependency signalling as defined in [8]
indicates that flow A is the lowest RTP flow, B is the first higher indicates that flow A is the lowest RTP flow, B is the first higher
RTP flow and depends on A, and C is the second higher RTP flow RTP flow and depends on A, and C is the second higher RTP flow
corresponding to flow A and depends on A and B. A media coding corresponding to flow A and depends on A and B. A media coding
structure is used that results in samples present in higher flows but structure is used that results in samples present in higher flows but
not present in all lower flows. Flow A has the lowest frame rate and not present in all lower flows. Flow A has the lowest frame rate and
Flow B and C have the same but higher frame rate. The figure shows Flow B and C have the same but higher frame rate. The figure shows
the full video samples with their corresponding RTP timestamps "(x)". the full video samples with their corresponding RTP timestamps "(x)".
The video samples are already re-ordered according to their RTP The video samples are already re-ordered according to their RTP
skipping to change at page 17, line 30 skipping to change at page 17, line 30
in the RTP flows. in the RTP flows.
Integer values in "[]"- NTP media timestamp TS, sampling time Integer values in "[]"- NTP media timestamp TS, sampling time
as derived from the NTP timestamp associated as derived from the NTP timestamp associated
with the video sample AU(TS[..]), consisting with the video sample AU(TS[..]), consisting
of sample parts in the flows above. of sample parts in the flows above.
Integer values in "<>"- NTP media timestamp TS as directly Integer values in "<>"- NTP media timestamp TS as directly
taken from the NTP RTP header extensions. taken from the NTP RTP header extensions.
Integer values in "{}"- NTP media timestamp TS as provided in the Integer values in "{}"- NTP media timestamp TS as provided in the
RTCP sender reports. RTCP sender reports.
Figure 7: Example of a layered RTP stream
5. Security Considerations 5. Security Considerations
The security considerations of the RTP specification [1], the The security considerations of the RTP specification [1], the
Extended RTP profile for RTCP-Based Feedback [2], and the General Extended RTP profile for RTCP-Based Feedback [2], and the General
Mechanism for RTP Header Extensions [6] apply. Mechanism for RTP Header Extensions [6] apply.
The RTP header extensions defined in Section 3.3 include an NTP- The RTP header extensions defined in Section 3.3 include an NTP-
format timestamp. When an RTP session using this header extension is format timestamp. When an RTP session using this header extension is
protected by the Secure RTP framework [18], that header extension is protected by the Secure RTP framework [18], that header extension is
not part of the encrypted portion of the RTP data packets or RTCP not part of the encrypted portion of the RTP data packets or RTCP
control packets; however these NTP-format timestamps are encrypted control packets; however these NTP-format timestamps are encrypted
when using SRTP without this header extension. This is a minor when using SRTP without this header extension. This is a minor
information leak, but one that is not believed to be significant. information leak, but one that is not believed to be significant.
The inclusion of this header extension will also reduce the
efficiency of RTP header compression, if it is used. Furthermore,
middle boxes which do not understand the header extensions may remove
them or may not update the content according to this memo.
6. IANA Considerations 6. IANA Considerations
NOTE TO RFC EDITOR: Please replace "RFC XXXX" in the following with NOTE TO RFC EDITOR: Please replace "RFC XXXX" in the following with
the RFC number assigned to this memo, and delete this note. the RFC number assigned to this memo, and delete this note.
The IANA is requested to register one new value in the table of FMT The IANA is requested to register one new value in the table of FMT
Values for RTPFB Payload Types [2] as follows: Values for RTPFB Payload Types [2] as follows:
Name: RTCP-SR-REQ Name: RTCP-SR-REQ
Long name: RTCP Rapid Resynchronisation Request Long name: RTCP Rapid Resynchronisation Request
Value: 5 Value: 5
Reference: RFC XXXX Reference: RFC XXXX
The IANA is also requested to register two new RTP Compact Header The IANA is also requested to register two new RTP Compact Header
Extensions [6], according to the following: Extensions [6], according to the following:
Extension URI: urn:ietf:params:rtp-hdrext:ntp-64 Extension URI: urn:ietf:params:rtp-hdrext:ntp-64
Description: Synchronisation metadata: 64-bit timestamp format Description: Synchronisation metadata: 64-bit timestamp format
Contact: Thomas Schierl <Thomas.Schierl@hhi.fraunhofer.de> Contact: Thomas Schierl <ts@thomas-schierl.de>
IETF Audio/Video Transport Working Group IETF Audio/Video Transport Working Group
Reference: RFC XXXX Reference: RFC XXXX
Extension URI: urn:ietf:params:rtp-hdrext:ntp-56 Extension URI: urn:ietf:params:rtp-hdrext:ntp-56
Description: Synchronisation metadata: 56-bit timestamp format Description: Synchronisation metadata: 56-bit timestamp format
Contact: Thomas Schierl <ts@thomas-schierl.de> Contact: Thomas Schierl <ts@thomas-schierl.de>
IETF Audio/Video Transport Working Group IETF Audio/Video Transport Working Group
Reference: RFC XXXX Reference: RFC XXXX
7. Acknowledgements 7. Acknowledgements
 End of changes. 10 change blocks. 
12 lines changed or deleted 18 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/