Network Working Group | H. Asaeda |
Internet-Draft | NICT |
Intended status: Standards Track | R. Huang |
Expires: April 19, 2013 | Q. Wu |
Huawei | |
October 18, 2012 |
RTP Control Protocol (RTCP) Extended Report (XR) Blocks for Synchronization Delay and Offset Metrics Reporting
draft-ietf-xrblock-rtcp-xr-synchronization-01
This document defines two RTP Control Protocol (RTCP) Extended Report (XR) Blocks and associated with SDP parameters that allow the reporting of synchronization delay and offset metrics for use in a range of RTP applications.
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at http:/⁠/⁠datatracker.ietf.org/⁠drafts/⁠current/⁠.
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."
This Internet-Draft will expire on April 19, 2013.
Copyright (c) 2012 IETF Trust and the persons identified as the document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http:/⁠/⁠trustee.ietf.org/⁠license-⁠info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
This draft defines two new block types to augment those defined in [RFC3611], for use in a range of RTP applications.
The first new block type supports reporting of Initial Synchronization Delay to establish multimedia session. Information is recorded about time difference between the start of RTP sessions and the time the RTP receiver acquires all components of RTP sessions in the multimedia session [RFC6051].
The second new block type supports reporting of the relative synchronization offset time of two arbitrary streams (e.g., between audio and video streams), with the same RTCP CNAME included in RTCP SDES packets [RFC3550]. Information is recorded about the synchronization offset time of each RTP stream relative to the reference RTP stream with the same CNAME and General Synchronization Offset of zero.
These metrics belong to the class of transport level metrics defined in [MONARCH].
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [RFC2119].
In addition, the following terms are defined:
The report blocks defined in this document could be used by dedicated network monitoring applications.
When joining each session in layered video sessions [RFC6190] or the multimedia session, a receiver may not synchronize playout across the multimedia session or layered video session until RTCP SR packets have been received on all components of RTP sessions. The component RTP session are referred to as each RTP session for each media type in multimedia session or separate RTP session for each layer in the layered video session. For unicast session, the delay due to negotiation of NAT pinholes, firewall holes, quality-of-service, and media security keys is contributed to such initial synchronization playout. For multicast session, such initial synchronization delay varies with the session bandwidth, the number of members, and the number of senders in the session. The RTP flow Initial synchronization delay block can be used to report the initial synchronization delay to receive all the RTP streams belonging to the same multimedia session or layered video session. In the absence of packet loss, the initial synchronization delay equals to the average time taken to receive the first RTCP packet in the RTP session with the longest RTCP reporting interval. In the presence of packet loss, the media synchronization needs to based on the in-band mapping of RTP and NTP-format timestamps [RFC6051] or wait until the reporting interval has passed, and the next RTCP SR packet is sent.
In an RTP multimedia session, there can be an arbitrary number of streams carried in different RTP sessions, with the same RTCP CNAME. These streams may be not synchronized with each other. For example, one audio stream and one video stream belong to the same session and audio stream are transmitted lag behind video stream for multiple tens of milliseconds [TR-126]. The RTP Flows Synchronization Offset block can be used to report such synchronization offset between video stream and audio stream.
This block is sent by RTP receivers and reports Initial synchronization delay beyond the information carried in the standard RTCP packet format. Information is recorded about time difference between the start of RTP sessions and the time the RTP receiver acquires all components of RTP sessions [RFC6051].
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BT=RFISD | Reserved | Block length=2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SSRC of Source | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Initial Synchronization Delay | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The RTP Flows Initial Synchronization Delay Report Block has the following format:
In the RTP multimedia sessions, there can be an arbitrary number of Media streams and each media stream (e.g., audio stream or video stream) is sent in a separate RTP stream. The receiver associates RTP streams to be synchronized by means of RTCP CNAME contained in the RTCP Source Description (SDES) packets [RFC3550].
This block is sent by RTP receivers and reports synchronization offset of the arbitrary two RTP streams that needs to be synchronized in the RTP multimedia session. Information is recorded about the relative time difference between two media streams with the same CNAME. In two media streams, one media stream is the reference stream, which can be chosen as the arbitrary stream with minimum delay according to the common criterion defined in section 6.2.2.1 of [Y.1540].
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BT=RFSO |L| Reserved | Block length=4 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SSRC of source | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SSRC of reference | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Synchronization Offset, most significant word | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Synchronization Offset, least significant word | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The RTP Flow General Synchronization Offset Report Block has the following format:
The value of the synchronization offset is represented using a 64-bit NTP-format timestamp as defined in
[RFC5905], which is 64-bit unsigned fixed-point number with the integer part in the first 32 bits and the fractional part in the last 32 bits.[RFC3611] defines the use of SDP (Session Description Protocol) [RFC4566] for signaling the use of XR blocks. XR blocks MAY be used without prior signaling.
rtcp-xr-attrib = "a=rtcp-xr:" [xr-format *(SP xr-format)] CRLF xr-format = RTP-flows-init-syn-delay / RTP-flows-syn-offset RTP-flows-init-syn-delay = "RTP-flows-init-syn-delay" RTP-flow-syn-offset = "RTP-flows-syn-offset"
Two new parameters are defined for the two report blocks defined in this document to be used with Session Description Protocol (SDP) [RFC4566] using the Augmented Backus-Naur Form (ABNF) [RFC5234]. They have the following syntax within the "rtcp-xr" attribute [RFC3611]: RFC 3611 [RFC3611] for a detailed description and the full syntax of the "rtcp-xr" attribute.
When SDP is used in offer-answer context, the SDP Offer/Answer usage defined in [RFC3611] applies.
New report block types for RTCP XR are subject to IANA registration. For general guidelines on IANA allocations for RTCP XR, refer to Section 6.2 of [RFC3611].
This document assigns two new block type values in the RTCP XR Block Type Registry:
This document also registers two new SDP [RFC4566] parameters for the "rtcp-xr" attribute in the RTCP XR SDP Parameters Registry:
The contact information for the registrations is:
The new RTCP XR report blocks proposed in this document introduces no new security considerations beyond those described in [RFC3611].
The authors would like to thank Bill Ver Steeg, David R Oran, Ali Begen, Colin Perkins, Roni Even, Kevin Gross, Jing Zhao, Fernando Boronat Seguí, Youqing Yang, Wenxiao Yu and Yinliang Hu for their valuable comments and suggestions on this document.
[MONARCH] | Wu, Q., "Monitoring Architectures for RTP", ID draft-ietf-avtcore-monarch-22, September 2012. |
[Y.1540] | , , "ITU-T Rec. Y.1540, IP packet transfer and availability performance parameters", November 2007. |
Note to the RFC-Editor: please remove this section prior to publication as an RFC.
The following are the major changes compared to previous version: