1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
|
Internet Engineering Task Force (IETF) A. Clark
Request for Comments: 6776 Telchemy
Category: Standards Track Q. Wu
ISSN: 2070-1721 Huawei
October 2012
Measurement Identity and Information Reporting Using a
Source Description (SDES) Item and an RTCP Extended Report (XR) Block
Abstract
This document defines an RTP Control Protocol (RTCP) Source
Description (SDES) item and an RTCP Extended Report (XR) block
carrying parameters that identify and describe a measurement period
to which one or more other RTCP XR blocks may refer.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in Section 2 of RFC 5741.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
http://www.rfc-editor.org/info/rfc6776.
Copyright Notice
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.
Clark & Wu Standards Track [Page 1]
^L
RFC 6776 Measurement Identity and Duration October 2012
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1. RTCP and RTCP XRs . . . . . . . . . . . . . . . . . . . . . 3
1.2. Performance Metrics Framework . . . . . . . . . . . . . . . 3
1.3. Applicability . . . . . . . . . . . . . . . . . . . . . . . 3
2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1. Standards Language . . . . . . . . . . . . . . . . . . . . 4
3. Measurement Identity SDES Item . . . . . . . . . . . . . . . . 4
3.1. APSI: Application-Specific Identifier SDES Item . . . . . . 4
4. Measurement Information XR Block . . . . . . . . . . . . . . . 5
4.1. Report Block Structure . . . . . . . . . . . . . . . . . . 5
4.2. Definition of Fields in Measurement Information Report
Block . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 7
5.1. New RTCP SDES Item Type Value . . . . . . . . . . . . . . . 7
5.2. New RTCP XR Block Type Value . . . . . . . . . . . . . . . 7
5.3. Contact Information for Registrations . . . . . . . . . . . 7
6. Security Considerations . . . . . . . . . . . . . . . . . . . . 7
7. References . . . . . . . . . . . . . . . . . . . . . . . . . . 8
7.1. Normative References . . . . . . . . . . . . . . . . . . . 8
7.2. Informative References . . . . . . . . . . . . . . . . . . 8
1. Introduction
This document defines one new RTP Control Protocol (RTCP) Source
Description (SDES) [RFC3550] item and one new Extended Report (XR)
block carrying parameters that identify and describe a measurement
period to which one or more other RTCP XR blocks may refer.
The SDES item provides a field for an application-specific auxiliary
identifier. This identifier may be used to correlate data in XR
blocks within an RTP session with data from a non-RTP session.
An RTCP Measurement Identity SDES packet may be associated with a set
of RTCP XR metrics blocks that share the same application-specific
measurement identifier.
The XR block does not contain any measurement results (metrics).
Instead, it provides information relevant to a measurement reported
in one or more other block types, including:
o the sequence number of the first packet of the RTP session,
o the extended sequence numbers of the first packet of the current
measurement interval, and the last packet included in the
measurement,
Clark & Wu Standards Track [Page 2]
^L
RFC 6776 Measurement Identity and Duration October 2012
o the duration of the most recent measurement interval, and
o the duration of the interval applicable to cumulative measurements
(which may be the duration of the RTP session to date).
The calculation method of the extended RTP sequence number is
provided in the Real-time Transport Protocol (RTP) [RFC3550].
The RTCP XR block containing the measurement information is intended
to provide a single copy of the information necessary to relate
measurement data in the RTCP XR blocks to the stream and measurement
period to which they refer. Commonly, multiple other small metric
blocks contain measurement data for the same stream and period, and
overhead would be large if all of these metric blocks carried
duplicated data for measurement identification.
The RTCP XR block may be associated with a set of RTCP XR metrics
blocks that share the same information relevant to a reported
measurement. There may be several such sets in an RTCP packet, in
which each set shares the same information relevant to a reported
measurement. There may also be RTCP XR blocks in the packet that are
not associated with a Measurement Information block, for example,
blocks that were defined before the Measurement Identity and
information mechanism were introduced by this document.
1.1. RTCP and RTCP XRs
The use of RTCP for reporting is defined in [RFC3550]. [RFC3611]
defines an extensible structure for reporting by using an RTCP XR.
[RFC3611] also defines the use of XR blocks. This document defines a
new Extended Report block.
1.2. Performance Metrics Framework
The Performance Metrics Framework [RFC6390] provides guidance on the
definition and specification of performance metrics. The RTP
Monitoring Architectures [MONARCH] provides guidelines for reporting
block format using RTCP XR. The SDES item and XR block described in
this document are in accordance with [RFC6390] and [MONARCH].
1.3. Applicability
The RTCP SDES item and the RTCP XR block defined in this document
provide information relevant to the measurements for members of a
family of RTCP XR metrics blocks that are designed to use it. To use
the mechanism defined here, the RTCP XR block containing measurement
information is not required to be in the same RTCP packet as the SDES
item containing measurement identity.
Clark & Wu Standards Track [Page 3]
^L
RFC 6776 Measurement Identity and Duration October 2012
2. Terminology
2.1. Standards Language
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].
3. Measurement Identity SDES Item
This section defines the format of the Measurement Identity SDES
item. The SDES item is carried in the RTCP SDES packet. The packet
format for the RTCP SDES is defined in Section 6.5 of [RFC3550].
Each SDES packet is composed of a header with fixed-length fields for
version, source count, packet type (PT), and length, followed by zero
or more SDES items. In the SDES packet, the PT field is set to SDES
(202).
3.1. APSI: Application-Specific Identifier SDES Item
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| APSI=10 | length |application-specific identifier
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ....
+-+-+-+-+-+-+-+-+
The application-specific identifier is an additional identifier that
is useful in the context of a specific application, e.g., an MPEG-2
transport identifier [MPEG2]. This item MUST be ignored by
applications that are not configured to make use of it. The
identifier is variable length. Its length is described by the length
field. The value of the length field does not include the two-octet
SDES item header.
Clark & Wu Standards Track [Page 4]
^L
RFC 6776 Measurement Identity and Duration October 2012
4. Measurement Information XR Block
4.1. Report Block Structure
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| BT=14 | Reserved | block length = 7 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SSRC of stream source |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Reserved | first sequence number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| extended first sequence number of interval |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| extended last sequence number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Measurement Duration (Interval) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Measurement Duration (Cumulative) - Seconds (bit 0-31) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Measurement Duration (Cumulative) - Fraction (bit 0-31) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Report Block Structure
4.2. Definition of Fields in Measurement Information Report Block
Block type (BT): 8 bits
A Measurement Information Block is identified by the constant 14.
Reserved: 8 bits
These bits are reserved. They MUST be set to zero by senders and
ignored by receivers.
Block Length: 16 bits
The length of this report block in 32-bit words minus one. For
the Measurement Information Block, the block length is equal to 7.
SSRC of source: 32 bits
As defined in Section 4.1 of [RFC3611].
Clark & Wu Standards Track [Page 5]
^L
RFC 6776 Measurement Identity and Duration October 2012
Reserved: 16 bits
These bits are reserved. They MUST be set to zero by senders and
ignored by receivers.
First sequence number: 16 bits
The RTP sequence number of the first received RTP packet of the
session, used to determine the number of packets contributing to
cumulative measurements.
Extended first sequence number of interval: 32 bits
The extended RTP sequence number of the first received RTP packet
of the current measurement interval. The extended sequence number
is expressed as the low 16-bit value containing the sequence
number received in an RTP data packet and the most significant
16-bit value containing the corresponding count of sequence number
cycles. For additional information on extended sequence numbers,
see the "extended highest sequence number received" definition in
Section 6.4.1 of RFC 3550 and Appendix A.1 of RFC 3550.
Extended last sequence number: 32 bits
The extended RTP sequence number of the last received RTP packet
that contributed to this measurement. The extended sequence
number is expressed as the low 16-bit value containing the
sequence number received in an RTP data packet and the most
significant 16-bit value containing the corresponding count of
sequence number cycles. For additional information on extended
sequence numbers, see the "extended highest sequence number
received" definition in Section 6.4.1 of RFC 3550 and Appendix A.1
of RFC 3550.
Measurement Duration (Interval): 32 bits
The duration, expressed in units of 1/65536 seconds, of the
reporting interval applicable to Interval reports that use this
Measurement Information Block. The value of this field can be
calculated by the receiver of the RTP media stream, for example,
based on received RTP media packets or using the RTCP method
described in [RFC3550].
Clark & Wu Standards Track [Page 6]
^L
RFC 6776 Measurement Identity and Duration October 2012
Measurement Duration (Cumulative): 64 bits
The duration of the reporting interval applicable to Cumulative
reports that use this Measurement Information Block. The value of
this field is represented using a 64-bit NTP-format timestamp as
defined in [RFC5905], which is a 64-bit unsigned fixed-point
number with the integer part in the first 32 bits and the
fractional part in the last 32 bits. It can be calculated by the
receiver of the RTP media stream, for example, based on received
RTP media packets or using the RTCP method described in [RFC3550].
5. IANA Considerations
A new SDES item type for RTCP SDES and a new XR block type for RTCP
XR have been registered with IANA. For general guidelines on IANA
considerations, refer to [RFC3550] for RTCP SDES and [RFC3611] for
RTCP XR.
5.1. New RTCP SDES Item Type Value
This document adds the Measurement Identity SDES item to the IANA
"RTP SDES item types" registry as follows:
abbrev. name value
APSI Application-Specific Identifier 10
5.2. New RTCP XR Block Type Value
This document assigns the block type value 14 in the IANA "RTCP XR
Block Type Registry" to the "Measurement Information Block".
5.3. Contact Information for Registrations
The contact information for the registrations is:
Qin Wu (sunseawq@huawei.com)
101 Software Avenue, Yuhua District
Nanjing, Jiangsu 210012
China
6. Security Considerations
RTCP reports can contain sensitive information, including information
about the nature and duration of a session established between two or
more endpoints. Therefore, the use of security mechanisms with RTP,
as documented in Section 9 of [RFC3550], applies.
Clark & Wu Standards Track [Page 7]
^L
RFC 6776 Measurement Identity and Duration October 2012
7. References
7.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., Ed., Caceres, R., Ed., and A. Clark, Ed.,
"RTP Control Protocol Extended Reports (RTCP XR)",
RFC 3611, November 2003.
[RFC5905] Mills, D., Martin, J., Ed., Burbank, J., and W. Kasch,
"Network Time Protocol Version 4: Protocol and Algorithms
Specification", RFC 5905, June 2010.
7.2. Informative References
[MONARCH] Wu, Q., Hunt, G., and P. Arden, "Monitoring Architectures
for RTP", Work in Progress, September 2012.
[MPEG2] ISO/IEC, "Standard 13818-1, Information technology --
Generic coding of moving pictures and associated audio
information: Systems", October 2007.
[RFC6390] Clark, A. and B. Claise, "Guidelines for Considering New
Performance Metric Development", BCP 170, RFC 6390,
October 2011.
Clark & Wu Standards Track [Page 8]
^L
RFC 6776 Measurement Identity and Duration October 2012
Authors' Addresses
Alan Clark
Telchemy Incorporated
2905 Premiere Parkway, Suite 280
Duluth, GA 30097
United States
EMail: alan.d.clark@telchemy.com
Qin Wu
Huawei
101 Software Avenue, Yuhua District
Nanjing, Jiangsu 210012
China
EMail: sunseawq@huawei.com
Clark & Wu Standards Track [Page 9]
^L
|