rfc-5725

Post-Repair Loss RLE Report Block Type for RTP Control Protocol (RTCP) Extended Reports (XRs)

A. Begen, D. Hsu, M. Lague
date2010-02 streamIETF arearai wgavt statusPROPOSED STANDARD pages9 canonicalhttps://www.rfc-editor.org/rfc/rfc5725 doi10.17487/RFC5725 errataview
This document defines a new report block type within the framework of RTP Control Protocol (RTCP) Extended Reports (XRs). One of the initial XR report block types is the Loss Run Length Encoding (RLE) Report Block. This report conveys 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 information regarding the packets that remain lost 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). [STANDARDS-TRACK]

Extracted elements (21)

design-rationale §1

Only the Loss RLE after all loss-repair methods have been applied is reported (rather than after each individual method), because quantifying the specific contribution of each method in hybrid systems where methods work collectively is a difficult task.

rtp, realtime

design-rationale §3

The Post-repair Loss RLE uses the same structure as the pre-repair Loss RLE Report Block from RFC 3611 to allow implementations to compare the two Loss RLEs very efficiently, avoiding the need for different parsing logic.

rtp, realtime

interoperability-note §1

Post-repair Loss RLE reports may not be delayed arbitrarily because sequence-number wrapping in the primary source stream can create ambiguity. In case of ambiguity, it is the sender's or monitoring entity's responsibility to determine which packets the report relates to.

rtp, realtime

interoperability-note §3

Sequence numbers in the Post-repair Loss RLE report refer to the primary source stream, not to any repair stream. This distinction is critical when loss-repair methods such as FEC or retransmission are used.

rtp, realtime

interoperability-note §3

The bandwidth usage rules described in RFC 3611 apply to Post-repair Loss RLE reports as well; implementations must carefully consider the bandwidth consumed by detailed reports.

rtp, realtime

normative-requirement §1 MAY

Applications employing one or more loss-repair methods MAY use Post-repair Loss RLE reports for every packet received or for a set of specific packets, meaning the coverage of post-repair Loss RLEs may or may not be contiguous.

rtp, realtime

normative-requirement §3 MAY

Different thinning values MAY be used for Pre-repair and Post-repair Loss RLE reports based on the specific needs of the application or monitoring entity.

rtp, realtime

normative-requirement §1 SHOULD NOT

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.

rtp, realtime

normative-requirement §3 RECOMMENDED

If thinning is desired, it is RECOMMENDED to use the same thinning value in both Pre-repair and Post-repair Loss RLE reports to allow easier report processing and correlation.

rtp, realtime

normative-requirement §1 RECOMMENDED

It is RECOMMENDED that the post-repair Loss RLE be generated only for source packets that have no further chance of being repaired, to avoid ambiguity in evaluation.

rtp, realtime

normative-requirement §1 SHOULD NOT

Methods that can partially recover missing data SHOULD NOT be evaluated based on Post-repair Loss RLE reports, as such reports consider partially repaired packets as unrepaired and may underestimate the effectiveness of partial repair methods.

rtp, realtime

normative-requirement §5 MAY

Post-repair Loss RLE reports MAY be protected using SRTP and SRTCP (RFC 3711).

rtp, realtime, security

normative-requirement §3 MUST

The reserved (rsvd.) field in the Post-repair Loss RLE Report Block MUST be set to zero by the sender and MUST be ignored by the receiver.

rtp, realtime

protocol-element §3

The Post-repair Loss RLE Report Block (BT=10) is a new RTCP XR block type that conveys receipt/loss events for RTP packets after all loss-repair methods have been applied. It uses the same structure as the pre-repair Loss RLE Report Block defined in RFC 3611, enabling efficient comparison between pre- and post-repair states.

rtp, realtime

protocol-element §4

The SDP signaling parameter for Post-repair Loss RLE uses the syntax 'post-repair-loss-rle [= max-size]' within the 'rtcp-xr' attribute, where max-size specifies the maximum block size in octets. It is compatible with the 'format-ext' definition in RFC 3611.

rtp, realtime

protocol-element §3

The thinning field (T, 4 bits) controls the sequence-number space coverage: only packets with sequence numbers 0 mod 2^T are reported. A value of 0 means no thinning and all packets are reported; maximum thinning is one packet in every 32,768.

rtp, realtime

registry §6

This document assigns block type value 10 in the RTCP XR Block Type Registry to 'Post-repair Loss RLE Report Block', and registers the SDP parameter 'post-repair-loss-rle' for the 'rtcp-xr' attribute in the RTCP XR SDP Parameters Registry.

rtp, realtime, registry

security-consideration §5

An attacker interfering with the repair process for an RTP stream who can observe Post-repair Loss RLEs may use this feedback to determine whether their attack is effective and adapt accordingly; however, this is considered a low practical security risk.

rtp, realtime, security

security-consideration §5

An attacker may inject incorrect information in Pre-repair or Post-repair Loss RLE reports to influence proactive or reactive decisions made by the sender in the repair process. Sender applications should be aware of this risk and take precautions to minimize or eliminate such attacks.

rtp, realtime, security

security-consideration §5

An attacker monitoring Post-repair Loss RLE reports in addition to Pre-repair reports can infer the effectiveness of the repair process, but this does not enable new attacks beyond what an attacker could determine by observing RTP packets and performing the repair algorithms themselves.

rtp, realtime, security

wire-format §3

The Post-repair Loss RLE Report Block format consists of: BT (8 bits, value=10), rsvd (4 bits, must be zero), T/thinning (4 bits), block length (16 bits, in 32-bit words minus one), SSRC of source (32 bits), begin_seq (16 bits), end_seq (16 bits), followed by 16-bit chunks (run length, bit vector, or terminating null).

rtp, realtime