draft-ietf-avt-rapid-rtp-sync-07.txt   draft-ietf-avt-rapid-rtp-sync-08.txt 
Network Working Group C. Perkins Network Working Group C. Perkins
Internet-Draft University of Glasgow Internet-Draft University of Glasgow
Updates: RFC3550 T. Schierl Updates: RFC3550 T. Schierl
(if approved) Fraunhofer HHI (if approved) Fraunhofer HHI
Intended status: Standards Track November 9, 2009 Intended status: Standards Track December 22, 2009
Expires: May 13, 2010 Expires: June 25, 2010
Rapid Synchronisation of RTP Flows Rapid Synchronisation of RTP Flows
draft-ietf-avt-rapid-rtp-sync-07.txt draft-ietf-avt-rapid-rtp-sync-08.txt
Status of this Memo Status of this Memo
This Internet-Draft is submitted to IETF in full conformance with the This Internet-Draft is submitted to IETF in full conformance with the
provisions of BCP 78 and BCP 79. provisions of BCP 78 and 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
other groups may also distribute working documents as Internet- other groups may also distribute working documents as Internet-
Drafts. Drafts.
skipping to change at page 1, line 34 skipping to change at page 1, line 34
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 May 13, 2010. This Internet-Draft will expire on June 25, 2010.
Copyright Notice Copyright Notice
Copyright (c) 2009 IETF Trust and the persons identified as the Copyright (c) 2009 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 in effect on the date of Provisions Relating to IETF Documents in effect on the date of
publication of this document (http://trustee.ietf.org/license-info). publication of this document (http://trustee.ietf.org/license-info).
Please review these documents carefully, as they describe your rights Please review these documents carefully, as they describe your rights
skipping to change at page 3, line 20 skipping to change at page 3, line 20
2.1.1. Unicast Sessions . . . . . . . . . . . . . . . . . . . 6 2.1.1. Unicast Sessions . . . . . . . . . . . . . . . . . . . 6
2.1.2. Source Specific Multicast (SSM) Sessions . . . . . . . 7 2.1.2. Source Specific Multicast (SSM) Sessions . . . . . . . 7
2.1.3. Any Source Multicast (ASM) Sessions . . . . . . . . . 8 2.1.3. Any Source Multicast (ASM) Sessions . . . . . . . . . 8
2.1.4. Discussion . . . . . . . . . . . . . . . . . . . . . . 9 2.1.4. Discussion . . . . . . . . . . . . . . . . . . . . . . 9
2.2. Synchronisation for Late Joiners . . . . . . . . . . . . . 9 2.2. Synchronisation for Late Joiners . . . . . . . . . . . . . 9
3. Reducing RTP Synchronisation Delays . . . . . . . . . . . . . 10 3. Reducing RTP Synchronisation Delays . . . . . . . . . . . . . 10
3.1. Reduced Initial RTCP Interval for SSM Senders . . . . . . 10 3.1. Reduced Initial RTCP Interval for SSM Senders . . . . . . 10
3.2. Rapid Resynchronisation Request . . . . . . . . . . . . . 11 3.2. Rapid Resynchronisation Request . . . . . . . . . . . . . 11
3.3. In-band Delivery of Synchronisation Metadata . . . . . . . 12 3.3. In-band Delivery of Synchronisation Metadata . . . . . . . 12
4. Application to Decoding Order Recovery in Layered Codecs . . . 14 4. Application to Decoding Order Recovery in Layered Codecs . . . 14
4.1. In-band Synchronisation for Decoding Order Recovery . . . 14 4.1. In-band Synchronisation for Decoding Order Recovery . . . 15
4.2. Timestamp based decoding order recovery . . . . . . . . . 15 4.2. Timestamp based decoding order recovery . . . . . . . . . 16
4.3. Example . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.3. Example . . . . . . . . . . . . . . . . . . . . . . . . . 17
5. Security Considerations . . . . . . . . . . . . . . . . . . . 18 5. Security Considerations . . . . . . . . . . . . . . . . . . . 18
6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 18 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 18
7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 19 7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 19
8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 19 8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 19
8.1. Normative References . . . . . . . . . . . . . . . . . . . 19 8.1. Normative References . . . . . . . . . . . . . . . . . . . 19
8.2. Informative References . . . . . . . . . . . . . . . . . . 20 8.2. Informative References . . . . . . . . . . . . . . . . . . 20
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 20 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 21
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
until sufficient RTCP SR packets have been received for each RTP flow until sufficient RTCP SR packets have been received for each RTP flow
to allow the receiver to establish mappings between the media clock to allow the receiver to establish mappings between the media clock
skipping to change at page 10, line 33 skipping to change at page 10, line 33
high accuracy given sufficient reports. Collecting sufficient high accuracy given sufficient reports. Collecting sufficient
RTCP SR data to perform this estimation, however, may require RTCP SR data to perform this estimation, however, may require
reception of several RTCP reports, further increasing the reception of several RTCP reports, further increasing the
synchronisation delay. synchronisation delay.
3. Many media codecs have the notion of periodic access points, such 3. Many media codecs have the notion of periodic access points, such
that a newly joined receiver often cannot start decoding a media that a newly joined receiver often cannot start decoding a media
stream until the packets corresponding to the access point have stream until the packets corresponding to the access point have
been received. These access points may be sent less often than been received. These access points may be sent less often than
RTCP SR packets, and so may be the limiting factor in starting RTCP SR packets, and so may be the limiting factor in starting
synchronised media playout for late joiners. synchronised media playout for late joiners. The RTP extension
for unicast-based rapid acquisition of multicast RTP sessions
[16] may be used to reduce the time taken to receive the access
points in some scenarios.
These delays are likely an issue for tuning in to an ongoing These delays are likely an issue for tuning in to an ongoing
multicast RTP session, or for video switching MCUs. multicast RTP session, or for video switching MCUs.
3. Reducing RTP Synchronisation Delays 3. Reducing RTP Synchronisation Delays
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.
skipping to change at page 11, line 36 skipping to change at page 11, line 39
The Feedback Control Information (FCI) part of the feedback message The Feedback Control Information (FCI) part of the feedback message
MUST be empty. The SSRC of packet sender indicates the member that MUST be empty. The SSRC of packet sender indicates the member that
is unable to synchronise media streams, while the SSRC of media is unable to synchronise media streams, while the SSRC of media
source indicates the sender of the media it is unable to synchronise. source indicates the sender of the media it is unable to synchronise.
The length MUST equal 2. The length MUST equal 2.
If the RTP/AVPF profile [2] is in use, this feedback message MAY be If the RTP/AVPF profile [2] is in use, this feedback message MAY be
sent by a receiver to indicate that it's unable to synchronise some sent by a receiver to indicate that it's unable to synchronise some
media streams, and desires that the media source transmit an RTCP SR media streams, and desires that the media source transmit an RTCP SR
packet as soon as possible (within the constraints of the RTCP timing packet as soon as possible (within the constraints of the RTCP timing
rules for early feedback). When it receives such an indication, the rules for early feedback). When it receives such an indication, a
media source SHOULD generate an RTCP SR packet as soon as possible media source that understands the RTCP-SR-REQ packet SHOULD generate
within the RTCP early feedback rules. If the use of non-compound an RTCP SR packet as soon as possible while complying with the RTCP
RTCP [5] was previously negotiated, both the feedback request and the early feedback rules. If the use of non-compound RTCP [5] was
RTCP SR response may be sent as non-compound RTCP packets. The RTCP- previously negotiated, both the feedback request and the RTCP SR
SR-REQ packet MAY be repeated once per RTCP reporting interval if no response may be sent as non-compound RTCP packets. The RTCP-SR-REQ
RTCP SR packet is forthcoming. packet MAY be repeated once per RTCP reporting interval if no RTCP SR
packet is forthcoming. The media source may ignore RTCP-SR-REQ
packets if its regular schedule for transmission of synchronisation
metadata can be expected to allow the receiver to synchronise the
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.
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
skipping to change at page 14, line 23 skipping to change at page 14, line 47
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
before layers other than the base layer can be decoded. Examples of before layers other than the base layer can be decoded. Examples of
such layered encodings are H.264 SVC in NI-T mode [9] and MPEG such layered encodings are H.264 SVC in NI-T mode [9] and MPEG
surround multi-channel audio [16]. As described in Section 2, such surround multi-channel audio [17]. As described in Section 2, such
synchronisation is possible in RTP, but can be difficult to perform synchronisation is possible in RTP, but can be difficult to perform
rapidly. In the following, we describe how the extensions defined in rapidly. In the following, we describe how the extensions defined in
Section 3.3 can be used to synchronise layered flows, and provide a Section 3.3 can be used to synchronise layered flows, and provide a
common timestamp-based decoding order. common timestamp-based decoding order.
4.1. In-band Synchronisation for Decoding Order Recovery 4.1. In-band Synchronisation for Decoding Order Recovery
When a layered, multi-description, or multi-view codec is used, with When a layered, multi-description, or multi-view codec is used, with
the different components of the media being transferred on separate the different components of the media being transferred on separate
RTP flows, the RTP sender SHOULD use periodic synchronous in-band RTP flows, the RTP sender SHOULD use periodic synchronous in-band
skipping to change at page 18, line 13 skipping to change at page 18, line 38
RTCP sender reports. RTCP sender reports.
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 [17], 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.
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.
skipping to change at page 20, line 37 skipping to change at page 21, line 10
Transport Protocol (SRTP)", draft-ietf-avt-dtls-srtp-05 (work Transport Protocol (SRTP)", draft-ietf-avt-dtls-srtp-05 (work
in progress), September 2008. in progress), September 2008.
[14] Zimmermann, P., Johnston, A., and J. Callas, "ZRTP: Media Path [14] Zimmermann, P., Johnston, A., and J. Callas, "ZRTP: Media Path
Key Agreement for Secure RTP", draft-zimmermann-avt-zrtp-13 Key Agreement for Secure RTP", draft-zimmermann-avt-zrtp-13
(work in progress), January 2009. (work in progress), January 2009.
[15] Westerlund, M. and S. Wenger, "RTP Topologies", RFC 5117, [15] Westerlund, M. and S. Wenger, "RTP Topologies", RFC 5117,
January 2008. January 2008.
[16] Bont, F., Doehla, S., Schmidt, M., and R. Sperschneider, "RTP [16] Steeg, B., Begen, A., Caenegem, T., and Z. Vax, "Unicast-Based
Rapid Acquisition of Multicast RTP Sessions",
draft-ietf-avt-rapid-acquisition-for-rtp-05 (work in progress),
November 2009.
[17] Bont, F., Doehla, S., Schmidt, M., and R. Sperschneider, "RTP
Payload Format for Elementary Streams with MPEG Surround multi- Payload Format for Elementary Streams with MPEG Surround multi-
channel audio", draft-ietf-avt-rtp-mps-02 (work in progress), channel audio", draft-ietf-avt-rtp-mps-02 (work in progress),
January 2009. January 2009.
[17] Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K. [18] 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.
Authors' Addresses Authors' Addresses
Colin Perkins Colin Perkins
University of Glasgow University of Glasgow
Department of Computing Science Department of Computing Science
Glasgow G12 8QQ Glasgow G12 8QQ
UK UK
 End of changes. 11 change blocks. 
20 lines changed or deleted 32 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/