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
|
<pre>Internet Engineering Task Force (IETF) L. Portman
Request for Comments: 7866 NICE Systems
Category: Standards Track H. Lum, Ed.
ISSN: 2070-1721 Genesys
C. Eckel
Cisco
A. Johnston
Illinois Institute of Technology
A. Hutton
Unify
May 2016
<span class="h1">Session Recording Protocol</span>
Abstract
This document specifies the use of the Session Initiation Protocol
(SIP), the Session Description Protocol (SDP), and the Real-time
Transport Protocol (RTP) for delivering real-time media and metadata
from a Communication Session (CS) to a recording device. The Session
Recording Protocol specifies the use of SIP, SDP, and RTP to
establish a Recording Session (RS) between the Session Recording
Client (SRC), which is on the path of the CS, and a Session Recording
Server (SRS) at the recording device. This document considers only
active recording, where the SRC purposefully streams media to an SRS
and all participating user agents (UAs) are notified of the
recording. Passive recording, where a recording device detects media
directly from the network (e.g., using port-mirroring techniques), is
outside the scope of this document. In addition, lawful intercept is
outside the scope of this document.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc7841#section-2">Section 2 of RFC 7841</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc7866">http://www.rfc-editor.org/info/rfc7866</a>.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
Copyright Notice
Copyright (c) 2016 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-4">4</a>
<a href="#section-2">2</a>. Terminology .....................................................<a href="#page-4">4</a>
<a href="#section-3">3</a>. Definitions .....................................................<a href="#page-4">4</a>
<a href="#section-4">4</a>. Scope ...........................................................<a href="#page-4">4</a>
<a href="#section-5">5</a>. Overview of Operations ..........................................<a href="#page-5">5</a>
<a href="#section-5.1">5.1</a>. Delivering Recorded Media ..................................<a href="#page-5">5</a>
<a href="#section-5.2">5.2</a>. Delivering Recording Metadata ..............................<a href="#page-8">8</a>
5.3. Receiving Recording Indications and Providing Recording
Preferences ................................................<a href="#page-9">9</a>
<a href="#section-6">6</a>. SIP Handling ...................................................<a href="#page-11">11</a>
<a href="#section-6.1">6.1</a>. Procedures at the SRC .....................................<a href="#page-11">11</a>
<a href="#section-6.1.1">6.1.1</a>. Initiating a Recording Session .....................<a href="#page-11">11</a>
6.1.2. SIP Extensions for Recording Indications
and Preferences ....................................<a href="#page-12">12</a>
<a href="#section-6.2">6.2</a>. Procedures at the SRS .....................................<a href="#page-12">12</a>
<a href="#section-6.3">6.3</a>. Procedures for Recording-Aware User Agents ................<a href="#page-12">12</a>
<a href="#section-7">7</a>. SDP Handling ...................................................<a href="#page-13">13</a>
<a href="#section-7.1">7.1</a>. Procedures at the SRC .....................................<a href="#page-13">13</a>
<a href="#section-7.1.1">7.1.1</a>. SDP Handling in the RS .............................<a href="#page-13">13</a>
<a href="#section-7.1.1.1">7.1.1.1</a>. Handling Media Stream Updates .............<a href="#page-14">14</a>
<a href="#section-7.1.2">7.1.2</a>. Recording Indication in the CS .....................<a href="#page-15">15</a>
<a href="#section-7.1.3">7.1.3</a>. Recording Preference in the CS .....................<a href="#page-16">16</a>
<a href="#section-7.2">7.2</a>. Procedures at the SRS .....................................<a href="#page-16">16</a>
<a href="#section-7.3">7.3</a>. Procedures for Recording-Aware User Agents ................<a href="#page-18">18</a>
<a href="#section-7.3.1">7.3.1</a>. Recording Indication ...............................<a href="#page-18">18</a>
<a href="#section-7.3.2">7.3.2</a>. Recording Preference ...............................<a href="#page-19">19</a>
<a href="#section-8">8</a>. RTP Handling ...................................................<a href="#page-20">20</a>
<a href="#section-8.1">8.1</a>. RTP Mechanisms ............................................<a href="#page-20">20</a>
<a href="#section-8.1.1">8.1.1</a>. RTCP ...............................................<a href="#page-20">20</a>
<a href="#section-8.1.2">8.1.2</a>. RTP Profile ........................................<a href="#page-21">21</a>
<a href="#section-8.1.3">8.1.3</a>. SSRC ...............................................<a href="#page-21">21</a>
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
<a href="#section-8.1.4">8.1.4</a>. CSRC ...............................................<a href="#page-22">22</a>
<a href="#section-8.1.5">8.1.5</a>. SDES ...............................................<a href="#page-22">22</a>
<a href="#section-8.1.5.1">8.1.5.1</a>. CNAME .....................................<a href="#page-22">22</a>
<a href="#section-8.1.6">8.1.6</a>. Keepalive ..........................................<a href="#page-22">22</a>
<a href="#section-8.1.7">8.1.7</a>. RTCP Feedback Messages .............................<a href="#page-23">23</a>
<a href="#section-8.1.7.1">8.1.7.1</a>. Full Intra Request ........................<a href="#page-23">23</a>
<a href="#section-8.1.7.2">8.1.7.2</a>. Picture Loss Indication ...................<a href="#page-23">23</a>
8.1.7.3. Temporary Maximum Media Stream Bit
Rate Request ..............................<a href="#page-24">24</a>
<a href="#section-8.1.8">8.1.8</a>. Symmetric RTP/RTCP for Sending and Receiving .......<a href="#page-24">24</a>
<a href="#section-8.2">8.2</a>. Roles .....................................................<a href="#page-25">25</a>
<a href="#section-8.2.1">8.2.1</a>. SRC Acting as an RTP Translator ....................<a href="#page-26">26</a>
<a href="#section-8.2.1.1">8.2.1.1</a>. Forwarding Translator .....................<a href="#page-26">26</a>
<a href="#section-8.2.1.2">8.2.1.2</a>. Transcoding Translator ....................<a href="#page-26">26</a>
<a href="#section-8.2.2">8.2.2</a>. SRC Acting as an RTP Mixer .........................<a href="#page-27">27</a>
<a href="#section-8.2.3">8.2.3</a>. SRC Acting as an RTP Endpoint ......................<a href="#page-28">28</a>
<a href="#section-8.3">8.3</a>. RTP Session Usage by SRC ..................................<a href="#page-28">28</a>
<a href="#section-8.3.1">8.3.1</a>. SRC Using Multiple m-lines .........................<a href="#page-28">28</a>
<a href="#section-8.3.2">8.3.2</a>. SRC Using Mixing ...................................<a href="#page-29">29</a>
<a href="#section-8.4">8.4</a>. RTP Session Usage by SRS ..................................<a href="#page-30">30</a>
<a href="#section-9">9</a>. Metadata .......................................................<a href="#page-31">31</a>
<a href="#section-9.1">9.1</a>. Procedures at the SRC .....................................<a href="#page-31">31</a>
<a href="#section-9.2">9.2</a>. Procedures at the SRS .....................................<a href="#page-33">33</a>
<a href="#section-10">10</a>. Persistent Recording ..........................................<a href="#page-35">35</a>
<a href="#section-11">11</a>. IANA Considerations ...........................................<a href="#page-36">36</a>
<a href="#section-11.1">11.1</a>. Registration of Option Tags ..............................<a href="#page-36">36</a>
<a href="#section-11.1.1">11.1.1</a>. "siprec" Option Tag ...............................<a href="#page-36">36</a>
<a href="#section-11.1.2">11.1.2</a>. "record-aware" Option Tag .........................<a href="#page-36">36</a>
<a href="#section-11.2">11.2</a>. Registration of Media Feature Tags .......................<a href="#page-36">36</a>
<a href="#section-11.2.1">11.2.1</a>. Feature Tag for the SRC ...........................<a href="#page-36">36</a>
<a href="#section-11.2.2">11.2.2</a>. Feature Tag for the SRS ...........................<a href="#page-37">37</a>
<a href="#section-11.3">11.3</a>. New Content-Disposition Parameter Registrations ..........<a href="#page-37">37</a>
<a href="#section-11.4">11.4</a>. SDP Attributes ...........................................<a href="#page-38">38</a>
<a href="#section-11.4.1">11.4.1</a>. "record" SDP Attribute ............................<a href="#page-38">38</a>
<a href="#section-11.4.2">11.4.2</a>. "recordpref" SDP Attribute ........................<a href="#page-38">38</a>
<a href="#section-12">12</a>. Security Considerations .......................................<a href="#page-39">39</a>
<a href="#section-12.1">12.1</a>. Authentication and Authorization .........................<a href="#page-39">39</a>
<a href="#section-12.2">12.2</a>. RTP Handling .............................................<a href="#page-40">40</a>
<a href="#section-12.3">12.3</a>. Metadata .................................................<a href="#page-41">41</a>
<a href="#section-12.4">12.4</a>. Storage and Playback .....................................<a href="#page-41">41</a>
<a href="#section-13">13</a>. References ....................................................<a href="#page-41">41</a>
<a href="#section-13.1">13.1</a>. Normative References .....................................<a href="#page-41">41</a>
<a href="#section-13.2">13.2</a>. Informative References ...................................<a href="#page-42">42</a>
Acknowledgements ..................................................<a href="#page-44">44</a>
Authors' Addresses ................................................<a href="#page-45">45</a>
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document specifies the mechanism to record a Communication
Session (CS) by delivering real-time media and metadata from the CS
to a recording device. In accordance with the architecture
[<a href="./rfc7245" title=""An Architecture for Media Recording Using the Session Initiation Protocol"">RFC7245</a>], the Session Recording Protocol specifies the use of SIP,
the Session Description Protocol (SDP), and RTP to establish a
Recording Session (RS) between the Session Recording Client (SRC),
which is on the path of the CS, and a Session Recording Server (SRS)
at the recording device. SIP is also used to deliver metadata to the
recording device, as specified in [<a href="./rfc7865" title=""Session Initiation Protocol (SIP) Recording Metadata"">RFC7865</a>]. Metadata is information
that describes recorded media and the CS to which they relate. The
Session Recording Protocol intends to satisfy the SIP-based Media
Recording (SIPREC) requirements listed in [<a href="./rfc6341" title=""Use Cases and Requirements for SIP-Based Media Recording (SIPREC)"">RFC6341</a>]. In addition to
the Session Recording Protocol, this document specifies extensions
for user agents (UAs) that are participants in a CS to receive
recording indications and to provide preferences for recording.
This document considers only active recording, where the SRC
purposefully streams media to an SRS and all participating UAs are
notified of the recording. Passive recording, where a recording
device detects media directly from the network (e.g., using
port-mirroring techniques), is outside the scope of this document.
In addition, lawful intercept is outside the scope of this document,
in accordance with [<a href="./rfc2804" title=""IETF Policy on Wiretapping"">RFC2804</a>].
<span class="h2"><a class="selflink" id="section-2" href="#section-2">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="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Definitions</span>
This document refers to the core definitions provided in the
architecture document [<a href="./rfc7245" title=""An Architecture for Media Recording Using the Session Initiation Protocol"">RFC7245</a>].
<a href="#section-8">Section 8</a> uses the definitions provided in "RTP: A Transport Protocol
for Real-Time Applications" [<a href="./rfc3550" title=""RTP: A Transport Protocol for Real-Time Applications"">RFC3550</a>].
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Scope</span>
The scope of the Session Recording Protocol includes the
establishment of the RSs and the reporting of the metadata. The
scope also includes extensions supported by UAs participating in the
CS, such as an indication of recording. The UAs need not be
recording aware in order to participate in a CS being recorded.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
The items in the following list, which is not exhaustive, do not
represent the protocol itself and are considered out of scope for the
Session Recording Protocol:
o Delivering recorded media in real time as the CS media
o Specifications of criteria to select a specific CS to be recorded
or triggers to record a certain CS in the future
o Recording policies that determine whether the CS should be
recorded and whether parts of the CS are to be recorded
o Retention policies that determine how long a recording is stored
o Searching and accessing the recorded media and metadata
o Policies governing how CS users are made aware of recording
o Delivering additional RS metadata through a non-SIP mechanism
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Overview of Operations</span>
This section is informative and provides a description of recording
operations.
<a href="#section-6">Section 6</a> describes the SIP communication in an RS between an SRC and
an SRS, as well as the procedures for recording-aware UAs
participating in a CS. <a href="#section-7">Section 7</a> describes SDP handling in an RS,
and the procedures for recording indications and recording
preferences. <a href="#section-8">Section 8</a> describes RTP handling in an RS. <a href="#section-9">Section 9</a>
describes the mechanism to deliver recording metadata from the SRC to
the SRS.
As mentioned in the architecture document [<a href="./rfc7245" title=""An Architecture for Media Recording Using the Session Initiation Protocol"">RFC7245</a>], there are a
number of types of call flows based on the location of the SRC. The
sample call flows discussed in <a href="#section-5.1">Section 5.1</a> provide a quick overview
of the operations between the SRC and the SRS.
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Delivering Recorded Media</span>
When a SIP Back-to-Back User Agent (B2BUA) with SRC functionality
routes a call from UA A to UA B, the SRC has access to the media path
between the UAs. When the SRC is aware that it should be recording
the conversation, the SRC can cause the B2BUA to relay the media
between UA A and UA B. The SRC then establishes the RS with the SRS
and sends replicated media towards the SRS.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
An endpoint may also have SRC functionality, where the endpoint
itself establishes the RS to the SRS. Since the endpoint has access
to the media in the CS, the endpoint can send replicated media
towards the SRS.
The example call flows in Figures 1 and 2 show an SRC establishing an
RS towards an SRS. Figure 1 illustrates UA A acting as the SRC.
Figure 2 illustrates a B2BUA acting as the SRC. Note that the SRC
can choose when to establish the RS independent of the CS, even
though the example call flows suggest that the SRC is establishing
the RS (message (5) in Figure 2) after the CS is established.
UA A/SRC UA B SRS
|(1) CS INVITE | |
|---------------------->| |
| (2) 200 OK | |
|<----------------------| |
| | |
|(3) RS INVITE with SDP | |
|--------------------------------------------->|
| | (4) 200 OK with SDP |
|<---------------------------------------------|
|(5) CS RTP | |
|======================>| |
|<======================| |
|(6) RS RTP | |
|=============================================>|
|=============================================>|
| | |
|(7) CS BYE | |
|---------------------->| |
|(8) RS BYE | |
|--------------------------------------------->|
| | |
Figure 1: Basic Recording Call Flow with UA as SRC
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
UA A SRC UA B SRS
|(1) CS INVITE | | |
|------------->| | |
| |(2) CS INVITE | |
| |---------------------->| |
| | (3) 200 OK | |
| |<----------------------| |
| (4) 200 OK | | |
|<-------------| | |
| |(5) RS INVITE with SDP | |
| |--------------------------------------------->|
| | | (6) 200 OK with SDP |
| |<---------------------------------------------|
|(7) CS RTP | | |
|=============>|======================>| |
|<=============|<======================| |
| |(8) RS RTP | |
| |=============================================>|
| |=============================================>|
|(9) CS BYE | | |
|------------->| | |
| |(10) CS BYE | |
| |---------------------->| |
| |(11) RS BYE | |
| |--------------------------------------------->|
| | | |
Figure 2: Basic Recording Call Flow with B2BUA as SRC
The call flow shown in Figure 2 can also apply to the case of a
centralized conference with a mixer. For clarity, ACKs to INVITEs
and 200 OKs to BYEs are not shown. The conference focus can provide
the SRC functionality, since the conference focus has access to all
the media from each conference participant. When a recording is
requested, the SRC delivers the metadata and the media streams to the
SRS. Since the conference focus has access to a mixer, the SRC may
choose to mix the media streams from all participants as a single
mixed media stream towards the SRS.
An SRC can use a single RS to record multiple CSs. Every time the
SRC wants to record a new call, the SRC updates the RS with a new SDP
offer to add new recorded streams to the RS and to correspondingly
also update the metadata for the new call.
An SRS can also establish an RS to an SRC, although it is beyond the
scope of this document to define how an SRS would specify which calls
to record.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Delivering Recording Metadata</span>
The SRC is responsible for the delivery of metadata to the SRS. The
SRC may provide an initial metadata snapshot about recorded media
streams in the initial INVITE content in the RS. Subsequent metadata
updates can be represented as a stream of events in UPDATE [<a href="./rfc3311" title=""The Session Initiation Protocol (SIP) UPDATE Method"">RFC3311</a>]
or re-INVITE requests sent by the SRC. These metadata updates are
normally incremental updates to the initial metadata snapshot to
optimize on the size of updates. However, the SRC may also decide to
send a new metadata snapshot at any time.
Metadata is transported in the body of INVITE or UPDATE messages.
Certain metadata, such as the attributes of the recorded media
stream, is located in the SDP of the RS.
The SRS has the ability to send a request to the SRC to ask for a new
metadata snapshot update from the SRC. This can happen when the SRS
fails to understand the current stream of incremental updates for
whatever reason -- for example, when the SRS loses the current state
due to internal failure. The SRS may optionally attach a reason
along with the snapshot request. This request allows both the SRC
and the SRS to synchronize the states with a new metadata snapshot so
that further incremental metadata updates will be based on the latest
metadata snapshot. Similar to the metadata content, the metadata
snapshot request is transported as content in UPDATE or INVITE
messages sent by the SRS in the RS.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
SRC SRS
| |
|(1) INVITE (metadata snapshot 1) |
|---------------------------------------------------->|
| (2) 200 OK |
|<----------------------------------------------------|
|(3) ACK |
|---------------------------------------------------->|
|(4) RTP |
|====================================================>|
|====================================================>|
|(5) UPDATE (metadata update 1) |
|---------------------------------------------------->|
| (6) 200 OK |
|<----------------------------------------------------|
|(7) UPDATE (metadata update 2) |
|---------------------------------------------------->|
| (8) 200 OK |
|<----------------------------------------------------|
| (9) UPDATE (metadata snapshot request) |
|<----------------------------------------------------|
| (10) 200 OK |
|---------------------------------------------------->|
| (11) INVITE (metadata snapshot 2 + SDP offer) |
|---------------------------------------------------->|
| (12) 200 OK (SDP answer) |
|<----------------------------------------------------|
| (13) UPDATE (metadata update 1 based on snapshot 2) |
|---------------------------------------------------->|
| (14) 200 OK |
|<----------------------------------------------------|
Figure 3: Delivering Metadata via SIP UPDATE
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. Receiving Recording Indications and Providing Recording</span>
<span class="h3"> Preferences</span>
The SRC is responsible for providing recording indications to the
participants in the CS. A recording-aware UA supports receiving
recording indications via the SDP "a=record" attribute, and it can
specify a recording preference in the CS by including the SDP
"a=recordpref" attribute. The recording attribute is a declaration
by the SRC in the CS to indicate whether recording is taking place.
The recording preference attribute is a declaration by the recording-
aware UA in the CS to indicate its recording preference. A UA that
does not want to be recorded may still be notified that recording is
occurring, for a number of reasons (e.g., it was not capable of
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
indicating its preference, its preference was ignored). If this
occurs, the UA's only mechanism to avoid being recorded is to
terminate its participation in the session.
To illustrate how the attributes are used, if UA A is initiating a
call to UA B and UA A is also an SRC that is performing the
recording, then UA A provides the recording indication in the SDP
offer with a=record:on. Since UA A is the SRC, UA A receives the
recording indication from the SRC directly. When UA B receives the
SDP offer, UA B will see that recording is happening on the other
endpoint of this session. Since UA B is not an SRC and does not
provide any recording preference, the SDP answer does not contain
a=record or a=recordpref.
UA A UA B
(SRC) |
| |
| [SRC recording starts] |
|(1) INVITE (SDP offer + a=record:on) |
|---------------------------------------------------->|
| (2) 200 OK (SDP answer) |
|<----------------------------------------------------|
|(3) ACK |
|---------------------------------------------------->|
|(4) RTP |
|<===================================================>|
| |
| [UA B wants to set preference to no recording] |
| (5) INVITE (SDP offer + a=recordpref:off) |
|<----------------------------------------------------|
| [SRC honors the preference and stops recording] |
|(6) 200 OK (SDP answer + a=record:off) |
|---------------------------------------------------->|
| (7) ACK |
|<----------------------------------------------------|
Figure 4: Recording Indication and Recording Preference
After the call is established and recording is in progress, UA B
later decides to change the recording preference to no recording and
sends a re-INVITE with the "a=recordpref" attribute. It is up to the
SRC to honor the preference, and in this case the SRC decides to stop
the recording and updates the recording indication in the SDP answer.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
Note that UA B could have explicitly indicated a recording preference
in (2), the 200 OK for the original INVITE. Indicating a preference
of no recording in an initial INVITE or an initial response to an
INVITE may reduce the chance of a user being recorded in the
first place.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. SIP Handling</span>
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. Procedures at the SRC</span>
<span class="h4"><a class="selflink" id="section-6.1.1" href="#section-6.1.1">6.1.1</a>. Initiating a Recording Session</span>
An RS is a SIP session with specific extensions applied, and these
extensions are listed in the procedures below for the SRC and the
SRS. When an SRC or an SRS receives a SIP session that is not an RS,
it is up to the SRC or the SRS to determine what to do with the SIP
session.
The SRC can initiate an RS by sending a SIP INVITE request to the
SRS. The SRC and the SRS are identified in the From and To headers,
respectively.
The SRC MUST include the "+sip.src" feature tag in the Contact URI,
defined in this specification as an extension to [<a href="./rfc3840" title=""Indicating User Agent Capabilities in the Session Initiation Protocol (SIP)"">RFC3840</a>], for all
RSs. An SRS uses the presence of the "+sip.src" feature tag in
dialog creating and modifying requests and responses to confirm that
the dialog being created is for the purpose of an RS. In addition,
when an SRC sends a REGISTER request to a registrar, the SRC MAY
include the "+sip.src" feature tag to indicate that it is an SRC.
Since SIP Caller Preferences extensions are optional to implement for
routing proxies, there is no guarantee that an RS will be routed to
an SRC or SRS. A new option tag, "siprec", is introduced. As per
[<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>], only an SRC or an SRS can accept this option tag in an RS.
An SRC MUST include the "siprec" option tag in the Require header
when initiating an RS so that UAs that do not support the Session
Recording Protocol extensions will simply reject the INVITE request
with a 420 (Bad Extension) response.
When an SRC receives a new INVITE, the SRC MUST only consider the SIP
session as an RS when both the "+sip.srs" feature tag and the
"siprec" option tag are included in the INVITE request.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
<span class="h4"><a class="selflink" id="section-6.1.2" href="#section-6.1.2">6.1.2</a>. SIP Extensions for Recording Indications and Preferences</span>
For the CS, the SRC MUST provide recording indications to all
participants in the CS. A participant UA in a CS can indicate that
it is recording aware by providing the "record-aware" option tag, and
the SRC MUST provide recording indications in the new SDP "a=record"
attribute described in <a href="#section-7">Section 7</a> below. In the absence of the
"record-aware" option tag -- meaning that the participant UA is not
recording aware -- an SRC MUST provide recording indications through
other means, such as playing a tone in-band or having a signed
participant contract in place.
An SRC in the CS may also indicate itself as a session recording
client by including the "+sip.src" feature tag. A recording-aware
participant can learn that an SRC is in the CS and can set the
recording preference for the CS with the new SDP "a=recordpref"
attribute described in <a href="#section-7">Section 7</a>.
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Procedures at the SRS</span>
When an SRS receives a new INVITE, the SRS MUST only consider the SIP
session as an RS when both the "+sip.src" feature tag and the
"siprec" option tag are included in the INVITE request.
The SRS can initiate an RS by sending a SIP INVITE request to the
SRC. The SRS and the SRC are identified in the From and To headers,
respectively.
The SRS MUST include the "+sip.srs" feature tag in the Contact URI,
as per [<a href="./rfc3840" title=""Indicating User Agent Capabilities in the Session Initiation Protocol (SIP)"">RFC3840</a>], for all RSs. An SRC uses the presence of this
feature tag in dialog creation and modification requests and
responses to confirm that the dialog being created is for the purpose
of an RS (REQ-030 in [<a href="./rfc6341" title=""Use Cases and Requirements for SIP-Based Media Recording (SIPREC)"">RFC6341</a>]). In addition, when an SRS sends a
REGISTER request to a registrar, the SRS SHOULD include the
"+sip.srs" feature tag to indicate that it is an SRS.
An SRS MUST include the "siprec" option tag in the Require header as
per [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>] when initiating an RS so that UAs that do not support
the Session Recording Protocol extensions will simply reject the
INVITE request with a 420 (Bad Extension) response.
<span class="h3"><a class="selflink" id="section-6.3" href="#section-6.3">6.3</a>. Procedures for Recording-Aware User Agents</span>
A recording-aware UA is a participant in the CS that supports the SIP
and SDP extensions for receiving recording indications and for
requesting recording preferences for the call. A recording-aware UA
MUST indicate that it can accept the reporting of recording
indications provided by the SRC with a new "record-aware" option tag
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
when initiating or establishing a CS; this means including the
"record-aware" option tag in the Supported header in the initial
INVITE request or response.
A recording-aware UA MUST provide a recording indication to the end
user through an appropriate user interface, indicating whether
recording is on, off, or paused for each medium. Appropriate user
interfaces may include real-time notification or previously
established agreements that use of the device is subject to
recording. Some UAs that are automatons (e.g., Interactive Voice
Response (IVR), media server, Public Switched Telephone Network
(PSTN) gateway) may not have a user interface to render a recording
indication. When such a UA indicates recording awareness, the UA
SHOULD render the recording indication through other means, such as
passing an in-band tone on the PSTN gateway, putting the recording
indication in a log file, or raising an application event in a
VoiceXML dialog. These UAs MAY also choose not to indicate recording
awareness, thereby relying on whatever mechanism an SRC chooses to
indicate recording, such as playing a tone in-band.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. SDP Handling</span>
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>. Procedures at the SRC</span>
The SRC and SRS follow the SDP offer/answer model described in
[<a href="./rfc3264" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">RFC3264</a>]. The procedures for the SRC and SRS describe the
conventions used in an RS.
<span class="h4"><a class="selflink" id="section-7.1.1" href="#section-7.1.1">7.1.1</a>. SDP Handling in the RS</span>
Since the SRC does not expect to receive media from the SRS, the SRC
typically sets each media stream of the SDP offer to only send media,
by qualifying them with the "a=sendonly" attribute, according to the
procedures in [<a href="./rfc3264" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">RFC3264</a>].
The SRC sends recorded streams of participants to the SRS, and the
SRC MUST provide a "label" attribute ("a=label"), as per [<a href="./rfc4574" title=""The Session Description Protocol (SDP) Label Attribute"">RFC4574</a>],
on each media stream in order to identify the recorded stream with
the rest of the metadata. The "a=label" attribute identifies each
recorded media stream, and the label name is mapped to the Media
Stream Reference in the metadata as per [<a href="./rfc7865" title=""Session Initiation Protocol (SIP) Recording Metadata"">RFC7865</a>]. The scope of the
"a=label" attribute only applies to the SDP and metadata conveyed in
the bodies of the SIP request or response that the label appeared in.
Note that a recorded stream is distinct from a CS stream; the
metadata provides a list of participants that contribute to each
recorded stream.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
Figure 5 shows an example SDP offer from an SRC with both audio and
video recorded streams. Note that this example contains unfolded
lines longer than 72 characters; these lines are captured between
<allOneLine> tags.
v=0
o=SRC 2890844526 2890844526 IN IP4 198.51.100.1
s=-
c=IN IP4 198.51.100.1
t=0 0
m=audio 12240 RTP/AVP 0 4 8
a=sendonly
a=label:1
m=video 22456 RTP/AVP 98
a=rtpmap:98 H264/90000
<allOneLine>
a=fmtp:98 profile-level-id=42A01E;
sprop-parameter-sets=Z0IACpZTBYmI,aMljiA==
</allOneLine>
a=sendonly
a=label:2
m=audio 12242 RTP/AVP 0 4 8
a=sendonly
a=label:3
m=video 22458 RTP/AVP 98
a=rtpmap:98 H264/90000
<allOneLine>
a=fmtp:98 profile-level-id=42A01E;
sprop-parameter-sets=Z0IACpZTBYmI,aMljiA==
</allOneLine>
a=sendonly
a=label:4
Figure 5: Sample SDP Offer from SRC with Audio and Video Streams
<span class="h5"><a class="selflink" id="section-7.1.1.1" href="#section-7.1.1.1">7.1.1.1</a>. Handling Media Stream Updates</span>
Over the lifetime of an RS, the SRC can add and remove recorded
streams to and from the RS for various reasons -- for example, when a
CS stream is added to or removed from the CS, or when a CS is created
or terminated if an RS handles multiple CSs. To remove a recorded
stream from the RS, the SRC sends a new SDP offer where the port of
the media stream to be removed is set to zero, according to the
procedures in [<a href="./rfc3264" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">RFC3264</a>]. To add a recorded stream to the RS, the SRC
sends a new SDP offer by adding a new media stream description or by
reusing an old media stream that had been previously disabled,
according to the procedures in [<a href="./rfc3264" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">RFC3264</a>].
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
The SRC can temporarily discontinue streaming and collection of
recorded media from the SRC to the SRS for reasons such as masking
the recording. In this case, the SRC sends a new SDP offer and sets
the media stream to inactive (a=inactive) for each recorded stream to
be paused, as per the procedures in [<a href="./rfc3264" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">RFC3264</a>]. To resume streaming
and collection of recorded media, the SRC sends a new SDP offer and
sets the media stream to sendonly (a=sendonly). Note that a CS may
itself change the media stream direction by updating the SDP -- for
example, by setting a=inactive for SDP hold. Media stream direction
changes in the CS are conveyed in the metadata by the SRC. When a CS
media stream is changed to or from inactive, the effect on the
corresponding RS media stream is governed by SRC policy. The SRC MAY
have a local policy to pause an RS media stream when the
corresponding CS media stream is inactive, or it MAY leave the RS
media stream as sendonly.
<span class="h4"><a class="selflink" id="section-7.1.2" href="#section-7.1.2">7.1.2</a>. Recording Indication in the CS</span>
While there are existing mechanisms for providing an indication that
a CS is being recorded, these mechanisms are usually delivered on the
CS media streams, such as playing an in-band tone or an announcement
to the participants. A new "record" SDP attribute is introduced to
allow the SRC to indicate recording state to a recording-aware UA in
a CS.
The "record" SDP attribute appears at the media level or
session level in either an SDP offer or answer. When the attribute
is applied at the session level, the indication applies to all media
streams in the SDP. When the attribute is applied at the
media level, the indication applies to that one media stream only,
and that overrides the indication if also set at the session level.
Whenever the recording indication needs to change, such as
termination of recording, the SRC MUST initiate a re-INVITE or UPDATE
to update the SDP "a=record" attribute.
The following is the ABNF [<a href="./rfc5234" title=""Augmented BNF for Syntax Specifications: ABNF"">RFC5234</a>] of the "record" attribute:
attribute =/ record-attr
; attribute defined in <a href="./rfc4566">RFC 4566</a>
record-attr = "record:" indication
indication = "on" / "off" / "paused"
on: Recording is in progress.
off: No recording is in progress.
paused: Recording is in progress but media is paused.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
<span class="h4"><a class="selflink" id="section-7.1.3" href="#section-7.1.3">7.1.3</a>. Recording Preference in the CS</span>
When the SRC receives the "a=recordpref" SDP in an SDP offer or
answer, the SRC chooses to honor the preference to record based on
local policy at the SRC. If the SRC makes a change in recording
state, the SRC MUST report the new recording state in the "a=record"
attribute in the SDP answer or in a subsequent SDP offer.
<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>. Procedures at the SRS</span>
Typically, the SRS only receives RTP streams from the SRC; therefore,
the SDP offer/answer from the SRS normally sets each media stream to
receive media, by setting them with the "a=recvonly" attribute,
according to the procedures of [<a href="./rfc3264" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">RFC3264</a>]. When the SRS is not ready
to receive a recorded stream, the SRS sets the media stream as
inactive in the SDP offer or answer by setting it with an
"a=inactive" attribute, according to the procedures of [<a href="./rfc3264" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">RFC3264</a>].
When the SRS is ready to receive recorded streams, the SRS sends a
new SDP offer and sets the media streams with an "a=recvonly"
attribute.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
Figure 6 shows an example of an SDP answer from the SRS for the SDP
offer from Figure 5. Note that this example contains unfolded lines
longer than 72 characters; these lines are captured between
<allOneLine> tags.
v=0
o=SRS 0 0 IN IP4 198.51.100.20
s=-
c=IN IP4 198.51.100.20
t=0 0
m=audio 10000 RTP/AVP 0
a=recvonly
a=label:1
m=video 10002 RTP/AVP 98
a=rtpmap:98 H264/90000
<allOneLine>
a=fmtp:98 profile-level-id=42A01E;
sprop-parameter-sets=Z0IACpZTBYmI,aMljiA==
</allOneLine>
a=recvonly
a=label:2
m=audio 10004 RTP/AVP 0
a=recvonly
a=label:3
m=video 10006 RTP/AVP 98
a=rtpmap:98 H264/90000
<allOneLine>
a=fmtp:98 profile-level-id=42A01E;
sprop-parameter-sets=Z0IACpZTBYmI,aMljiA==
</allOneLine>
a=recvonly
a=label:4
Figure 6: Sample SDP Answer from SRS with Audio and Video Streams
Over the lifetime of an RS, the SRS can remove recorded streams from
the RS for various reasons. To remove a recorded stream from the RS,
the SRS sends a new SDP offer where the port of the media stream to
be removed is set to zero, according to the procedures in [<a href="./rfc3264" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">RFC3264</a>].
The SRS MUST NOT add recorded streams in the RS when the SRS sends a
new SDP offer. Similarly, when the SRS starts an RS, the SRS MUST
initiate the INVITE without an SDP offer to let the SRC generate the
SDP offer with the streams to be recorded.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
The sequence diagram in Figure 7 shows an example where the SRS is
initially not ready to receive recorded streams and later updates the
RS when the SRS is ready to record.
SRC SRS
| |
|(1) INVITE (SDP offer) |
|---------------------------------------------------->|
| [not ready to record]
| (2) 200 OK with SDP inactive |
|<----------------------------------------------------|
|(3) ACK |
|---------------------------------------------------->|
| ... |
| [ready to record]
| (4) re-INVITE with SDP recvonly |
|<----------------------------------------------------|
|(5) 200 OK with SDP sendonly |
|---------------------------------------------------->|
| (6) ACK |
|<----------------------------------------------------|
|(7) RTP |
|====================================================>|
| ... |
|(8) BYE |
|---------------------------------------------------->|
| (9) OK |
|<----------------------------------------------------|
Figure 7: SRS Responding to Offer with a=inactive
<span class="h3"><a class="selflink" id="section-7.3" href="#section-7.3">7.3</a>. Procedures for Recording-Aware User Agents</span>
<span class="h4"><a class="selflink" id="section-7.3.1" href="#section-7.3.1">7.3.1</a>. Recording Indication</span>
When a recording-aware UA receives an SDP offer or answer that
includes the "a=record" attribute, the UA provides to the end user an
indication as to whether the recording is on, off, or paused for each
medium, based on the most recently received "a=record" SDP attribute
for that medium.
When a CS is traversed through multiple UAs such as a B2BUA or a
conference focus, each UA involved in the CS that is aware that the
CS is being recorded MUST provide the recording indication through
the "a=record" attribute to all other parties in the CS.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
It is possible that more than one SRC is in the call path of the same
CS, but the recording indication attribute does not provide any hint
as to which SRC or how many SRCs are recording. An endpoint knows
only that the call is being recorded. Furthermore, this attribute is
not used as a request for a specific SRC to start or stop recording.
<span class="h4"><a class="selflink" id="section-7.3.2" href="#section-7.3.2">7.3.2</a>. Recording Preference</span>
A participant in a CS MAY set the recording preference in the CS to
be recorded or not recorded at session establishment or during the
session. A new "recordpref" SDP attribute is introduced, and the
participant in the CS may set this recording preference attribute in
any SDP offer/answer at session establishment time or during the
session. The SRC is not required to honor the recording preference
from a participant, based on local policies at the SRC, and the
participant can learn the recording indication through the "a=record"
SDP attribute as described in <a href="#section-7.3.1">Section 7.3.1</a>.
The SDP "a=recordpref" attribute can appear at the media level or
session level and can appear in an SDP offer or answer. When the
attribute is applied at the session level, the recording preference
applies to all media streams in the SDP. When the attribute is
applied at the media level, the recording preference applies to that
one media stream only, and that overrides the recording preference if
also set at the session level. The UA can change the recording
preference by changing the "a=recordpref" attribute in a subsequent
SDP offer or answer. The absence of the "a=recordpref" attribute in
the SDP indicates that the UA has no recording preference.
The following is the ABNF of the "recordpref" attribute:
attribute =/ recordpref-attr
; attribute defined in <a href="./rfc4566">RFC 4566</a>
recordpref-attr = "a=recordpref:" pref
pref = "on" / "off" / "pause" / "nopreference"
on: Sets the preference to record if it has not already been
started. If the recording is currently paused, the
preference is to resume recording.
off: Sets the preference for no recording. If recording has
already been started, then the preference is to stop the
recording.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
pause: If the recording is currently in progress, sets the
preference to pause the recording.
nopreference:
Indicates that the UA has no preference regarding recording.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. RTP Handling</span>
This section provides recommendations and guidelines for RTP and the
Real-time Transport Control Protocol (RTCP) in the context of SIPREC
[<a href="./rfc6341" title=""Use Cases and Requirements for SIP-Based Media Recording (SIPREC)"">RFC6341</a>]. In order to communicate most effectively, the SRC, the
SRS, and any recording-aware UAs should utilize the mechanisms
provided by RTP in a well-defined and predictable manner. It is the
goal of this document to make the reader aware of these mechanisms
and to provide recommendations and guidelines.
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>. RTP Mechanisms</span>
This section briefly describes important RTP/RTCP constructs and
mechanisms that are particularly useful within the context of SIPREC.
<span class="h4"><a class="selflink" id="section-8.1.1" href="#section-8.1.1">8.1.1</a>. RTCP</span>
The RTP data transport is augmented by a control protocol (RTCP) to
allow monitoring of the data delivery. RTCP, as defined in
[<a href="./rfc3550" title=""RTP: A Transport Protocol for Real-Time Applications"">RFC3550</a>], is based on the periodic transmission of control packets
to all participants in the RTP session, using the same distribution
mechanism as the data packets. Support for RTCP is REQUIRED, per
[<a href="./rfc3550" title=""RTP: A Transport Protocol for Real-Time Applications"">RFC3550</a>], and it provides, among other things, the following
important functionality in relation to SIPREC:
1) Feedback on the quality of the data distribution
This feedback from the receivers may be used to diagnose faults in
the distribution. As such, RTCP is a well-defined and efficient
mechanism for the SRS to inform the SRC, and for the SRC to inform
recording-aware UAs, of issues that arise with respect to the
reception of media that is to be recorded.
2) Including a persistent transport-level identifier -- the CNAME, or
canonical name -- for an RTP source
The synchronization source (SSRC) [<a href="./rfc3550" title=""RTP: A Transport Protocol for Real-Time Applications"">RFC3550</a>] identifier may change
if a conflict is discovered or a program is restarted, in which
case receivers can use the CNAME to keep track of each
participant. Receivers may also use the CNAME to associate
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
multiple data streams from a given participant in a set of related
RTP sessions -- for example, to synchronize audio and video.
Synchronization of media streams is also facilitated by the NTP
and RTP timestamps included in RTCP packets by data senders.
<span class="h4"><a class="selflink" id="section-8.1.2" href="#section-8.1.2">8.1.2</a>. RTP Profile</span>
The RECOMMENDED RTP profiles for the SRC, SRS, and recording-aware
UAs are "Extended Secure RTP Profile for Real-time Transport Control
Protocol (RTCP)-Based Feedback (RTP/SAVPF)" [<a href="./rfc5124" title=""Extended Secure RTP Profile for Real-time Transport Control Protocol (RTCP)-Based Feedback (RTP/SAVPF)"">RFC5124</a>] when using
encrypted RTP streams, and "Extended RTP Profile for Real-time
Transport Control Protocol (RTCP)-Based Feedback (RTP/AVPF)"
[<a href="./rfc4585" title=""Extended RTP Profile for Real-time Transport Control Protocol (RTCP)-Based Feedback (RTP/AVPF)"">RFC4585</a>] when using non-encrypted media streams. However, as these
are not requirements, some implementations may use "The Secure
Real-time Transport Protocol (SRTP)" [<a href="./rfc3711" title=""The Secure Real-time Transport Protocol (SRTP)"">RFC3711</a>] and "RTP Profile for
Audio and Video Conferences with Minimal Control" [<a href="./rfc3551" title=""RTP Profile for Audio and Video Conferences with Minimal Control"">RFC3551</a>].
Therefore, it is RECOMMENDED that the SRC, SRS, and recording-aware
UAs not rely entirely on RTP/SAVPF or RTP/AVPF for core functionality
that may be at least partially achievable using RTP/SAVP and RTP/AVP.
AVPF and SAVPF provide an improved RTCP timer model that allows more
flexible transmission of RTCP packets in response to events, rather
than strictly according to bandwidth. AVPF-based codec control
messages provide efficient mechanisms for an SRC, an SRS, and
recording-aware UAs to handle events such as scene changes, error
recovery, and dynamic bandwidth adjustments. These messages are
discussed in more detail later in this document.
SAVP and SAVPF provide media encryption, integrity protection, replay
protection, and a limited form of source authentication. They do not
contain or require a specific keying mechanism.
<span class="h4"><a class="selflink" id="section-8.1.3" href="#section-8.1.3">8.1.3</a>. SSRC</span>
The SSRC, as defined in [<a href="./rfc3550" title=""RTP: A Transport Protocol for Real-Time Applications"">RFC3550</a>], is carried in the RTP header and
in various fields of RTCP packets. It is a random 32-bit number that
is required to be globally unique within an RTP session. It is
crucial that the number be chosen with care, in order that
participants on the same network or starting at the same time are not
likely to choose the same number. Guidelines regarding SSRC value
selection and conflict resolution are provided in [<a href="./rfc3550" title=""RTP: A Transport Protocol for Real-Time Applications"">RFC3550</a>].
The SSRC may also be used to separate different sources of media
within a single RTP session. For this reason, as well as for
conflict resolution, it is important that the SRC, SRS, and
recording-aware UAs handle changes in SSRC values and properly
identify the reason for the change. The CNAME values carried in RTCP
facilitate this identification.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
<span class="h4"><a class="selflink" id="section-8.1.4" href="#section-8.1.4">8.1.4</a>. CSRC</span>
The contributing source (CSRC), as defined in [<a href="./rfc3550" title=""RTP: A Transport Protocol for Real-Time Applications"">RFC3550</a>], identifies
the source of a stream of RTP packets that has contributed to the
combined stream produced by an RTP mixer. The mixer inserts a list
of the SSRC identifiers of the sources that contributed to the
generation of a particular packet into the RTP header of that packet.
This list is called the CSRC list. It is RECOMMENDED that an SRC or
recording-aware UA, when acting as a mixer, set the CSRC list
accordingly, and that the SRC and SRS interpret the CSRC list per
[<a href="./rfc3550" title=""RTP: A Transport Protocol for Real-Time Applications"">RFC3550</a>] when received.
<span class="h4"><a class="selflink" id="section-8.1.5" href="#section-8.1.5">8.1.5</a>. SDES</span>
The Source Description (SDES), as defined in [<a href="./rfc3550" title=""RTP: A Transport Protocol for Real-Time Applications"">RFC3550</a>], contains an
SSRC/CSRC identifier followed by a list of zero or more items that
carry information about the SSRC/CSRC. End systems send one SDES
packet containing their own source identifier (the same as the SSRC
in the fixed RTP header). A mixer sends one SDES packet containing a
chunk for each CSRC from which it is receiving SDES information, or
multiple complete SDES packets if there are more than 31 such
sources.
The ability to identify individual CSRCs is important in the context
of SIPREC. Metadata [<a href="./rfc7865" title=""Session Initiation Protocol (SIP) Recording Metadata"">RFC7865</a>] provides a mechanism to achieve this
at the signaling level. SDES provides a mechanism at the RTP level.
<span class="h5"><a class="selflink" id="section-8.1.5.1" href="#section-8.1.5.1">8.1.5.1</a>. CNAME</span>
The Canonical End-Point Identifier (CNAME), as defined in [<a href="./rfc3550" title=""RTP: A Transport Protocol for Real-Time Applications"">RFC3550</a>],
provides the binding from the SSRC identifier to an identifier for
the source (sender or receiver) that remains constant. It is
important that the SRC and recording-aware UAs generate CNAMEs
appropriately and that the SRC and SRS interpret and use them for
this purpose. Guidelines for generating CNAME values are provided in
"Guidelines for Choosing RTP Control Protocol (RTCP) Canonical Names
(CNAMEs)" [<a href="./rfc7022" title=""Guidelines for Choosing RTP Control Protocol (RTCP) Canonical Names (CNAMEs)"">RFC7022</a>].
<span class="h4"><a class="selflink" id="section-8.1.6" href="#section-8.1.6">8.1.6</a>. Keepalive</span>
It is anticipated that media streams in SIPREC may exist in an
inactive state for extended periods of time for any of a number of
valid reasons. In order for the bindings and any pinholes in
NATs/firewalls to remain active during such intervals, it is
RECOMMENDED that the SRC, SRS, and recording-aware UAs follow the
keepalive procedure recommended in "Application Mechanism for Keeping
Alive the NAT Mappings Associated with RTP / RTP Control Protocol
(RTCP) Flows" [<a href="./rfc6263" title=""Application Mechanism for Keeping Alive the NAT Mappings Associated with RTP / RTP Control Protocol (RTCP) Flows"">RFC6263</a>] for all RTP media streams.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
<span class="h4"><a class="selflink" id="section-8.1.7" href="#section-8.1.7">8.1.7</a>. RTCP Feedback Messages</span>
"Codec Control Messages in the RTP Audio-Visual Profile with Feedback
(AVPF)" [<a href="./rfc5104" title=""Codec Control Messages in the RTP Audio-Visual Profile with Feedback (AVPF)"">RFC5104</a>] specifies extensions to the messages defined in
AVPF [<a href="./rfc4585" title=""Extended RTP Profile for Real-time Transport Control Protocol (RTCP)-Based Feedback (RTP/AVPF)"">RFC4585</a>]. Support for and proper usage of these messages are
important to SRC, SRS, and recording-aware UA implementations. Note
that these messages are applicable only when using the AVPF or SAVPF
RTP profiles.
<span class="h5"><a class="selflink" id="section-8.1.7.1" href="#section-8.1.7.1">8.1.7.1</a>. Full Intra Request</span>
A Full Intra Request (FIR) command, when received by the designated
media sender, requires that the media sender send a decoder refresh
point at the earliest opportunity. Using a decoder refresh point
implies refraining from using any picture sent prior to that point as
a reference for the encoding process of any subsequent picture sent
in the stream.
Decoder refresh points, especially Intra or Instantaneous Decoding
Refresh (IDR) pictures for H.264 video codecs, are in general several
times larger in size than predicted pictures. Thus, in scenarios in
which the available bit rate is small, the use of a decoder refresh
point implies a delay that is significantly longer than the typical
picture duration.
<span class="h6"><a class="selflink" id="section-8.1.7.1.1" href="#section-8.1.7.1.1">8.1.7.1.1</a>. Deprecated Usage of SIP INFO Instead of FIR</span>
"XML Schema for Media Control" [<a href="./rfc5168" title=""XML Schema for Media Control"">RFC5168</a>] defines an Extensible Markup
Language (XML) Schema for video fast update. Implementations are
discouraged from using the method described in [<a href="./rfc5168" title=""XML Schema for Media Control"">RFC5168</a>], except for
purposes of backward compatibility. Implementations SHOULD use FIR
messages instead.
To make sure that a common mechanism exists between the SRC and SRS,
the SRS MUST support both mechanisms (FIR and SIP INFO), using FIR
messages when negotiated successfully with the SRC and using SIP INFO
otherwise.
<span class="h5"><a class="selflink" id="section-8.1.7.2" href="#section-8.1.7.2">8.1.7.2</a>. Picture Loss Indication</span>
Picture Loss Indication (PLI), as defined in [<a href="./rfc4585" title=""Extended RTP Profile for Real-time Transport Control Protocol (RTCP)-Based Feedback (RTP/AVPF)"">RFC4585</a>], informs the
encoder of the loss of an undefined amount of coded video data
belonging to one or more pictures. [<a href="./rfc4585" title=""Extended RTP Profile for Real-time Transport Control Protocol (RTCP)-Based Feedback (RTP/AVPF)"">RFC4585</a>] recommends using PLI
instead of FIR messages to recover from errors. FIR is appropriate
only in situations where not sending a decoder refresh point would
render the video unusable for the users. Examples where sending FIR
messages is appropriate include a multipoint conference when a new
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
user joins the conference and no regular decoder refresh point
interval is established, and a video-switching Multipoint Control
Unit (MCU) that changes streams.
Appropriate use of PLI and FIR is important to ensure, with minimum
overhead, that the recorded video is usable (e.g., the necessary
reference frames exist for a player to render the recorded video).
<span class="h5"><a class="selflink" id="section-8.1.7.3" href="#section-8.1.7.3">8.1.7.3</a>. Temporary Maximum Media Stream Bit Rate Request</span>
A receiver, translator, or mixer uses the Temporary Maximum Media
Stream Bit Rate Request (TMMBR) [<a href="./rfc5104" title=""Codec Control Messages in the RTP Audio-Visual Profile with Feedback (AVPF)"">RFC5104</a>] to request a sender to
limit the maximum bit rate for a media stream to the provided value.
Appropriate use of TMMBR facilitates rapid adaptation to changes in
available bandwidth.
<span class="h6"><a class="selflink" id="section-8.1.7.3.1" href="#section-8.1.7.3.1">8.1.7.3.1</a>. Renegotiation of SDP Bandwidth Attribute</span>
If it is likely that the new value indicated by TMMBR will be valid
for the remainder of the session, the TMMBR sender is expected to
perform a renegotiation of the session upper limit using the session
signaling protocol. Therefore, for SIPREC, implementations are
RECOMMENDED to use TMMBR for temporary changes and renegotiation of
bandwidth via SDP offer/answer for more permanent changes.
<span class="h4"><a class="selflink" id="section-8.1.8" href="#section-8.1.8">8.1.8</a>. Symmetric RTP/RTCP for Sending and Receiving</span>
Within an SDP offer/answer exchange, RTP entities choose the RTP and
RTCP transport addresses (i.e., IP addresses and port numbers) on
which to receive packets. When sending packets, the RTP entities may
use the same source port or a different source port than those
signaled for receiving packets. When the transport address used to
send and receive RTP is the same, it is termed "symmetric RTP"
[<a href="./rfc4961" title=""Symmetric RTP / RTP Control Protocol (RTCP)"">RFC4961</a>]. Likewise, when the transport address used to send and
receive RTCP is the same, it is termed "symmetric RTCP" [<a href="./rfc4961" title=""Symmetric RTP / RTP Control Protocol (RTCP)"">RFC4961</a>].
When sending RTP, the use of symmetric RTP is REQUIRED. When sending
RTCP, the use of symmetric RTCP is REQUIRED. Although an SRS will
not normally send RTP, it will send RTCP as well as receive RTP and
RTCP. Likewise, although an SRC will not normally receive RTP from
the SRS, it will receive RTCP as well as send RTP and RTCP.
Note: Symmetric RTP and symmetric RTCP are different from RTP/RTCP
multiplexing [<a href="./rfc5761" title=""Multiplexing RTP Data and Control Packets on a Single Port"">RFC5761</a>].
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>. Roles</span>
An SRC has the task of gathering media from the various UAs in one or
more CSs and forwarding the information to the SRS within the context
of a corresponding RS. There are numerous ways in which an SRC may
do this, including, but not limited to, appearing as a UA within a
CS, or as a B2BUA between UAs within a CS.
(Recording Session) +---------+
+------------SIP------->| |
| +------RTP/RTCP----->| SRS |
| | +-- Metadata -->| |
| | | +---------+
v v |
+---------+
| SRC |
|---------| (Communication Session) +---------+
| |<----------SIP---------->| |
| UA-A | | UA-B |
| |<-------RTP/RTCP-------->| |
+---------+ +---------+
Figure 8: UA as SRC
(Recording Session) +---------+
+------------SIP------->| |
| +------RTP/RTCP----->| SRS |
| | +-- Metadata -->| |
| | | +---------+
v v |
+---------+
| SRC |
+---------+ |---------| +---------+
| |<----SIP----->| |<----SIP----->| |
| UA-A | | B2BUA | | UA-B |
| |<--RTP/RTCP-->| |<--RTP/RTCP-->| |
+---------+ +---------+ +---------+
|_______________________________________________|
(Communication Session)
Figure 9: B2BUA as SRC
The following subsections define a set of roles an SRC may choose to
play, based on its position with respect to a UA within a CS, and an
SRS within an RS. A CS and a corresponding RS are independent
sessions; therefore, an SRC may play a different role within a CS
than it does within the corresponding RS.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
<span class="h4"><a class="selflink" id="section-8.2.1" href="#section-8.2.1">8.2.1</a>. SRC Acting as an RTP Translator</span>
The SRC may act as a translator, as defined in [<a href="./rfc3550" title=""RTP: A Transport Protocol for Real-Time Applications"">RFC3550</a>]. A defining
characteristic of a translator is that it forwards RTP packets with
their SSRC identifier intact. There are two types of translators:
one that simply forwards, and another that performs transcoding
(e.g., from one codec to another) in addition to forwarding.
<span class="h5"><a class="selflink" id="section-8.2.1.1" href="#section-8.2.1.1">8.2.1.1</a>. Forwarding Translator</span>
When acting as a forwarding translator, RTP received as separate
streams from different sources (e.g., from different UAs with
different SSRCs) cannot be mixed by the SRC and MUST be sent
separately to the SRS. All RTCP reports MUST be passed by the SRC
between the UAs and the SRS, such that the UAs and SRS are able to
detect any SSRC collisions.
RTCP Sender Reports generated by a UA sending a stream MUST be
forwarded to the SRS. RTCP Receiver Reports generated by the SRS
MUST be forwarded to the relevant UA.
UAs may receive multiple sets of RTCP Receiver Reports -- one or more
from other UAs participating in the CS, and one from the SRS
participating in the RS. A UA SHOULD process the RTCP Receiver
Reports from the SRS if it is recording aware.
If SRTP is used on both the CS and the RS, decryption and/or
re-encryption may occur. For example, if different keys are used, it
will occur. If the same keys are used, it need not occur.
<a href="#section-12">Section 12</a> provides additional information on SRTP and keying
mechanisms.
If packet loss occurs, either from the UA to the SRC or from the SRC
to the SRS, the SRS SHOULD detect and attempt to recover from the
loss. The SRC does not play a role in this, other than forwarding
the associated RTP and RTCP packets.
<span class="h5"><a class="selflink" id="section-8.2.1.2" href="#section-8.2.1.2">8.2.1.2</a>. Transcoding Translator</span>
When acting as a transcoding translator, an SRC MAY perform
transcoding (e.g., from one codec to another), and this may result in
a different rate of packets between what the SRC receives on the CS
and what the SRC sends on the RS. As when acting as a forwarding
translator, RTP received as separate streams from different sources
(e.g., from different UAs with different SSRCs) cannot be mixed by
the SRC and MUST be sent separately to the SRS. All RTCP reports
MUST be passed by the SRC between the UAs and the SRS, such that the
UAs and SRS are able to detect any SSRC collisions.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
RTCP Sender Reports generated by a UA sending a stream MUST be
forwarded to the SRS. RTCP Receiver Reports generated by the SRS
MUST be forwarded to the relevant UA. The SRC may need to manipulate
the RTCP Receiver Reports to take into account any transcoding that
has taken place.
UAs may receive multiple sets of RTCP Receiver Reports -- one or more
from other UAs participating in the CS, and one from the SRS
participating in the RS. A recording-aware UA SHOULD be prepared to
process the RTCP Receiver Reports from the SRS, whereas a recording-
unaware UA may discard such RTCP packets as irrelevant.
If SRTP is used on both the CS and the RS, decryption and/or
re-encryption may occur. For example, if different keys are used, it
will occur. If the same keys are used, it need not occur.
<a href="#section-12">Section 12</a> provides additional information on SRTP and keying
mechanisms.
If packet loss occurs, either from the UA to the SRC or from the SRC
to the SRS, the SRS SHOULD detect and attempt to recover from the
loss. The SRC does not play a role in this, other than forwarding
the associated RTP and RTCP packets.
<span class="h4"><a class="selflink" id="section-8.2.2" href="#section-8.2.2">8.2.2</a>. SRC Acting as an RTP Mixer</span>
In the case of the SRC acting as an RTP mixer, as defined in
[<a href="./rfc3550" title=""RTP: A Transport Protocol for Real-Time Applications"">RFC3550</a>], the SRC combines RTP streams from different UAs and sends
them towards the SRS using its own SSRC. The SSRCs from the
contributing UA SHOULD be conveyed as CSRC identifiers within this
stream. The SRC may make timing adjustments among the received
streams and generate its own timing on the stream sent to the SRS.
Optionally, an SRC acting as a mixer can perform transcoding and can
even cope with different codings received from different UAs. RTCP
Sender Reports and Receiver Reports are not forwarded by an SRC
acting as a mixer, but there are requirements for forwarding RTCP
Source Description (SDES) packets. The SRC generates its own RTCP
Sender Reports and Receiver Reports toward the associated UAs
and SRS.
The use of SRTP between the SRC and the SRS for the RS is independent
of the use of SRTP between the UAs and the SRC for the CS.
<a href="#section-12">Section 12</a> provides additional information on SRTP and keying
mechanisms.
If packet loss occurs from the UA to the SRC, the SRC SHOULD detect
and attempt to recover from the loss. If packet loss occurs from
the SRC to the SRS, the SRS SHOULD detect and attempt to recover from
the loss.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
<span class="h4"><a class="selflink" id="section-8.2.3" href="#section-8.2.3">8.2.3</a>. SRC Acting as an RTP Endpoint</span>
The case of the SRC acting as an RTP endpoint, as defined in
[<a href="./rfc3550" title=""RTP: A Transport Protocol for Real-Time Applications"">RFC3550</a>], is similar to the mixer case, except that the RTP session
between the SRC and the SRS is considered completely independent from
the RTP session that is part of the CS. The SRC can, but need not,
mix RTP streams from different participants prior to sending to the
SRS. RTCP between the SRC and the SRS is completely independent of
RTCP on the CS.
The use of SRTP between the SRC and the SRS for the RS is independent
of the use of SRTP between the UAs and SRC for the CS. <a href="#section-12">Section 12</a>
provides additional information on SRTP and keying mechanisms.
If packet loss occurs from the UA to the SRC, the SRC SHOULD detect
and attempt to recover from the loss. If packet loss occurs from
the SRC to the SRS, the SRS SHOULD detect and attempt to recover from
the loss.
<span class="h3"><a class="selflink" id="section-8.3" href="#section-8.3">8.3</a>. RTP Session Usage by SRC</span>
There are multiple ways that an SRC may choose to deliver recorded
media to an SRS. In some cases, it may use a single RTP session for
all media within the RS, whereas in others it may use multiple RTP
sessions. The following subsections provide examples of basic RTP
session usage by the SRC, including a discussion of how the RTP
constructs and mechanisms covered previously are used. An SRC may
choose to use one or more of the RTP session usages within a single
RS. For the purpose of base interoperability between SRC and SRS, an
SRC MUST support separate m-lines in SDP, one per CS media direction.
The set of RTP session usages described is not meant to be
exhaustive.
<span class="h4"><a class="selflink" id="section-8.3.1" href="#section-8.3.1">8.3.1</a>. SRC Using Multiple m-lines</span>
When using multiple m-lines, an SRC includes each m-line in an SDP
offer to the SRS. The SDP answer from the SRS MUST include all
m-lines, with any rejected m-lines indicated with a zero port, per
[<a href="./rfc3264" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">RFC3264</a>]. Having received the answer, the SRC starts sending media
to the SRS as indicated in the answer. Alternatively, if the SRC
deems the level of support indicated in the answer to be
unacceptable, it may initiate another SDP offer/answer exchange in
which an alternative RTP session usage is negotiated.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
In order to preserve the mapping of media to participant within the
CSs in the RS, the SRC SHOULD map each unique CNAME within the CSs to
a unique CNAME within the RS. Additionally, the SRC SHOULD map each
unique combination of CNAME/SSRC within the CSs to a unique
CNAME/SSRC within the RS. In doing so, the SRC may act as an
RTP translator or as an RTP endpoint.
Figure 10 illustrates a case in which each UA represents a
participant contributing two RTP sessions (e.g., one for audio and
one for video), each with a single SSRC. The SRC acts as an RTP
translator and delivers the media to the SRS using four RTP sessions,
each with a single SSRC. The CNAME and SSRC values used by the UAs
within their media streams are preserved in the media streams from
the SRC to the SRS.
+---------+
+------------SSRC Aa--->| |
| + --------SSRC Av--->| |
| | +------SSRC Ba--->| SRS |
| | | +---SSRC Bv--->| |
| | | | +---------+
| | | |
| | | |
+---------+ +----------+ +---------+
| |---SSRC Aa-->| SRC |<--SSRC Ba---| |
| UA-A | |(CNAME-A, | | UA-B |
|(CNAME-A)|---SSRC Av-->| CNAME-B) |<--SSRC Bv---|(CNAME-B)|
+---------+ +----------+ +---------+
Figure 10: SRC Using Multiple m-lines
<span class="h4"><a class="selflink" id="section-8.3.2" href="#section-8.3.2">8.3.2</a>. SRC Using Mixing</span>
When using mixing, the SRC combines RTP streams from different
participants and sends them towards the SRS using its own SSRC. The
SSRCs from the contributing participants SHOULD be conveyed as CSRC
identifiers. The SRC includes one m-line for each RTP session in an
SDP offer to the SRS. The SDP answer from the SRS MUST include all
m-lines, with any rejected m-lines indicated with a zero port, per
[<a href="./rfc3264" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">RFC3264</a>]. Having received the answer, the SRC starts sending media
to the SRS as indicated in the answer.
In order to preserve the mapping of media to participant within the
CSs in the RS, the SRC SHOULD map each unique CNAME within the CSs to
a unique CNAME within the RS. Additionally, the SRC SHOULD map each
unique combination of CNAME/SSRC within the CSs to a unique
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
CNAME/SSRC within the RS. The SRC MUST avoid SSRC collisions,
rewriting SSRCs if necessary when used as CSRCs in the RS. In
doing so, the SRC acts as an RTP mixer.
In the event that the SRS does not support this usage of CSRC values,
it relies entirely on the SIPREC metadata to determine the
participants included within each mixed stream.
Figure 11 illustrates a case in which each UA represents a
participant contributing two RTP sessions (e.g., one for audio and
one for video), each with a single SSRC. The SRC acts as an RTP
mixer and delivers the media to the SRS using two RTP sessions,
mixing media from each participant into a single RTP session
containing a single SSRC and two CSRCs.
SSRC Sa +---------+
+-------CSRC Aa,Ba--->| |
| | |
| SSRC Sv | SRS |
| +---CSRC Av,Bv--->| |
| | +---------+
| |
+----------+
+---------+ | SRC | +---------+
| |---SSRC Aa-->|(CNAME-S, |<--SSRC Ba---| |
| UA-A | | CNAME-A, | | UA-B |
|(CNAME-A)|---SSRC Av-->| CNAME-B) |<--SSRC Bv---|(CNAME-B)|
+---------+ +----------+ +---------+
Figure 11: SRC Using Mixing
<span class="h3"><a class="selflink" id="section-8.4" href="#section-8.4">8.4</a>. RTP Session Usage by SRS</span>
An SRS that supports recording an audio CS MUST support SRC usage of
separate audio m-lines in SDP, one per CS media direction. An SRS
that supports recording a video CS MUST support SRC usage of separate
video m-lines in SDP, one per CS media direction. Therefore, for an
SRS supporting a typical audio call, the SRS has to support receiving
at least two audio m-lines. For an SRS supporting a typical audio
and video call, the SRS has to support receiving at least four total
m-lines in the SDP -- two audio m-lines and two video m-lines.
These requirements allow an SRS to be implemented that supports video
only, without requiring support for audio recording. They also allow
an SRS to be implemented that supports recording only one direction
of one stream in a CS -- for example, an SRS designed to record
security monitoring cameras that only send (not receive) video
without any audio. These requirements were not written to prevent
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
other modes from being implemented and used, such as using a single
m-line and mixing the separate audio streams together. Rather, the
requirements were written to provide a common base mode to implement
for the sake of interoperability. It is important to note that an
SRS implementation supporting the common base mode may not record all
media streams in a CS if a participant supports more than one m-line
in a video call, such as one for camera and one for presentation.
SRS implementations may support other modes as well, but they have to
at least support the modes discussed above, such that they
interoperate in the common base mode for basic interoperability.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Metadata</span>
Some metadata attributes are contained in SDP, and others are
contained in a new content type called "application/rs-metadata".
The format of the metadata is described as part of the mechanism in
[<a href="./rfc7865" title=""Session Initiation Protocol (SIP) Recording Metadata"">RFC7865</a>]. A new "disposition-type" of Content-Disposition is
defined for the purpose of carrying metadata. The value is
"recording-session", which indicates that the
"application/rs-metadata" content contains metadata to be handled by
the SRS.
<span class="h3"><a class="selflink" id="section-9.1" href="#section-9.1">9.1</a>. Procedures at the SRC</span>
The SRC MUST send metadata to the SRS in an RS. The SRC SHOULD send
metadata as soon as it becomes available and whenever it changes.
Cases in which an SRC may be justified in waiting temporarily before
sending metadata include:
o waiting for a previous metadata exchange to complete (i.e., the
SRC cannot send another SDP offer until the previous offer/answer
completes and may also prefer not to send an UPDATE during this
time).
o constraining the signaling rate on the RS.
o sending metadata when key events occur, rather than for every
event that has any impact on metadata.
The SRC may also be configured to suppress certain metadata out of
concern for privacy or perceived lack of need for it to be included
in the recording.
Metadata sent by the SRC is categorized as either a full metadata
snapshot or a partial update. A full metadata snapshot describes all
metadata associated with the RS. The SRC MAY send a full metadata
snapshot at any time. The SRC MAY send a partial update only if a
full metadata snapshot has been sent previously.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
The SRC MAY send metadata (either a full metadata snapshot or a
partial update) in an INVITE request, an UPDATE request [<a href="./rfc3311" title=""The Session Initiation Protocol (SIP) UPDATE Method"">RFC3311</a>], or
a 200 response to an offerless INVITE from the SRS. If the metadata
contains a reference to any SDP labels, the request containing the
metadata MUST also contain an SDP offer that defines those labels.
When a SIP message contains both an SDP offer and metadata, the
request body MUST have content type "multipart/mixed", with one
subordinate body part containing the SDP offer and another containing
the metadata. When a SIP message contains only an SDP offer or
metadata, the "multipart/mixed" container is optional.
The SRC SHOULD include a full metadata snapshot in the initial INVITE
request establishing the RS. If metadata is not yet available (e.g.,
an RS established in the absence of a CS), the SRC SHOULD send a full
metadata snapshot as soon as metadata becomes available.
If the SRC receives a snapshot request from the SRS, it MUST
immediately send a full metadata snapshot.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
Figure 12 illustrates an example of a full metadata snapshot sent by
the SRC in the initial INVITE request:
INVITE sip:recorder@example.com SIP/2.0
Via: SIP/2.0/TCP src.example.com;branch=z9hG4bKdf6b622b648d9
From: <sip:2000@example.com>;tag=35e195d2-947d-4585-946f-09839247
To: <sip:recorder@example.com>
Call-ID: d253c800-b0d1ea39-4a7dd-3f0e20a
CSeq: 101 INVITE
Max-Forwards: 70
Require: siprec
Accept: application/sdp, application/rs-metadata
Contact: <sip:2000@src.example.com>;+sip.src
Content-Type: multipart/mixed;boundary=foobar
Content-Length: [length]
--foobar
Content-Type: application/sdp
v=0
o=SRS 2890844526 2890844526 IN IP4 198.51.100.1
s=-
c=IN IP4 198.51.100.1
t=0 0
m=audio 12240 RTP/AVP 0 4 8
a=sendonly
a=label:1
--foobar
Content-Type: application/rs-metadata
Content-Disposition: recording-session
[metadata content]
Figure 12: Sample INVITE Request for the Recording Session
<span class="h3"><a class="selflink" id="section-9.2" href="#section-9.2">9.2</a>. Procedures at the SRS</span>
The SRS receives metadata updates from the SRC in INVITE and UPDATE
requests. Since the SRC can send partial updates based on the
previous update, the SRS needs to keep track of the sequence of
updates from the SRC.
In the case of an internal failure at the SRS, the SRS may fail to
recognize a partial update from the SRC. The SRS may be able to
recover from the internal failure by requesting a full metadata
snapshot from the SRC. Certain errors, such as syntax errors or
semantic errors in the metadata information, are likely caused by an
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
error on the SRC side, and it is likely that the same error will
occur again even when a full metadata snapshot is requested. In
order to avoid repeating the same error, the SRS can simply terminate
the RS when a syntax error or semantic error is detected in the
metadata.
The SRS MAY explicitly request a full metadata snapshot by sending an
UPDATE request. This request MUST contain a body with
Content-Disposition type "recording-session" and MUST NOT contain an
SDP body. The SRS MUST NOT request a full metadata snapshot in an
UPDATE response or in any other SIP transaction. The format of the
content is "application/rs-metadata", and the body is an XML
document, the format of which is defined in [<a href="./rfc7865" title=""Session Initiation Protocol (SIP) Recording Metadata"">RFC7865</a>]. Figure 13
shows an example:
UPDATE sip:2000@src.example.com SIP/2.0
Via: SIP/2.0/UDP srs.example.com;branch=z9hG4bKdf6b622b648d9
To: <sip:2000@example.com>;tag=35e195d2-947d-4585-946f-098392474
From: <sip:recorder@example.com>;tag=1234567890
Call-ID: d253c800-b0d1ea39-4a7dd-3f0e20a
CSeq: 1 UPDATE
Max-Forwards: 70
Require: siprec
Contact: <sip:recorder@srs.example.com>;+sip.srs
Accept: application/sdp, application/rs-metadata
Content-Disposition: recording-session
Content-Type: application/rs-metadata
Content-Length: [length]
<?xml version="1.0" encoding="UTF-8"?>
<requestsnapshot xmlns='urn:ietf:params:xml:ns:recording:1'>
<requestreason xml:lang="it">SRS internal error</requestreason>
</requestsnapshot>
Figure 13: Metadata Request
Note that UPDATE was chosen for the SRS to request a metadata
snapshot, because it can be sent regardless of the state of the
dialog. This was seen as better than requiring support for both
UPDATE and re-INVITE messages for this operation.
When the SRC receives a request for a metadata snapshot, it MUST
immediately provide a full metadata snapshot in a separate INVITE or
UPDATE transaction. Any subsequent partial updates will not be
dependent on any metadata sent prior to this full metadata snapshot.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
The metadata received by the SRS can contain ID elements used to
cross-reference one element to another. An element containing the
definition of an ID and an element containing a reference to that ID
will often be received from the same SRC. It is also valid for those
elements to be received from different SRCs -- for example, when each
endpoint in the same CS acts as an SRC to record the call and a
common ID refers to the same CS. The SRS MUST NOT consider this an
error.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. Persistent Recording</span>
Persistent recording is a specific use case addressing REQ-005 in
[<a href="./rfc6341" title=""Use Cases and Requirements for SIP-Based Media Recording (SIPREC)"">RFC6341</a>], where an RS can be established in the absence of a CS.
The SRC continuously records media in an RS to the SRS even in the
absence of a CS for all UAs that are part of persistent recording.
By allocating recorded streams and continuously sending recorded
media to the SRS, the SRC does not have to prepare new recorded
streams with a new SDP offer when a new CS is created and also does
not impact the timing of the CS. The SRC only needs to update the
metadata when new CSs are created.
When there is no CS running on the devices with persistent recording,
there is no recorded media to stream from the SRC to the SRS. In
certain environments where a Network Address Translator (NAT) is
used, a minimum amount of flow activity is typically required to
maintain the NAT binding for each port opened. Agents that support
Interactive Connectivity Establishment (ICE) solve this problem. For
non-ICE agents, in order not to lose the NAT bindings for the
RTP/RTCP ports opened for the recorded streams, the SRC and SRS
SHOULD follow the recommendations provided in [<a href="./rfc6263" title=""Application Mechanism for Keeping Alive the NAT Mappings Associated with RTP / RTP Control Protocol (RTCP) Flows"">RFC6263</a>] to maintain
the NAT bindings.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. IANA Considerations</span>
<span class="h3"><a class="selflink" id="section-11.1" href="#section-11.1">11.1</a>. Registration of Option Tags</span>
This specification registers two option tags. The required
information for this registration, as specified in [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>], is as
follows.
<span class="h4"><a class="selflink" id="section-11.1.1" href="#section-11.1.1">11.1.1</a>. "siprec" Option Tag</span>
Name: siprec
Description: This option tag is for identifying that the SIP session
is for the purpose of an RS. This is typically not used in a
Supported header. When present in a Require header in a request,
it indicates that the UA is either an SRC or SRS capable of
handling an RS.
<span class="h4"><a class="selflink" id="section-11.1.2" href="#section-11.1.2">11.1.2</a>. "record-aware" Option Tag</span>
Name: record-aware
Description: This option tag is to indicate the ability of the UA to
receive recording indicators in media-level or session-level SDP.
When present in a Supported header, it indicates that the UA can
receive recording indicators in media-level or session-level SDP.
<span class="h3"><a class="selflink" id="section-11.2" href="#section-11.2">11.2</a>. Registration of Media Feature Tags</span>
This document registers two new media feature tags in the SIP tree
per the process defined in [<a href="./rfc2506" title=""Media Feature Tag Registration Procedure"">RFC2506</a>] and [<a href="./rfc3840" title=""Indicating User Agent Capabilities in the Session Initiation Protocol (SIP)"">RFC3840</a>].
<span class="h4"><a class="selflink" id="section-11.2.1" href="#section-11.2.1">11.2.1</a>. Feature Tag for the SRC</span>
Media feature tag name: sip.src
ASN.1 Identifier: 1.3.6.1.8.4.27
Summary of the media feature indicated by this tag: This feature tag
indicates that the UA is a Session Recording Client for the
purpose of an RS.
Values appropriate for use with this feature tag: boolean
The feature tag is intended primarily for use in the following
applications, protocols, services, or negotiation mechanisms:
This feature tag is only useful for an RS.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
Examples of typical use: Routing the request to a Session Recording
Server.
Security Considerations: Security considerations for this media
feature tag are discussed in <a href="./rfc3840#section-11.1">Section 11.1 of RFC 3840</a>.
<span class="h4"><a class="selflink" id="section-11.2.2" href="#section-11.2.2">11.2.2</a>. Feature Tag for the SRS</span>
Media feature tag name: sip.srs
ASN.1 Identifier: 1.3.6.1.8.4.28
Summary of the media feature indicated by this tag: This feature tag
indicates that the UA is a Session Recording Server for the
purpose of an RS.
Values appropriate for use with this feature tag: boolean
The feature tag is intended primarily for use in the following
applications, protocols, services, or negotiation mechanisms:
This feature tag is only useful for an RS.
Examples of typical use: Routing the request to a Session Recording
Client.
Security Considerations: Security considerations for this media
feature tag are discussed in <a href="./rfc3840#section-11.1">Section 11.1 of RFC 3840</a>.
<span class="h3"><a class="selflink" id="section-11.3" href="#section-11.3">11.3</a>. New Content-Disposition Parameter Registrations</span>
This document registers a new "disposition-type" value in the
Content-Disposition header: recording-session.
recording-session: The body describes either
* metadata about the RS
or
* the reason for the metadata snapshot request
as determined by the MIME value indicated in the Content-Type.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
<span class="h3"><a class="selflink" id="section-11.4" href="#section-11.4">11.4</a>. SDP Attributes</span>
This document registers the following new SDP attributes.
<span class="h4"><a class="selflink" id="section-11.4.1" href="#section-11.4.1">11.4.1</a>. "record" SDP Attribute</span>
Contact names:
Leon Portman, leon.portman@nice.com;
Henry Lum, henry.lum@genesyslab.com
Attribute name: record
Long-form attribute name: Recording Indication
Type of attribute: session level or media level
Subject to charset: no
This attribute provides the recording indication for the session or
media stream.
Allowed attribute values: on, off, paused
<span class="h4"><a class="selflink" id="section-11.4.2" href="#section-11.4.2">11.4.2</a>. "recordpref" SDP Attribute</span>
Contact names:
Leon Portman, leon.portman@nice.com;
Henry Lum, henry.lum@genesyslab.com
Attribute name: recordpref
Long-form attribute name: Recording Preference
Type of attribute: session level or media level
Subject to charset: no
This attribute provides the recording preference for the session or
media stream.
Allowed attribute values: on, off, pause, nopreference
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a>. Security Considerations</span>
The RS is fundamentally a standard SIP dialog [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>]; therefore,
the RS can reuse any of the existing SIP security mechanisms
available for securing the session signaling, the recorded media, and
the metadata. The use cases and requirements document [<a href="./rfc6341" title=""Use Cases and Requirements for SIP-Based Media Recording (SIPREC)"">RFC6341</a>]
outlines the general security considerations, and this document
describes specific security recommendations.
The SRC and SRS MUST support SIP with Transport Layer Security (TLS)
version 1.2, SHOULD follow the best practices when using TLS as per
[<a href="./rfc7525" title=""Recommendations for Secure Use of Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS)"">RFC7525</a>], and MAY use Session Initiation Protocol Secure (SIPS) with
TLS as per [<a href="./rfc5630" title=""The Use of the SIPS URI Scheme in the Session Initiation Protocol (SIP)"">RFC5630</a>]. The RS MUST be at least as secure as the CS;
this means using at least the same strength of cipher suite as the CS
if the CS is secured. For example, if the CS uses SIPS for signaling
and RTP/SAVP for media, then the RS may not use SIP or plain RTP
unless other equivalent security measures are in effect, since doing
so would mean an effective security downgrade. Examples of other
potentially equivalent security mechanisms include mutually
authenticated TLS for the RS signaling channel or an appropriately
protected network path for the RS media component.
<span class="h3"><a class="selflink" id="section-12.1" href="#section-12.1">12.1</a>. Authentication and Authorization</span>
At the transport level, the RS uses TLS authentication to validate
the authenticity of the SRC and SRS. The SRC and SRS MUST implement
TLS mutual authentication for establishing the RS. Whether the
SRC/SRS chooses to use TLS mutual authentication is a deployment
decision. In deployments where a UA acts as its own SRC, this
requires that the UA have its own certificate as needed for TLS
mutual authentication. In deployments where the SRC and the SRS are
in the same administrative domain and have some other means of
assuring authenticity, the SRC and SRS may choose not to authenticate
each other or to have the SRC authenticate the SRS only. In
deployments where the SRS can be hosted on a different administrative
domain, it is important to perform mutual authentication to ensure
the authenticity of both the SRC and the SRS before transmitting any
recorded media. The risk of not authenticating the SRS is that the
recording may be sent to an entity other than the intended SRS,
allowing a sensitive call recording to be received by an attacker.
On the other hand, the risk of not authenticating the SRC is that an
SRS will accept calls from an unknown SRC and allow potential forgery
of call recordings.
There may be scenarios in which the signaling between the SRC and SRS
is not direct, e.g., a SIP proxy exists between the SRC and the SRS.
In such scenarios, each hop is subject to the TLS mutual
authentication constraint, and transitive trust at each hop is
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
utilized. Additionally, an SRC or SRS may use other existing SIP
mechanisms available, including, but not limited to, Digest
authentication [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>], asserted identity [<a href="./rfc3325" title=""Private Extensions to the Session Initiation Protocol (SIP) for Asserted Identity within Trusted Networks"">RFC3325</a>], and connected
identity [<a href="./rfc4916" title=""Connected Identity in the Session Initiation Protocol (SIP)"">RFC4916</a>].
The SRS may have its own set of recording policies to authorize
recording requests from the SRC. The use of recording policies is
outside the scope of the Session Recording Protocol.
<span class="h3"><a class="selflink" id="section-12.2" href="#section-12.2">12.2</a>. RTP Handling</span>
In many scenarios, it will be critical for the media transported
between the SRC and the SRS to be protected. Media encryption is an
important element in the overall SIPREC solution; therefore, the SRC
and the SRS MUST support RTP/SAVP [<a href="./rfc3711" title=""The Secure Real-time Transport Protocol (SRTP)"">RFC3711</a>] and RTP/SAVPF [<a href="./rfc5124" title=""Extended Secure RTP Profile for Real-time Transport Control Protocol (RTCP)-Based Feedback (RTP/SAVPF)"">RFC5124</a>].
RTP/SAVP and RTP/SAVPF provide media encryption, integrity
protection, replay protection, and a limited form of source
authentication. They do not contain or require a specific keying
mechanism. At a minimum, the SRC and SRS MUST support the SDP
security descriptions key negotiation mechanism [<a href="./rfc4568" title=""Session Description Protocol (SDP) Security Descriptions for Media Streams"">RFC4568</a>]. For cases
in which Datagram Transport Layer Security for Secure RTP (DTLS-SRTP)
is used to encrypt a CS media stream, an SRC may use SRTP Encrypted
Key Transport (EKT) [<a href="#ref-EKT-SRTP" title=""Encrypted Key Transport for Secure RTP"">EKT-SRTP</a>] in order to use SRTP-SDES in the RS
without needing to re-encrypt the media.
Note: When using EKT in this manner, it is possible for
participants in the CS to send traffic that appears to be from
other participants and have this forwarded by the SRC to the SRS
within the RS. If this is a concern (e.g., the RS is intended for
audit or compliance purposes), EKT is not an appropriate choice.
When RTP/SAVP or RTP/SAVPF is used, an SRC can choose to use the same
keys or different keys in the RS than those used in the CS. Some
SRCs are designed to simply replicate RTP packets from a CS media
stream to the SRS, in which case the SRC will use the same key in the
RS as the key used in the CS. In this case, the SRC MUST secure the
SDP containing the keying material in the RS with at least the same
level of security as in the CS. The risk of lowering the level of
security in the RS is that it will effectively become a downgrade
attack on the CS, since the same key is used for both the CS and
the RS.
SRCs that decrypt an encrypted CS media stream and re-encrypt it when
sending it to the SRS MUST use a different key than what is used for
the CS media stream, to ensure that it is not possible for someone
who has the key for the CS media stream to access recorded data they
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
are not authorized to access. In order to maintain a comparable
level of security, the key used in the RS SHOULD be of equivalent
strength to, or greater strength than, that used in the CS.
<span class="h3"><a class="selflink" id="section-12.3" href="#section-12.3">12.3</a>. Metadata</span>
Metadata contains sensitive information, such as the address of
record of the participants and other extension data placed by the
SRC. It is essential to protect the content of the metadata in the
RS. Since metadata is a content type transmitted in SIP signaling,
metadata SHOULD be protected at the transport level by SIPS/TLS.
<span class="h3"><a class="selflink" id="section-12.4" href="#section-12.4">12.4</a>. Storage and Playback</span>
While storage and playback of the call recording are beyond the scope
of this document, it is worthwhile to mention here that it is also
important for the recording storage and playback to provide a level
of security that is comparable to the CS. It would defeat the
purpose of securing both the CS and the RS mentioned in the previous
sections if the recording can be easily played back with a simple,
unsecured HTTP interface without any form of authentication or
authorization.
<span class="h2"><a class="selflink" id="section-13" href="#section-13">13</a>. References</span>
<span class="h3"><a class="selflink" id="section-13.1" href="#section-13.1">13.1</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</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>,
DOI 10.17487/RFC2119, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC2506">RFC2506</a>] Holtman, K., Mutz, A., and T. Hardie, "Media Feature Tag
Registration Procedure", <a href="https://www.rfc-editor.org/bcp/bcp31">BCP 31</a>, <a href="./rfc2506">RFC 2506</a>,
DOI 10.17487/RFC2506, March 1999,
<<a href="http://www.rfc-editor.org/info/rfc2506">http://www.rfc-editor.org/info/rfc2506</a>>.
[<a id="ref-RFC3261">RFC3261</a>] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston,
A., Peterson, J., Sparks, R., Handley, M., and E.
Schooler, "SIP: Session Initiation Protocol", <a href="./rfc3261">RFC 3261</a>,
DOI 10.17487/RFC3261, June 2002,
<<a href="http://www.rfc-editor.org/info/rfc3261">http://www.rfc-editor.org/info/rfc3261</a>>.
[<a id="ref-RFC3264">RFC3264</a>] Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model
with Session Description Protocol (SDP)", <a href="./rfc3264">RFC 3264</a>,
DOI 10.17487/RFC3264, June 2002,
<<a href="http://www.rfc-editor.org/info/rfc3264">http://www.rfc-editor.org/info/rfc3264</a>>.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
[<a id="ref-RFC3550">RFC3550</a>] Schulzrinne, H., Casner, S., Frederick, R., and V.
Jacobson, "RTP: A Transport Protocol for Real-Time
Applications", STD 64, <a href="./rfc3550">RFC 3550</a>, DOI 10.17487/RFC3550,
July 2003, <<a href="http://www.rfc-editor.org/info/rfc3550">http://www.rfc-editor.org/info/rfc3550</a>>.
[<a id="ref-RFC3840">RFC3840</a>] Rosenberg, J., Schulzrinne, H., and P. Kyzivat,
"Indicating User Agent Capabilities in the Session
Initiation Protocol (SIP)", <a href="./rfc3840">RFC 3840</a>,
DOI 10.17487/RFC3840, August 2004,
<<a href="http://www.rfc-editor.org/info/rfc3840">http://www.rfc-editor.org/info/rfc3840</a>>.
[<a id="ref-RFC4574">RFC4574</a>] Levin, O. and G. Camarillo, "The Session Description
Protocol (SDP) Label Attribute", <a href="./rfc4574">RFC 4574</a>,
DOI 10.17487/RFC4574, August 2006,
<<a href="http://www.rfc-editor.org/info/rfc4574">http://www.rfc-editor.org/info/rfc4574</a>>.
[<a id="ref-RFC5234">RFC5234</a>] Crocker, D., Ed., and P. Overell, "Augmented BNF for
Syntax Specifications: ABNF", STD 68, <a href="./rfc5234">RFC 5234</a>,
DOI 10.17487/RFC5234, January 2008,
<<a href="http://www.rfc-editor.org/info/rfc5234">http://www.rfc-editor.org/info/rfc5234</a>>.
[<a id="ref-RFC7245">RFC7245</a>] Hutton, A., Ed., Portman, L., Ed., Jain, R., and K. Rehor,
"An Architecture for Media Recording Using the Session
Initiation Protocol", <a href="./rfc7245">RFC 7245</a>, DOI 10.17487/RFC7245,
May 2014, <<a href="http://www.rfc-editor.org/info/rfc7245">http://www.rfc-editor.org/info/rfc7245</a>>.
[<a id="ref-RFC7865">RFC7865</a>] Ravindranath, R., Ravindran, P., and P. Kyzivat, "Session
Initiation Protocol (SIP) Recording Metadata", <a href="./rfc7865">RFC 7865</a>,
DOI 10.17487/RFC7865, May 2016,
<<a href="http://www.rfc-editor.org/info/rfc7865">http://www.rfc-editor.org/info/rfc7865</a>>.
<span class="h3"><a class="selflink" id="section-13.2" href="#section-13.2">13.2</a>. Informative References</span>
[<a id="ref-EKT-SRTP">EKT-SRTP</a>] Mattsson, J., Ed., McGrew, D., Wing, D., and F. Andreasen,
"Encrypted Key Transport for Secure RTP", Work in
Progress, <a href="./draft-ietf-avtcore-srtp-ekt-03">draft-ietf-avtcore-srtp-ekt-03</a>, October 2014.
[<a id="ref-RFC2804">RFC2804</a>] IAB and IESG, "IETF Policy on Wiretapping", <a href="./rfc2804">RFC 2804</a>,
DOI 10.17487/RFC2804, May 2000,
<<a href="http://www.rfc-editor.org/info/rfc2804">http://www.rfc-editor.org/info/rfc2804</a>>.
[<a id="ref-RFC3311">RFC3311</a>] Rosenberg, J., "The Session Initiation Protocol (SIP)
UPDATE Method", <a href="./rfc3311">RFC 3311</a>, DOI 10.17487/RFC3311,
October 2002, <<a href="http://www.rfc-editor.org/info/rfc3311">http://www.rfc-editor.org/info/rfc3311</a>>.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
[<a id="ref-RFC3325">RFC3325</a>] Jennings, C., Peterson, J., and M. Watson, "Private
Extensions to the Session Initiation Protocol (SIP) for
Asserted Identity within Trusted Networks", <a href="./rfc3325">RFC 3325</a>,
DOI 10.17487/RFC3325, November 2002,
<<a href="http://www.rfc-editor.org/info/rfc3325">http://www.rfc-editor.org/info/rfc3325</a>>.
[<a id="ref-RFC3551">RFC3551</a>] Schulzrinne, H. and S. Casner, "RTP Profile for Audio and
Video Conferences with Minimal Control", STD 65, <a href="./rfc3551">RFC 3551</a>,
DOI 10.17487/RFC3551, July 2003,
<<a href="http://www.rfc-editor.org/info/rfc3551">http://www.rfc-editor.org/info/rfc3551</a>>.
[<a id="ref-RFC3711">RFC3711</a>] Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K.
Norrman, "The Secure Real-time Transport Protocol (SRTP)",
<a href="./rfc3711">RFC 3711</a>, DOI 10.17487/RFC3711, March 2004,
<<a href="http://www.rfc-editor.org/info/rfc3711">http://www.rfc-editor.org/info/rfc3711</a>>.
[<a id="ref-RFC4568">RFC4568</a>] Andreasen, F., Baugher, M., and D. Wing, "Session
Description Protocol (SDP) Security Descriptions for Media
Streams", <a href="./rfc4568">RFC 4568</a>, DOI 10.17487/RFC4568, July 2006,
<<a href="http://www.rfc-editor.org/info/rfc4568">http://www.rfc-editor.org/info/rfc4568</a>>.
[<a id="ref-RFC4585">RFC4585</a>] Ott, J., Wenger, S., Sato, N., Burmeister, C., and J. Rey,
"Extended RTP Profile for Real-time Transport Control
Protocol (RTCP)-Based Feedback (RTP/AVPF)", <a href="./rfc4585">RFC 4585</a>,
DOI 10.17487/RFC4585, July 2006,
<<a href="http://www.rfc-editor.org/info/rfc4585">http://www.rfc-editor.org/info/rfc4585</a>>.
[<a id="ref-RFC4916">RFC4916</a>] Elwell, J., "Connected Identity in the Session Initiation
Protocol (SIP)", <a href="./rfc4916">RFC 4916</a>, DOI 10.17487/RFC4916,
June 2007, <<a href="http://www.rfc-editor.org/info/rfc4916">http://www.rfc-editor.org/info/rfc4916</a>>.
[<a id="ref-RFC4961">RFC4961</a>] Wing, D., "Symmetric RTP / RTP Control Protocol (RTCP)",
<a href="https://www.rfc-editor.org/bcp/bcp131">BCP 131</a>, <a href="./rfc4961">RFC 4961</a>, DOI 10.17487/RFC4961, July 2007,
<<a href="http://www.rfc-editor.org/info/rfc4961">http://www.rfc-editor.org/info/rfc4961</a>>.
[<a id="ref-RFC5104">RFC5104</a>] Wenger, S., Chandra, U., Westerlund, M., and B. Burman,
"Codec Control Messages in the RTP Audio-Visual Profile
with Feedback (AVPF)", <a href="./rfc5104">RFC 5104</a>, DOI 10.17487/RFC5104,
February 2008, <<a href="http://www.rfc-editor.org/info/rfc5104">http://www.rfc-editor.org/info/rfc5104</a>>.
[<a id="ref-RFC5124">RFC5124</a>] Ott, J. and E. Carrara, "Extended Secure RTP Profile for
Real-time Transport Control Protocol (RTCP)-Based Feedback
(RTP/SAVPF)", <a href="./rfc5124">RFC 5124</a>, DOI 10.17487/RFC5124,
February 2008, <<a href="http://www.rfc-editor.org/info/rfc5124">http://www.rfc-editor.org/info/rfc5124</a>>.
[<a id="ref-RFC5168">RFC5168</a>] Levin, O., Even, R., and P. Hagendorf, "XML Schema for
Media Control", <a href="./rfc5168">RFC 5168</a>, DOI 10.17487/RFC5168,
March 2008, <<a href="http://www.rfc-editor.org/info/rfc5168">http://www.rfc-editor.org/info/rfc5168</a>>.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
[<a id="ref-RFC5630">RFC5630</a>] Audet, F., "The Use of the SIPS URI Scheme in the Session
Initiation Protocol (SIP)", <a href="./rfc5630">RFC 5630</a>,
DOI 10.17487/RFC5630, October 2009,
<<a href="http://www.rfc-editor.org/info/rfc5630">http://www.rfc-editor.org/info/rfc5630</a>>.
[<a id="ref-RFC5761">RFC5761</a>] Perkins, C. and M. Westerlund, "Multiplexing RTP Data and
Control Packets on a Single Port", <a href="./rfc5761">RFC 5761</a>,
DOI 10.17487/RFC5761, April 2010,
<<a href="http://www.rfc-editor.org/info/rfc5761">http://www.rfc-editor.org/info/rfc5761</a>>.
[<a id="ref-RFC6263">RFC6263</a>] Marjou, X. and A. Sollaud, "Application Mechanism for
Keeping Alive the NAT Mappings Associated with RTP / RTP
Control Protocol (RTCP) Flows", <a href="./rfc6263">RFC 6263</a>,
DOI 10.17487/RFC6263, June 2011,
<<a href="http://www.rfc-editor.org/info/rfc6263">http://www.rfc-editor.org/info/rfc6263</a>>.
[<a id="ref-RFC6341">RFC6341</a>] Rehor, K., Ed., Portman, L., Ed., Hutton, A., and R. Jain,
"Use Cases and Requirements for SIP-Based Media Recording
(SIPREC)", <a href="./rfc6341">RFC 6341</a>, DOI 10.17487/RFC6341, August 2011,
<<a href="http://www.rfc-editor.org/info/rfc6341">http://www.rfc-editor.org/info/rfc6341</a>>.
[<a id="ref-RFC7022">RFC7022</a>] Begen, A., Perkins, C., Wing, D., and E. Rescorla,
"Guidelines for Choosing RTP Control Protocol (RTCP)
Canonical Names (CNAMEs)", <a href="./rfc7022">RFC 7022</a>, DOI 10.17487/RFC7022,
September 2013, <<a href="http://www.rfc-editor.org/info/rfc7022">http://www.rfc-editor.org/info/rfc7022</a>>.
[<a id="ref-RFC7525">RFC7525</a>] Sheffer, Y., Holz, R., and P. Saint-Andre,
"Recommendations for Secure Use of Transport Layer
Security (TLS) and Datagram Transport Layer Security
(DTLS)", <a href="https://www.rfc-editor.org/bcp/bcp195">BCP 195</a>, <a href="./rfc7525">RFC 7525</a>, DOI 10.17487/RFC7525,
May 2015, <<a href="http://www.rfc-editor.org/info/rfc7525">http://www.rfc-editor.org/info/rfc7525</a>>.
Acknowledgements
We want to thank John Elwell, Paul Kyzivat, Partharsarathi R, Ram
Mohan R, Hadriel Kaplan, Adam Roach, Miguel Garcia, Thomas Stach,
Muthu Perumal, Dan Wing, and Magnus Westerlund for their valuable
comments and inputs to this document.
<span class="grey">Portman, 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="./rfc7866">RFC 7866</a> Session Recording Protocol May 2016</span>
Authors' Addresses
Leon Portman
NICE Systems
22 Zarhin Street
P.O. Box 690
Ra'anana 4310602
Israel
Email: leon.portman@gmail.com
Henry Lum (editor)
Genesys
1380 Rodick Road, Suite 201
Markham, Ontario L3R4G5
Canada
Email: henry.lum@genesyslab.com
Charles Eckel
Cisco
170 West Tasman Drive
San Jose, CA 95134
United States
Email: eckelcu@cisco.com
Alan Johnston
Illinois Institute of Technology
Bellevue, WA
United States
Email: alan.b.johnston@gmail.com
Andrew Hutton
Unify
Brickhill Street
Milton Keynes MK15 0DJ
United Kingdom
Email: andrew.hutton@unify.com
Portman, et al. Standards Track [Page 45]
</pre>
|