AVT A. Begen
Internet-Draft D. Hsu
Intended status: Standards Track M. Lague
Expires: May 15, 2010 Cisco Systems
November 11, 2009
Post-Repair Loss RLE Report Block Type for RTCP XR
draft-ietf-avt-post-repair-rtcp-xr-07
Abstract
This document defines a new report block type within the framework of
RTP Control Protocol (RTCP) Extended Reports (XR). One of the
initial XR report block types is the Loss Run Length Encoding (RLE)
Report Block. This report conveys the information regarding the
individual Real-time Transport Protocol (RTP) packet receipt and loss
events experienced during the RTCP interval preceding the
transmission of the report. The new report, which is referred to as
the Post-repair Loss RLE Report, carries the information regarding
the remaining lost packets after all loss-repair methods are applied.
By comparing the RTP packet receipts/losses before and after the loss
repair is completed, one can determine the effectiveness of the loss-
repair methods in an aggregated fashion. This document also defines
the signaling of the Post-repair Loss RLE Report in the Session
Description Protocol (SDP).
Status of this Memo
This Internet-Draft is submitted to IETF in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that
other groups may also distribute working documents as Internet-
Drafts.
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."
The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt.
The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html.
Begen, et al. Expires May 15, 2010 [Page 1]
Internet-Draft Post-Repair Loss RLE Report Block Type November 2009
This Internet-Draft will expire on May 15, 2010.
Copyright Notice
Copyright (c) 2009 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 BSD License.
This document may contain material from IETF Documents or IETF
Contributions published or made publicly available before November
10, 2008. The person(s) controlling the copyright in some of this
material may not have granted the IETF Trust the right to allow
modifications of such material outside the IETF Standards Process.
Without obtaining an adequate license from the person(s) controlling
the copyright in such materials, this document may not be modified
outside the IETF Standards Process, and derivative works of it may
not be created outside the IETF Standards Process, except to format
it for publication as an RFC or to translate it into languages other
than English.
Begen, et al. Expires May 15, 2010 [Page 2]
Internet-Draft Post-Repair Loss RLE Report Block Type November 2009
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
2. Requirements Notation . . . . . . . . . . . . . . . . . . . . . 4
3. Post-Repair Loss RLE Report Block . . . . . . . . . . . . . . . 4
4. Session Description Protocol Signaling . . . . . . . . . . . . 6
5. Security Considerations . . . . . . . . . . . . . . . . . . . . 7
6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 7
7. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . 8
8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 8
8.1. Normative References . . . . . . . . . . . . . . . . . . . 8
8.2. Informative References . . . . . . . . . . . . . . . . . . 8
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 9
Begen, et al. Expires May 15, 2010 [Page 3]
Internet-Draft Post-Repair Loss RLE Report Block Type November 2009
1. Introduction
RTP Control Protocol (RTCP) is the out-of-band control protocol for
the applications that are using the Real-time Transport Protocol
(RTP) for media delivery and communications [RFC3550]. RTCP allows
the RTP entities to monitor the data delivery and provides them
minimal control functionality via sender and receiver reports as well
as other control packets. [RFC3611] expands the RTCP functionality
further by introducing the RTCP Extended Reports (XR).
One of the initial XR report block types defined in [RFC3611] is the
Loss Run Length Encoding (RLE) Report Block. This report conveys the
information regarding the individual RTP packet receipt and loss
events experienced during the RTCP interval preceding the
transmission of the report. However, the Loss RLE in an RTCP XR
report is usually collected only on the primary source stream before
any loss-repair method is applied. Once one or more loss-repair
methods, e.g., Forward Error Correction (FEC) [RFC5109] and/or
retransmission [RFC4588], are applied, some or all of the lost
packets on the primary source stream may be recovered. However, the
pre-repair Loss RLE cannot indicate which source packets were
recovered and which are still missing. Thus, the pre-repair Loss RLE
cannot specify how well the loss repair performed.
This issue can be addressed by generating an additional report block
(within the same or a different RTCP XR report), which reflects the
packet receipt/loss events after all loss-repair methods are applied.
This report block, which we refer to as the Post-repair Loss RLE,
indicates the remaining missing, i.e., unrepairable, source packets.
When the pre-repair and post-repair Loss RLEs are compared, the RTP
sender or another third party entity can evaluate the effectiveness
of the loss-repair methods in an aggregated fashion. To avoid any
ambiguity in the evaluation, it is RECOMMENDED that the post-repair
Loss RLE is generated for the source packets that have no further
chance of being repaired. If the loss-repair method(s) may still
recover one or more missing source packets, the post-repair Loss RLE
SHOULD NOT be sent until the loss-recovery process has been
completed. However, a potential ambiguity may result from sequence
number wrapping in the primary source stream. Thus, the post-repair
Loss RLE reports may not be delayed arbitrarily. In case of an
ambiguity in the incoming reports, it is the sender's or the
monitoring entity's responsibility to understand which packets the
post-repair Loss RLE report is related to.
Similar to the pre-repair Loss RLE, the post-repair Loss RLE conveys
the receipt/loss events at the packet level and considers partially
repaired packets as unrepaired. Thus, the methods that can partially
recover the missing data SHOULD NOT be evaluated based on the
Begen, et al. Expires May 15, 2010 [Page 4]
Internet-Draft Post-Repair Loss RLE Report Block Type November 2009
information provided by the Post-repair Loss RLE Reports since such
information may underestimate the effectiveness of such methods.
Note that the idea of using pre-repair and post-repair Loss RLEs can
be further extended when multiple sequential loss-repair methods are
applied to the primary source stream. Reporting the Loss RLEs before
and after each loss-repair method can provide specific information
about the individual performances of these methods. However, it can
be a difficult task to quantify the specific contribution made by
each loss-repair method in hybrid systems, where different methods
collectively work together to repair the lost source packets. Thus,
in this specification we only consider reporting the Loss RLE after
all loss-repair methods are applied.
This document registers a new report block type to cover the post-
repair Loss RLE within the framework of RTCP XR. Applications that
are employing one or more loss-repair methods MAY use Post-repair
Loss RLE Reports for every packet they receive or for a set of
specific packets they have received. In other words, the coverage of
the post-repair Loss RLEs may or may not be contiguous.
2. Requirements Notation
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 [RFC2119].
3. Post-Repair Loss RLE Report Block
The Post-repair Loss RLE Report Block is similar to the existing Loss
RLE Report Block defined in [RFC3611]. The report format is shown in
Figure 1. Using the same structure for reporting both pre-repair and
post-repair Loss RLEs allows the implementations to compare the Loss
RLEs very efficiently.
Begen, et al. Expires May 15, 2010 [Page 5]
Internet-Draft Post-Repair Loss RLE Report Block Type November 2009
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=10 | rsvd. | T | block length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SSRC of source |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| begin_seq | end_seq |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| chunk 1 | chunk 2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: ... :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| chunk n-1 | chunk n |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 1: Format for the post-repair loss RLE report block
o block type (BT): 8 bits
A Post-repair Loss RLE Report Block is identified by the constant
10.
o rsvd.: 4 bits
This field is reserved for future definition. In the absence of
such definition, the bits in this field MUST be set to zero and
MUST be ignored by the receiver.
o thinning (T): 4 bits
The amount of thinning performed on the sequence number space.
Only those packets with sequence numbers 0 mod 2^T are reported on
by this block. A value of 0 indicates that there is no thinning,
and all packets are reported on. The maximum thinning is one
packet in every 32,768 (amounting to two packets within each 16-
bit sequence space).
If thinning is desired, It is RECOMMENDED to use the same thinning
value in the pre-repair and post-repair Loss RLE reports. This
will allow easier report processing and correlation. However,
based on the specific needs of the application or the monitoring
entity, different values of thinning MAY be used for pre-repair
and post-repair Loss RLE reports.
o block length: 16 bits
The length of this report block, including the header, in 32-bit
words minus one.
o SSRC of source: 32 bits
Begen, et al. Expires May 15, 2010 [Page 6]
Internet-Draft Post-Repair Loss RLE Report Block Type November 2009
The SSRC of the RTP data packet source being reported upon by this
report block.
o begin_seq: 16 bits
The first sequence number that this block reports on.
o end_seq: 16 bits
The last sequence number that this block reports on plus one.
o chunk i: 16 bits
There are three chunk types: run length, bit vector, and
terminating null, defined in [RFC3611] (Section 4). If the chunk
is all zeroes, then it is a terminating null chunk. Otherwise,
the left most bit of the chunk determines its type: 0 for run
length and 1 for bit vector.
Note that the sequence numbers that are included in the report refer
to the primary source stream.
When using post-repair Loss RLE reports, the amount of bandwidth
consumed by the detailed reports should be considered carefully. The
bandwidth usage rules as they are described in [RFC3611] apply to
post-repair Loss RLE reports as well.
4. Session Description Protocol Signaling
A new parameter is defined for the Post-repair Loss RLE Report Block
to be used with Session Description Protocol (SDP) [RFC4566] using
the Augmented Backus-Naur Form (ABNF) [RFC5234]. It has the
following syntax within the "rtcp-xr" attribute [RFC3611]:
rtcp-xr-attrib = "a=rtcp-xr:" [xr-format *(SP xr-format)] CRLF
xr-format =/ "post-repair-loss-rle" ["=" max-size]
max-size = 1*DIGIT ; maximum block size in octets
Figure 2
Refer to Section 5.1 of [RFC3611] for a detailed description and the
full syntax of the "rtcp-xr" attribute.
Begen, et al. Expires May 15, 2010 [Page 7]
Internet-Draft Post-Repair Loss RLE Report Block Type November 2009
5. Security Considerations
The security considerations of [RFC3611] apply in this document as
well. Additional security considerations are briefly mentioned
below.
An attacker who monitors the regular pre-repair Loss RLE reports sent
by a group of receivers in the same multicast distribution network
may infer the network characteristics (Multicast Inference of Network
Characteristics). However, monitoring the post-repair Loss RLE
reports will not reveal any further information about the network.
Without the regular pre-repair Loss RLE reports, the post-repair ones
will not be any use to attackers. Even when used with the regular
pre-repair Loss RLE reports, the post-repair Loss RLE reports only
reveal the effectiveness of the repair process. However, this does
not enable any new attacks nor does it provide information to an
attacker that could not be similarly obtained by watching the RTP
packets fly by himself, performing the repair algorithms and
computing the desired output.
An attacker may interfere with the repair process for an RTP stream.
In that case, if the attacker is able to see the post-repair Loss
RLEs, the attacker may infer whether the attack is effective or not,
in which case the attacker may continue attacking or alter the
attack. In practice, however, this does not pose a security risk.
An attacker may put incorrect information in the regular pre-repair
and post-repair Loss RLE reports such that it impacts the proactive
decisions made by the sender in the repair process or the reactive
decisions when responding to the feedback messages coming from the
receiver. A sender application should be aware of such risks and
should take the necessary precautions to minimize the chances for (or
better eliminate) such attacks.
Similar to other RTCP XR reports, the post-repair Loss RLE reports
MAY be protected by using SRTP and SRTCP [RFC3711].
6. IANA Considerations
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 10 in the RTCP XR Block
Type Registry to "Post-repair Loss RLE Report Block." This document
also registers the SDP [RFC4566] parameter "post-repair-loss-rle" for
the "rtcp-xr" attribute in the RTCP XR SDP Parameters Registry.
Begen, et al. Expires May 15, 2010 [Page 8]
Internet-Draft Post-Repair Loss RLE Report Block Type November 2009
The contact information for the registrations is:
Ali Begen
abegen@cisco.com
170 West Tasman Drive
San Jose, CA 95134 USA
7. Acknowledgments
The authors would like to thank the members of the VQE Team at Cisco
and Colin Perkins for their inputs and suggestions.
8. References
8.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997.
[RFC3550] Schulzrinne, H., Casner, S., Frederick, R., and V.
Jacobson, "RTP: A Transport Protocol for Real-Time
Applications", STD 64, RFC 3550, July 2003.
[RFC3611] Friedman, T., Caceres, R., and A. Clark, "RTP Control
Protocol Extended Reports (RTCP XR)", RFC 3611,
November 2003.
[RFC4566] Handley, M., Jacobson, V., and C. Perkins, "SDP: Session
Description Protocol", RFC 4566, July 2006.
[RFC5234] Crocker, D. and P. Overell, "Augmented BNF for Syntax
Specifications: ABNF", STD 68, RFC 5234, January 2008.
8.2. Informative References
[RFC5109] Li, A., "RTP Payload Format for Generic Forward Error
Correction", RFC 5109, December 2007.
[RFC4588] Rey, J., Leon, D., Miyazaki, A., Varsa, V., and R.
Hakenberg, "RTP Retransmission Payload Format", RFC 4588,
July 2006.
[RFC3711] Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K.
Norrman, "The Secure Real-time Transport Protocol (SRTP)",
RFC 3711, March 2004.
Begen, et al. Expires May 15, 2010 [Page 9]
Internet-Draft Post-Repair Loss RLE Report Block Type November 2009
Authors' Addresses
Ali Begen
Cisco Systems
170 West Tasman Drive
San Jose, CA 95134
USA
Email: abegen@cisco.com
Dong Hsu
Cisco Systems
1414 Massachusetts Ave.
Boxborough, MA 01719
USA
Email: dohsu@cisco.com
Michael Lague
Cisco Systems
1414 Massachusetts Ave.
Boxborough, MA 01719
USA
Email: mlague@cisco.com
Begen, et al. Expires May 15, 2010 [Page 10]