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
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
|
Internet Engineering Task Force (IETF) A. Clark
Request for Comments: 7294 Telchemy
Category: Standards Track G. Zorn
ISSN: 2070-1721 Network Zen
C. Bi
STTRI
Q. Wu
Huawei
July 2014
RTP Control Protocol (RTCP) Extended Report (XR) Blocks
for Concealment Metrics Reporting on Audio Applications
Abstract
This document defines two RTP Control Protocol (RTCP) Extended Report
(XR) blocks that allow the reporting of concealment metrics for audio
applications of RTP.
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/rfc7294.
Copyright Notice
Copyright (c) 2014 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, et al. Standards Track [Page 1]
^L
RFC 7294 RTCP XR Concealment July 2014
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1. Loss Concealment and Concealed Seconds Metrics
Blocks . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2. RTCP and RTCP Extended Reports . . . . . . . . . . . . . 3
1.3. Performance Metrics Framework . . . . . . . . . . . . . . 4
1.4. Applicability . . . . . . . . . . . . . . . . . . . . . . 4
2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1. Standards Language . . . . . . . . . . . . . . . . . . . 4
2.2. Notations . . . . . . . . . . . . . . . . . . . . . . . . 4
3. Loss Concealment Metrics Block . . . . . . . . . . . . . . . 5
3.1. Report Block Structure . . . . . . . . . . . . . . . . . 5
3.2. Definition of Fields in Loss Concealment Metrics Block . 5
4. Concealed Seconds Metrics Block . . . . . . . . . . . . . . . 9
4.1. Report Block Structure . . . . . . . . . . . . . . . . . 10
4.2. Definition of Fields in Concealed Seconds Metrics Block . 10
5. SDP Signaling . . . . . . . . . . . . . . . . . . . . . . . . 14
5.1. SDP rtcp-xr-attrib Attribute Extension . . . . . . . . . 14
5.2. Offer/Answer Usage . . . . . . . . . . . . . . . . . . . 14
6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 14
6.1. New RTCP XR Block Type Values . . . . . . . . . . . . . . 14
6.2. New RTCP XR SDP Parameters . . . . . . . . . . . . . . . 15
6.3. Contact Information for Registrations . . . . . . . . . . 15
7. Security Considerations . . . . . . . . . . . . . . . . . . . 15
8. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 15
9. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 15
10. References . . . . . . . . . . . . . . . . . . . . . . . . . 16
10.1. Normative References . . . . . . . . . . . . . . . . . . 16
10.2. Informative References . . . . . . . . . . . . . . . . . 16
Appendix A. Metrics Represented Using the Template from RFC 6390 17
1. Introduction
1.1. Loss Concealment and Concealed Seconds Metrics Blocks
At any instant, the audio output at a receiver may be classified as
either 'normal' or 'concealed'. 'Normal' refers to playout of audio
payload received from the remote end and also includes locally
generated signals such as announcements, tones, and comfort noise.
'Concealed' refers to playout of locally generated signals used to
mask the impact of network impairments or to reduce the audibility of
jitter buffer adaptations.
This document defines two new concealment-related block types to
augment those defined in [RFC3611] for use in a range of RTP
applications. These two block types extend the packet loss
concealment mechanism defined in Section 4.7.6 of [RFC3611].
Clark, et al. Standards Track [Page 2]
^L
RFC 7294 RTCP XR Concealment July 2014
The first block type, the Loss Concealment Metrics Block, provides
metrics for actions taken by the receiver to mitigate the effect of
packet loss and packet discard. Specifically, the first metric
(On-Time Playout Duration) reports the duration of normal playout of
data that the receiver obtained from the sender's stream. A second
metric (Loss Concealment Duration) reports the total time during
which the receiver played out media data that was manufactured
locally, because the sender's data for these periods was not
available due to packet loss or discard. A similar metric (Buffer
Adjustment Concealment Duration) reports the duration of playout of
locally manufactured data replacing data that is unavailable due to
adaptation of an adaptive de-jitter buffer. Further metrics (Playout
Interrupt Count and Mean Playout Interrupt Size) report the number of
times normal playout was interrupted and the mean duration of these
interruptions.
Loss Concealment Duration and Buffer Adjustment Concealment Duration
are reported separately because buffer adjustment is typically
arranged to occur in silence periods, so it may have very little
impact on user experience, whilst loss concealment may occur at any
time.
The second block type, the Concealed Seconds Metrics Block, provides
metrics for Concealed Seconds, which are measured at the receiving
end of the RTP stream. Specifically, the first metric (Unimpaired
Seconds) reports the number of whole seconds occupied only with
normal playout of data that the receiver obtained from the sender's
stream. The second metric (Concealed Seconds) reports the number of
whole seconds during which the receiver played out any locally
generated media data. A third metric, Severely Concealed Seconds
(SCSs), reports the number of whole seconds during which the receiver
played out locally generated data to conceal a lost or discarded
frame percentage in excess of the configured SCS Threshold.
These metrics belongs to the class of transport-related terminal
metrics defined in [RFC6792].
1.2. RTCP and RTCP Extended Reports
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 that
MUST be used as defined in [RFC3550] and [RFC3611].
Clark, et al. Standards Track [Page 3]
^L
RFC 7294 RTCP XR Concealment July 2014
1.3. Performance Metrics Framework
The Performance Metrics Framework [RFC6390] provides guidance on the
definition and specification of performance metrics. The RTP
Monitoring Framework [RFC6792] provides guidelines for reporting
block format using RTCP XR. The metrics blocks described in this
document are in accordance with those guidelines.
1.4. Applicability
These metrics are applicable to audio applications of RTP and the
audio component of audio/video applications in which the packet loss
concealment machinery is contained at the receiving end to mitigate
the impact of network impairments to user's perception of media
quality.
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].
2.2. Notations
The report blocks in this document make use of binary fractions. The
following terminology is used:
Numeric formats S X:Y
where S indicates a two's complement signed representation, X
the number of bits prior to the decimal place, and Y the number
of bits after the decimal place.
Hence, 8:8 represents an unsigned number in the range 0.0 to
255.996 with a granularity of 0.0039. S7:8 would represent the
range -127.996 to +127.996. 0:16 represents a proper binary
fraction with range
0.0 to 1 - 1/65536 = 0.9999847
though note that use of flag values at the top of the numeric
range slightly reduces this upper limit. For example, if the
16-bit values 0xFFFE and 0xFFFF are used as flags for "over-
range" and "unavailable" conditions, a 0:16 quantity has range
0.0 to 1 - 3/65536 = 0.9999542
Clark, et al. Standards Track [Page 4]
^L
RFC 7294 RTCP XR Concealment July 2014
3. Loss Concealment Metrics Block
The Loss Concealment Metrics Block is intended to be used as
described in this section, in conjunction with information from the
Measurement Information Block [RFC6776]. Instances of this metrics
block refer by synchronization source (SSRC) to the separate
auxiliary Measurement Information Block [RFC6776], which describes
measurement periods in use (see [RFC6776], Section 4.2). This
metrics block relies on the measurement period 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 period is not received in the same
compound RTCP packet as this metrics block, this metrics block MUST
be discarded.
3.1. Report Block Structure
The structure of the Loss Concealment Metrics Block is as follows.
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=30 | I |plc| resv | block length=6 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SSRC of Source |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| On-Time Playout Duration |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Loss Concealment Duration |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Buffer Adjustment Concealment Duration |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Playout Interrupt Count | Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Mean Playout Interrupt Size |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 1: Loss Concealment Metrics Block
3.2. Definition of Fields in Loss Concealment Metrics Block
Block type (BT): 8 bits
A Loss Concealment Metrics Block is identified by the constant 30.
Clark, et al. Standards Track [Page 5]
^L
RFC 7294 RTCP XR Concealment July 2014
Interval Metric flag (I): 2 bits
This field is used to indicate whether the loss concealment
metrics are Sampled, Interval, or Cumulative metrics:
I=10: Interval Duration - the reported value applies to the
most recent measurement interval duration between successive
metrics reports.
I=11: Cumulative Duration - the reported value applies to the
accumulation period characteristic of cumulative measurements.
I=01: Sampled Value - the reported value is a sampled
instantaneous value (not allowed in this block).
I=00: Reserved value - this value is reserved for future use.
In this document, Loss Concealment metrics can only be measured
over definite intervals and cannot be sampled. Senders MUST NOT
use the values I=00 or I=01. If a block is received with I=00 or
I=01, the receiver MUST discard the block.
Packet Loss Concealment Method (plc): 2 bits
This field is used to identify the packet loss concealment method
in use at the receiver, according to the following code:
bits 014-015
0 = silence insertion
1 = simple replay, no attenuation
2 = simple replay, with attenuation
3 = enhancement
Other values are reserved.
Note that the enhancement method (plc=3) for packet loss
concealment offers an improved audio quality and better robustness
against packet losses [G.711] and is equivalent to "enhanced" in
Section 4.7.6 of [RFC3611].
Reserved (resv): 4 bits
These bits are reserved. They MUST be set to zero by senders and
ignored by receivers (see [RFC6709], Section 4.2).
Clark, et al. Standards Track [Page 6]
^L
RFC 7294 RTCP XR Concealment July 2014
block length: 16 bits
The length of this report block in 32-bit words, minus one. For
the Loss Concealment Metrics Block, the block length is equal to
6.
SSRC of Source: 32 bits
As defined in Section 4.1 of [RFC3611].
On-Time Playout Duration: 32 bits
'On-time playout' is the uninterrupted, in-sequence playout of
valid decoded audio information originating from the remote
endpoint. This includes comfort noise during periods of remote
talker silence, if Voice Activity Detection (VAD) [VAD] is used,
and locally generated or regenerated tones and announcements.
An equivalent definition is that on-time playout is playout of any
signal other than those used for concealment.
On-time playout duration is expressed in units of RTP timestamp
and MUST include both speech and silence intervals, whether VAD is
used or not.
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.
Loss Concealment Duration: 32 bits
The duration, expressed in units of RTP timestamp, of audio
playout corresponding to Loss-Type concealment.
Loss-Type concealment is reactive insertion or deletion of samples
in the audio playout stream due to effective frame loss at the
audio decoder. Effective frame loss is the event in which a frame
of coded audio is simply not present at the audio decoder when
required. In this case, substitute audio samples are generally
formed, at the decoder or elsewhere, to reduce audible impairment.
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.
Clark, et al. Standards Track [Page 7]
^L
RFC 7294 RTCP XR Concealment July 2014
Buffer Adjustment Concealment Duration: 32 bits
The duration, expressed in units of RTP timestamp, of audio
playout corresponding to Buffer Adjustment-Type concealment, if
known.
Buffer Adjustment-Type concealment is proactive or controlled
insertion or deletion of samples in the audio playout stream due
to jitter buffer adaptation, re-sizing decisions, or re-centering
decisions within the endpoint.
Because this insertion is controlled, rather than occurring
randomly in response to losses, it is typically less audible than
Loss-Type concealment. For example, jitter buffer adaptation
events may be constrained to occur during periods of talker
silence, in which case only silence duration is affected, or
sophisticated time-stretching methods for insertion/deletion
during favorable periods in active speech may be employed.
Concealment events that cannot be classified as Buffer 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
The number of interruptions to normal playout that occurred during
the reporting period.
Two values are reserved: a value of 0xFFFE indicates out of range
(that is, a measured value exceeding 0xFFFD), and a value of
0xFFFF indicates that the measurement is unavailable.
Reserved: 16 bits
These bits are reserved. They MUST be set to zero by senders and
ignored by receivers (see [RFC6709], Section 4.2).
Clark, et al. Standards Track [Page 8]
^L
RFC 7294 RTCP XR Concealment July 2014
Mean Playout Interrupt Size: 32 bits
The mean duration, expressed in units of RTP timestamp, of
interruptions to normal playout that occurred during the reporting
period.
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.
4. Concealed Seconds Metrics Block
The Concealed Seconds Metrics Block is intended to be used as
described in this section, in conjunction with information from the
Measurement Information Block [RFC6776]. It provides a description
of potentially audible impairments due to lost and discarded packets
at the endpoint, expressed on a time basis analogous to a traditional
Public Switched Telephone Network (PSTN) T1/E1 errored seconds
metric. Instances of this metrics block refer by synchronization
source (SSRC) to the separate auxiliary Measurement Information Block
[RFC6776] that describes measurement periods in use (see [RFC6776],
Section 4.2). This metrics block relies on the measurement period 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 period is not
received in the same compound RTCP packet as this metrics block, this
metrics block MUST be discarded.
The following metrics are based on successive one-second intervals as
declared by an RTP clock. This RTP clock does not need to be
synchronized to any external time reference. The starting time of
this clock is unspecified. Note that this implies that the same loss
pattern could result in slightly different count values, depending on
where the losses occur relative to the particular one-second
demarcation points. For example, two loss events occurring 50 ms
apart could result in either one Concealed Second or two, depending
on the particular one-second boundaries used.
The seconds in this sub-block are not necessarily calendar seconds.
At the tail end of a session, periods of time of less than one second
shall be incorporated into these counts if they exceed 500 ms and
shall be disregarded if they are less than 500 ms.
Clark, et al. Standards Track [Page 9]
^L
RFC 7294 RTCP XR Concealment July 2014
4.1. Report Block Structure
The structure of the Concealed Seconds Metrics Block is as follows.
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=31 | I |plc| resv | block length=4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SSRC of Source |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Unimpaired Seconds |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Concealed Seconds |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Severely Concealed Seconds | Reserved | SCS Threshold |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 2: Concealed Seconds Metrics Block
4.2. Definition of Fields in Concealed Seconds Metrics Block
Block type (BT): 8 bits
A Concealed Seconds Metrics Block is identified by the constant
31.
Interval Metric flag (I): 2 bits
This field is used to indicate whether the Concealed Seconds
metrics are Sampled, Interval, or Cumulative metrics:
I=10: Interval Duration - the reported value applies to the
most recent measurement interval duration between successive
metrics reports.
I=11: Cumulative Duration - the reported value applies to the
accumulation period characteristic of cumulative measurements.
I=01: Sampled Value - the reported value is a sampled
instantaneous value (Not allowed in this block).
I=00: Reserved value - this value is reserved for future use.
In this document, Concealed Seconds metrics can only be measured
over definite intervals and cannot be sampled. Senders MUST NOT
use the values I=00 or I=01. If a block is received with I=00 or
I=01, the receiver MUST discard the block.
Clark, et al. Standards Track [Page 10]
^L
RFC 7294 RTCP XR Concealment July 2014
Packet Loss Concealment Method (plc): 2 bits
This field is used to identify the packet loss concealment method
in use at the receiver, according to the following code:
bits 014-015
0 = silence insertion
1 = simple replay, no attenuation
2 = simple replay, with attenuation
3 = enhancement
Other values are reserved.
Note that the enhancement method (plc=3) for packet loss
concealment offers an improved audio quality and a better
robustness against packet losses [G.711] and is equivalent to
"enhanced" in Section 4.7.6 of [RFC3611].
Reserved (resv): 4 bits
These bits are reserved. They MUST be set to zero by senders and
ignored by receivers (see [RFC6709], Section 4.2).
Block Length: 16 bits
The length of this report block in 32-bit words, minus one. For
the Concealed Seconds Metrics Block, the block length is equal to
4.
SSRC of Source: 32 bits
As defined in Section 4.1 of [RFC3611].
Unimpaired Seconds: 32 bits
A count of the number of Unimpaired Seconds that have occurred.
An Unimpaired Second is defined as a continuous period of one
second during which no frame loss or discard due to late arrival
has occurred. Every second in a session must be classified as
either OK or Concealed.
Clark, et al. Standards Track [Page 11]
^L
RFC 7294 RTCP XR Concealment July 2014
Normal playout of comfort noise or other silence-concealment
signals during periods of talker silence, if VAD is used, shall be
counted as Unimpaired Seconds.
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.
Concealed Seconds: 32 bits
A count of the number of Concealed Seconds that have occurred.
A Concealed Second is defined as a continuous period of one second
during which any frame loss or discard due to late arrival has
occurred.
Equivalently, a Concealed Second is one in which some Loss-Type
concealment has occurred. Buffer Adjustment-Type concealment
SHOULD NOT cause Concealed Seconds to be incremented, with the
following exception. An implementation MAY cause Concealed
Seconds to be incremented for 'emergency' buffer adjustments made
during talkspurts.
Loss-Type concealment is reactive insertion or deletion of samples
in the audio playout stream due to effective frame loss at the
audio decoder. "Effective frame loss" is the event in which a
frame of coded audio is simply not present at the audio decoder
when required. In this case, substitute audio samples are
generally formed, at the decoder or elsewhere, to reduce audible
impairment.
Buffer Adjustment-Type concealment is proactive or controlled
insertion or deletion of samples in the audio playout stream due
to jitter buffer adaptation, re-sizing decisions, or re-centering
decisions within the endpoint.
Because this insertion is controlled, rather than occurring
randomly in response to losses, it is typically less audible than
Loss-Type concealment. For example, jitter buffer adaptation
events may be constrained to occur during periods of talker
silence, in which case only silence duration is affected, or
sophisticated time-stretching methods for insertion/deletion
during favorable periods in active speech may be employed. For
these reasons, Buffer Adjustment-Type concealment MAY be exempted
from inclusion in calculations of Concealed Seconds and Severely
Concealed Seconds.
Clark, et al. Standards Track [Page 12]
^L
RFC 7294 RTCP XR Concealment July 2014
However, an implementation SHOULD include Buffer Adjustment-Type
concealment in counts of Concealed Seconds and Severely Concealed
Seconds if the event occurs at an 'inopportune' moment, such as an
emergency or large, immediate adaptation during active speech or
an unsophisticated adaptation during speech without regard for the
underlying signal. In these cases, the assumption of low
audibility cannot hold. In other words, jitter buffer adaptation
events that may be presumed to be audible SHOULD be included in
Concealed Seconds and Severely Concealed Seconds counts.
Concealment events that cannot be classified as Buffer Adjustment-
Type MUST be classified as Loss-Type.
For clarification, the count of Concealed Seconds MUST include the
count of Severely Concealed Seconds.
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.
Severely Concealed Seconds: 16 bits
A count of the number of Severely Concealed Seconds.
A Severely Concealed Second is defined as a non-overlapping period
of one second during which the cumulative amount of time that has
been subject to frame loss or discard due to late arrival exceeds
the SCS Threshold.
Two values are reserved: a value of 0xFFFE indicates out of range
(that is, a measured value exceeding 0xFFFD), and a value of
0xFFFF indicates that the measurement is unavailable.
Reserved: 8 bits
These bits are reserved. They MUST be set to zero by senders and
ignored by receivers (see [RFC6709], Section 4.2).
SCS Threshold: 8 bits
The SCS Threshold is defined as the percentage of packets
corresponding to lost or discarded frames that must occur within a
one second period in order for the second to be classified as a
Severely Concealed Second. This is expressed in numeric format
0:8 and hence can represent a range of 0 to 99.6 percent loss or
discard.
Clark, et al. Standards Track [Page 13]
^L
RFC 7294 RTCP XR Concealment July 2014
A default threshold of 5 percent effective frame loss (50 ms
effective frame loss ) per second is suggested. This corresponds
to an SCS Threshold in hexadecimal of 0x0D.
5. SDP Signaling
[RFC3611] defines the use of SDP (Session Description Protocol)
[RFC4566] for signaling the use of XR blocks. XR blocks MAY be used
without prior signaling.
5.1. SDP rtcp-xr-attrib Attribute Extension
This section augments the SDP attribute "rtcp-xr" [RFC3611] by
providing two additional values of "xr-format" to signal the use of
the two report blocks defined in this document.
xr-format =/ xr-conceal-block
/ xr-conc-sec-block
xr-conceal-block = "loss-conceal"
xr-conc-sec-block = "conc-sec" ["=" thresh]
thresh = 1*DIGIT ; threshold for SCS (ms)
DIGIT = <as defined in Section 3 of [RFC5234]>
5.2. 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
offer.
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].
6.1. New RTCP XR Block Type Values
This document assigns two block type values in the IANA "RTP Control
Protocol Extended Reports (RTCP XR) Block Type Registry" under the
subregistry "RTCP XR Block Type":
Name: LCB
Long Name: Loss Concealment Metrics Block
Value 30
Reference: Section 3.1
Clark, et al. Standards Track [Page 14]
^L
RFC 7294 RTCP XR Concealment July 2014
Name: CSB
Long Name: Concealed Seconds Metrics Block
Value 31
Reference: Section 4.1
6.2. New RTCP XR SDP Parameters
This document also registers two new parameters in the "RTP Control
Protocol Extended Reports (RTCP XR) Session Description Protocol
(SDP) Parameters Registry":
o "loss-conceal"
o "conc-sec"
6.3. Contact Information for Registrations
The contact information for the registrations is:
RAI Area Directors
rai-ads@tools.ietf.org
7. Security Considerations
It is believed that the RTCP XR blocks defined in this document
introduce no new security considerations beyond those described in
[RFC3611]. These blocks do not provide per-packet statistics, so the
risk to confidentiality documented in Section 7, Paragraph 3 of
[RFC3611] does not apply.
8. Contributors
Geoff Hunt wrote the initial version of this document.
9. Acknowledgements
The authors gratefully acknowledge reviews and feedback provided by
Bruce Adams, Philip Arden, Amit Arora, Bob Biskner, Kevin Connor,
Alissa Cooper, Claus Dahm, Randy Ethier, Roni Even, Adrian Farrel,
Jim Frauenthal, Albert Higashi, Tom Hock, Shane Holthaus, Paul Jones,
Rajesh Kumar, Keith Lantz, Alfred C. Morton, Mohamed Mostafa, Amy
Pendleton, Colin Perkins, Mike Ramalho, Ravi Raviraj, Pete Resnick,
Albrecht Schwarz, Meral Shirazipour, Tom Taylor, and Hideaki Yamada.
Clark, et al. Standards Track [Page 15]
^L
RFC 7294 RTCP XR Concealment July 2014
10. References
10.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.
[RFC6776] Clark, A. and Q. Wu, "Measurement Identity and Information
Reporting Using a Source Description (SDES) Item and an
RTCP Extended Report (XR) Block", RFC 6776, October 2012.
10.2. Informative References
[G.711] ITU-T, "Pulse Code Modulation (PCM) of Voice Frequencies",
ITU-T Recommendation G.711, 1988.
[RFC6390] Clark, A. and B. Claise, "Guidelines for Considering New
Performance Metric Development", BCP 170, RFC 6390,
October 2011.
[RFC6709] Carpenter, B., Aboba, B., and S. Cheshire, "Design
Considerations for Protocol Extensions", RFC 6709,
September 2012.
[RFC6792] Wu, Q., Hunt, G., and P. Arden, "Guidelines for Use of the
RTP Monitoring Framework", RFC 6792, November 2012.
[VAD] Wikipedia, "Voice activity detection", January 2014,
<http://en.wikipedia.org/w/
index.php?title=Voice_activity_detection&oldid=593287643>.
Clark, et al. Standards Track [Page 16]
^L
RFC 7294 RTCP XR Concealment July 2014
Appendix A. Metrics Represented Using the Template from RFC 6390
a. On-Time Playout Duration Metric
* Metric Name: On-Time Playout Duration
* Metric Description: 'On-time playout' is the uninterrupted,
in-sequence playout of valid decoded audio information
originating from the remote endpoint. On-time playout
duration is playout duration of any signal other than those
used for concealment.
* Method of Measurement or Calculation: See Section 3.2, On-Time
Playout Duration definition.
* Units of Measurement: See Section 3.2, On-Time Playout
Duration definition.
* Measurement Point(s) with Potential Measurement Domain: See
Section 1.1, 3rd paragraph.
* Measurement Timing: See Section 3, 1st paragraph for
measurement timing and Section 3.2 for Interval Metric flag.
* Use and Applications: See Section 1.4.
* Reporting Model: See RFC 3611.
b. Loss Concealment Duration Metric
* Metric Name: Loss Concealment Duration
* Metric Description: The duration of audio playout
corresponding to Loss-Type concealment.
* Method of Measurement or Calculation: See Section 3.2, Loss
Concealment Duration definition.
* Units of Measurement: See Section 3.2, Loss Concealment
Duration definition.
* Measurement Point(s) with Potential Measurement Domain: See
Section 1.1, 3rd paragraph.
* Measurement Timing: See Section 3, 1st paragraph for
measurement timing and Section 3.2 for Interval Metric flag.
* Use and Applications: See Section 1.4.
Clark, et al. Standards Track [Page 17]
^L
RFC 7294 RTCP XR Concealment July 2014
* Reporting Model: See RFC 3611.
c. Buffer Adjustment Concealment Duration Metric
* Metric Name: Buffer Adjustment Concealment Duration
* Metric Description: The duration of audio playout
corresponding to Buffer Adjustment-Type concealment.
* Method of Measurement or Calculation: See Section 3.2, Buffer
Adjustment Concealment Duration definition.
* Units of Measurement: See Section 3.2, Buffer Adjustment
Concealment Duration definition.
* Measurement Point(s) with Potential Measurement Domain: See
Section 1.1, 3rd paragraph.
* Measurement Timing: See Section 3, 1st paragraph for
measurement timing and Section 3.2 for Interval Metric flag.
* Use and Applications: See Section 1.4.
* Reporting Model: See RFC 3611.
d. Playout Interrupt Count Metric
* Metric Name: Playout Interrupt Count
* Metric Description: The number of interruptions to normal
playout that occurred during the reporting period.
* Method of Measurement or Calculation: See Section 3.2, Playout
Interrupt Count definition.
* Units of Measurement: See Section 3.2, Playout Interrupt Count
definition.
* Measurement Point(s) with Potential Measurement Domain: See
Section 1.1, 3rd paragraph.
* Measurement Timing: See Section 3, 1st paragraph for
measurement timing and Section 3.2 for Interval Metric flag.
* Use and Applications: See Section 1.4.
* Reporting Model: See RFC 3611.
Clark, et al. Standards Track [Page 18]
^L
RFC 7294 RTCP XR Concealment July 2014
e. Mean Playout Interrupt Size Metric
* Metric Name: Mean Playout Interrupt Size
* Metric Description: The mean duration of interruptions to
normal playout that occurred during the reporting period.
* Method of Measurement or Calculation: See Section 3.2, Playout
Interrupt Count definition.
* Units of Measurement: See Section 3.2, Playout Interrupt Count
definition.
* Measurement Point(s) with Potential Measurement Domain: See
Section 1.1, 3rd paragraph.
* Measurement Timing: See Section 3, 1st paragraph for
measurement timing and Section 3.2 for Interval Metric flag.
* Use and Applications: See Section 1.4.
* Reporting Model: See RFC 3611.
f. Unimpaired Seconds Metric
* Metric Name: Unimpaired Seconds
* Metric Description: A count of the number of Unimpaired
Seconds that have occurred.
* Method of Measurement or Calculation: See Section 4.2,
Unimpaired Seconds definition.
* Units of Measurement: See Section 4.2, Unimpaired Seconds
definition.
* Measurement Point(s) with Potential Measurement Domain: See
Section 1.1, 5th paragraph.
* Measurement Timing: See Section 4, 1st paragraph for
measurement timing and Section 4.2 paragraph for Interval
Metric flag.
* Use and Applications: See Section 1.4.
* Reporting Model: See RFC 3611.
Clark, et al. Standards Track [Page 19]
^L
RFC 7294 RTCP XR Concealment July 2014
g. Concealed Seconds Metric
* Metric Name: Concealed Seconds
* Metric Description: A count of the number of Concealed Seconds
that have occurred.
* Method of Measurement or Calculation: See Section 4.2,
Concealed Seconds definition.
* Units of Measurement: See Section 4.2, Concealed Seconds
definition.
* Measurement Point(s) with Potential Measurement Domain: See
Section 1.1, 5th paragraph.
* Measurement Timing: See Section 4, 1st paragraph for
measurement timing and Section 4.2 for Interval Metric flag.
* Use and Applications: See Section 1.4.
* Reporting Model: See RFC 3611.
h. Severely Concealed Seconds Metric
* Metric Name: Severely Concealed Seconds
* Metric Description: A count of the number of Severely
Concealed Seconds that have occurred.
* Method of Measurement or Calculation: See Section 4.2,
Severely Concealed Seconds definition.
* Units of Measurement: See Section 4.2, Severely Concealed
Seconds definition.
* Measurement Point(s) with Potential Measurement Domain: See
Section 1.1, 5th paragraph.
* Measurement Timing: See Section 4, 1st paragraph for
measurement timing and Section 4.2 for Interval Metric flag.
* Use and Applications: See Section 1.4.
* Reporting Model: See RFC 3611.
Clark, et al. Standards Track [Page 20]
^L
RFC 7294 RTCP XR Concealment July 2014
i. SCS Threshold Metric
* Metric Name: SCS Threshold
* Metric Description: The amount of time corresponding to lost
or discarded frames that must occur within a one-second period
in order for the second to be classified as a Severely
Concealed Second.
* Method of Measurement or Calculation: See Section 4.2, SCS
Threshold definition.
* Units of Measurement: See Section 4.2, SCS Threshold
definition.
* Measurement Point(s) with Potential Measurement Domain: See
Section 1.1, 5th paragraph.
* Measurement Timing: See Section 4, 1st paragraph for
measurement timing and Section 4.2 for Interval Metric flag.
* Use and Applications: See Section 1.4.
* Reporting Model: See RFC 3611.
Clark, et al. Standards Track [Page 21]
^L
RFC 7294 RTCP XR Concealment July 2014
Authors' Addresses
Alan Clark
Telchemy Incorporated
2905 Premiere Parkway, Suite 280
Duluth, GA 30097
USA
EMail: alan.d.clark@telchemy.com
Glen Zorn
Network Zen
77/440 Soi Phoomjit, Rama IV Road
Phra Khanong, Khlong Toie
Bangkok 10110
Thailand
Phone: +66 (0) 87 502 4274
EMail: gwz@net-zen.net
Claire Bi
Shanghai Research Institute of China Telecom Corporation Limited
No. 1835, South Pudong Road
Shanghai 200122
China
EMail: bijy@sttri.com.cn
Qin Wu
Huawei
101 Software Avenue, Yuhua District
Nanjing, Jiangsu 210012
China
EMail: sunseawq@huawei.com
Clark, et al. Standards Track [Page 22]
^L
|