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
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
|
Internet Engineering Task Force (IETF) A. Clark
Request for Comments: 7266 Telchemy
Category: Standards Track Q. Wu
ISSN: 2070-1721 Huawei
R. Schott
Deutsche Telekom
G. Zorn
Network Zen
June 2014
RTP Control Protocol (RTCP) Extended Report (XR)
Blocks for Mean Opinion Score (MOS) Metric Reporting
Abstract
This document defines an RTP Control Protocol (RTCP) Extended Report
(XR) Block including two new segment types and associated Session
Description Protocol (SDP) parameters that allow the reporting of
mean opinion score (MOS) Metrics for use in a range of RTP
applications.
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/rfc7266.
Clark, et al. Standards Track [Page 1]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
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.
Table of Contents
1. Introduction ....................................................3
1.1. MOS Metrics Report Block ...................................3
1.2. RTCP and RTCP XR Reports ...................................3
1.3. Performance Metrics Framework ..............................3
1.4. Applicability ..............................................3
2. Terminology .....................................................4
2.1. Standards Language .........................................4
3. MOS Metrics Block ...............................................5
3.1. Report Block Structure .....................................6
3.2. Definition of Fields in MOS Metrics Block ..................6
3.2.1. Single-Channel Audio/Video per SSRC Segment .........7
3.2.2. Multi-Channel Audio per SSRC Segment ................9
4. SDP Signaling ..................................................10
4.1. SDP "rtcp-xr-attrib" Attribute Extension ..................10
4.2. Offer/Answer Usage ........................................12
5. IANA Considerations ............................................14
5.1. New RTCP XR Block Type Value ..............................14
5.2. New RTCP XR SDP Parameter .................................14
5.3. The SDP "calgextmap" Attribute ............................14
5.4. New Registry of Calculation Algorithms ....................15
6. Security Considerations ........................................16
7. Contributors ...................................................16
8. Acknowledgements ...............................................17
9. References .....................................................17
9.1. Normative References ......................................17
9.2. Informative References ....................................18
Appendix A. Metrics Represented Using the RFC 6390 Template .......20
Clark, et al. Standards Track [Page 2]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
1. Introduction
1.1. MOS Metrics Report Block
This document defines a new block type to augment those defined in
[RFC3611], for use in a range of RTP applications.
The new block type provides information on media quality using one of
several standard metrics (e.g., mean opinion score (MOS)).
The metrics belong to the class of application-level metrics defined
in [RFC6792].
1.2. RTCP and RTCP XR Reports
The use of RTCP for reporting is defined in [RFC3550]. RFC 3611
defined an extensible structure for reporting using an RTCP Extended
Report (XR). This document defines a new Extended Report block for
use with [RFC3550] and [RFC3611].
1.3. Performance Metrics Framework
The Performance Metrics Framework [RFC6390] provides guidance on the
definition and specification of performance metrics. The RTP
Monitoring Architectures document [RFC6792] provides guidelines for
reporting block format using RTCP XR. The XR block type described in
this document is in accordance with the guidelines in [RFC6390] and
[RFC6792].
1.4. Applicability
The MOS Metrics Report Block can be used in any application of RTP
for which QoE (Quality-of-Experience) measurement algorithms are
defined.
The factors that affect real-time audio/video application quality can
be split into two categories. The first category consists of
transport-specific factors such as packet loss, delay, and jitter
(which also translates into losses in the playback buffer). The
factors in the second category consists of content- and codec-related
factors such as codec type and loss recovery technique, coding bit
rate, packetization scheme, and content characteristics
Transport-specific factors may be insufficient to infer real-time
media quality as codec related parameters and the interaction between
transport problems and application-layer protocols can have a
substantial effect on observed media quality. Media quality may be
measured using algorithms that directly compare input and output
Clark, et al. Standards Track [Page 3]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
media streams, or it may be estimated using algorithms that model the
interaction between media quality, protocol, and encoded content.
Media quality is commonly expressed in terms of MOS; however, it is
also represented by a range of indexes and other scores.
The measurement of media quality has a number of applications:
o Detecting problems with media delivery or encoding that is
impacting user-perceived quality.
o Tuning the content encoder algorithm to satisfy real-time data
quality requirements.
o Determining which system techniques to use in a given situation
and when to switch from one technique to another as system
parameters change (for example, as discussed in [G.1082]).
o Prequalifying a network to assess its ability to deliver an
acceptable end-user-perceived quality level.
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].
Notable terminology used is the following.
Numeric formats X:Y
where 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. 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.
Calculation Algorithm
Calculation Algorithm is used in this document to mean the MOS
or QoE estimation algorithm.
Clark, et al. Standards Track [Page 4]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
3. MOS Metrics Block
A multimedia application MOS Metric is commonly expressed as a MOS.
The MOS is usually on a scale from 1 to 5, in which 5 represents
excellent and 1 represents unacceptable; however, it can use other
ranges (for example, 0 to 10 ). The term "MOS" originates from
subjective testing and is used to refer to the mean of a number of
individual opinion scores. Therefore, there is a well-understood
relationship between MOS and user experience; hence, the industry
commonly uses MOS as the scale for objective test results.
Subjective tests can be used for measuring live network traffic;
however, the use of objective or algorithmic measurement techniques
allows much larger scale measurements to be made. Within the scope
of this document, mean opinion scores are obtained using objective or
estimation algorithms. ITU-T or ITU-R recommendations (e.g.,
[BS.1387-1], [G.107], [G.107.1], [P.862], [P.862.1], [P.862.2],
[P.863], [P.564], [G.1082], [P.1201.1], [P.1201.2], [P.1202.1],
[P.1202.2]) define methodologies for assessment of the performance of
audio and video streams. Other international and national standards
organizations such as EBU, ETSI, IEC, and IEEE also define QoE
algorithms and methodologies, and the intent of this document is not
to restrict its use to ITU recommendations but to suggest that ITU
recommendations be used where they are defined.
This block reports the media quality in the form of a MOS range
(e.g., 1-5, 0-10, or 0-100, as specified by the calculation
algorithm); however, it does not report the MOS that includes
parameters outside the scope of the RTP stream, for example,
signaling performance, mean time to repair (MTTR), or other factors
that may affect the overall user experience.
The MOS Metric reported in this block gives a numerical indication of
the perceived quality of the received media stream, which is
typically measured at the receiving end of the RTP stream. 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 RFC 6776, Section 4.2).
This Metrics Block relies on the measurement period in the
Measurement Information block indicating the span of the report.
Senders MUST send this block in the same compound RTCP packet as the
Measurement Information block. Receivers MUST verify that the
measurement period is received in the same compound RTCP packet as
this Metrics Block. If not, this Metrics Block MUST be discarded.
Clark, et al. Standards Track [Page 5]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
3.1. Report Block Structure
The MOS Metrics Block has the following format:
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=29 | I | Reserved | Block Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SSRC of source |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Segment 1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Segment 2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
..................
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Segment n |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
3.2. Definition of Fields in MOS Metrics Block
Block type (BT): 8 bits
The MOS Metrics Block is identified by the constant 29.
Interval Metric flag (I): 2 bits
This field is used to indicate whether the MOS Metrics are
Sampled, Interval, or Cumulative [RFC6792]:
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.
I=00: Reserved
In this document, MOS Metrics MAY be reported for intervals or for
the duration of the media stream (cumulative). The value I=01,
indicating a sampled value, MUST NOT be sent and MUST be discarded
when received.
Clark, et al. Standards Track [Page 6]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
Reserved: 6 bits
This field is reserved for future definition. In the absence of
such a definition, the bits in this field MUST be set to zero and
ignored by the receiver (see RFC 6709, Section 4.2).
Block Length: 16 bits
The length of this report block in 32-bit words, minus one. For
the MOS Metrics Block, the block length is variable length.
SSRC of source: 32 bits
As defined in Section 4.1 of [RFC3611].
Segment i: 32 bits
There are two segment types defined in this document: single-
channel audio/video per SSRC segment and multi-channel audio per
SSRC segment. Multi-channel audio per SSRC segment is used to
deal with the case where multi-channel audio streams are carried
in one RTP stream while a single-channel audio/video per SSRC
segment is used to deal with the case where each media stream is
identified by SSRC and sent in separate RTP streams. The leftmost
bit of the segment determines its type. If the leftmost bit of
the segment is zero, then it is a single-channel segment. If the
leftmost bit is one, then it is a multi-channel audio segment.
Note that two segment types cannot be present in the same metric
block.
3.2.1. Single-Channel Audio/Video per SSRC Segment
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|S| CAID | PT | MOS Value |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Segment Type (S): 1 bit
This field is used to identify the segment type used in this
report block. A zero identifies this as a single-channel
audio/video per SSRC segment. Single channel means there is only
one media stream carried in one RTP stream. The single-channel
audio/video per SSRC segment can be used to report the MOS value
associated with the media stream identified by SSRC. If there are
multiple media streams and they want to use the single-channel
audio/video per SSRC segment to report the MOS value, they should
be carried in the separate RTP streams with each identified by
different SSRC. In this case, multiple MOS Metrics Blocks are
Clark, et al. Standards Track [Page 7]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
required to report the MOS value corresponding to each media
stream using single-channel audio/video per SSRC segment in the
same RTCP XR packet.
Calculation Algorithm ID (CAID) : 8 bits
The 8-bit CAID is the session specific reference to the
calculation algorithm and associated qualifiers indicated in SDP
(see Section 4.1) and used to compute the MOS score for this
segment.
Payload Type (PT): 7 bits
MOS Metrics reporting depends on the payload format in use. This
field identifies the RTP payload type in use during the reporting
interval. The binding between RTP payload types and RTP payload
formats is configured via a signaling protocol, for example, an
SDP offer/answer exchange. If the RTP payload type used is
changed during an RTP session, separate reports SHOULD be sent for
each RTP payload type, with corresponding measurement information
blocks indicating the time period to which they relate.
Note that the use of this Report Block with MPEG Transport streams
carried over RTP is undefined as each MPEG Transport stream may
use distinct audio or video codecs and the indication of the
encoding of these is within the MPEG Transport stream and does not
use RTP payloads.
MOS Value: 16 bits
The estimated mean opinion score (MOS) for multimedia application
performance is estimated using an algorithm that includes the
impact of delay, loss, jitter and other impairments that affect
media quality. This is an unsigned fixed-point 7:9 value
representing the MOS, allowing the MOS score up to 127 in the
integer part. MOS ranges are defined as part of the specification
of the MOS estimation algorithm (Calculation Algorithm in this
document), and are normally ranges like 1-5, 0-10, or 0-100. Two
values are reserved: a value of 0xFFFE indicates that the
measurement is out of range and a value of 0xFFFF indicates that
the measurement is unavailable. Values outside of the range
defined by the Calculation Algorithm, other than the two reserved
values, MUST NOT be sent and MUST be ignored by the receiving
system.
Clark, et al. Standards Track [Page 8]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
3.2.2. Multi-Channel Audio per SSRC Segment
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|S| CAID | PT |CHID | MOS Value |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Segment Type (S): 1 bit
This field is used to identify the segment type used in this
report block. A one identifies this as a multi-channel audio
segment.
Calculation Algorithm ID (CAID) : 8 bits
The 8-bit CAID is the session specific reference to the
calculation algorithm and associated qualifiers indicated in SDP
(see Section 4.1) and used to compute the MOS score for this
segment.
Payload Type (PT): 7 bits
As defined in Section 3.2.1 of this document
Channel Identifier (CHID): 3 bits
If multiple channels of audio are carried in one RTP stream, each
channel of audio will be viewed as an independent channel (e.g.,
left channel audio, right channel audio). This field is used to
identify each channel carried in the same media stream. The
default channel mapping follows static ordering rule described in
Section 4.1 of [RFC3551]. However, there are some payload formats
that use different channel mappings, e.g., AC-3 audio over RTP
[RFC4184] only follow AC-3 channel order scheme defined in [ATSC].
Enhanced AC-3 audio over RTP [RFC4598] uses a dynamic channel
transform mechanism. In order for the appropriate channel mapping
to be determined, MOS metrics reports need to be tied to an RTP
payload format. The reports should include the payload type of
the reported media according to [RFC6792], so that it can be used
to determine the appropriate channel mapping.
MOS Value: 13 bits
The estimated MOS for multimedia application performance is
defined as including the effects of delay, loss, discard, jitter
and other effects that would affect media quality. This is an
unsigned fixed-point 7:6 value representing the MOS, allowing the
MOS score up to 127 in the integer part. MOS ranges are defined
as part of the specification of the MOS estimation algorithm
Clark, et al. Standards Track [Page 9]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
(Calculation Algorithm in this document), and are normally ranges
like 1-5, 0-10, or 0-100. Two values are reserved: a value of
0x1FFE indicates out of range and a value of 0x1FFF indicates that
the measurement is unavailable. Values outside of the range
defined by the Calculation Algorithm, other than the two reserved
values, MUST NOT be sent and MUST be ignored by the receiving
system.
4. SDP Signaling
[RFC3611] defines the use of SDP [RFC4566] for signaling the use of
XR blocks. However, XR blocks MAY be used without prior signaling
(see Section 5 of RFC 3611).
4.1. SDP "rtcp-xr-attrib" Attribute Extension
This section augments the SDP [RFC4566] attribute "rtcp-xr" defined
in [RFC3611] by providing an additional value of "xr-format" to
signal the use of the report block defined in this document. Within
the "xr-format", the syntax element "calgextmap" is an attribute as
defined in [RFC4566] and used to signal the mapping of the local
identifier (CAID) in the segment extension defined in Section 3.2 to
the calculation algorithm. Specific extension attributes are defined
by the specification that defines a specific extension name: there
might be several. The ABNF [RFC5234] syntax is as follows.
Clark, et al. Standards Track [Page 10]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
xr-format =/ xr-mos-block
xr-mos-block = "mos-metric" ["=" calgextmap *("," calgextmap)]
calgextmap = mapentry "=" extensionname [SP extentionattributes]
direction = "sendonly" / "recvonly" / "sendrecv" / "inactive"
mapentry = "calg:" 1*3DIGIT [ "/" direction ]
; Values in the range 1-255 are valid
; if needed, 0 can be used to indicate that
; an algorithm is rejected
extensionname = "P564";ITU-T P.564 Compliant Algorithm [P.564]
/ "G107";ITU-T G.107 [G.107]
/ "G107_1";ITU-T G.107.1 [G.107.1]
/ "TS101_329";ETSI TS 101 329-5 Annex E [ ETSI]
/"JJ201_1 ";TTC JJ201.1 [TTC]
/"P1201_1";ITU-T P.1201.2 [P.1201.1]
/"P1201_2";ITU-T P.1201.2 [P.1201.2]
/"P1202_1";ITU-T P.1202.1 [P.1202.1]
/"P1202_2";ITU-T P.1202.2 [P.1202.2]
/"P.862.2";ITU-T P.862.2 [P.862.2]
/"P.863"; ITU-T P.863 [P.863]
/ non-ws-string
extensionattributes = mosref
/attributes-ext
mosref = "mosref=" ("l"; lower resolution
/"m"; middle resolution
/ "h";higher resolution
/ non-ws-string)
attributes-ext = non-ws-string
SP = <Defined in RFC 5234>
non-ws-string = 1*(%x21-FF)
Each local identifier (CAID) of calculation algorithm used in the
segment defined in Section 3.2 is mapped to a string using an
attribute of the form:
a=calg:<value> [ "/"<direction> ] <name> [<extensionattributes>]
where <name> is a calculation algorithm name, as above, <value> is
the local identifier (CAID) of the calculation algorithm associated
with the segment defined in this document and is an integer in the
valid range, inclusive.
Example:
a=rtcp-xr:mos-metric=calg:1=G107,calg:2=P1202_1
A usable mapping MUST use IDs in the valid range, and each ID in this
range MUST be unique and used only once for each stream or each
channel in the stream.
Clark, et al. Standards Track [Page 11]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
The mapping MUST be provided per media stream (in the media-level
section(s) of SDP, i.e., after an "m=" line).
The syntax element "mosref" is referred to the media resolution
relative reference and has three values 'l','m','h'. (e.g.,
narrowband (3.4 kHz) speech and Standard Definition (SD) or lower
resolution video have 'l' resolution, super-wideband (>14 kHz) speech
or higher and High Definition (HD) or higher resolution video have
'h' resolution, wideband speech (7 kHz) and video with resolution
between SD and HD has 'm' resolution). The MOS reported in the MOS
metrics block might vary with the MOS reference; for example, MOS
values for narrowband, wideband, super-wideband codecs occupy the
same range but SHOULD be reported in different value. For video
application, MOS scores for SD resolution, HD resolution video also
occupy the same ranges and SHOULD be reported in different value.
4.2. Offer/Answer Usage
When SDP is used in offer/answer context, the SDP Offer/Answer usage
defined in [RFC3611] applies. In the offer/answer context, the
signaling described above might be used in three ways:
o asymmetric behavior (segment extensions sent in only one
direction),
o the offer of mutually exclusive alternatives, or
o the offer of more segments than can be sent in a single session.
A direction attribute MAY be included in a "calgextmap"; without it,
the direction implicitly inherits, of course, from the RTCP stream
direction.
Segment extensions, with their directions, MAY be signaled for an
"inactive" stream. An extension direction MUST be compatible with
the stream direction. If a segment extension in the SDP offer is
marked as "sendonly" and the answerer desires to receive it, the
extension MUST be marked as "recvonly" in the SDP answer. An
answerer that has no desire to receive the extension or does not
understand the extension SHOULD NOT include it in the SDP answer.
If a segment extension is marked as "recvonly" in the SDP offer and
the answerer desires to send it, the extension MUST be marked as
"sendonly" in the SDP answer. An answerer that has no desire to, or
is unable to, send the extension SHOULD NOT include it in the SDP
answer.
Clark, et al. Standards Track [Page 12]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
If a segment extension is offered as "sendrecv", explicitly or
implicitly, and asymmetric behavior is desired, the SDP MAY be
modified to modify or add direction qualifiers for that segment
extension.
A "mosref" attribute and "MOS Type" attribute MAY be included in a
calgextmap; if not present, the "mosref" and "MOS Type" MUST be as
defined in the QoE estimation algorithm referenced by the name
attribute (e.g., P.1201.1 [P.1201.1] indicates lower resolution used
while P.1201.2 [P.1201.2] indicates higher resolution used) or
payload type carried in the segment extension (e.g., EVRC-WB
[RFC5188] indicates using Wideband Codec). However, not all payload
types or MOS algorithm names indicate resolution to be used and MOS
type to be used. If an answerer receives an offer with a "mosref"
attribute value it doesn't support (e.g.,the answerer only supports
"l" and receives "h" from offerer), the answer SHOULD reject the
mosref attribute value offered by the offerer.
If the answerer wishes to reject a "mosref" attribute offered by the
offerer, it sets identifiers associated with segment extensions in
the answer to the value in the range 4096-4351. The rejected answer
MUST contain a "mosref" attribute whose value is the value of the SDP
offer.
Local identifiers in the valid range (inclusive) in an offer or
answer must not be used more than once per media section. A session
update MAY change the direction qualifiers of segment extensions
under use. A session update MAY add or remove segment extension(s).
Identifier values in the valid range MUST NOT be altered (remapped).
If a party wishes to offer mutually exclusive alternatives, then
multiple segment extensions with the same identifier in the
(unusable) range 4096-4351 MAY be offered; the answerer SHOULD select
at most one of the offered extensions with the same identifier, and
remap it to a free identifier in the valid range for that extension
to be usable. Note that the two segment types defined in Section 3
are also exclusive alternatives.
If more segment extensions are offered in the valid range, the
answerer SHOULD choose those that are desired and place the offered
identifier value "as is" in the SDP answer.
Similarly, if more segment extensions are offered than can be fit in
the valid range, identifiers in the range 4096-4351 MAY be offered;
the answerer SHOULD choose those that are desired and remap them to a
free identifier in the valid range.
Clark, et al. Standards Track [Page 13]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
Note that the range 4096-4351 for these negotiation identifiers is
deliberately restricted to allow expansion of the range of valid
identifiers in the future. Segment extensions with an identifier
outside the valid range cannot, of course, be used.
Example:
Note - port numbers, RTP profiles, payload IDs and rtpmaps, etc.,
have all been omitted for brevity.
The offer:
a=rtcp-xr:mos-metric=calg:4906=P1201_l,calg:4906=P1202_l, calg:
4907=G107
The answerer is interested in transmission P.1202.1 on a lower
resolution application, but it doesn't support P.1201.1 on a lower
resolution application at all. It is interested in transmission
G.107. Therefore, it adjusts the declarations:
a=rtcp-xr:mos-metric=calg:1=P1202_l,calg:2=G107
5. 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].
5.1. New RTCP XR Block Type Value
This document assigns the block type value 29 in the IANA "RTP
Control Protocol Extended Reports (RTCP XR) Block Type Registry" to
the "MOS Metrics Block".
5.2. New RTCP XR SDP Parameter
This document also registers a new parameter "mos-metric" in the "RTP
Control Protocol Extended Reports (RTCP XR) Session Description
Protocol (SDP) Parameters Registry".
5.3. The SDP "calgextmap" Attribute
This section contains the information required by [RFC4566] for an
SDP attribute.
o contact name, email address: RAI Area Directors
<rai-ads@tools.ietf.org>
Clark, et al. Standards Track [Page 14]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
o attribute name (as it will appear in SDP): calgextmap
o long-form attribute name in English: calculation algorithm map
definition
o type of attribute (session level, media level, or both): both
o whether the attribute value is subject to the charset attribute:
not subject to the charset attribute
o a one-paragraph explanation of the purpose of the attribute: This
attribute defines the mapping from the local identifier (CAID) in
the segment extension defined in Section 3.2 into the calculation
algorithm name as documented in specifications and appropriately
registered.
o a specification of appropriate attribute values for this
attribute: see RFC 7266.
5.4. New Registry of Calculation Algorithms
This document creates a new registry called "RTCP XR MOS Metric block
- multimedia application Calculation Algorithm" as a subregistry of
the "RTP Control Protocol Extended Reports (RTCP XR) Block Type
Registry". This registry applies to the multimedia session where
each type of medium is sent in a separate RTP stream and also applies
to the session where multi-channel audios are carried in one RTP
stream. Policies for this new registry are as follows:
o The information required to support this assignment is an
unambiguous definition of the new metric, covering the base
measurements and how they are processed to generate the reported
metric.
o The review process for the registry is "Specification Required" as
described in Section 4.1 of [RFC5226].
o Entries in the registry are identified by entry name and mapped to
the local identifier (CAID) in the segment extension defined in
Section 3.2.
o Registration Template
The following information must be provided with each registration:
* Name: A string uniquely and unambiguously identifying the
calculation algorithm for use in protocols.
Clark, et al. Standards Track [Page 15]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
* Name Description: A valid Description of the calculation
algorithm Name.
* Reference: The reference that defines the calculation algorithm
corresponding to the Name and Name Description.
* Type: The media type to which the calculation algorithm is
applied
o Initial assignments are as follows:
Name Name Description Reference Type
========= ================================ ========== ====
P564 ITU-T P.564 Compliant Algorithm [P.564] voice
G107 ITU-T G.107 [G.107] voice
TS101_329 ETSI TS 101 329-5 Annex E [ETSI] voice
JJ201_1 TTC JJ201.1 [TTC] voice
G107_1 ITU-T G.107.1 [G.107.1] voice
P862 ITU-T P.862 [P.862] voice
P862_2 ITU-T P.862.2 [P.862.2] voice
P863 ITU-T P.863 [P.863] voice
P1201_1 ITU-T P.1201.1 [P.1201.1] multimedia
P1201_2 ITU-T P.1201.2 [P.1201.2] multimedia
P1202_1 ITU-T P.1202.1 [P.1202.1] video
P1202_2 ITU-T P.1202.2 [P.1202.2] video
6. Security Considerations
The new RTCP XR blocks proposed in this document introduce no new
security considerations beyond those described in [RFC3611].
7. Contributors
This document merges ideas from two documents addressing the MOS
Metric Reporting issue. The authors of these documents are listed
below (in alphabetical order):
Alan Clark <alan.d.clark@telchemy.com>
Geoff Hunt <r.geoff.hunt@gmail.com>
Martin Kastner <martin.kastner@telchemy.com>
Kai Lee <leekai@ctbri.com.cn>
Roland Schott <roland.schott@telekom.de>
Qin Wu <sunseawq@huawei.com>
Glen Zorn <gwz@net-zen.net>
Clark, et al. Standards Track [Page 16]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
8. Acknowledgements
The authors gratefully acknowledge the comments and contributions
made by Bruce Adams, Philip Arden, Amit Arora, Bob Biskner, Kevin
Connor, Claus Dahm, Randy Ethier, Roni Even, Jim Frauenthal, Albert
Higashi, Tom Hock, Shane Holthaus, Paul Jones, Rajesh Kumar, Keith
Lantz, Mohamed Mostafa, Amy Pendleton, Colin Perkins, Mike Ramalho,
Ravi Raviraj, Albrecht Schwarz, Tom Taylor, Bill Ver Steeg, David R.
Oran, Ted Lemon, Benoit Claise, Pete Resnick, Ali Begen, and Hideaki
Yamada.
9. References
9.1. Normative References
[ATSC] Advanced Television Systems Committee, Inc., "Digital
Audio Compression Standard (AC-3, E-AC-3) Revision B",
ATSC Document A/52B, June 2005.
[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.
[RFC3551] Schulzrinne, H. and S. Casner, "RTP Profile for Audio
and Video Conferences with Minimal Control", STD 65, RFC
3551, July 2003.
[RFC3611] Friedman, T., Ed., Caceres, R., Ed., and A. Clark, Ed.,
"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.
[RFC5226] Narten, T. and H. Alvestrand, "Guidelines for Writing an
IANA Considerations Section in RFCs", BCP 26, RFC 5226,
May 2008.
[RFC5234] Crocker, D., Ed., and P. Overell, "Augmented BNF for
Syntax Specifications: ABNF", STD 68, RFC 5234, January
2008.
Clark, et al. Standards Track [Page 17]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
[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.
9.2. Informative References
[BS.1387-1] ITU-R, "Method for objective measurements of perceived
audio quality", ITU-R Recommendation BS.1387-1,
1998-2001.
[ETSI] ETSI, "TIPHON Release 3; Technology Compliance
Specification; Part 5: Quality of Service (QoS)
measurement methodologies", ETSI TS 101 329-5 V1.1.1,
November 2000.
[G.107] ITU-T, "The E Model, a computational model for use in
transmission planning", ITU-T Recommendation G.107,
February 2014.
[G.107.1] ITU-T, "Wideband E-model", ITU-T Recommendation G.107.1,
December 2011.
[G.1082] ITU-T, "Measurement-based methods for improving the
robustness of IPTV performance", ITU-T Recommendation
G.1082, April 2009.
[P.1201.1] ITU-T, "Parametric non-intrusive assessment of
audiovisual media streaming quality - Lower resolution
application area", ITU-T Recommendation P.1201.1,
October 2012.
[P.1201.2] ITU-T, "Parametric non-intrusive assessment of
audiovisual media streaming quality - Higher resolution
application area", ITU-T Recommendation P.1201.2,
October 2012.
[P.1202.1] ITU-T, "Parametric non-intrusive bitstream assessment of
video media streaming quality - Lower resolution
application area", ITU-T Recommendation P.1202.1,
October 2012.
[P.1202.2] ITU-T, "Parametric non-intrusive bitstream assessment of
video media streaming quality - Higher resolution
application area", ITU-T Recommendation P.1202.2, May
2013.
Clark, et al. Standards Track [Page 18]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
[P.564] ITU-T, "Conformance testing for narrowband Voice over IP
transmission quality assessment models", ITU-T
Recommendation P.564, November 2007.
[P.862] ITU-T, "Perceptual evaluation of speech quality (PESQ):
An objective method for end-to-end speech quality
assessment of narrow-band telephone networks and speech
codecs", ITU-T Recommendation P.862, February 2001.
[P.862.1] ITU-T, "Mapping function for transforming P.862 raw
result scores to MOS-LQO", ITU-T Recommendation P.862.1,
November 2003.
[P.862.2] ITU-T, "Wideband extension to Recommendation P.862 for
the assessment of wideband telephone networks and speech
codecs", ITU-T Recommendation P.862.2, November 2007.
[P.863] ITU-T, "Perceptual objective listening quality
assessment", ITU-T Recommendation P.863, January 2011.
[RFC4184] Link, B., Hager, T., and J. Flaks, "RTP Payload Format
for AC-3 Audio", RFC 4184, October 2005.
[RFC4598] Link, B., "Real-time Transport Protocol (RTP) Payload
Format for Enhanced AC-3 (E-AC-3) Audio", RFC 4598, July
2006.
[RFC5188] Desineni, H. and Q. Xie, "RTP Payload Format for the
Enhanced Variable Rate Wideband Codec (EVRC-WB) and the
Media Subtype Updates for EVRC-B Codec", RFC 5188,
February 2008.
[RFC6390] Clark, A. and B. Claise, "Guidelines for Considering New
Performance Metric Development", BCP 170, RFC 6390,
October 2011.
[RFC6792] Wu, Q., Ed., Hunt, G., and P. Arden, "Guidelines for Use
of the RTP Monitoring Framework", RFC 6792, November
2012.
[TTC] Telecommunication Technology Committee, "A Method for
Speech Quality Assessment for IP Telephony", TTC
JJ-201.01 (Japan), November 2013,
<http://www.ttc.or.jp/jp/document_list/pdf/j/STD/
JJ-201.01v7.pdf>.
Clark, et al. Standards Track [Page 19]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
Appendix A. Metrics Represented Using the Template from RFC 6390
a. MOS Value Metric
* Metric Name: MOS in RTP
* Metric Description: The estimated mean opinion score for
multimedia application performance of the RTP stream is defined
as including the effects of delay, loss, discard, jitter, and
others on audio or video quality.
* Method of Measurement or Calculation: See Section 3.2.1, MOS
value definition.
* Units of Measurement: See Section 3.2.1, MOS value definition.
* Measurement Point(s) with Potential Measurement Domain: See
Section 3, second paragraph.
* Measurement Timing: See Section 3, third paragraph for
measurement timing and Section 3.1 for Interval Metric flag.
* Use and applications: See Section 1.4.
* Reporting model: See RFC 3611.
b. Segment Type Metric
* Metric Name: Segment Type in RTP
* Metric Description: It is used to identify the segment type of
RTP stream used in this report block. For more details, see
Section 3.2.1, Segment type definition.
* Method of Measurement or Calculation: See Section 3.2.1,
Segment Type definition.
* Units of Measurement: See Section 3.2.1, Segment Type
definition.
* Measurement Point(s) with Potential Measurement Domain: See
Section 3, second paragraph.
* Measurement Timing: See Section 3, third paragraph for
measurement timing and Section 3.1 for Interval Metric flag.
* Use and applications: See Section 1.4.
Clark, et al. Standards Track [Page 20]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
* Reporting model: See RFC 3611.
c. Calculation Algorithm Identifier Metric
* Metric Name: RTP Stream Calculation Algorithm Identifier
* Metric Description: It is the local identifier of RTP Stream
calculation Algorithm associated with this segment in the range
1-255 (inclusive).
* Method of Measurement or Calculation: See Section 3.2.1,
Calculation Algorithm ID definition.
* Units of Measurement: See Section 3.2.1, Calg Algorithm ID
definition.
* Measurement Point(s) with Potential Measurement Domain: See
Section 3, second paragraph.
* Measurement Timing: See Section 3, third paragraph for
measurement timing and Section 3.1 for Interval Metric flag.
* Use and applications: See Section 1.4.
* Reporting model: See RFC 3611.
d. Payload Type Metric
* Metric Name: RTP Payload Type
* Metric Description: It is used to identify the format of the
RTP payload. For more details, see Section 3.2.1, payload type
definition.
* Method of Measurement or Calculation: See Section 3.2.1,
Payload type definition.
* Units of Measurement: See Section 3.2.1, Payload type
definition.
* Measurement Point(s) with Potential Measurement Domain: See
Section 3, second paragraph.
* Measurement Timing: See Section 3, third paragraph for
measurement timing and Section 3.1 for Interval Metric flag.
* Use and applications: See Section 1.4.
Clark, et al. Standards Track [Page 21]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
* Reporting model: See RFC 3611.
e. Channel Identifier Metric
* Metric Name: Audio Channel Identifier in RTP
* Metric Description: It is used to identify each audio channel
carried in the same RTP stream. For more details, see Section
3.2.2, channel identifier definition.
* Method of Measurement or Calculation: See Section 3.2.2,
Channel Identifier definition.
* Units of Measurement: See Section 3.2.2, Channel Identifier
definition.
* Measurement Point(s) with Potential Measurement Domain: See
Section 3, second paragraph.
* Measurement Timing: See Section 3, third paragraph for
measurement timing and Section 3.1 for Interval Metric flag.
* Use and applications: See Section 1.4.
* Reporting model: See RFC 3611.
Clark, et al. Standards Track [Page 22]
^L
RFC 7266 RTCP XR MOS Report Blocks June 2014
Authors' Addresses
Alan Clark
Telchemy Incorporated
2905 Premiere Parkway, Suite 280
Duluth, GA 30097
USA
EMail: alan.d.clark@telchemy.com
Qin Wu
Huawei
101 Software Avenue, Yuhua District
Nanjing, Jiangsu 210012
China
EMail: sunseawq@huawei.com
Roland Schott
Deutsche Telekom
Heinrich-Hertz-Strasse 3-7
Darmstadt 64295
Germany
EMail: Roland.Schott@telekom.de
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
Clark, et al. Standards Track [Page 23]
^L
|