Audio/Video Transport Working Group | A. Clark |
Internet-Draft | Telchemy |
Intended status: Standards Track | V. Singh |
Expires: October 13, 2013 | Aalto University |
Q. Wu | |
Huawei | |
April 11, 2013 |
RTP Control Protocol (RTCP) Extended Report (XR) Block for Jitter Buffer Metric Reporting
draft-ietf-xrblock-rtcp-xr-jb-10.txt
This document defines an RTP Control Protocol (RTCP) Extended Report (XR) Block that allows the reporting of Jitter Buffer metrics for 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 October 13, 2013.
Copyright (c) 2013 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 document defines a new block type to augment those defined in [RFC3611], for use in a range of RTP applications.
The new block type provides information on jitter buffer configuration and performance.
The metric belongs to the class of transport-related end system metrics defined in [RFC6792].
Instances of this Metrics Block refer by Synchronization source (SSRC) to the separate auxiliary Measurement Information block [RFC6776] which contains information such as the SSRC of the measured stream, and RTP sequence numbers and time intervals indicating the span of the report.
The use of RTCP for reporting is defined in [RFC3550]. [RFC3611] defines an extensible structure for reporting using an RTCP Extended Report (XR). This document defines a new Extended Report block for use with [RFC3550] and [RFC3611].
The Performance Metrics Framework [RFC6390] provides guidance on the definition and specification of performance metrics. The RTP Monitoring Architectures [RFC6792] provides guideline for reporting block format using RTCP XR. Metrics described in this draft are in accordance with the guidelines in [RFC6390]and [RFC6792].
Real-time applications employ a jitter buffer to absorb jitter introduced on the path from source to destination. These metrics are used to report how the jitter buffer at the receiving end of RTP stream behaves as a result of jitter in the network and are applicable to a range of RTP applications.
These metrics reflect how terminal-related factors affect real-time application quality and are useful to provide better end-user quality of experience (QoE).
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].
A jitter buffer is required to absorb delay variation in network delivery of media packets. A jitter buffer works by holding media data for a period of time after it is received and before it is played out. Packets that arrive early are held in the jitter buffer longer. If packets arrive too early they may be discarded if there is no available jitter buffer space. If packets are delayed excessively by the network they may be discarded if they miss their playout time.
Overall user perceived delay = network round trip delay + local (jitter buffer (nominal) delay + encoder serialization delay) + remote (jitter buffer (nominal) delay + encoder serialization delay)
The jitter buffer can be considered as a time window with early edge aligned with the delay corresponding to the earliest arriving packet and late edge representing the maximum permissible delay before a late arriving packet would be discarded. The delay applied to packets that arrive on time or at their expected arrival time is known as the Nominal Delay and this is equivalent to the time difference/ buffer size difference between the on-time packets insertion point and the point at which packets are read out.
The reference for the expected arrival time may, for example, be the first packet in the session or the running average delay. If all packets arrived at their expected arrival time then then every packet would be held in the jitter buffer exactly the Nominal Delay.
The Jitter Buffer maximum delay is the delay that is applied to an earliest arriving packet that is not discarded and corresponds to the early edge of the jitter buffer time window.
In practice jitter buffer implementations vary considerably however should behave in a manner conceptually consistent with an idealized jitter buffer described as follows:
Note that this idealized implementation assumes that the sender's RTP clock is synchronized to the clock in the receiver which is used to timestamp packet arrivals. If there is no such inherent synchronization, the system may need to use an adaptive jitter buffer or other techniques to ensure reliable reception.
A fixed jitter buffer lacks provision to track network condition and has a fixed size and packets leaving the jitter buffer have a constant delay. For fixed jitter buffer implementation, the nominal delay is set to a constant value corresponding to the packets that arrive at their expected arrival time while the maximum delay is set to a constant value corresponding to the fixed size of the jitter buffer.
An adaptive jitter buffer can adapt to the change in the network’s delay and has variable size or variable delay. It allows the nominal delay to be set to a low value initially, to minimize user perceived delay, however can automatically extend the late edge (and possibly also retract the early edge) of buffer window if a significant proportion of packets are arriving late (and hence being discarded).
This block describes the configuration and operating parameters of the jitter buffer in the receiver of the RTP end system or RTP mixer which sends the report. Instances of this Metrics Block refer by SSRC to the separate auxiliary Measurement Information block [RFC6776] which describes the measurement interval in use. This Metrics Block relies on the measurement interval in the Measurement Information block indicating the span of the report and should be sent in the same compound RTCP packet as the measurement information block. If the measurement interval is not received in the same compound RTCP packet as this Metrics Block, this Metrics Block should be discarded.
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=NJB | I |C| Rsvd. | block length=3 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SSRC of Source | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | JB nominal | JB maximum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | JB high water mark | JB low water mark | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 1: Report Block Structure
JB Metrics Block
[RFC3611] defines the use of SDP (Session Description Protocol) [RFC4566] for signaling the use of XR blocks. However XR blocks MAY be used without prior signaling (see section 5 of RFC3611).
xr-format =/ xr-jb-block xr-jb-block = "jitter-bfr"
This section augments the SDP [RFC4566] attribute "rtcp-xr" defined in [RFC3611] by providing an additional value of "xr-format" to signal the use of the report block defined in this document.
When SDP is used in offer-answer context, the SDP Offer/Answer usage defined in [RFC3611] for unilateral "rtcp-xr" attribute parameters applies. For detailed usage of Offer/Answer for unilateral parameter, refer to section 5.2 of [RFC3611].
New block types for RTCP XR are subject to IANA registration. For general guidelines on IANA considerations for RTCP XR, refer to [RFC3611].
This document assigns the block type value NJB in the IANA "RTCP XR Block Type Registry" to the "JB Metrics Block".
[Note to RFC Editor: please replace NJB with the IANA provided RTCP XR block type for this block.]
This document also registers a new parameter "jitter-bfr" in the "RTCP XR SDP Parameters Registry".
The contact information for the registrations is: Qin Wu (sunseawq@huawei.com) 101 Software Avenue, Yuhua District Nanjing, Jiangsu 210012 China
It is believed that this proposed RTCP XR report block introduces no new security considerations beyond those described in [RFC3611]. This block does not provide per-packet statistics so the risk to confidentiality documented in Section 7, paragraph 3 of [RFC3611] does not apply.
Geoff Hunt wrote the initial draft of this document.
The authors gratefully acknowledge reviews and feedback provided by Bruce Adams, Philip Arden, Amit Arora, Bob Biskner, Kevin Connor, Claus Dahm, Randy Ethier, Roni Even, Jim Frauenthal, Albert Higashi, Tom Hock, Shane Holthaus, Paul Jones, Rajesh Kumar, Keith Lantz, Mohamed Mostafa, Amy Pendleton, Colin Perkins, Mike Ramalho, Ravi Raviraj, Albrecht Schwarz, Tom Taylor, Hideaki Yamada,Claire Bi,Colin Perkin, Dan Romascanu, Kevin Gross and Glen Zorn.
[RFC2119] | Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", March 1997. |
[RFC3611] | Friedman, T., Caceres, R. and A. Clark, "RTP Control Protocol Extended Reports (RTCP XR)", November 2003. |
[RFC4566] | Handley, M., Jacobson, V. and C. Perkins, "SDP: Session Description Protocol", July 2006. |
[RFC3550] | Schulzrinne, H., "RTP: A Transport Protocol for Real-Time Applications", RFC 3550, July 2003. |
[RFC6776] | Wu, Q., "Measurement Identity and information Reporting using SDES item and XR Block", RFC 6776, August 2012. |
[RFC6709] | Carpenter, B., Aboba, B. and S. Cheshire, "Design Considerations for Protocol Extensions", RFC 6709, September 2012. |
[RFC6792] | Hunt, G., Wu, Q. and P. Arden, "Monitoring Architectures for RTP", RFC 6792, November 2012. |
[RFC6390] | Clark, A. and B. Claise, "Framework for Performance Metric Development", RFC 6390, October 2011. |
RFC EDITOR NOTE: please change XXXX in [RFCXXXX] by the new RFC number, when assigned.
Note to the RFC-Editor: please remove this section prior to publication as an RFC.
The following are the major changes to previous version :
The following are the major changes to previous version :
The following are the major changes to previous version :
The following are the major changes to previous version :
The following are the major changes to previous version :
The following are the major changes to previous version :
The following are the major changes to previous version :
The following are the major changes to previous version :
The following are the major changes to previous version :