draft-ietf-xrblock-rtcp-xr-loss-conceal-11.txt   draft-ietf-xrblock-rtcp-xr-loss-conceal-12.txt 
Audio/Video Transport Working Group A. Clark Audio/Video Transport Working Group A. Clark
Internet-Draft Telchemy Internet-Draft Telchemy
Intended status: Standards Track G. Zorn Intended status: Standards Track G. Zorn
Expires: September 30, 2014 Network Zen Expires: October 13, 2014 Network Zen
C. Bi C. Bi
STTRI STTRI
Q. Wu, Ed. Q. Wu, Ed.
Huawei Huawei
March 29, 2014 April 11, 2014
RTCP XR Report Block for Concealment metrics Reporting on Audio RTCP XR Report Block for Concealment metrics Reporting on Audio
Applications Applications
draft-ietf-xrblock-rtcp-xr-loss-conceal-11.txt draft-ietf-xrblock-rtcp-xr-loss-conceal-12.txt
Abstract Abstract
This document defines two RTCP XR Report Blocks that allows the This document defines two RTCP XR Report Blocks that allows the
reporting of concealment metrics for audio applications of RTP. reporting of concealment metrics for audio applications of RTP.
Status of this Memo Status of this Memo
This Internet-Draft is submitted in full conformance with the This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79. provisions of BCP 78 and BCP 79.
skipping to change at page 1, line 37 skipping to change at page 1, line 37
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/. Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
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."
This Internet-Draft will expire on September 30, 2014. This Internet-Draft will expire on October 13, 2014.
Copyright Notice Copyright Notice
Copyright (c) 2014 IETF Trust and the persons identified as the Copyright (c) 2014 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 Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of (http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
skipping to change at page 6, line 26 skipping to change at page 6, line 26
measurement period is not received in the same compound RTCP packet measurement period is not received in the same compound RTCP packet
as this Metrics Block, this metrics block MUST be discarded. as this Metrics Block, this metrics block MUST be discarded.
3.1. Report Block Structure 3.1. Report Block Structure
Loss Concealment Metrics Block Loss Concealment Metrics Block
0 1 2 3 0 1 2 3
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| BT=NLC | I |plc| rsv. | block length=5 | | BT=NLC | I |plc| rsv. | block length=6 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SSRC of Source | | SSRC of Source |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| On-time Playout Duration | | On-time Playout Duration |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Loss Concealment Duration | | Loss Concealment Duration |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Buffer Adjustment Concealment Duration | | Buffer Adjustment Concealment Duration |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Playout Interrupt Count | Reserved. | | Playout Interrupt Count | Reserved. |
skipping to change at page 8, line 13 skipping to change at page 8, line 13
enhanced in section 4.7.6 of [RFC3611]. enhanced in section 4.7.6 of [RFC3611].
Reserved (resv): 4 bits Reserved (resv): 4 bits
These bits are reserved. They MUST be set to zero by senders and These bits are reserved. They MUST be set to zero by senders and
ignored by receivers (See [RFC6709] section 4.2). ignored by receivers (See [RFC6709] section 4.2).
block length: 16 bits block length: 16 bits
The length of this report block in 32-bit words, minus one. For The length of this report block in 32-bit words, minus one. For
the Loss Concealment Block, the block length is equal to 5. the Loss Concealment Block, the block length is equal to 6.
SSRC of source: 32 bits SSRC of source: 32 bits
As defined in Section 4.1 of [RFC3611]. As defined in Section 4.1 of [RFC3611].
On-time Playout Duration: 32 bits On-time Playout Duration: 32 bits
'On-time' playout is the uninterrupted, in-sequence playout of 'On-time' playout is the uninterrupted, in-sequence playout of
valid decoded audio information originating from the remote valid decoded audio information originating from the remote
endpoint. This includes comfort noise during periods of remote endpoint. This includes comfort noise during periods of remote
talker silence, if VAD [VAD] is used, and locally generated or talker silence, if VAD [VAD] is used, and locally generated or
regenerated tones and announcements. regenerated tones and announcements.
An equivalent definition is that on-time playout is playout of any An equivalent definition is that on-time playout is playout of any
signal other than those used for concealment. signal other than those used for concealment.
On-time playout duration is expressed in units of RTP timestamp On-time playout duration is expressed in units of RTP timestamp
and MUST include both speech and silence intervals, whether VAD is and MUST include both speech and silence intervals, whether VAD is
used or not. used or not.
If the measured value exceeds 0xFFFFFFFD, the value 0xFFFFFFFE Two values are reserved: A value of 0xFFFFFFFE indicates out of
MUST be reported to indicate an over-range measurement. If the range (that is, a measured value exceeding 0xFFFFFFFD) and a value
measurement is unavailable, the value 0xFFFFFFFF MUST be reported. of 0xFFFFFFFF indicates that the measurement is unavailable.
Loss Concealment Duration: 32 bits Loss Concealment Duration: 32 bits
The duration, expressed in units of RTP timestamp, of audio The duration, expressed in units of RTP timestamp, of audio
playout corresponding to Loss-type concealment. playout corresponding to Loss-type concealment.
Loss-type concealment is reactive insertion or deletion of samples Loss-type concealment is reactive insertion or deletion of samples
in the audio playout stream due to effective frame loss at the in the audio playout stream due to effective frame loss at the
audio decoder. "Effective frame loss" is the event in which a audio decoder. "Effective frame loss" is the event in which a
frame of coded audio is simply not present at the audio decoder frame of coded audio is simply not present at the audio decoder
when required. In this case, substitute audio samples are when required. In this case, substitute audio samples are
generally formed, at the decoder or elsewhere, to reduce audible generally formed, at the decoder or elsewhere, to reduce audible
impairment. impairment.
If the measured value exceeds 0xFFFFFFFD, the value 0xFFFFFFFE Two values are reserved: A value of 0xFFFFFFFE indicates out of
MUST be reported to indicate an over-range measurement. If the range (that is, a measured value exceeding 0xFFFFFFFD) and a value
measurement is unavailable, the value 0xFFFFFFFF MUST be reported. of 0xFFFFFFFF indicates that the measurement is unavailable.
Buffer Adjustment Concealment Duration: 32 bits Buffer Adjustment Concealment Duration: 32 bits
The duration, expressed in units of RTP timestamp, of audio The duration, expressed in units of RTP timestamp, of audio
playout corresponding to Buffer Adjustment-type concealment, if playout corresponding to Buffer Adjustment-type concealment, if
known. known.
If the measured value exceeds 0xFFFFFFFD, the value 0xFFFFFFFE
MUST be reported to indicate an over-range measurement. If the
measurement is unavailable, the value 0xFFFFFFFF MUST be reported.
Buffer Adjustment-type concealment is proactive or controlled Buffer Adjustment-type concealment is proactive or controlled
insertion or deletion of samples in the audio playout stream due insertion or deletion of samples in the audio playout stream due
to jitter buffer adaptation, re-sizing or re-centering decisions to jitter buffer adaptation, re-sizing or re-centering decisions
within the endpoint. within the endpoint.
Because this insertion is controlled, rather than occurring Because this insertion is controlled, rather than occurring
randomly in response to losses, it is typically less audible than randomly in response to losses, it is typically less audible than
loss-type concealment. For example, jitter buffer adaptation loss-type concealment. For example, jitter buffer adaptation
events may be constrained to occur during periods of talker events may be constrained to occur during periods of talker
silence, in which case only silence duration is affected, or silence, in which case only silence duration is affected, or
sophisticated time-stretching methods for insertion/deletion sophisticated time-stretching methods for insertion/deletion
during favorable periods in active speech may be employed. during favorable periods in active speech may be employed.
Concealment events which cannot be classified as Buffer Concealment events which cannot be classified as Buffer
Adjustment-type MUST be classified as Loss-type. Adjustment-type MUST be classified as Loss-type.
Two values are reserved: A value of 0xFFFFFFFE indicates out of
range (that is, a measured value exceeding 0xFFFFFFFD) and a value
of 0xFFFFFFFF indicates that the measurement is unavailable.
Playout Interrupt Count: 16 bits Playout Interrupt Count: 16 bits
The number of interruptions to normal playout which occurred The number of interruptions to normal playout which occurred
during the reporting period. during the reporting period.
If the measured value exceeds 0xFFFD, the value 0xFFFE MUST be Two values are reserved: A value of 0xFFFE indicates out of range
reported to indicate an over-range measurement. If the (that is, a measured value exceeding 0xFFFD) and a value of 0xFFFF
measurement is unavailable, the value 0xFFFF MUST be reported. indicates that the measurement is unavailable.
Reserved (resv): 16 bits Reserved (resv): 16 bits
These bits are reserved. They MUST be set to zero by senders and These bits are reserved. They MUST be set to zero by senders and
ignored by receivers (See [RFC6709] section 4.2). ignored by receivers (See [RFC6709] section 4.2).
Mean Playout Interrupt Size: 32 bits Mean Playout Interrupt Size: 32 bits
The mean duration, expressed in units of RTP timestamp, of The mean duration, expressed in units of RTP timestamp, of
interruptions to normal playout which occurred during the interruptions to normal playout which occurred during the
reporting period. reporting period.
If the measured value exceeds 0xFFFD, the value 0xFFFE MUST be Two values are reserved: A value of 0xFFFFFFFE indicates out of
reported to indicate an over-range measurement. If the range (that is, a measured value exceeding 0xFFFFFFFD) and a value
measurement is unavailable, the value 0xFFFF MUST be reported. of 0xFFFFFFFF indicates that the measurement is unavailable.
4. Concealment Seconds Block 4. Concealment Seconds Block
This sub-block described here is intended to be used as described in This sub-block described here is intended to be used as described in
this section, in conjunction with information from the Measurement this section, in conjunction with information from the Measurement
Information block [RFC6776] and provides a description of potentially Information block [RFC6776] and provides a description of potentially
audible impairments due to lost and discarded packets at the audible impairments due to lost and discarded packets at the
endpoint, expressed on a time basis analogous to a traditional PSTN endpoint, expressed on a time basis analogous to a traditional PSTN
T1/E1 errored seconds metric. Instances of this Metrics Block refer T1/E1 errored seconds metric. Instances of this Metrics Block refer
by Synchronization source (SSRC) to the separate auxiliary by Synchronization source (SSRC) to the separate auxiliary
skipping to change at page 14, line 5 skipping to change at page 14, line 5
An unimpaired Second is defined as a continuous period of one An unimpaired Second is defined as a continuous period of one
second during which no frame loss or discard due to late arrival second during which no frame loss or discard due to late arrival
has occurred. Every second in a session must be classified as has occurred. Every second in a session must be classified as
either OK or Concealed. either OK or Concealed.
Normal playout of comfort noise or other silence concealment Normal playout of comfort noise or other silence concealment
signal during periods of talker silence, if VAD is used, shall be signal during periods of talker silence, if VAD is used, shall be
counted as unimpaired seconds. counted as unimpaired seconds.
If the measured value exceeds 0xFFFFFFFD, the value 0xFFFFFFFE Two values are reserved: A value of 0xFFFFFFFE indicates out of
MUST be reported to indicate an over-range measurement. If the range (that is, a measured value exceeding 0xFFFFFFFD) and a value
measurement is unavailable, the value 0xFFFFFFFF MUST be reported. of 0xFFFFFFFF indicates that the measurement is unavailable.
Concealed Seconds: 32 bits Concealed Seconds: 32 bits
A count of the number of Concealed Seconds that have occurred. A count of the number of Concealed Seconds that have occurred.
A Concealed Second is defined as a continuous period of one second A Concealed Second is defined as a continuous period of one second
during which any frame loss or discard due to late arrival has during which any frame loss or discard due to late arrival has
occurred. occurred.
Equivalently, a concealed second is one in which some Loss-type Equivalently, a concealed second is one in which some Loss-type
skipping to change at page 15, line 16 skipping to change at page 15, line 16
cannot hold. In other words, jitter buffer adaptation events cannot hold. In other words, jitter buffer adaptation events
which may be presumed to be audible SHOULD be included in which may be presumed to be audible SHOULD be included in
Concealed Seconds and Severely Concealed Seconds counts. Concealed Seconds and Severely Concealed Seconds counts.
Concealment events which cannot be classified as Buffer Concealment events which cannot be classified as Buffer
Adjustment- type MUST be classified as Loss-type. Adjustment- type MUST be classified as Loss-type.
For clarification, the count of Concealed Seconds MUST include the For clarification, the count of Concealed Seconds MUST include the
count of Severely Concealed Seconds. count of Severely Concealed Seconds.
If the measured value exceeds 0xFFFFFFFD, the value 0xFFFFFFFE Two values are reserved: A value of 0xFFFFFFFE indicates out of
MUST be reported to indicate an over-range measurement. If the range (that is, a measured value exceeding 0xFFFFFFFD) and a value
measurement is unavailable, the value 0xFFFFFFFF MUST be reported. of 0xFFFFFFFF indicates that the measurement is unavailable.
Severely Concealed Seconds: 16 bits Severely Concealed Seconds: 16 bits
A count of the number of Severely Concealed Seconds. A count of the number of Severely Concealed Seconds.
A Severely Concealed Second is defined as a non-overlapping period A Severely Concealed Second is defined as a non-overlapping period
of one second during which the cumulative amount of time that has of one second during which the cumulative amount of time that has
been subject to frame loss or discard due to late arrival, exceeds been subject to frame loss or discard due to late arrival, exceeds
the SCS Threshold. the SCS Threshold.
If the measured value exceeds 0xFFFD, the value 0xFFFE MUST be Two values are reserved: A value of 0xFFFE indicates out of range
reported to indicate an over-range measurement. If the (that is, a measured value exceeding 0xFFFD) and a value of 0xFFFF
measurement is unavailable, the value 0xFFFF MUST be reported. indicates that the measurement is unavailable.
Reserved: 8 bits Reserved: 8 bits
These bits are reserved. They MUST be set to zero by senders and These bits are reserved. They MUST be set to zero by senders and
ignored by receivers (See [RFC6709] section 4.2). ignored by receivers (See [RFC6709] section 4.2).
SCS Threshold: 8 bits SCS Threshold: 8 bits
The SCS Threshold is defined as the percentage of packets The SCS Threshold is defined as the percentage of packets
corresponding to lost or discarded frames that must occur within a corresponding to lost or discarded frames that must occur within a
skipping to change at page 16, line 24 skipping to change at page 16, line 24
providing two additional values of "xr-format" to signal the use of providing two additional values of "xr-format" to signal the use of
two report blocks defined in this document. two report blocks defined in this document.
xr-format =/ xr-conceal-block xr-format =/ xr-conceal-block
/ xr-conc-sec-block / xr-conc-sec-block
xr-conceal-block = "loss-conceal" xr-conceal-block = "loss-conceal"
xr-conc-sec-block = "conc-sec" ["=" thresh] xr-conc-sec-block = "conc-sec" ["=" thresh]
thresh = 1*DIGIT ; threshold for SCS (ms) thresh = 1*DIGIT ; threshold for SCS (ms)
DIGIT = %x30-39 DIGIT = <as defined in Section 3 of [RFC5234]>
5.2. Offer/Answer Usage 5.2. Offer/Answer Usage
When SDP is used in offer-answer context, the SDP Offer/Answer usage When SDP is used in offer-answer context, the SDP Offer/Answer usage
defined in [RFC3611] applies. Note that "thresh" is declared by the defined in [RFC3611] applies. Note that "thresh" is declared by the
offer. offer.
6. IANA Considerations 6. IANA Considerations
New block types for RTCP XR are subject to IANA registration. For New block types for RTCP XR are subject to IANA registration. For
skipping to change at page 20, line 13 skipping to change at page 20, line 13
Geoff Hunt wrote the initial draft of this document. Geoff Hunt wrote the initial draft of this document.
9. Acknowledgements 9. Acknowledgements
The authors gratefully acknowledge reviews and feedback provided by The authors gratefully acknowledge reviews and feedback provided by
Bruce Adams, Philip Arden, Amit Arora, Bob Biskner, Kevin Connor, Bruce Adams, Philip Arden, Amit Arora, Bob Biskner, Kevin Connor,
Claus Dahm, Randy Ethier, Roni Even, Jim Frauenthal, Albert Higashi, Claus Dahm, Randy Ethier, Roni Even, Jim Frauenthal, Albert Higashi,
Tom Hock, Shane Holthaus, Paul Jones, Rajesh Kumar, Keith Lantz, Tom Hock, Shane Holthaus, Paul Jones, Rajesh Kumar, Keith Lantz,
Mohamed Mostafa, Amy Pendleton, Colin Perkins, Mike Ramalho, Ravi Mohamed Mostafa, Amy Pendleton, Colin Perkins, Mike Ramalho, Ravi
Raviraj, Albrecht Schwarz, Tom Taylor, Hideaki Yamada ,Alissa Raviraj, Albrecht Schwarz, Tom Taylor, Hideaki Yamada ,Alissa
Cooper,Meral Shirazipour and MORTON, ALFRED C (AL). Cooper,Meral Shirazipour and ,MORTON, ALFRED C (AL),Adrian Farrel and
Pete Resnick.
10. References 10. References
10.1. Normative References 10.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", March 1997. Requirement Levels", March 1997.
[RFC3550] Schulzrinne, H., "RTP: A Transport Protocol for Real-Time [RFC3550] Schulzrinne, H., "RTP: A Transport Protocol for Real-Time
Applications", RFC 3550, July 2003. Applications", RFC 3550, July 2003.
[RFC3611] Friedman, T., Caceres, R., and A. Clark, "RTP Control [RFC3611] Friedman, T., Caceres, R., and A. Clark, "RTP Control
Protocol Extended Reports (RTCP XR)", November 2003. Protocol Extended Reports (RTCP XR)", November 2003.
[RFC4566] Handley, M., Jacobson, V., and C. Perkins, "SDP: Session [RFC4566] Handley, M., Jacobson, V., and C. Perkins, "SDP: Session
Description Protocol", July 2006. Description Protocol", July 2006.
[RFC5234] Crocker, D. and P. Overell, "Augmented BNF for Syntax
Specifications: ABNF", RFC 5234, January 2008.
[RFC6776] Wu, Q., "Measurement Identity and information Reporting [RFC6776] Wu, Q., "Measurement Identity and information Reporting
using SDES item and XR Block", RFC 6776, August 2012. using SDES item and XR Block", RFC 6776, August 2012.
10.2. Informative References 10.2. Informative References
[RFC6390] Clark, A. and B. Claise, "Framework for Performance Metric [RFC6390] Clark, A. and B. Claise, "Framework for Performance Metric
Development", RFC 6390, October 2011. Development", RFC 6390, October 2011.
[RFC6709] Carpenter, B., Aboba, B., and S. Cheshire, "Design [RFC6709] Carpenter, B., Aboba, B., and S. Cheshire, "Design
Considerations for Protocol Extensions", RFC 6709, Considerations for Protocol Extensions", RFC 6709,
 End of changes. 18 change blocks. 
33 lines changed or deleted 37 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/