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 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077
|
<pre>Network Working Group T. Friedman, Ed.
Request for Comments: 3611 Paris 6
Category: Standards Track R. Caceres, Ed.
IBM Research
A. Clark, Ed.
Telchemy
November 2003
<span class="h1">RTP Control Protocol Extended Reports (RTCP XR)</span>
Status of this Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2003). All Rights Reserved.
Abstract
This document defines the Extended Report (XR) packet type for the
RTP Control Protocol (RTCP), and defines how the use of XR packets
can be signaled by an application if it employs the Session
Description Protocol (SDP). XR packets are composed of report
blocks, and seven block types are defined here. The purpose of the
extended reporting format is to convey information that supplements
the six statistics that are contained in the report blocks used by
RTCP's Sender Report (SR) and Receiver Report (RR) packets. Some
applications, such as multicast inference of network characteristics
(MINC) or voice over IP (VoIP) monitoring, require other and more
detailed statistics. In addition to the block types defined here,
additional block types may be defined in the future by adhering to
the framework that this document provides.
<span class="grey">Friedman, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-1.1">1.1</a>. Applicability. . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-1.2">1.2</a>. Terminology. . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-2">2</a>. XR Packet Format . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-3">3</a>. Extended Report Block Framework. . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-4">4</a>. Extended Report Blocks . . . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-4.1">4.1</a>. Loss RLE Report Block. . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-4.1.1">4.1.1</a>. Run Length Chunk . . . . . . . . . . . . . . . . <a href="#page-15">15</a>
<a href="#section-4.1.2">4.1.2</a>. Bit Vector Chunk . . . . . . . . . . . . . . . . <a href="#page-15">15</a>
<a href="#section-4.1.3">4.1.3</a>. Terminating Null Chunk . . . . . . . . . . . . . <a href="#page-16">16</a>
<a href="#section-4.2">4.2</a>. Duplicate RLE Report Block . . . . . . . . . . . . . . . <a href="#page-16">16</a>
<a href="#section-4.3">4.3</a>. Packet Receipt Times Report Block. . . . . . . . . . . . <a href="#page-18">18</a>
<a href="#section-4.4">4.4</a>. Receiver Reference Time Report Block . . . . . . . . . . <a href="#page-20">20</a>
<a href="#section-4.5">4.5</a>. DLRR Report Block. . . . . . . . . . . . . . . . . . . . <a href="#page-21">21</a>
<a href="#section-4.6">4.6</a>. Statistics Summary Report Block. . . . . . . . . . . . . <a href="#page-22">22</a>
<a href="#section-4.7">4.7</a>. VoIP Metrics Report Block. . . . . . . . . . . . . . . . <a href="#page-25">25</a>
<a href="#section-4.7.1">4.7.1</a>. Packet Loss and Discard Metrics. . . . . . . . . <a href="#page-27">27</a>
<a href="#section-4.7.2">4.7.2</a>. Burst Metrics. . . . . . . . . . . . . . . . . . <a href="#page-27">27</a>
<a href="#section-4.7.3">4.7.3</a>. Delay Metrics. . . . . . . . . . . . . . . . . . <a href="#page-30">30</a>
<a href="#section-4.7.4">4.7.4</a>. Signal Related Metrics . . . . . . . . . . . . . <a href="#page-31">31</a>
<a href="#section-4.7.5">4.7.5</a>. Call Quality or Transmission Quality Metrics . . <a href="#page-33">33</a>
<a href="#section-4.7.6">4.7.6</a>. Configuration Parameters . . . . . . . . . . . . <a href="#page-34">34</a>
<a href="#section-4.7.7">4.7.7</a>. Jitter Buffer Parameters . . . . . . . . . . . . <a href="#page-36">36</a>
<a href="#section-5">5</a>. SDP Signaling. . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-36">36</a>
<a href="#section-5.1">5.1</a>. The SDP Attribute. . . . . . . . . . . . . . . . . . . . <a href="#page-37">37</a>
<a href="#section-5.2">5.2</a>. Usage in Offer/Answer. . . . . . . . . . . . . . . . . . <a href="#page-40">40</a>
<a href="#section-5.3">5.3</a>. Usage Outside of Offer/Answer. . . . . . . . . . . . . . <a href="#page-42">42</a>
<a href="#section-6">6</a>. IANA Considerations. . . . . . . . . . . . . . . . . . . . . . <a href="#page-42">42</a>
<a href="#section-6.1">6.1</a>. XR Packet Type . . . . . . . . . . . . . . . . . . . . . <a href="#page-42">42</a>
<a href="#section-6.2">6.2</a>. RTCP XR Block Type Registry. . . . . . . . . . . . . . . <a href="#page-42">42</a>
<a href="#section-6.3">6.3</a>. The "rtcp-xr" SDP Attribute. . . . . . . . . . . . . . . <a href="#page-43">43</a>
<a href="#section-7">7</a>. Security Considerations. . . . . . . . . . . . . . . . . . . . <a href="#page-44">44</a>
<a href="#appendix-A">A</a>. Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-46">46</a>
<a href="#appendix-A.1">A.1</a>. Sequence Number Interpretation . . . . . . . . . . . . . <a href="#page-46">46</a>
<a href="#appendix-A.2">A.2</a>. Example Burst Packet Loss Calculation. . . . . . . . . . <a href="#page-47">47</a>
Intellectual Property Notice . . . . . . . . . . . . . . . . . . . <a href="#page-49">49</a>
Acknowledgments. . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-50">50</a>
Contributors . . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-50">50</a>
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-51">51</a>
Normative References . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-51">51</a>
Informative References . . . . . . . . . . . . . . . . . . . . . . <a href="#page-51">51</a>
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-53">53</a>
Full Copyright Statement . . . . . . . . . . . . . . . . . . . . . <a href="#page-55">55</a>
<span class="grey">Friedman, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document defines the Extended Report (XR) packet type for the
RTP Control Protocol (RTCP) [<a href="#ref-9" title=""RTP: A Transport Protocol for Real-Time Applications"">9</a>], and defines how the use of XR
packets can be signaled by an application if it employs the Session
Description Protocol (SDP) [<a href="#ref-4" title=""SDP: Session Description Protocol"">4</a>]. XR packets convey information beyond
that already contained in the reception report blocks of RTCP's
sender report (SR) or Receiver Report (RR) packets. The information
is of use across RTP profiles, and so is not appropriately carried in
SR or RR profile-specific extensions. Information used for network
management falls into this category, for instance.
The definition is broken out over the three sections that follow the
Introduction. <a href="#section-2">Section 2</a> defines the XR packet as consisting of an
eight octet header followed by a series of components called report
blocks. <a href="#section-3">Section 3</a> defines the common format, or framework,
consisting of a type and a length field, required for all report
blocks. <a href="#section-4">Section 4</a> defines several specific report block types.
Other block types can be defined in future documents as the need
arises.
The report block types defined in this document fall into three
categories. The first category consists of packet-by-packet reports
on received or lost RTP packets. Reports in the second category
convey reference time information between RTP participants. In the
third category, reports convey metrics relating to packet receipts,
that are summary in nature but that are more detailed, or of a
different type, than that conveyed in existing RTCP packets.
All told, seven report block formats are defined by this document.
Of these, three are packet-by-packet block types:
- Loss RLE Report Block (<a href="#section-4.1">Section 4.1</a>): Run length encoding of
reports concerning the losses and receipts of RTP packets.
- Duplicate RLE Report Block (<a href="#section-4.2">Section 4.2</a>): Run length encoding of
reports concerning duplicates of received RTP packets.
- Packet Receipt Times Report Block (<a href="#section-4.3">Section 4.3</a>): A list of
reception timestamps of RTP packets.
There are two reference time related block types:
- Receiver Reference Time Report Block (<a href="#section-4.4">Section 4.4</a>): Receiver-end
wallclock timestamps. Together with the DLRR Report Block
mentioned next, these allow non-senders to calculate round-trip
times.
<span class="grey">Friedman, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
- DLRR Report Block (<a href="#section-4.5">Section 4.5</a>): The delay since the last Receiver
Reference Time Report Block was received. An RTP data sender that
receives a Receiver Reference Time Report Block can respond with a
DLRR Report Block, in much the same way as, in the mechanism
already defined for RTCP [9, <a href="#section-6.3.1">Section 6.3.1</a>], an RTP data receiver
that receives a sender's NTP timestamp can respond by filling in
the DLSR field of an RTCP reception report block.
Finally, this document defines two summary metric block types:
- Statistics Summary Report Block (<a href="#section-4.6">Section 4.6</a>): Statistics on RTP
packet sequence numbers, losses, duplicates, jitter, and TTL or
Hop Limit values.
- VoIP Metrics Report Block (<a href="#section-4.7">Section 4.7</a>): Metrics for monitoring
Voice over IP (VoIP) calls.
Before proceeding to the XR packet and report block definitions, this
document provides an applicability statement (<a href="#section-1.1">Section 1.1</a>) that
describes the contexts in which these report blocks can be used. It
also defines (<a href="#section-1.2">Section 1.2</a>) the normative use of key words, such as
MUST and SHOULD, as they are employed in this document.
Following the definitions of the various report blocks, this document
describes how applications that employ SDP can signal their use
(<a href="#section-5">Section 5</a>). The document concludes with a discussion (<a href="#section-6">Section 6</a>) of
numbering considerations for the Internet Assigned Numbers Authority
(IANA), of security considerations (<a href="#section-7">Section 7</a>), and with appendices
that provide examples of how to implement algorithms discussed in the
text.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Applicability</span>
The XR packets are useful across multiple applications, and for that
reason are not defined as profile-specific extensions to RTCP sender
or Receiver Reports [9, <a href="#section-6.4.3">Section 6.4.3</a>]. Nonetheless, they are not of
use in all contexts. In particular, the VoIP metrics report block
(<a href="#section-4.7">Section 4.7</a>) is specific to voice applications, though it can be
employed over a wide variety of such applications.
The VoIP metrics report block can be applied to any one-to-one or
one-to-many voice application for which the use of RTP and RTCP is
specified. The use of conversational metrics (<a href="#section-4.7.5">Section 4.7.5</a>),
including the R factor (as described by the E Model defined in [<a href="#ref-3" title=""Quality of Service (QoS) measurement methodologies"">3</a>])
and the mean opinion score for conversational quality (MOS-CQ), in
applications other than simple two party calls is not defined; hence,
these metrics should be identified as unavailable in multicast
conferencing applications.
<span class="grey">Friedman, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
The packet-by-packet report block types, Loss RLE (<a href="#section-4.1">Section 4.1</a>),
Duplicate RLE (<a href="#section-4.2">Section 4.2</a>), and Packet Receipt Times (<a href="#section-4.3">Section 4.3</a>),
have been defined with network tomography applications, such as
multicast inference of network characteristics (MINC) [<a href="#ref-11" title=""The Use of End-to-End Multicast Measurements for Characterizing Internal Network Behavior"">11</a>], in mind.
MINC requires detailed packet receipt traces from multicast session
receivers in order to infer the gross structure of the multicast
distribution tree and the parameters, such as loss rates and delays,
that apply to paths between the branching points of that tree.
Any real time multicast multimedia application can use the packet-
by-packet report block types. Such an application could employ a
MINC inference subsystem that would provide it with multicast tree
topology information. One potential use of such a subsystem would be
for the identification of high loss regions in the multicast tree and
the identification of multicast session participants well situated to
provide retransmissions of lost packets.
Detailed packet-by-packet reports do not necessarily have to consume
disproportionate bandwidth with respect to other RTCP packets. An
application can cap the size of these blocks. A mechanism called
"thinning" is provided for these report blocks, and can be used to
ensure that they adhere to a size limit by restricting the number of
packets reported upon within any sequence number interval. The
rationale for, and use of this mechanism is described in [<a href="#ref-13" title=""Impromptu measurement infrastructures using RTP"">13</a>].
Furthermore, applications might not require report blocks from all
receivers in order to answer such important questions as where in the
multicast tree there are paths that exceed a defined loss rate
threshold. Intelligent decisions regarding which receivers send
these report blocks can further restrict the portion of RTCP
bandwidth that they consume.
The packet-by-packet report blocks can also be used by dedicated
network monitoring applications. For such an application, it might
be appropriate to allow more than 5% of RTP data bandwidth to be used
for RTCP packets, thus allowing proportionately larger and more
detailed report blocks.
Nothing in the packet-by-packet block types restricts their use to
multicast applications. In particular, they could be used for
network tomography similar to MINC, but using striped unicast packets
instead. In addition, if it were found useful, they could be used
for applications limited to two participants.
One use to which the packet-by-packet reports are not immediately
suited is for data packet acknowledgments as part of a packet
retransmission mechanism. The reason is that the packet accounting
technique suggested for these blocks differs from the packet
accounting normally employed by RTP. In order to favor measurement
<span class="grey">Friedman, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
applications, an effort is made to interpret as little as possible at
the data receiver, and leave the interpretation as much as possible
to participants that receive the report blocks. Thus, for example, a
packet with an anomalous SSRC ID or an anomalous sequence number
might be excluded by normal RTP accounting, but would be reported
upon for network monitoring purposes.
The Statistics Summary Report Block (<a href="#section-4.6">Section 4.6</a>) has also been
defined with network monitoring in mind. This block type can be used
equally well for reporting on unicast and multicast packet reception.
The reference time related block types were conceived for receiver-
based TCP-friendly multicast congestion control [<a href="#ref-18" title=""MLDA: A TCP-friendly Congestion Control Framework for Heterogeneous Multicast Environments"">18</a>]. By allowing
data receivers to calculate their round trip times to senders, they
help the receivers estimate the downstream bandwidth they should
request. Note that if every receiver is to send Receiver Reference
Time Report Blocks (<a href="#section-4.4">Section 4.4</a>), a sender might potentially send a
number of DLRR Report Blocks (<a href="#section-4.5">Section 4.5</a>) equal to the number of
receivers whose RTCP packets have arrived at the sender within its
reporting interval. As the number of participants in a multicast
session increases, an application should use discretion regarding
which participants send these blocks, and how frequently.
XR packets supplement the existing RTCP packets, and may be stacked
with other RTCP packets to form compound RTCP packets [9, <a href="#section-6">Section 6</a>].
The introduction of XR packets into a session in no way changes the
rules governing the calculation of the RTCP reporting interval [9,
<a href="#section-6.2">Section 6.2</a>]. As XR packets are RTCP packets, they count as such for
bandwidth calculations. As a result, the addition of extended
reporting information may tend to increase the average RTCP packet
size, and thus the average reporting interval. This increase may be
limited by limiting the size of XR packets.
The SDP signaling defined for XR packets in this document (<a href="#section-5">Section 5</a>)
was done so with three use scenarios in mind: a Real Time Streaming
Protocol (RTSP) controlled streaming application, a one-to-many
multicast multimedia application such as a course lecture with
enhanced feedback, and a Session Initiation Protocol (SIP) controlled
conversational session involving two parties. Applications that
employ SDP are free to use additional SDP signaling for cases not
covered here. In addition, applications are free to use signaling
mechanisms other than SDP.
<span class="grey">Friedman, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>. Terminology</span>
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 <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a> [<a href="#ref-1" title=""Key words for use in RFCs to Indicate Requirement Levels"">1</a>]
and indicate requirement levels for compliance with this
specification.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. XR Packet Format</span>
An XR packet consists of a header of two 32-bit words, followed by a
number, possibly zero, of extended report blocks. This type of
packet is laid out in a manner consistent with other RTCP packets, as
concerns the essential version, packet type, and length information.
XR packets are thus backwards compatible with RTCP receiver
implementations that do not recognize them, but that ought to be able
to parse past them using the length information. A padding field and
an SSRC field are also provided in the same locations that they
appear in other RTCP packets, for simplicity. The format 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|V=2|P|reserved | PT=XR=207 | length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SSRC |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: report blocks :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
version (V): 2 bits
Identifies the version of RTP. This specification applies to
RTP version two.
padding (P): 1 bit
If the padding bit is set, this XR packet contains some
additional padding octets at the end. The semantics of this
field are identical to the semantics of the padding field in
the SR packet, as defined by the RTP specification.
reserved: 5 bits
This field is reserved for future definition. In the absence
of such definition, the bits in this field MUST be set to zero
and MUST be ignored by the receiver.
<span class="grey">Friedman, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
packet type (PT): 8 bits
Contains the constant 207 to identify this as an RTCP XR
packet. This value is registered with the Internet Assigned
Numbers Authority (IANA), as described in <a href="#section-6.1">Section 6.1</a>.
length: 16 bits
As described for the RTCP Sender Report (SR) packet (see
<a href="#section-6.4.1">Section 6.4.1</a> of the RTP specification [<a href="#ref-9" title=""RTP: A Transport Protocol for Real-Time Applications"">9</a>]). Briefly, the
length of this XR packet in 32-bit words minus one, including
the header and any padding.
SSRC: 32 bits
The synchronization source identifier for the originator of
this XR packet.
report blocks: variable length.
Zero or more extended report blocks. In keeping with the
extended report block framework defined below, each block MUST
consist of one or more 32-bit words.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Extended Report Block Framework</span>
Extended report blocks are stacked, one after the other, at the end
of an XR packet. An individual block's length is a multiple of 4
octets. The XR header's length field describes the total length of
the packet, including these extended report blocks.
Each block has block type and length fields that facilitate parsing.
A receiving application can demultiplex the blocks based upon their
type, and can use the length information to locate each successive
block, even in the presence of block types it does not recognize.
An extended report 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 | type-specific | block length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: type-specific block contents :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
block type (BT): 8 bits
Identifies the block format. Seven block types are defined in
<a href="#section-4">Section 4</a>. Additional block types may be defined in future
specifications. This field's name space is managed by the
Internet Assigned Numbers Authority (IANA), as described in
<a href="#section-6.2">Section 6.2</a>.
<span class="grey">Friedman, et al. Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
type-specific: 8 bits
The use of these bits is determined by the block type
definition.
block length: 16 bits
The length of this report block, including the header, in 32-
bit words minus one. If the block type definition permits,
zero is an acceptable value, signifying a block that consists
of only the BT, type-specific, and block length fields, with a
null type-specific block contents field.
type-specific block contents: variable length
The use of this field is defined by the particular block type,
subject to the constraint that it MUST be a multiple of 32 bits
long. If the block type definition permits, It MAY be zero
bits long.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Extended Report Blocks</span>
This section defines seven extended report blocks: block types for
reporting upon received packet losses and duplicates, packet
reception times, receiver reference time information, receiver
inter-report delays, detailed reception statistics, and voice over IP
(VoIP) metrics. An implementation SHOULD ignore incoming blocks with
types not relevant or unknown to it. Additional block types MUST be
registered with the Internet Assigned Numbers Authority (IANA) [<a href="#ref-16" title=""Assigned Numbers: RFC 1700 is Replaced by an On-line Database"">16</a>],
as described in <a href="#section-6.2">Section 6.2</a>.
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Loss RLE Report Block</span>
This block type permits detailed reporting upon individual packet
receipt and loss events. Such reports can be used, for example, for
multicast inference of network characteristics (MINC) [<a href="#ref-11" title=""The Use of End-to-End Multicast Measurements for Characterizing Internal Network Behavior"">11</a>]. With
MINC, one can discover the topology of the multicast tree used for
distributing a source's RTP packets, and of the loss rates along
links within that tree, or they could be used to provide raw data to
a network management application.
Since a Boolean trace of lost and received RTP packets is potentially
lengthy, this block type permits the trace to be compressed through
run length encoding. To further reduce block size, loss event
reports can be systematically dropped from the trace in a mechanism
called thinning that is described below and that is studied in [<a href="#ref-13" title=""Impromptu measurement infrastructures using RTP"">13</a>].
A participant that generates a Loss RLE Report Block should favor
accuracy in reporting on observed events over interpretation of those
events whenever possible. Interpretation should be left to those who
observe the report blocks. Following this approach implies that
<span class="grey">Friedman, et al. Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
accounting for Loss RLE Report Blocks will differ from the accounting
for the generation of the SR and RR packets described in the RTP
specification [<a href="#ref-9" title=""RTP: A Transport Protocol for Real-Time Applications"">9</a>] in the following two areas: per-sender accounting
and per-packet accounting.
In its per-sender accounting, an RTP session participant SHOULD NOT
make the receipt of a threshold minimum number of RTP packets a
condition for reporting upon the sender of those packets. This
accounting technique differs from the technique described in <a href="#section-6.2.1">Section</a>
<a href="#section-6.2.1">6.2.1</a> and <a href="#appendix-A.1">Appendix A.1</a> of the RTP specification that allows a
threshold to determine whether a sender is considered valid.
In its per-packet accounting, an RTP session participant SHOULD treat
all sequence numbers as valid. This accounting technique differs
from the technique described in <a href="#appendix-A.1">Appendix A.1</a> of the RTP specification
that suggests ruling a sequence number valid or invalid on the basis
of its contiguity with the sequence numbers of previously received
packets.
Sender validity and sequence number validity are interpretations of
the raw data. Such interpretations are justified in the interest,
for example, of excluding the stray old packet from an unrelated
session from having an effect upon the calculation of the RTCP
transmission interval. The presence of stray packets might, on the
other hand, be of interest to a network monitoring application.
One accounting interpretation that is still necessary is for a
participant to decide whether the 16 bit sequence number has rolled
over. Under ordinary circumstances this is not a difficult task.
For example, if packet number 65,535 (the highest possible sequence
number) is followed shortly by packet number 0, it is reasonable to
assume that there has been a rollover. However, it is possible that
the packet is an earlier one (from 65,535 packets earlier). It is
also possible that the sequence numbers have rolled over multiple
times, either forward or backward. The interpretation becomes more
difficult when there are large gaps between the sequence numbers,
even accounting for rollover, and when there are long intervals
between received packets.
The per-packet accounting technique mandated here is for a
participant to keep track of the sequence number of the packet most
recently received from a sender. For the next packet that arrives
from that sender, the sequence number MUST be judged to fall no more
than 32,768 packets ahead or behind the most recent one, whichever
choice places it closer. In the event that both choices are equally
distant (only possible when the distance is 32,768), the choice MUST
be the one that does not require a rollover. <a href="#appendix-A.1">Appendix A.1</a> presents
an algorithm that implements this technique.
<span class="grey">Friedman, et al. Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
Each block reports on a single RTP data packet source, identified by
its SSRC. The receiver that is supplying the report is identified in
the header of the RTCP packet.
Choice of beginning and ending RTP packet sequence numbers for the
trace is left to the application. These values are reported in the
block. The last sequence number in the trace MAY differ from the
sequence number reported on in any accompanying SR or RR report.
Note that because of sequence number wraparound, the ending sequence
number MAY be less than the beginning sequence number. A Loss RLE
Report Block MUST NOT be used to report upon a range of 65,534 or
greater in the sequence number space, as there is no means of
identifying multiple wraparounds.
The trace described by a Loss RLE report consists of a sequence of
Boolean values, one for each sequence number of the trace. A value
of one represents a packet receipt, meaning that one or more packets
having that sequence number have been received since the most recent
wraparound of sequence numbers (or since the beginning of the RTP
session if no wraparound has been judged to have occurred). A value
of zero represents a packet loss, meaning that there has been no
packet receipt for that sequence number as of the time of the report.
If a packet with a given sequence number is received after a report
of a loss for that sequence number, a later Loss RLE report MAY
report a packet receipt for that sequence number.
The encoding itself consists of a series of 16 bit units called
chunks that describe sequences of packet receipts or losses in the
trace. Each chunk either specifies a run length or a bit vector, or
is a null chunk. A run length describes between 1 and 16,383 events
that are all the same (either all receipts or all losses). A bit
vector describes 15 events that may be mixed receipts and losses. A
null chunk describes no events, and is used to round out the block to
a 32 bit word boundary.
The mapping from a sequence of lost and received packets into a
sequence of chunks is not necessarily unique. For example, the
following trace covers 45 packets, of which the 22nd and 24th have
been lost and the others received:
1111 1111 1111 1111 1111 1010 1111 1111 1111 1111 1111 1
<span class="grey">Friedman, et al. Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
One way to encode this would be:
bit vector 1111 1111 1111 111
bit vector 1111 1101 0111 111
bit vector 1111 1111 1111 111
null chunk
Another way to encode this would be:
run of 21 receipts
bit vector 0101 1111 1111 111
run of 9 receipts
null chunk
The choice of encoding is left to the application. As part of this
freedom of choice, applications MAY terminate a series of run length
and bit vector chunks with a bit vector chunk that runs beyond the
sequence number space described by the report block. For example, if
the 44th packet in the same sequence was lost:
1111 1111 1111 1111 1111 1010 1111 1111 1111 1111 1110 1
This could be encoded as:
run of 21 receipts
bit vector 0101 1111 1111 111
bit vector 1111 1110 1000 000
null chunk
In this example, the last five bits of the second bit vector describe
a part of the sequence number space that extends beyond the last
sequence number in the trace. These bits have been set to zero.
All bits in a bit vector chunk that describe a part of the sequence
number space that extends beyond the last sequence number in the
trace MUST be set to zero, and MUST be ignored by the receiver.
A null packet MUST appear at the end of a Loss RLE Report Block if
the number of run length plus bit vector chunks is odd. The null
chunk MUST NOT appear in any other context.
Caution should be used in sending Loss RLE Report Blocks because,
even with the compression provided by run length encoding, they can
easily consume bandwidth out of proportion with normal RTCP packets.
The block type includes a mechanism, called thinning, that allows an
application to limit report sizes.
<span class="grey">Friedman, et al. Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
A thinning value, T, selects a subset of packets within the sequence
number space: those with sequence numbers that are multiples of 2^T.
Packet reception and loss reports apply only to those packets. T can
vary between 0 and 15. If T is zero, then every packet in the
sequence number space is reported upon. If T is fifteen, then one in
every 32,768 packets is reported upon.
Suppose that the trace just described begins at sequence number
13,821. The last sequence number in the trace is 13,865. If the
trace were to be thinned with a thinning value of T=2, then the
following sequence numbers would be reported upon: 13,824, 13,828,
13,832, 13,836, 13,840, 13,844, 13,848, 13,852, 13,856, 13,860,
13,864. The thinned trace would be as follows:
1 1 1 1 1 0 1 1 1 1 0
This could be encoded as follows:
bit vector 1111 1011 1100 000
null chunk
The last four bits in the bit vector, representing sequence numbers
13,868, 13,872, 13,876, and 13,880, extend beyond the trace and are
thus set to zero and are ignored by the receiver. With thinning, the
loss of the 22nd packet goes unreported because its sequence number,
13,842, is not a multiple of four. Packet receipts for all sequence
numbers that are not multiples of four also go unreported. However,
in this example thinning has permitted the Loss RLE Report Block to
be shortened by one 32 bit word.
Choice of the thinning value is left to the application.
<span class="grey">Friedman, et al. Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
The Loss RLE Report 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=1 | rsvd. | T | block length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SSRC of source |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| begin_seq | end_seq |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| chunk 1 | chunk 2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: ... :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| chunk n-1 | chunk n |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
block type (BT): 8 bits
A Loss RLE Report Block is identified by the constant 1.
rsvd.: 4 bits
This field is reserved for future definition. In the absence
of such definition, the bits in this field MUST be set to zero
and MUST be ignored by the receiver.
thinning (T): 4 bits
The amount of thinning performed on the sequence number space.
Only those packets with sequence numbers 0 mod 2^T are reported
on by this block. A value of 0 indicates that there is no
thinning, and all packets are reported on. The maximum
thinning is one packet in every 32,768 (amounting to two
packets within each 16-bit sequence space).
block length: 16 bits
Defined in <a href="#section-3">Section 3</a>.
SSRC of source: 32 bits
The SSRC of the RTP data packet source being reported upon by
this report block.
begin_seq: 16 bits
The first sequence number that this block reports on.
end_seq: 16 bits
The last sequence number that this block reports on plus one.
<span class="grey">Friedman, et al. Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
chunk i: 16 bits
There are three chunk types: run length, bit vector, and
terminating null, defined in the following sections. If the
chunk is all zeroes, then it is a terminating null chunk.
Otherwise, the left most bit of the chunk determines its type:
0 for run length and 1 for bit vector.
<span class="h4"><a class="selflink" id="section-4.1.1" href="#section-4.1.1">4.1.1</a>. Run Length Chunk</span>
0 1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|C|R| run length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
chunk type (C): 1 bit
A zero identifies this as a run length chunk.
run type (R): 1 bit
Zero indicates a run of 0s. One indicates a run of 1s.
run length: 14 bits
A value between 1 and 16,383. The value MUST not be zero for a
run length chunk (zeroes in both the run type and run length
fields would make the chunk a terminating null chunk). Run
lengths of 15 or less MAY be described with a run length chunk
despite the fact that they could also be described as part of a
bit vector chunk.
<span class="h4"><a class="selflink" id="section-4.1.2" href="#section-4.1.2">4.1.2</a>. Bit Vector Chunk</span>
0 1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|C| bit vector |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
chunk type (C): 1 bit
A one identifies this as a bit vector chunk.
bit vector: 15 bits
The vector is read from left to right, in order of increasing
sequence number (with the appropriate allowance for
wraparound).
<span class="grey">Friedman, et al. Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
<span class="h4"><a class="selflink" id="section-4.1.3" href="#section-4.1.3">4.1.3</a>. Terminating Null Chunk</span>
This chunk is all zeroes.
0 1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Duplicate RLE Report Block</span>
This block type permits per-sequence-number reports on duplicates in
a source's RTP packet stream. Such information can be used for
network diagnosis, and provide an alternative to packet losses as a
basis for multicast tree topology inference.
The Duplicate RLE Report Block format is identical to the Loss RLE
Report Block format. Only the interpretation is different, in that
the information concerns packet duplicates rather than packet losses.
The trace to be encoded in this case also consists of zeros and ones,
but a zero here indicates the presence of duplicate packets for a
given sequence number, whereas a one indicates that no duplicates
were received.
The existence of a duplicate for a given sequence number is
determined over the entire reporting period. For example, if packet
number 12,593 arrives, followed by other packets with other sequence
numbers, the arrival later in the reporting period of another packet
numbered 12,593 counts as a duplicate for that sequence number. The
duplicate does not need to follow immediately upon the first packet
of that number. Care must be taken that a report does not cover a
range of 65,534 or greater in the sequence number space.
No distinction is made between the existence of a single duplicate
packet and multiple duplicate packets for a given sequence number.
Note also that since there is no duplicate for a lost packet, a loss
is encoded as a one in a Duplicate RLE Report Block.
<span class="grey">Friedman, et al. Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
The Duplicate RLE Report 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=2 | rsvd. | T | block length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SSRC of source |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| begin_seq | end_seq |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| chunk 1 | chunk 2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: ... :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| chunk n-1 | chunk n |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
block type (BT): 8 bits
A Duplicate RLE Report Block is identified by the constant 2.
rsvd.: 4 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 MUST be ignored by the receiver.
thinning (T): 4 bits
As defined in <a href="#section-4.1">Section 4.1</a>.
block length: 16 bits
Defined in <a href="#section-3">Section 3</a>.
SSRC of source: 32 bits
As defined in <a href="#section-4.1">Section 4.1</a>.
begin_seq: 16 bits
As defined in <a href="#section-4.1">Section 4.1</a>.
end_seq: 16 bits
As defined in <a href="#section-4.1">Section 4.1</a>.
chunk i: 16 bits
As defined in <a href="#section-4.1">Section 4.1</a>.
<span class="grey">Friedman, et al. Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. Packet Receipt Times Report Block</span>
This block type permits per-sequence-number reports on packet receipt
times for a given source's RTP packet stream. Such information can
be used for MINC inference of the topology of the multicast tree used
to distribute the source's RTP packets, and of the delays along the
links within that tree. It can also be used to measure partial path
characteristics and to model distributions for packet jitter.
Packet receipt times are expressed in the same units as in the RTP
timestamps of data packets. This is so that, for each packet, one
can establish both the send time and the receipt time in comparable
terms. Note, however, that as an RTP sender ordinarily initializes
its time to a value chosen at random, there can be no expectation
that reported send and receipt times will differ by an amount equal
to the one-way delay between sender and receiver. The reported times
can nonetheless be useful for the purposes mentioned above.
At least one packet MUST have been received for each sequence number
reported upon in this block. If this block type is used to report
receipt times for a series of sequence numbers that includes lost
packets, several blocks are required. If duplicate packets have been
received for a given sequence number, and those packets differ in
their receipt times, any time other than the earliest MUST NOT be
reported. This is to ensure consistency among reports.
Times reported in RTP timestamp format consume more bits than loss or
duplicate information, and do not lend themselves to run length
encoding. The use of thinning is encouraged to limit the size of
Packet Receipt Times Report Blocks.
<span class="grey">Friedman, et al. Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
The Packet Receipt Times Report 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=3 | rsvd. | T | block length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SSRC of source |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| begin_seq | end_seq |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Receipt time of packet begin_seq |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Receipt time of packet (begin_seq + 1) mod 65536 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: ... :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Receipt time of packet (end_seq - 1) mod 65536 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
block type (BT): 8 bits
A Packet Receipt Times Report Block is identified by the
constant 3.
rsvd.: 4 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 MUST be ignored by the receiver.
thinning (T): 4 bits
As defined in <a href="#section-4.1">Section 4.1</a>.
block length: 16 bits
Defined in <a href="#section-3">Section 3</a>.
SSRC of source: 32 bits
As defined in <a href="#section-4.1">Section 4.1</a>.
begin_seq: 16 bits
As defined in <a href="#section-4.1">Section 4.1</a>.
end_seq: 16 bits
As defined in <a href="#section-4.1">Section 4.1</a>.
<span class="grey">Friedman, et al. Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
Packet i receipt time: 32 bits
The receipt time of the packet with sequence number i at the
receiver. The modular arithmetic shown in the packet format
diagram is to allow for sequence number rollover. It is
preferable for the time value to be established at the link
layer interface, or in any case as close as possible to the
wire arrival time. Units and format are the same as for the
timestamp in RTP data packets. As opposed to RTP data packet
timestamps, in which nominal values may be used instead of
system clock values in order to convey information useful for
periodic playout, the receipt times should reflect the actual
time as closely as possible. For a session, if the RTP
timestamp is chosen at random, the first receipt time value
SHOULD also be chosen at random, and subsequent timestamps
offset from this value. On the other hand, if the RTP
timestamp is meant to reflect the reference time at the sender,
then the receipt time SHOULD be as close as possible to the
reference time at the receiver.
<span class="h3"><a class="selflink" id="section-4.4" href="#section-4.4">4.4</a>. Receiver Reference Time Report Block</span>
This block extends RTCP's timestamp reporting so that non-senders may
also send timestamps. It recapitulates the NTP timestamp fields from
the RTCP Sender Report [9, Sec. 6.3.1]. A non-sender may estimate
its round trip time (RTT) to other participants, as proposed in [<a href="#ref-18" title=""MLDA: A TCP-friendly Congestion Control Framework for Heterogeneous Multicast Environments"">18</a>],
by sending this report block and receiving DLRR Report Blocks (see
next section) in reply.
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=4 | reserved | block length = 2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| NTP timestamp, most significant word |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| NTP timestamp, least significant word |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
block type (BT): 8 bits
A Receiver Reference Time Report Block is identified by the
constant 4.
reserved: 8 bits
This field is reserved for future definition. In the absence
of such definition, the bits in this field MUST be set to zero
and MUST be ignored by the receiver.
<span class="grey">Friedman, et al. Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
block length: 16 bits
The constant 2, in accordance with the definition of this field
in <a href="#section-3">Section 3</a>.
NTP timestamp: 64 bits
Indicates the wallclock time when this block was sent so that
it may be used in combination with timestamps returned in DLRR
Report Blocks (see next section) from other receivers to
measure round-trip propagation to those receivers. Receivers
should expect that the measurement accuracy of the timestamp
may be limited to far less than the resolution of the NTP
timestamp. The measurement uncertainty of the timestamp is not
indicated as it may not be known. A report block sender that
can keep track of elapsed time but has no notion of wallclock
time may use the elapsed time since joining the session
instead. This is assumed to be less than 68 years, so the high
bit will be zero. It is permissible to use the sampling clock
to estimate elapsed wallclock time. A report sender that has
no notion of wallclock or elapsed time may set the NTP
timestamp to zero.
<span class="h3"><a class="selflink" id="section-4.5" href="#section-4.5">4.5</a>. DLRR Report Block</span>
This block extends RTCP's delay since the last Sender Report (DLSR)
mechanism [9, Sec. 6.3.1] so that non-senders may also calculate
round trip times, as proposed in [<a href="#ref-18" title=""MLDA: A TCP-friendly Congestion Control Framework for Heterogeneous Multicast Environments"">18</a>]. It is termed DLRR for delay
since the last Receiver Report, and may be sent in response to a
Receiver Timestamp Report Block (see previous section) from a
receiver to allow that receiver to calculate its round trip time to
the respondent. The report consists of one or more 3 word sub-
blocks: one sub-block per Receiver Report.
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=5 | reserved | block length |
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
| SSRC_1 (SSRC of first receiver) | sub-
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ block
| last RR (LRR) | 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| delay since last RR (DLRR) |
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
| SSRC_2 (SSRC of second receiver) | sub-
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ block
: ... : 2
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
<span class="grey">Friedman, et al. Standards Track [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
block type (BT): 8 bits
A DLRR Report Block is identified by the constant 5.
reserved: 8 bits
This field is reserved for future definition. In the absence
of such definition, the bits in this field MUST be set to zero
and MUST be ignored by the receiver.
block length: 16 bits
Defined in <a href="#section-3">Section 3</a>.
last RR timestamp (LRR): 32 bits
The middle 32 bits out of 64 in the NTP timestamp (as explained
in the previous section), received as part of a Receiver
Reference Time Report Block from participant SSRC_n. If no
such block has been received, the field is set to zero.
delay since last RR (DLRR): 32 bits
The delay, expressed in units of 1/65536 seconds, between
receiving the last Receiver Reference Time Report Block from
participant SSRC_n and sending this DLRR Report Block. If a
Receiver Reference Time Report Block has yet to be received
from SSRC_n, the DLRR field is set to zero (or the DLRR is
omitted entirely). Let SSRC_r denote the receiver issuing this
DLRR Report Block. Participant SSRC_n can compute the round-
trip propagation delay to SSRC_r by recording the time A when
this Receiver Timestamp Report Block is received. It
calculates the total round-trip time A-LRR using the last RR
timestamp (LRR) field, and then subtracting this field to leave
the round-trip propagation delay as A-LRR-DLRR. This is
illustrated in [9, Fig. 2].
<span class="h3"><a class="selflink" id="section-4.6" href="#section-4.6">4.6</a>. Statistics Summary Report Block</span>
This block reports statistics beyond the information carried in the
standard RTCP packet format, but is not as finely grained as that
carried in the report blocks previously described. Information is
recorded about lost packets, duplicate packets, jitter measurements,
and TTL or Hop Limit values. Such information can be useful for
network management.
The report block contents are dependent upon a series of flag bits
carried in the first part of the header. Not all parameters need to
be reported in each block. Flags indicate which are and which are
not reported. The fields corresponding to unreported parameters MUST
be present, but are set to zero. The receiver MUST ignore any
Statistics Summary Report Block with a non-zero value in any field
flagged as unreported.
<span class="grey">Friedman, et al. Standards Track [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
The Statistics Summary Report 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=6 |L|D|J|ToH|rsvd.| block length = 9 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SSRC of source |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| begin_seq | end_seq |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| lost_packets |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| dup_packets |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| min_jitter |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| max_jitter |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| mean_jitter |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| dev_jitter |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| min_ttl_or_hl | max_ttl_or_hl |mean_ttl_or_hl | dev_ttl_or_hl |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
block type (BT): 8 bits
A Statistics Summary Report Block is identified by the constant
6.
loss report flag (L): 1 bit
Bit set to 1 if the lost_packets field contains a report, 0
otherwise.
duplicate report flag (D): 1 bit
Bit set to 1 if the dup_packets field contains a report, 0
otherwise.
jitter flag (J): 1 bit
Bit set to 1 if the min_jitter, max_jitter, mean_jitter, and
dev_jitter fields all contain reports, 0 if none of them do.
TTL or Hop Limit flag (ToH): 2 bits
This field is set to 0 if none of the fields min_ttl_or_hl,
max_ttl_or_hl, mean_ttl_or_hl, or dev_ttl_or_hl contain
reports. If the field is non-zero, then all of these fields
contain reports. The value 1 signifies that they report on
IPv4 TTL values. The value 2 signifies that they report on
<span class="grey">Friedman, et al. Standards Track [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
IPv6 Hop Limit values. The value 3 is undefined and MUST NOT
be used.
rsvd.: 3 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 MUST be ignored by the receiver.
block length: 16 bits
The constant 9, in accordance with the definition of this field
in <a href="#section-3">Section 3</a>.
SSRC of source: 32 bits
As defined in <a href="#section-4.1">Section 4.1</a>.
begin_seq: 16 bits
As defined in <a href="#section-4.1">Section 4.1</a>.
end_seq: 16 bits
As defined in <a href="#section-4.1">Section 4.1</a>.
lost_packets: 32 bits
Number of lost packets in the above sequence number interval.
dup_packets: 32 bits
Number of duplicate packets in the above sequence number
interval.
min_jitter: 32 bits
The minimum relative transit time between two packets in the
above sequence number interval. All jitter values are measured
as the difference between a packet's RTP timestamp and the
reporter's clock at the time of arrival, measured in the same
units.
max_jitter: 32 bits
The maximum relative transit time between two packets in the
above sequence number interval.
mean_jitter: 32 bits
The mean relative transit time between each two packet series
in the above sequence number interval, rounded to the nearest
value expressible as an RTP timestamp.
dev_jitter: 32 bits
The standard deviation of the relative transit time between
each two packet series in the above sequence number interval.
<span class="grey">Friedman, et al. Standards Track [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
min_ttl_or_hl: 8 bits
The minimum TTL or Hop Limit value of data packets in the
sequence number range.
max_ttl_or_hl: 8 bits
The maximum TTL or Hop Limit value of data packets in the
sequence number range.
mean_ttl_or_hl: 8 bits
The mean TTL or Hop Limit value of data packets in the sequence
number range, rounded to the nearest integer.
dev_ttl_or_hl: 8 bits
The standard deviation of TTL or Hop Limit values of data
packets in the sequence number range.
<span class="h3"><a class="selflink" id="section-4.7" href="#section-4.7">4.7</a>. VoIP Metrics Report Block</span>
The VoIP Metrics Report Block provides metrics for monitoring voice
over IP (VoIP) calls. These metrics include packet loss and discard
metrics, delay metrics, analog metrics, and voice quality metrics.
The block reports separately on packets lost on the IP channel, and
those that have been received but then discarded by the receiving
jitter buffer. It also reports on the combined effect of losses and
discards, as both have equal effect on call quality.
In order to properly assess the quality of a Voice over IP call, it
is desirable to consider the degree of burstiness of packet loss
[<a href="#ref-14" title=""Modeling the Effects of Burst Packet Loss and Recency on Subjective Voice Quality"">14</a>]. Following a Gilbert-Elliott model [<a href="#ref-3" title=""Quality of Service (QoS) measurement methodologies"">3</a>], a period of time,
bounded by lost and/or discarded packets with a high rate of losses
and/or discards, is a "burst", and a period of time between two
bursts is a "gap". Bursts correspond to periods of time during which
the packet loss rate is high enough to produce noticeable degradation
in audio quality. Gaps correspond to periods of time during which
only isolated lost packets may occur, and in general these can be
masked by packet loss concealment. Delay reports include the transit
delay between RTP end points and the VoIP end system processing
delays, both of which contribute to the user perceived delay.
Additional metrics include signal, echo, noise, and distortion
levels. Call quality metrics include R factors (as described by the
E Model defined in [<a href="#ref-6" title=""The E-Model, a computational model for use in transmission planning"">6</a>,<a href="#ref-3" title=""Quality of Service (QoS) measurement methodologies"">3</a>]) and mean opinion scores (MOS scores).
Implementations MUST provide values for all the fields defined here.
For certain metrics, if the value is undefined or unknown, then the
specified default or unknown field value MUST be provided.
<span class="grey">Friedman, et al. Standards Track [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
The block is encoded as seven 32-bit words:
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=7 | reserved | block length = 8 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SSRC of source |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| loss rate | discard rate | burst density | gap density |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| burst duration | gap duration |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| round trip delay | end system delay |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| signal level | noise level | RERL | Gmin |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| R factor | ext. R factor | MOS-LQ | MOS-CQ |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| RX config | reserved | JB nominal |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| JB maximum | JB abs max |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
block type (BT): 8 bits
A VoIP Metrics Report Block is identified by the constant 7.
reserved: 8 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 MUST be ignored by the receiver.
block length: 16 bits
The constant 8, in accordance with the definition of this field
in <a href="#section-3">Section 3</a>.
SSRC of source: 32 bits
As defined in <a href="#section-4.1">Section 4.1</a>.
The remaining fields are described in the following six sections:
Packet Loss and Discard Metrics, Delay Metrics, Signal Related
Metrics, Call Quality or Transmission Quality Metrics, Configuration
Metrics, and Jitter Buffer Parameters.
<span class="grey">Friedman, et al. Standards Track [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
<span class="h4"><a class="selflink" id="section-4.7.1" href="#section-4.7.1">4.7.1</a>. Packet Loss and Discard Metrics</span>
It is very useful to distinguish between packets lost by the network
and those discarded due to jitter. Both have equal effect on the
quality of the voice stream, however, having separate counts helps
identify the source of quality degradation. These fields MUST be
populated, and MUST be set to zero if no packets have been received.
loss rate: 8 bits
The fraction of RTP data packets from the source lost since the
beginning of reception, expressed as a fixed point number with
the binary point at the left edge of the field. This value is
calculated by dividing the total number of packets lost (after
the effects of applying any error protection such as FEC) by
the total number of packets expected, multiplying the result of
the division by 256, limiting the maximum value to 255 (to
avoid overflow), and taking the integer part. The numbers of
duplicated packets and discarded packets do not enter into this
calculation. Since receivers cannot be required to maintain
unlimited buffers, a receiver MAY categorize late-arriving
packets as lost. The degree of lateness that triggers a loss
SHOULD be significantly greater than that which triggers a
discard.
discard rate: 8 bits
The fraction of RTP data packets from the source that have been
discarded since the beginning of reception, due to late or
early arrival, under-run or overflow at the receiving jitter
buffer. This value is expressed as a fixed point number with
the binary point at the left edge of the field. It is
calculated by dividing the total number of packets discarded
(excluding duplicate packet discards) by the total number of
packets expected, multiplying the result of the division by
256, limiting the maximum value to 255 (to avoid overflow), and
taking the integer part.
<span class="h4"><a class="selflink" id="section-4.7.2" href="#section-4.7.2">4.7.2</a>. Burst Metrics</span>
A burst is a period during which a high proportion of packets are
either lost or discarded due to late arrival. A burst is defined, in
terms of a value Gmin, as the longest sequence that (a) starts with a
lost or discarded packet, (b) does not contain any occurrences of
Gmin or more consecutively received (and not discarded) packets, and
(c) ends with a lost or discarded packet.
A gap, informally, is a period of low packet losses and/or discards.
Formally, a gap is defined as any of the following: (a) the period
from the start of an RTP session to the receipt time of the last
<span class="grey">Friedman, et al. Standards Track [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
received packet before the first burst, (b) the period from the end
of the last burst to either the time of the report or the end of the
RTP session, whichever comes first, or (c) the period of time between
two bursts.
For the purpose of determining if a lost or discarded packet near the
start or end of an RTP session is within a gap or a burst, it is
assumed that the RTP session is preceded and followed by at least
Gmin received packets, and that the time of the report is followed by
at least Gmin received packets.
A gap has the property that any lost or discarded packets within the
gap must be preceded and followed by at least Gmin packets that were
received and not discarded. This gives a maximum loss/discard rate
within a gap of: 1 / (Gmin + 1).
A Gmin value of 16 is RECOMMENDED, as it results in gap
characteristics that correspond to good quality (i.e., low packet
loss rate, a minimum distance of 16 received packets between lost
packets), and hence differentiates nicely between good and poor
quality periods.
For example, a 1 denotes a received packet, 0 a lost packet, and X a
discarded packet in the following pattern covering 64 packets:
11110111111111111111111X111X1011110111111111111111111X111111111
|---------gap----------|--burst---|------------gap------------|
The burst consists of the twelve packets indicated above, starting at
a discarded packet and ending at a lost packet. The first gap starts
at the beginning of the session and the second gap ends at the time
of the report.
If the packet spacing is 10 ms and the Gmin value is the recommended
value of 16, the burst duration is 120 ms, the burst density 0.33,
the gap duration 230 ms + 290 ms = 520 ms, and the gap density 0.04.
This would result in reported values as follows (see field
descriptions for semantics and details on how these are calculated):
loss rate 12, which corresponds to 5%
discard rate 12, which corresponds to 5%
burst density 84, which corresponds to 33%
gap density 10, which corresponds to 4%
burst duration 120, value in milliseconds
gap duration 520, value in milliseconds
<span class="grey">Friedman, et al. Standards Track [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
burst density: 8 bits
The fraction of RTP data packets within burst periods since the
beginning of reception that were either lost or discarded.
This value is expressed as a fixed point number with the binary
point at the left edge of the field. It is calculated by
dividing the total number of packets lost or discarded
(excluding duplicate packet discards) within burst periods by
the total number of packets expected within the burst periods,
multiplying the result of the division by 256, limiting the
maximum value to 255 (to avoid overflow), and taking the
integer part. This field MUST be populated and MUST be set to
zero if no packets have been received.
gap density: 8 bits
The fraction of RTP data packets within inter-burst gaps since
the beginning of reception that were either lost or discarded.
The value is expressed as a fixed point number with the binary
point at the left edge of the field. It is calculated by
dividing the total number of packets lost or discarded
(excluding duplicate packet discards) within gap periods by the
total number of packets expected within the gap periods,
multiplying the result of the division by 256, limiting the
maximum value to 255 (to avoid overflow), and taking the
integer part. This field MUST be populated and MUST be set to
zero if no packets have been received.
burst duration: 16 bits
The mean duration, expressed in milliseconds, of the burst
periods that have occurred since the beginning of reception.
The duration of each period is calculated based upon the
packets that mark the beginning and end of that period. It is
equal to the timestamp of the end packet, plus the duration of
the end packet, minus the timestamp of the beginning packet.
If the actual values are not available, estimated values MUST
be used. If there have been no burst periods, the burst
duration value MUST be zero.
gap duration: 16 bits
The mean duration, expressed in milliseconds, of the gap
periods that have occurred since the beginning of reception.
The duration of each period is calculated based upon the packet
that marks the end of the prior burst and the packet that marks
the beginning of the subsequent burst. It is equal to the
timestamp of the subsequent burst packet, minus the timestamp
of the prior burst packet, plus the duration of the prior burst
packet. If the actual values are not available, estimated
values MUST be used. In the case of a gap that occurs at the
beginning of reception, the sum of the timestamp of the prior
<span class="grey">Friedman, et al. Standards Track [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
burst packet and the duration of the prior burst packet are
replaced by the reception start time. In the case of a gap
that occurs at the end of reception, the timestamp of the
subsequent burst packet is replaced by the reception end time.
If there have been no gap periods, the gap duration value MUST
be zero.
<span class="h4"><a class="selflink" id="section-4.7.3" href="#section-4.7.3">4.7.3</a>. Delay Metrics</span>
For the purpose of the following definitions, the RTP interface is
the interface between the RTP instance and the voice application
(i.e., FEC, de-interleaving, de-multiplexing, jitter buffer). For
example, the time delay due to RTP payload multiplexing would be
considered part of the voice application or end-system delay, whereas
delay due to multiplexing RTP frames within a UDP frame would be
considered part of the RTP reported delay. This distinction is
consistent with the use of RTCP for delay measurements.
round trip delay: 16 bits
The most recently calculated round trip time between RTP
interfaces, expressed in milliseconds. This value MAY be
measured using RTCP, the DLRR method defined in <a href="#section-4.5">Section 4.5</a> of
this document, where it is necessary to convert the units of
measurement from NTP timestamp values to milliseconds, or other
approaches. If RTCP is used, then the reported delay value is
the time of receipt of the most recent RTCP packet from source
SSRC, minus the LSR (last SR) time reported in its SR (Sender
Report), minus the DLSR (delay since last SR) reported in its
SR. A non-zero LSR value is required in order to calculate
round trip delay. A value of 0 is permissible; however, this
field MUST be populated as soon as a delay estimate is
available.
end system delay: 16 bits
The most recently estimated end system delay, expressed in
milliseconds. End system delay is defined as the sum of the
total sample accumulation and encoding delay associated with
the sending direction and the jitter buffer, decoding, and
playout buffer delay associated with the receiving direction.
This delay MAY be estimated or measured. This value SHOULD be
provided in all VoIP metrics reports. If an implementation is
unable to provide the data, the value 0 MUST be used.
<span class="grey">Friedman, et al. Standards Track [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
Note that the one way symmetric VoIP segment delay may be calculated
from the round trip and end system delays is as follows; if the round
trip delay is denoted, RTD and the end system delays associated with
the two endpoints are ESD(A) and ESD(B) then:
one way symmetric voice path delay = ( RTD + ESD(A) + ESD(B) ) / 2
<span class="h4"><a class="selflink" id="section-4.7.4" href="#section-4.7.4">4.7.4</a>. Signal Related Metrics</span>
The following metrics are intended to provide real time information
related to the non-packet elements of the voice over IP system to
assist with the identification of problems affecting call quality.
The values identified below must be determined for the received audio
signal. The information required to populate these fields may not be
available in all systems, although it is strongly recommended that
this data SHOULD be provided to support problem diagnosis.
signal level: 8 bits
The voice signal relative level is defined as the ratio of the
signal level to a 0 dBm0 reference [<a href="#ref-10">10</a>], expressed in decibels
as a signed integer in two's complement form. This is measured
only for packets containing speech energy. The intent of this
metric is not to provide a precise measurement of the signal
level but to provide a real time indication that the signal
level may be excessively high or low.
signal level = 10 Log10 ( rms talkspurt power (mW) )
A value of 127 indicates that this parameter is unavailable.
Typical values should generally be in the -15 to -20 dBm range.
noise level: 8 bits
The noise level is defined as the ratio of the silent period
background noise level to a 0 dBm0 reference, expressed in
decibels as a signed integer in two's complement form.
noise level = 10 Log10 ( rms silence power (mW) )
A value of 127 indicates that this parameter is unavailable.
residual echo return loss (RERL): 8 bits
The residual echo return loss value may be measured directly by
the VoIP end system's echo canceller or may be estimated by
adding the echo return loss (ERL) and echo return loss
enhancement (ERLE) values reported by the echo canceller.
RERL(dB) = ERL (dB) + ERLE (dB)
<span class="grey">Friedman, et al. Standards Track [Page 31]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-32" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
In the case of a VoIP gateway, the source of echo is typically
line echo that occurs at 2-4 wire conversion points in the
network. This can be in the 8-12 dB range. A line echo
canceler can provide an ERLE of 30 dB or more and hence reduce
this to 40-50 dB. In the case of an IP phone, this could be
acoustic coupling between handset speaker and microphone or
residual acoustic echo from speakerphone operation, and may
more correctly be termed terminal coupling loss (TCL). A
typical handset would result in 40-50 dB of echo loss due to
acoustic feedback.
Examples:
- IP gateway connected to circuit switched network with 2 wire
loop. Without echo cancellation, typical 2-4 wire converter
ERL of 12 dB. RERL = ERL + ERLE = 12 + 0 = 12 dB.
- IP gateway connected to circuit switched network with 2 wire
loop. With echo canceler that improves echo by 30 dB.
RERL = ERL + ERLE = 12 + 30 = 42 dB.
- IP phone with conventional handset. Acoustic coupling from
handset speaker to microphone (terminal coupling loss) is
typically 40 dB. RERL = TCL = 40 dB.
If we denote the local end of the VoIP path as A and the remote
end as B, and if the sender loudness rating (SLR) and receiver
loudness rating (RLR) are known for A (default values 8 dB and
2 dB respectively), then the echo loudness level at end A
(talker echo loudness rating or TELR) is given by:
TELR(A) = SRL(A) + ERL(B) + ERLE(B) + RLR(A)
TELR(B) = SRL(B) + ERL(A) + ERLE(A) + RLR(B)
Hence, in order to incorporate echo into a voice quality
estimate at the A end of a VoIP connection, it is desirable to
send the ERL + ERLE value from B to A using a format such as
RTCP XR.
Echo related information may not be available in all VoIP end
systems. As echo does have a significant effect on
conversational quality, it is recommended that estimated values
for echo return loss and terminal coupling loss be provided (if
sensible estimates can be reasonably determined).
<span class="grey">Friedman, et al. Standards Track [Page 32]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-33" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
Typical values for end systems are given below to provide
guidance:
- IP Phone with handset: typically 45 dB.
- PC softphone or speakerphone: extremely variable, consider
reporting "undefined" (127).
- IP gateway with line echo canceller: typically has ERL and
ERLE available.
- IP gateway without line echo canceller: frequently a source
of echo related problems, consider reporting either a low
value (12 dB) or "undefined" (127).
Gmin
See Configuration Parameters (<a href="#section-4.7.6">Section 4.7.6</a>, below).
<span class="h4"><a class="selflink" id="section-4.7.5" href="#section-4.7.5">4.7.5</a>. Call Quality or Transmission Quality Metrics</span>
The following metrics are direct measures of the call quality or
transmission quality, and incorporate the effects of codec type,
packet loss, discard, burstiness, delay etc. These metrics may not
be available in all systems, however, they SHOULD be provided in
order to support problem diagnosis.
R factor: 8 bits
The R factor is a voice quality metric describing the segment
of the call that is carried over this RTP session. It is
expressed as an integer in the range 0 to 100, with a value of
94 corresponding to "toll quality" and values of 50 or less
regarded as unusable. This metric is defined as including the
effects of delay, consistent with ITU-T G.107 [<a href="#ref-6" title=""The E-Model, a computational model for use in transmission planning"">6</a>] and ETSI TS
101 329-5 [<a href="#ref-3" title=""Quality of Service (QoS) measurement methodologies"">3</a>].
A value of 127 indicates that this parameter is unavailable.
Values other than 127 and the valid range defined above MUST
not be sent and MUST be ignored by the receiving system.
ext. R factor: 8 bits
The external R factor is a voice quality metric describing the
segment of the call that is carried over a network segment
external to the RTP segment, for example a cellular network.
Its values are interpreted in the same manner as for the RTP R
factor. This metric is defined as including the effects of
delay, consistent with ITU-T G.107 [<a href="#ref-6" title=""The E-Model, a computational model for use in transmission planning"">6</a>] and ETSI TS 101 329-5
[<a href="#ref-3" title=""Quality of Service (QoS) measurement methodologies"">3</a>], and relates to the outward voice path from the Voice over
IP termination for which this metrics block applies.
<span class="grey">Friedman, et al. Standards Track [Page 33]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-34" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
A value of 127 indicates that this parameter is unavailable.
Values other than 127 and the valid range defined above MUST
not be sent and MUST be ignored by the receiving system.
Note that an overall R factor may be estimated from the RTP segment R
factor and the external R factor, as follows:
R total = RTP R factor + ext. R factor - 94
MOS-LQ: 8 bits
The estimated mean opinion score for listening quality (MOS-LQ)
is a voice quality metric on a scale from 1 to 5, in which 5
represents excellent and 1 represents unacceptable. This
metric is defined as not including the effects of delay and can
be compared to MOS scores obtained from listening quality (ACR)
tests. It is expressed as an integer in the range 10 to 50,
corresponding to MOS x 10. For example, a value of 35 would
correspond to an estimated MOS score of 3.5.
A value of 127 indicates that this parameter is unavailable.
Values other than 127 and the valid range defined above MUST
not be sent and MUST be ignored by the receiving system.
MOS-CQ: 8 bits
The estimated mean opinion score for conversational quality
(MOS-CQ) is defined as including the effects of delay and other
effects that would affect conversational quality. The metric
may be calculated by converting an R factor determined
according to ITU-T G.107 [<a href="#ref-6" title=""The E-Model, a computational model for use in transmission planning"">6</a>] or ETSI TS 101 329-5 [<a href="#ref-3" title=""Quality of Service (QoS) measurement methodologies"">3</a>] into an
estimated MOS using the equation specified in G.107. It is
expressed as an integer in the range 10 to 50, corresponding to
MOS x 10, as for MOS-LQ.
A value of 127 indicates that this parameter is unavailable.
Values other than 127 and the valid range defined above MUST
not be sent and MUST be ignored by the receiving system.
<span class="h4"><a class="selflink" id="section-4.7.6" href="#section-4.7.6">4.7.6</a>. Configuration Parameters</span>
Gmin: 8 bits
The gap threshold. This field contains the value used for this
report block to determine if a gap exists. The recommended
value of 16 corresponds to a burst period having a minimum
density of 6.25% of lost or discarded packets, which may cause
noticeable degradation in call quality; during gap periods, if
packet loss or discard occurs, each lost or discarded packet
would be preceded by and followed by a sequence of at least 16
received non-discarded packets. Note that lost or discarded
<span class="grey">Friedman, et al. Standards Track [Page 34]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-35" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
packets that occur within Gmin packets of a report being
generated may be reclassified as part of a burst or gap in
later reports. ETSI TS 101 329-5 [<a href="#ref-3" title=""Quality of Service (QoS) measurement methodologies"">3</a>] defines a computationally
efficient algorithm for measuring burst and gap density using a
packet loss/discard event driven approach. This algorithm is
reproduced in <a href="#appendix-A.2">Appendix A.2</a> of the present document. Gmin MUST
not be zero, MUST be provided, and MUST remain constant across
VoIP Metrics report blocks for the duration of the RTP session.
receiver configuration byte (RX config): 8 bits
This byte consists of the following fields:
0 1 2 3 4 5 6 7
+-+-+-+-+-+-+-+-+
|PLC|JBA|JB rate|
+-+-+-+-+-+-+-+-+
packet loss concealment (PLC): 2 bits
Standard (11) / enhanced (10) / disabled (01) / unspecified
(00). When PLC = 11, then a simple replay or interpolation
algorithm is being used to fill-in the missing packet; this
approach is typically able to conceal isolated lost packets at
low packet loss rates. When PLC = 10, then an enhanced
interpolation algorithm is being used; algorithms of this type
are able to conceal high packet loss rates effectively. When
PLC = 01, then silence is being inserted in place of lost
packets. When PLC = 00, then no information is available
concerning the use of PLC; however, for some codecs this may be
inferred.
jitter buffer adaptive (JBA): 2 bits
Adaptive (11) / non-adaptive (10) / reserved (01)/ unknown
(00). When the jitter buffer is adaptive, then its size is
being dynamically adjusted to deal with varying levels of
jitter. When non-adaptive, the jitter buffer size is
maintained at a fixed level. When either adaptive or non-
adaptive modes are specified, then the jitter buffer size
parameters below MUST be specified.
jitter buffer rate (JB rate): 4 bits
J = adjustment rate (0-15). This represents the implementation
specific adjustment rate of a jitter buffer in adaptive mode.
This parameter is defined in terms of the approximate time
taken to fully adjust to a step change in peak to peak jitter
from 30 ms to 100 ms such that:
adjustment time = 2 * J * frame size (ms)
<span class="grey">Friedman, et al. Standards Track [Page 35]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-36" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
This parameter is intended only to provide a guide to the
degree of "aggressiveness" of an adaptive jitter buffer and may
be estimated. A value of 0 indicates that the adjustment time
is unknown for this implementation.
reserved: 8 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 MUST be ignored by the receiver.
<span class="h4"><a class="selflink" id="section-4.7.7" href="#section-4.7.7">4.7.7</a>. Jitter Buffer Parameters</span>
The values reported in these fields SHOULD be the most recently
obtained values at the time of reporting.
jitter buffer nominal delay (JB nominal): 16 bits
This is the current nominal jitter buffer delay in
milliseconds, which corresponds to the nominal jitter buffer
delay for packets that arrive exactly on time. This parameter
MUST be provided for both fixed and adaptive jitter buffer
implementations.
jitter buffer maximum delay (JB maximum): 16 bits
This is the current maximum jitter buffer delay in milliseconds
which corresponds to the earliest arriving packet that would
not be discarded. In simple queue implementations this may
correspond to the nominal size. In adaptive jitter buffer
implementations, this value may dynamically vary up to JB abs
max (see below). This parameter MUST be provided for both
fixed and adaptive jitter buffer implementations.
jitter buffer absolute maximum delay (JB abs max): 16 bits
This is the absolute maximum delay in milliseconds that the
adaptive jitter buffer can reach under worst case conditions.
If this value exceeds 65535 milliseconds, then this field SHALL
convey the value 65535. This parameter MUST be provided for
adaptive jitter buffer implementations and its value MUST be
set to JB maximum for fixed jitter buffer implementations.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. SDP Signaling</span>
This section defines Session Description Protocol (SDP) [<a href="#ref-4" title=""SDP: Session Description Protocol"">4</a>] signaling
for XR blocks that can be employed by applications that utilize SDP.
This signaling is defined to be used either by applications that
implement the SDP Offer/Answer model [<a href="#ref-8" title=""An Offer/Answer Model with the Session Description Protocol (SDP)"">8</a>] or by applications that use
SDP to describe media and transport configurations in connection
<span class="grey">Friedman, et al. Standards Track [Page 36]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-37" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
with such protocols as the Session Announcement Protocol (SAP) [<a href="#ref-15" title=""Session Announcement Protocol"">15</a>]
or the Real Time Streaming Protocol (RTSP) [<a href="#ref-17" title=""Real Time Streaming Protocol (RTSP)"">17</a>]. There exist other
potential signaling methods that are not defined here.
The XR blocks MAY be used without prior signaling. This is
consistent with the rules governing other RTCP packet types, as
described in [<a href="#ref-9" title=""RTP: A Transport Protocol for Real-Time Applications"">9</a>]. An example in which signaling would not be used is
an application that always requires the use of one or more XR blocks.
However, for applications that are configured at session initiation,
the use of some type of signaling is recommended.
Note that, although the use of SDP signaling for XR blocks may be
optional, if used, it MUST be used as defined here. If SDP signaling
is used in an environment where XR blocks are only implemented by
some fraction of the participants, the ones not implementing the XR
blocks will ignore the SDP attribute.
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. The SDP Attribute</span>
This section defines one new SDP attribute "rtcp-xr" that can be used
to signal participants in a media session that they should use the
specified XR blocks. This attribute can be easily extended in the
future with new parameters to cover any new report blocks.
The RTCP XR blocks SDP attribute is defined below in Augmented
Backus-Naur Form (ABNF) [<a href="#ref-2" title=""Augmented BNF for Syntax Specifications: ABNF"">2</a>]. It is both a session and a media level
attribute. When specified at session level, it applies to all media
level blocks in the session. Any media level specification MUST
replace a session level specification, if one is present, for that
media block.
rtcp-xr-attrib = "a=" "rtcp-xr" ":" [xr-format *(SP xr-format)] CRLF
xr-format = pkt-loss-rle
/ pkt-dup-rle
/ pkt-rcpt-times
/ rcvr-rtt
/ stat-summary
/ voip-metrics
/ format-ext
pkt-loss-rle = "pkt-loss-rle" ["=" max-size]
pkt-dup-rle = "pkt-dup-rle" ["=" max-size]
pkt-rcpt-times = "pkt-rcpt-times" ["=" max-size]
rcvr-rtt = "rcvr-rtt" "=" rcvr-rtt-mode [":" max-size]
rcvr-rtt-mode = "all"
/ "sender"
stat-summary = "stat-summary" ["=" stat-flag *("," stat-flag)]
<span class="grey">Friedman, et al. Standards Track [Page 37]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-38" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
stat-flag = "loss"
/ "dup"
/ "jitt"
/ "TTL"
/ "HL"
voip-metrics = "voip-metrics"
max-size = 1*DIGIT ; maximum block size in octets
DIGIT = %x30-39
format-ext = non-ws-string
non-ws-string = 1*(%x21-FF)
CRLF = %d13.10
The "rtcp-xr" attribute contains zero, one, or more XR block related
parameters. Each parameter signals functionality for an XR block, or
a group of XR blocks. The attribute is extensible so that parameters
can be defined for any future XR block (and a parameter should be
defined for every future block).
Each "rtcp-xr" parameter belongs to one of two categories. The first
category, the unilateral parameters, are for report blocks that
simply report on the RTP stream and related metrics. The second
category, collaborative parameters, are for XR blocks that involve
actions by more than one party in order to carry out their functions.
Round trip time (RTT) measurement is an example of collaborative
functionality. An RTP data packet receiver sends a Receiver
Reference Time Report Block (<a href="#section-4.4">Section 4.4</a>). A participant that
receives this block sends a DLRR Report Block (<a href="#section-4.5">Section 4.5</a>) in
response, allowing the receiver to calculate its RTT to that
participant. As this example illustrates, collaborative
functionality may be implemented by two or more different XR blocks.
The collaborative functionality of several XR blocks may be governed
by a single "rtcp-xr" parameter.
For the unilateral category, this document defines the following
parameters. The parameter names and their corresponding XR formats
are as follows:
Parameter name XR block (block type and name)
-------------- ------------------------------------
pkt-loss-rle 1 Loss RLE Report Block
pkt-dup-rle 2 Duplicate RLE Report Block
pkt-rcpt-times 3 Packet Receipt Times Report Block
stat-summary 6 Statistics Summary Report Block
voip-metrics 7 VoIP Metrics Report Block
<span class="grey">Friedman, et al. Standards Track [Page 38]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-39" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
The "pkt-loss-rle", "pkt-dup-rle", and "pkt-rcpt-times" parameters
MAY specify an integer value. This value indicates the largest size
the whole report block SHOULD have in octets. This shall be seen as
an indication that thinning shall be applied if necessary to meet the
target size.
The "stat-summary" parameter contains a list indicating which fields
SHOULD be included in the Statistics Summary report blocks that are
sent. The list is a comma separated list, containing one or more
field indicators. The space character (0x20) SHALL NOT be present
within the list. Field indicators represent the flags defined in
<a href="#section-4.6">Section 4.6</a>. The field indicators and their respective flags are as
follows:
Indicator Flag
--------- ---------------------------
loss loss report flag (L)
dup duplicate report flag (D)
jitt jitter flag (J)
TTL TTL or Hop Limit flag (ToH)
HL TTL or Hop Limit flag (ToH)
For "loss", "dup", and "jitt", the presence of the indicator
indicates that the corresponding flag should be set to 1 in the
Statistics Summary report blocks that are sent. The presence of
"TTL" indicates that the corresponding flag should be set to 1. The
presence of "HL" indicates that the corresponding flag should be set
to 2. The indicators "TTL" and "HL" MUST NOT be signaled together.
Blocks in the collaborative category are classified as initiator
blocks or response blocks. Signaling SHOULD indicate which
participants are required to respond to the initiator block. A party
that wishes to receive response blocks from those participants can
trigger this by sending an initiator block.
The collaborative category currently consists only of one
functionality, namely the RTT measurement mechanism for RTP data
receivers. The collective functionality of the Receiver Reference
Time Report Block and DLRR Report Block is represented by the "rcvr-
rtt" parameter. This parameter takes as its arguments a mode value
and, optionally, a maximum size for the DLRR report block. The mode
value "all" indicates that both RTP data senders and data receivers
MAY send DLRR blocks, while the mode value "sender" indicates that
only active RTP senders MAY send DLRR blocks, i.e., non RTP senders
SHALL NOT send DLRR blocks. If a maximum size in octets is included,
any DLRR Report Blocks that are sent SHALL NOT exceed the specified
size. If size limitations mean that a DLRR Report Block sender
cannot report in one block upon all participants from which it has
<span class="grey">Friedman, et al. Standards Track [Page 39]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-40" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
received a Receiver Reference Time Report Block then it SHOULD report
on participants in a round robin fashion across several report
intervals.
The "rtcp-xr" attributes parameter list MAY be empty. This is useful
in cases in which an application needs to signal that it understands
the SDP signaling but does not wish to avail itself of XR
functionality. For example, an application in a SIP controlled
session could signal that it wishes to stop using all XR blocks by
removing all applicable SDP parameters in a re-INVITE message that it
sends. If XR blocks are not to be used at all from the beginning of
a session, it is RECOMMENDED that the "rtcp-xr" attribute not be
supplied at all.
When the "rtcp-xr" attribute is present, participants SHOULD NOT send
XR blocks other than the ones indicated by the parameters. This
means that inclusion of a "rtcp-xr" attribute without any parameters
tells a participant that it SHOULD NOT send any XR blocks at all.
The purpose is to conserve bandwidth. This is especially important
when collaborative parameters are applied to a large multicast group:
the sending of an initiator block could potentially trigger responses
from all participants. There are, however, contexts in which it
makes sense to send an XR block in the absence of a parameter
signaling its use. For instance, an application might be designed so
as to send certain report blocks without negotiation, while using SDP
signaling to negotiate the use of other blocks.
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Usage in Offer/Answer</span>
In the Offer/Answer context [<a href="#ref-8" title=""An Offer/Answer Model with the Session Description Protocol (SDP)"">8</a>], the interpretation of SDP signaling
for XR packets depends upon the direction attribute that is signaled:
"recvonly", "sendrecv", or "sendonly" [<a href="#ref-4" title=""SDP: Session Description Protocol"">4</a>]. If no direction attribute
is supplied, then "sendrecv" is assumed. This section applies only
to unicast media streams, except where noted. Discussion of
unilateral parameters is followed by discussion of collaborative
parameters in this section.
For "sendonly" and "sendrecv" media stream offers that specify
unilateral "rtcp-xr" attribute parameters, the answerer SHOULD send
the corresponding XR blocks. For "sendrecv" offers, the answerer MAY
include the "rtcp-xr" attribute in its response, and specify any
unilateral parameters in order to request that the offerer send the
corresponding XR blocks. The offerer SHOULD send these blocks.
For "recvonly" media stream offers, the offerer's use of the "rtcp-
xr" attribute in connection with unilateral parameters indicates that
the offerer is capable of sending the corresponding XR blocks. If
<span class="grey">Friedman, et al. Standards Track [Page 40]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-41" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
the answerer responds with an "rtcp-xr" attribute, the offerer SHOULD
send XR blocks for each specified unilateral parameter that was in
its offer.
For multicast media streams, the inclusion of an "rtcp-xr" attribute
with unilateral parameters means that every media recipient SHOULD
send the corresponding XR blocks.
An SDP offer with a collaborative parameter declares the offerer
capable of receiving the corresponding initiator and replying with
the appropriate responses. For example, an offer that specifies the
"rcvr-rtt" parameter means that the offerer is prepared to receive
Receiver Reference Time Report Blocks and to send DLRR Report Blocks.
An offer of a collaborative parameter means that the answerer MAY
send the initiator, and, having received the initiator, the offerer
SHOULD send the responses.
There are exceptions to the rule that an offerer of a collaborative
parameter should send responses. For instance, the collaborative
parameter might specify a mode that excludes the offerer; or
congestion control or maximum transmission unit considerations might
militate against the offerer's response.
By including a collaborative parameter in its answer, the answerer
declares its ability to receive initiators and to send responses.
The offerer MAY then send initiators, to which the answerer SHOULD
reply with responses. As for the offer of a collaborative parameter,
there are exceptions to the rule that the answerer should reply.
When making an SDP offer of a collaborative parameter for a multicast
media stream, the offerer SHOULD specify which participants are to
respond to a received initiator. A participant that is not specified
SHOULD NOT send responses. Otherwise, undue bandwidth might be
consumed. The offer indicates that each participant that is
specified SHOULD respond if it receives an initiator. It also
indicates that a specified participant MAY send an initiator block.
An SDP answer for a multicast media stream SHOULD include all
collaborative parameters that are present in the offer and that are
supported by the answerer. It SHOULD NOT include any collaborative
parameter that is absent from the offer.
If a participant receives an SDP offer and understands the "rtcp-xr"
attribute but does not wish to implement XR functionality offered,
its answer SHOULD include an "rtcp-xr" attribute without parameters.
By doing so, the party declares that, at a minimum, is capable of
understanding the signaling.
<span class="grey">Friedman, et al. Standards Track [Page 41]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-42" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. Usage Outside of Offer/Answer</span>
SDP can be employed outside of the Offer/Answer context, for instance
for multimedia sessions that are announced through the Session
Announcement Protocol (SAP) [<a href="#ref-15" title=""Session Announcement Protocol"">15</a>], or streamed through the Real Time
Streaming Protocol (RTSP) [<a href="#ref-17" title=""Real Time Streaming Protocol (RTSP)"">17</a>]. The signaling model is simpler, as
the sender does not negotiate parameters, but the functionality
expected from specifying the "rtcp-xr" attribute is the same as in
Offer/Answer.
When a unilateral parameter is specified for the "rtcp-xr" attribute
associated with a media stream, the receiver of that stream SHOULD
send the corresponding XR block. When a collaborative parameter is
specified, only the participants indicated by the mode value in the
collaborative parameter are concerned. Each such participant that
receives an initiator block SHOULD send the corresponding response
block. Each such participant MAY also send initiator blocks.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. IANA Considerations</span>
This document defines a new RTCP packet type, the Extended Report
(XR) type, within the existing Internet Assigned Numbers Authority
(IANA) registry of RTP RTCP Control Packet Types. This document also
defines a new IANA registry: the registry of RTCP XR Block Types.
Within this new registry, this document defines an initial set of
seven block types and describes how the remaining types are to be
allocated.
Further, this document defines a new SDP attribute, "rtcp-xr", within
the existing IANA registry of SDP Parameters. It defines a new IANA
registry, the registry of RTCP XR SDP Parameters, and an initial set
of six parameters, and describes how additional parameters are to be
allocated.
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. XR Packet Type</span>
The XR packet type defined by this document is registered with the
IANA as packet type 207 in the registry of RTP RTCP Control Packet
types (PT).
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. RTCP XR Block Type Registry</span>
This document creates an IANA registry called the RTCP XR Block Type
Registry to cover the name space of the Extended Report block type
(BT) field specified in <a href="#section-3">Section 3</a>. The BT field contains eight bits,
allowing 256 values. The RTCP XR Block Type Registry is to be
managed by the IANA according to the Specification Required policy of
<span class="grey">Friedman, et al. Standards Track [Page 42]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-43" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
<a href="./rfc2434">RFC 2434</a> [<a href="#ref-7" title="">7</a>]. Future specifications SHOULD attribute block type
values in strict numeric order following the values attributed in
this document:
BT name
-- ----
1 Loss RLE Report Block
2 Duplicate RLE Report Block
3 Packet Receipt Times Report Block
4 Receiver Reference Time Report Block
5 DLRR Report Block
6 Statistics Summary Report Block
7 VoIP Metrics Report Block
The BT value 255 is reserved for future extensions.
Furthermore, future specifications SHOULD avoid the value 0. Doing
so facilitates packet validity checking, since an all-zeros field
might commonly be found in an ill-formed packet.
Any registration MUST contain the following information:
- Contact information of the one doing the registration, including
at least name, address, and email.
- The format of the block type being registered, consistent with the
extended report block format described in <a href="#section-3">Section 3</a>.
- A description of what the block type represents and how it shall
be interpreted, detailing this information for each of its fields.
<span class="h3"><a class="selflink" id="section-6.3" href="#section-6.3">6.3</a>. The "rtcp-xr" SDP Attribute</span>
The SDP attribute "rtcp-xr" defined by this document is registered
with the IANA registry of SDP Parameters as follows:
SDP Attribute ("att-field"):
Attribute name: rtcp-xr
Long form: RTP Control Protocol Extended Report Parameters
Type of name: att-field
Type of attribute: session and media level
Subject to charset: no
Purpose: see <a href="#section-5">Section 5</a> of this document
Reference: this document
Values: see this document and registrations below
<span class="grey">Friedman, et al. Standards Track [Page 43]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-44" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
The attribute has an extensible parameter field and therefore a
registry for these parameters is required. This document creates an
IANA registry called the RTCP XR SDP Parameters Registry. It
contains the six parameters defined in <a href="#section-5.1">Section 5.1</a>: "pkt-loss-rle",
"pkt-dup-rle", "pkt-rcpt-times", "stat-summary", "voip-metrics", and
"recv-rtt".
Additional parameters are to be added to this registry in accordance
with the Specification Required policy of <a href="./rfc2434">RFC 2434</a> [<a href="#ref-7" title="">7</a>]. Any
registration MUST contain the following information:
- Contact information of the one doing the registration, including
at least name, address, and email.
- An Augmented Backus-Naur Form (ABNF) [<a href="#ref-2" title=""Augmented BNF for Syntax Specifications: ABNF"">2</a>] definition of the
parameter, in accordance with the "format-ext" definition of
<a href="#section-5.1">Section 5.1</a>.
- A description of what the parameter represents and how it shall be
interpreted, both normally and in Offer/Answer.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
This document extends the RTCP reporting mechanism. The security
considerations that apply to RTCP reports [9, <a href="#appendix-B">Appendix B</a>] also apply
to XR reports. This section details the additional security
considerations that apply to the extensions.
The extensions introduce heightened confidentiality concerns.
Standard RTCP reports contain a limited number of summary statistics.
The information contained in XR reports is both more detailed and
more extensive (covering a larger number of parameters). The per-
packet report blocks and the VoIP Metrics Report Block provide
examples.
The per-packet information contained in Loss RLE, Duplicate RLE, and
Packet Receipt Times Report Blocks facilitates multicast inference of
network characteristics (MINC) [<a href="#ref-11" title=""The Use of End-to-End Multicast Measurements for Characterizing Internal Network Behavior"">11</a>]. Such inference can reveal the
gross topology of a multicast distribution tree, as well as
parameters, such as the loss rates and delays, along paths between
branching points in that tree. Such information might be considered
sensitive to autonomous system administrators.
The VoIP Metrics Report Block provides information on the quality of
ongoing voice calls. Though such information might be carried in an
application specific format in standard RTP sessions, making it
available in a standard format here makes it more available to
potential eavesdroppers.
<span class="grey">Friedman, et al. Standards Track [Page 44]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-45" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
No new mechanisms are introduced in this document to ensure
confidentiality. Encryption procedures, such as those being
suggested for a Secure RTCP (SRTCP) [<a href="#ref-12" title=""The Secure Real-time Transport Protocol"">12</a>] at the time that this
document was written, can be used when confidentiality is a concern
to end hosts. Given that RTCP traffic can be encrypted by the end
hosts, autonomous systems must be prepared for the fact that certain
aspects of their network topology can be revealed.
Any encryption or filtering of XR report blocks entails a loss of
monitoring information to third parties. For example, a network that
establishes a tunnel to encrypt VoIP Report Blocks denies that
information to the service providers traversed by the tunnel. The
service providers cannot then monitor or respond to the quality of
the VoIP calls that they carry, potentially creating problems for the
network's users. As a default, XR packets should not be encrypted or
filtered.
The extensions also make certain denial of service attacks easier.
This is because of the potential to create RTCP packets much larger
than average with the per packet reporting capabilities of the Loss
RLE, Duplicate RLE, and Timestamp Report Blocks. Because of the
automatic bandwidth adjustment mechanisms in RTCP, if some session
participants are sending large RTCP packets, all participants will
see their RTCP reporting intervals lengthened, meaning they will be
able to report less frequently. To limit the effects of large
packets, even in the absence of denial of service attacks,
applications SHOULD place an upper limit on the size of the XR report
blocks they employ. The "thinning" techniques described in <a href="#section-4.1">Section</a>
<a href="#section-4.1">4.1</a> permit the packet-by-packet report blocks to adhere to a
predefined size limit.
<span class="grey">Friedman, et al. Standards Track [Page 45]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-46" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">A</a>. Algorithms</span>
<span class="h3"><a class="selflink" id="appendix-A.1" href="#appendix-A.1">A.1</a>. Sequence Number Interpretation</span>
This is the algorithm suggested by <a href="#section-4.1">Section 4.1</a> for keeping track of
the sequence numbers from a given sender. It implements the
accounting practice required for the generation of Loss RLE Report
Blocks.
This algorithm keeps track of 16 bit sequence numbers by translating
them into a 32 bit sequence number space. The first packet received
from a source is considered to have arrived roughly in the middle of
that space. Each packet that follows is placed either ahead of or
behind the prior one in this 32 bit space, depending upon which
choice would place it closer (or, in the event of a tie, which choice
would not require a rollover in the 16 bit sequence number).
// The reference sequence number is an extended sequence number
// that serves as the basis for determining whether a new 16 bit
// sequence number comes earlier or later in the 32 bit sequence
// space.
u_int32 _src_ref_seq;
bool _uninitialized_src_ref_seq;
// Place seq into a 32-bit sequence number space based upon a
// heuristic for its most likely location.
u_int32 extend_seq(const u_int16 seq) {
u_int32 extended_seq, seq_a, seq_b, diff_a, diff_b;
if(_uninitialized_src_ref_seq) {
// This is the first sequence number received. Place
// it in the middle of the extended sequence number
// space.
_src_ref_seq = seq | 0x80000000u;
_uninitialized_src_ref_seq = false;
extended_seq = _src_ref_seq;
}
else {
// Prior sequence numbers have been received.
// Propose two candidates for the extended sequence
// number: seq_a is without wraparound, seq_b with
// wraparound.
seq_a = seq | (_src_ref_seq & 0xFFFF0000u);
if(_src_ref_seq < seq_a) {
seq_b = seq_a - 0x00010000u;
diff_a = seq_a - _src_ref_seq;
<span class="grey">Friedman, et al. Standards Track [Page 46]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-47" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
diff_b = _src_ref_seq - seq_b;
}
else {
seq_b = seq_a + 0x00010000u;
diff_a = _src_ref_seq - seq_a;
diff_b = seq_b - _src_ref_seq;
}
// Choose the closer candidate. If they are equally
// close, the choice is somewhat arbitrary: we choose
// the candidate for which no rollover is necessary.
if(diff_a < diff_b) {
extended_seq = seq_a;
}
else {
extended_seq = seq_b;
}
// Set the reference sequence number to be this most
// recently-received sequence number.
_src_ref_seq = extended_seq;
}
// Return our best guess for a 32-bit sequence number that
// corresponds to the 16-bit number we were given.
return extended_seq;
}
<span class="h3"><a class="selflink" id="appendix-A.2" href="#appendix-A.2">A.2</a>. Example Burst Packet Loss Calculation.</span>
This is an algorithm for measuring the burst characteristics for the
VoIP Metrics Report Block (<a href="#section-4.7">Section 4.7</a>). The algorithm, which has
been verified against a working implementation for correctness, is
reproduced from ETSI TS 101 329-5 [<a href="#ref-3" title=""Quality of Service (QoS) measurement methodologies"">3</a>]. The algorithm, as described
here, takes precedence over any change that might eventually be made
to the algorithm in future ETSI documents.
This algorithm is event driven and hence extremely computationally
efficient.
Given the following definition of states:
state 1 = received a packet during a gap
state 2 = received a packet during a burst
state 3 = lost a packet during a burst
state 4 = lost an isolated packet during a gap
<span class="grey">Friedman, et al. Standards Track [Page 47]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-48" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
The "c" variables below correspond to state transition counts, i.e.,
c14 is the transition from state 1 to state 4. It is possible to
infer one of a pair of state transition counts to an accuracy of 1
which is generally sufficient for this application.
"pkt" is the count of packets received since the last packet was
declared lost or discarded, and "lost" is the number of packets lost
within the current burst. "packet_lost" and "packet_discarded" are
Boolean variables that indicate if the event that resulted in this
function being invoked was a lost or discarded packet.
if(packet_lost) {
loss_count++;
}
if(packet_discarded) {
discard_count++;
}
if(!packet_lost && !packet_discarded) {
pkt++;
}
else {
if(pkt >= gmin) {
if(lost == 1) {
c14++;
}
else {
c13++;
}
lost = 1;
c11 += pkt;
}
else {
lost++;
if(pkt == 0) {
c33++;
}
else {
c23++;
c22 += (pkt - 1);
}
}
pkt = 0;
}
At each reporting interval the burst and gap metrics can be
calculated as follows.
<span class="grey">Friedman, et al. Standards Track [Page 48]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-49" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
// Calculate additional transition counts.
c31 = c13;
c32 = c23;
ctotal = c11 + c14 + c13 + c22 + c23 + c31 + c32 + c33;
// Calculate burst and densities.
p32 = c32 / (c31 + c32 + c33);
if((c22 + c23) < 1) {
p23 = 1;
}
else {
p23 = 1 - c22/(c22 + c23);
}
burst_density = 256 * p23 / (p23 + p32);
gap_density = 256 * c14 / (c11 + c14);
// Calculate burst and gap durations in ms
m = frameDuration_in_ms * framesPerRTPPkt;
gap_length = (c11 + c14 + c13) * m / c13;
burst_length = ctotal * m / c13 - lgap;
/* calculate loss and discard rates */
loss_rate = 256 * loss_count / ctotal;
discard_rate = 256 * discard_count / ctotal;
Intellectual Property Notice
The IETF takes no position regarding the validity or scope of any
intellectual property or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; neither does it represent that it
has made any effort to identify any such rights. Information on the
IETF's procedures with respect to rights in standards-track and
standards-related documentation can be found in <a href="https://www.rfc-editor.org/bcp/bcp11">BCP 11</a> [<a href="#ref-5" title=""The Organizations Involved in the IETF Standards Process"">5</a>]. Copies
of claims of rights made available for publication and any assurances
of licenses to be made available, or the result of an attempt made to
obtain a general license or permission for the use of such
proprietary rights by implementors or users of this specification can
be obtained from the IETF Secretariat.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights which may cover technology that may be required to practice
this standard. Please address the information to the IETF Executive
Director.
<span class="grey">Friedman, et al. Standards Track [Page 49]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-50" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
Acknowledgments
We thank the following people: Colin Perkins, Steve Casner, and
Henning Schulzrinne for their considered guidance; Sue Moon for
helping foster collaboration between the authors; Mounir Benzaid for
drawing our attention to the reporting needs of MLDA; Dorgham Sisalem
and Adam Wolisz for encouraging us to incorporate MLDA block types;
and Jose Rey for valuable review of the SDP Signaling section.
Contributors
The following people are the authors of this document:
Kevin Almeroth, UCSB
Ramon Caceres, IBM Research
Alan Clark, Telchemy
Robert G. Cole, JHU Applied Physics Laboratory
Nick Duffield, AT&T Labs-Research
Timur Friedman, Paris 6
Kaynam Hedayat, Brix Networks
Kamil Sarac, UT Dallas
Magnus Westerlund, Ericsson
The principal people to contact regarding the individual report
blocks described in this document are as follows:
sec. report block principal contributors
---- ------------ ----------------------
4.1 Loss RLE Report Block Friedman, Caceres, Duffield
4.2 Duplicate RLE Report Block Friedman, Caceres, Duffield
4.3 Packet Receipt Times Report Block Friedman, Caceres, Duffield
4.4 Receiver Reference Time Report Block Friedman
4.5 DLRR Report Block Friedman
4.6 Statistics Summary Report Block Almeroth, Sarac
4.7 VoIP Metrics Report Block Clark, Cole, Hedayat
The principal person to contact regarding the SDP signaling described
in this document is Magnus Westerlund.
<span class="grey">Friedman, et al. Standards Track [Page 50]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-51" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
References
Normative References
[<a id="ref-1">1</a>] Bradner, S., "Key words for use in RFCs to Indicate Requirement
Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-2">2</a>] Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax
Specifications: ABNF", <a href="./rfc2234">RFC 2234</a>, November 1997.
[<a id="ref-3">3</a>] ETSI, "Quality of Service (QoS) measurement methodologies", ETSI
TS 101 329-5 V1.1.1 (2000-11), November 2000.
[<a id="ref-4">4</a>] Handley, M. and V. Jacobson, "SDP: Session Description
Protocol", <a href="./rfc2327">RFC 2327</a>, April 1998.
[<a id="ref-5">5</a>] Hovey, R. and S. Bradner, "The Organizations Involved in the
IETF Standards Process", <a href="https://www.rfc-editor.org/bcp/bcp11">BCP 11</a>, <a href="./rfc2028">RFC 2028</a>, October 1996.
[<a id="ref-6">6</a>] ITU-T, "The E-Model, a computational model for use in
transmission planning", Recommendation G.107, January 2003.
[<a id="ref-7">7</a>] Narten, T. and H. Alvestrand, "Guidelines for Writing an IANA
Considerations Section in RFCs", <a href="https://www.rfc-editor.org/bcp/bcp26">BCP 26</a>, <a href="./rfc2434">RFC 2434</a>, October 1998.
[<a id="ref-8">8</a>] Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model with
the Session Description Protocol (SDP)", <a href="./rfc3264">RFC 3264</a>, June 2002.
[<a id="ref-9">9</a>] Schulzrinne, H., Casner, S., Frederick, R. and V. Jacobson,
"RTP: A Transport Protocol for Real-Time Applications", <a href="./rfc3550">RFC</a>
<a href="./rfc3550">3550</a>, July 2003.
[<a id="ref-10">10</a>] TIA/EIA-810-A Transmission Requirements for Narrowband Voice
over IP and Voice over PCM Digital Wireline Telephones, December
2000.
Informative References
[<a id="ref-11">11</a>] Adams, A., Bu, T., Caceres, R., Duffield, N.G., Friedman, T.,
Horowitz, J., Lo Presti, F., Moon, S.B., Paxson, V. and D.
Towsley, "The Use of End-to-End Multicast Measurements for
Characterizing Internal Network Behavior", IEEE Communications
Magazine, May 2000.
[<a id="ref-12">12</a>] Baugher, McGrew, Oran, Blom, Carrara, Naslund and Norrman, "The
Secure Real-time Transport Protocol", Work in Progress.
<span class="grey">Friedman, et al. Standards Track [Page 51]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-52" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
[<a id="ref-13">13</a>] Caceres, R., Duffield, N.G. and T. Friedman, "Impromptu
measurement infrastructures using RTP", Proc. IEEE Infocom 2002.
[<a id="ref-14">14</a>] Clark, A.D., "Modeling the Effects of Burst Packet Loss and
Recency on Subjective Voice Quality", Proc. IP Telephony
Workshop 2001.
[<a id="ref-15">15</a>] Handley, M., Perkins, C. and E. Whelan, "Session Announcement
Protocol", <a href="./rfc2974">RFC 2974</a>, October 2000.
[<a id="ref-16">16</a>] Reynolds, J., Ed., "Assigned Numbers: <a href="./rfc1700">RFC 1700</a> is Replaced by an
On-line Database", <a href="./rfc3232">RFC 3232</a>, January 2002.
[<a id="ref-17">17</a>] Schulzrinne, H., Rao, A. and R. Lanphier, "Real Time Streaming
Protocol (RTSP)", <a href="./rfc2326">RFC 2326</a>, April 1998.
[<a id="ref-18">18</a>] Sisalem D. and A. Wolisz, "MLDA: A TCP-friendly Congestion
Control Framework for Heterogeneous Multicast Environments",
Proc. IWQoS 2000.
<span class="grey">Friedman, et al. Standards Track [Page 52]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-53" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
Authors' Addresses
Kevin Almeroth
Department of Computer Science
University of California
Santa Barbara, CA 93106 USA
EMail: almeroth@cs.ucsb.edu
Ramon Caceres
IBM Research
19 Skyline Drive
Hawthorne, NY 10532 USA
EMail: caceres@watson.ibm.com
Alan Clark
Telchemy Incorporated
3360 Martins Farm Road, Suite 200
Suwanee, GA 30024 USA
Phone: +1 770 614 6944
Fax: +1 770 614 3951
EMail: alan@telchemy.com
Robert G. Cole
Johns Hopkins University Applied Physics Laboratory
MP2-S170
11100 Johns Hopkins Road
Laurel, MD 20723-6099 USA
Phone: +1 443 778 6951
EMail: robert.cole@jhuapl.edu
Nick Duffield
AT&T Labs-Research
180 Park Avenue, P.O. Box 971
Florham Park, NJ 07932-0971 USA
Phone: +1 973 360 8726
Fax: +1 973 360 8050
EMail: duffield@research.att.com
<span class="grey">Friedman, et al. Standards Track [Page 53]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-54" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
Timur Friedman
Universite Pierre et Marie Curie (Paris 6)
Laboratoire LiP6-CNRS
8, rue du Capitaine Scott
75015 PARIS France
Phone: +33 1 44 27 71 06
Fax: +33 1 44 27 74 95
EMail: timur.friedman@lip6.fr
Kaynam Hedayat
Brix Networks
285 Mill Road
Chelmsford, MA 01824 USA
Phone: +1 978 367 5600
Fax: +1 978 367 5700
EMail: khedayat@brixnet.com
Kamil Sarac
Department of Computer Science (ES 4.207)
Eric Jonsson School of Engineering & Computer Science
University of Texas at Dallas
Richardson, TX 75083-0688 USA
Phone: +1 972 883 2337
Fax: +1 972 883 2349
EMail: ksarac@utdallas.edu
Magnus Westerlund
Ericsson Research
Ericsson AB
SE-164 80 Stockholm Sweden
Phone: +46 8 404 82 87
Fax: +46 8 757 55 50
EMail: magnus.westerlund@ericsson.com
<span class="grey">Friedman, et al. Standards Track [Page 54]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-55" ></span>
<span class="grey"><a href="./rfc3611">RFC 3611</a> RTCP XR November 2003</span>
Full Copyright Statement
Copyright (C) The Internet Society (2003). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assignees.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Friedman, et al. Standards Track [Page 55]
</pre>
|