1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861
|
<!DOCTYPE html>
<html lang="en" class="RFC">
<head>
<meta charset="utf-8">
<meta content="Common,Latin" name="scripts">
<meta content="initial-scale=1.0" name="viewport">
<title>RFC 9071: RTP-Mixer Formatting of Multiparty Real-Time Text</title>
<meta content="Gunnar Hellström" name="author">
<meta content='
This document provides enhancements of real-time text (as specified in RFC 4103) suitable for mixing in a centralized conference model, enabling source identification and rapidly
interleaved transmission of text from different sources. The intended use is for real-time text mixers and participant endpoints capable of providing an efficient presentation or other treatment of a multiparty real-time text session. The specified mechanism builds on the standard use of the Contributing Source (CSRC) list in the Real-time Transport Protocol (RTP) packet for source identification. The method makes use of the same "text/t140" and "text/red" formats as for two-party sessions.
Solutions using multiple RTP streams in the same RTP session are briefly mentioned, as they could have some benefits over the RTP-mixer model. The RTP-mixer model was selected to be used for the fully specified solution in this document because it can be applied to a wide range of existing RTP implementations.
A capability exchange is specified so that it can be verified that a mixer and a participant can handle the multiparty-coded real-time text stream using the RTP-mixer method. The capability is indicated by the use of a Session Description Protocol (SDP) (RFC 8866) media attribute, "rtt-mixer".
This document updates RFC 4103 ("RTP Payload for Text Conversation").
A specification for how a mixer can format text for the case when the endpoint is not multiparty aware is also provided.
' name="description">
<meta content="xml2rfc 3.9.1" name="generator">
<meta content="conference" name="keyword">
<meta content="bridge" name="keyword">
<meta content="SIP" name="keyword">
<meta content="9071" name="rfc.number">
<!-- Generator version information:
xml2rfc 3.9.1
Python 3.6.10
appdirs 1.4.4
ConfigArgParse 1.2.3
google-i18n-address 2.3.5
html5lib 1.0.1
intervaltree 3.0.2
Jinja2 2.11.2
kitchen 1.2.6
lxml 4.4.2
pycairo 1.19.0
pycountry 19.8.18
pyflakes 2.1.1
PyYAML 5.3.1
requests 2.22.0
setuptools 40.6.2
six 1.14.0
WeasyPrint 51
-->
<link href="rfc9071.xml" rel="alternate" type="application/rfc+xml">
<link href="#copyright" rel="license">
<style type="text/css">/*
NOTE: Changes at the bottom of this file overrides some earlier settings.
Once the style has stabilized and has been adopted as an official RFC style,
this can be consolidated so that style settings occur only in one place, but
for now the contents of this file consists first of the initial CSS work as
provided to the RFC Formatter (xml2rfc) work, followed by itemized and
commented changes found necssary during the development of the v3
formatters.
*/
/* fonts */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans'); /* Sans-serif */
@import url('https://fonts.googleapis.com/css?family=Noto+Serif'); /* Serif (print) */
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono'); /* Monospace */
@viewport {
zoom: 1.0;
width: extend-to-zoom;
}
@-ms-viewport {
width: extend-to-zoom;
zoom: 1.0;
}
/* general and mobile first */
html {
}
body {
max-width: 90%;
margin: 1.5em auto;
color: #222;
background-color: #fff;
font-size: 14px;
font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
line-height: 1.6;
scroll-behavior: smooth;
}
.ears {
display: none;
}
/* headings */
#title, h1, h2, h3, h4, h5, h6 {
margin: 1em 0 0.5em;
font-weight: bold;
line-height: 1.3;
}
#title {
clear: both;
border-bottom: 1px solid #ddd;
margin: 0 0 0.5em 0;
padding: 1em 0 0.5em;
}
.author {
padding-bottom: 4px;
}
h1 {
font-size: 26px;
margin: 1em 0;
}
h2 {
font-size: 22px;
margin-top: -20px; /* provide offset for in-page anchors */
padding-top: 33px;
}
h3 {
font-size: 18px;
margin-top: -36px; /* provide offset for in-page anchors */
padding-top: 42px;
}
h4 {
font-size: 16px;
margin-top: -36px; /* provide offset for in-page anchors */
padding-top: 42px;
}
h5, h6 {
font-size: 14px;
}
#n-copyright-notice {
border-bottom: 1px solid #ddd;
padding-bottom: 1em;
margin-bottom: 1em;
}
/* general structure */
p {
padding: 0;
margin: 0 0 1em 0;
text-align: left;
}
div, span {
position: relative;
}
div {
margin: 0;
}
.alignRight.art-text {
background-color: #f9f9f9;
border: 1px solid #eee;
border-radius: 3px;
padding: 1em 1em 0;
margin-bottom: 1.5em;
}
.alignRight.art-text pre {
padding: 0;
}
.alignRight {
margin: 1em 0;
}
.alignRight > *:first-child {
border: none;
margin: 0;
float: right;
clear: both;
}
.alignRight > *:nth-child(2) {
clear: both;
display: block;
border: none;
}
svg {
display: block;
}
.alignCenter.art-text {
background-color: #f9f9f9;
border: 1px solid #eee;
border-radius: 3px;
padding: 1em 1em 0;
margin-bottom: 1.5em;
}
.alignCenter.art-text pre {
padding: 0;
}
.alignCenter {
margin: 1em 0;
}
.alignCenter > *:first-child {
border: none;
/* this isn't optimal, but it's an existence proof. PrinceXML doesn't
support flexbox yet.
*/
display: table;
margin: 0 auto;
}
/* lists */
ol, ul {
padding: 0;
margin: 0 0 1em 2em;
}
ol ol, ul ul, ol ul, ul ol {
margin-left: 1em;
}
li {
margin: 0 0 0.25em 0;
}
.ulCompact li {
margin: 0;
}
ul.empty, .ulEmpty {
list-style-type: none;
}
ul.empty li, .ulEmpty li {
margin-top: 0.5em;
}
ul.ulBare, li.ulBare {
margin-left: 0em !important;
}
ul.compact, .ulCompact,
ol.compact, .olCompact {
line-height: 100%;
margin: 0 0 0 2em;
}
/* definition lists */
dl {
}
dl > dt {
float: left;
margin-right: 1em;
}
/*
dl.nohang > dt {
float: none;
}
*/
dl > dd {
margin-bottom: .8em;
min-height: 1.3em;
}
dl.compact > dd, .dlCompact > dd {
margin-bottom: 0em;
}
dl > dd > dl {
margin-top: 0.5em;
margin-bottom: 0em;
}
/* links */
a {
text-decoration: none;
}
a[href] {
color: #22e; /* Arlen: WCAG 2019 */
}
a[href]:hover {
background-color: #f2f2f2;
}
figcaption a[href],
a[href].selfRef {
color: #222;
}
/* XXX probably not this:
a.selfRef:hover {
background-color: transparent;
cursor: default;
} */
/* Figures */
tt, code, pre, code {
background-color: #f9f9f9;
font-family: 'Roboto Mono', monospace;
}
pre {
border: 1px solid #eee;
margin: 0;
padding: 1em;
}
img {
max-width: 100%;
}
figure {
margin: 0;
}
figure blockquote {
margin: 0.8em 0.4em 0.4em;
}
figcaption {
font-style: italic;
margin: 0 0 1em 0;
}
@media screen {
pre {
overflow-x: auto;
max-width: 100%;
max-width: calc(100% - 22px);
}
}
/* aside, blockquote */
aside, blockquote {
margin-left: 0;
padding: 1.2em 2em;
}
blockquote {
background-color: #f9f9f9;
color: #111; /* Arlen: WCAG 2019 */
border: 1px solid #ddd;
border-radius: 3px;
margin: 1em 0;
}
cite {
display: block;
text-align: right;
font-style: italic;
}
/* tables */
table {
width: 100%;
margin: 0 0 1em;
border-collapse: collapse;
border: 1px solid #eee;
}
th, td {
text-align: left;
vertical-align: top;
padding: 0.5em 0.75em;
}
th {
text-align: left;
background-color: #e9e9e9;
}
tr:nth-child(2n+1) > td {
background-color: #f5f5f5;
}
table caption {
font-style: italic;
margin: 0;
padding: 0;
text-align: left;
}
table p {
/* XXX to avoid bottom margin on table row signifiers. If paragraphs should
be allowed within tables more generally, it would be far better to select on a class. */
margin: 0;
}
/* pilcrow */
a.pilcrow {
color: #666; /* Arlen: AHDJ 2019 */
text-decoration: none;
visibility: hidden;
user-select: none;
-ms-user-select: none;
-o-user-select:none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-webkit-touch-callout: none;
}
@media screen {
aside:hover > a.pilcrow,
p:hover > a.pilcrow,
blockquote:hover > a.pilcrow,
div:hover > a.pilcrow,
li:hover > a.pilcrow,
pre:hover > a.pilcrow {
visibility: visible;
}
a.pilcrow:hover {
background-color: transparent;
}
}
/* misc */
hr {
border: 0;
border-top: 1px solid #eee;
}
.bcp14 {
font-variant: small-caps;
}
.role {
font-variant: all-small-caps;
}
/* info block */
#identifiers {
margin: 0;
font-size: 0.9em;
}
#identifiers dt {
width: 3em;
clear: left;
}
#identifiers dd {
float: left;
margin-bottom: 0;
}
#identifiers .authors .author {
display: inline-block;
margin-right: 1.5em;
}
#identifiers .authors .org {
font-style: italic;
}
/* The prepared/rendered info at the very bottom of the page */
.docInfo {
color: #666; /* Arlen: WCAG 2019 */
font-size: 0.9em;
font-style: italic;
margin-top: 2em;
}
.docInfo .prepared {
float: left;
}
.docInfo .prepared {
float: right;
}
/* table of contents */
#toc {
padding: 0.75em 0 2em 0;
margin-bottom: 1em;
}
nav.toc ul {
margin: 0 0.5em 0 0;
padding: 0;
list-style: none;
}
nav.toc li {
line-height: 1.3em;
margin: 0.75em 0;
padding-left: 1.2em;
text-indent: -1.2em;
}
/* references */
.references dt {
text-align: right;
font-weight: bold;
min-width: 7em;
}
.references dd {
margin-left: 8em;
overflow: auto;
}
.refInstance {
margin-bottom: 1.25em;
}
.references .ascii {
margin-bottom: 0.25em;
}
/* index */
.index ul {
margin: 0 0 0 1em;
padding: 0;
list-style: none;
}
.index ul ul {
margin: 0;
}
.index li {
margin: 0;
text-indent: -2em;
padding-left: 2em;
padding-bottom: 5px;
}
.indexIndex {
margin: 0.5em 0 1em;
}
.index a {
font-weight: 700;
}
/* make the index two-column on all but the smallest screens */
@media (min-width: 600px) {
.index ul {
-moz-column-count: 2;
-moz-column-gap: 20px;
}
.index ul ul {
-moz-column-count: 1;
-moz-column-gap: 0;
}
}
/* authors */
address.vcard {
font-style: normal;
margin: 1em 0;
}
address.vcard .nameRole {
font-weight: 700;
margin-left: 0;
}
address.vcard .label {
font-family: "Noto Sans",Arial,Helvetica,sans-serif;
margin: 0.5em 0;
}
address.vcard .type {
display: none;
}
.alternative-contact {
margin: 1.5em 0 1em;
}
hr.addr {
border-top: 1px dashed;
margin: 0;
color: #ddd;
max-width: calc(100% - 16px);
}
/* temporary notes */
.rfcEditorRemove::before {
position: absolute;
top: 0.2em;
right: 0.2em;
padding: 0.2em;
content: "The RFC Editor will remove this note";
color: #9e2a00; /* Arlen: WCAG 2019 */
background-color: #ffd; /* Arlen: WCAG 2019 */
}
.rfcEditorRemove {
position: relative;
padding-top: 1.8em;
background-color: #ffd; /* Arlen: WCAG 2019 */
border-radius: 3px;
}
.cref {
background-color: #ffd; /* Arlen: WCAG 2019 */
padding: 2px 4px;
}
.crefSource {
font-style: italic;
}
/* alternative layout for smaller screens */
@media screen and (max-width: 1023px) {
body {
padding-top: 2em;
}
#title {
padding: 1em 0;
}
h1 {
font-size: 24px;
}
h2 {
font-size: 20px;
margin-top: -18px; /* provide offset for in-page anchors */
padding-top: 38px;
}
#identifiers dd {
max-width: 60%;
}
#toc {
position: fixed;
z-index: 2;
top: 0;
right: 0;
padding: 0;
margin: 0;
background-color: inherit;
border-bottom: 1px solid #ccc;
}
#toc h2 {
margin: -1px 0 0 0;
padding: 4px 0 4px 6px;
padding-right: 1em;
min-width: 190px;
font-size: 1.1em;
text-align: right;
background-color: #444;
color: white;
cursor: pointer;
}
#toc h2::before { /* css hamburger */
float: right;
position: relative;
width: 1em;
height: 1px;
left: -164px;
margin: 6px 0 0 0;
background: white none repeat scroll 0 0;
box-shadow: 0 4px 0 0 white, 0 8px 0 0 white;
content: "";
}
#toc nav {
display: none;
padding: 0.5em 1em 1em;
overflow: auto;
height: calc(100vh - 48px);
border-left: 1px solid #ddd;
}
}
/* alternative layout for wide screens */
@media screen and (min-width: 1024px) {
body {
max-width: 724px;
margin: 42px auto;
padding-left: 1.5em;
padding-right: 29em;
}
#toc {
position: fixed;
top: 42px;
right: 42px;
width: 25%;
margin: 0;
padding: 0 1em;
z-index: 1;
}
#toc h2 {
border-top: none;
border-bottom: 1px solid #ddd;
font-size: 1em;
font-weight: normal;
margin: 0;
padding: 0.25em 1em 1em 0;
}
#toc nav {
display: block;
height: calc(90vh - 84px);
bottom: 0;
padding: 0.5em 0 0;
overflow: auto;
}
img { /* future proofing */
max-width: 100%;
height: auto;
}
}
/* pagination */
@media print {
body {
width: 100%;
}
p {
orphans: 3;
widows: 3;
}
#n-copyright-notice {
border-bottom: none;
}
#toc, #n-introduction {
page-break-before: always;
}
#toc {
border-top: none;
padding-top: 0;
}
figure, pre {
page-break-inside: avoid;
}
figure {
overflow: scroll;
}
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
}
h2+*, h3+*, h4+*, h5+*, h6+* {
page-break-before: avoid;
}
pre {
white-space: pre-wrap;
word-wrap: break-word;
font-size: 10pt;
}
table {
border: 1px solid #ddd;
}
td {
border-top: 1px solid #ddd;
}
}
/* This is commented out here, as the string-set: doesn't
pass W3C validation currently */
/*
.ears thead .left {
string-set: ears-top-left content();
}
.ears thead .center {
string-set: ears-top-center content();
}
.ears thead .right {
string-set: ears-top-right content();
}
.ears tfoot .left {
string-set: ears-bottom-left content();
}
.ears tfoot .center {
string-set: ears-bottom-center content();
}
.ears tfoot .right {
string-set: ears-bottom-right content();
}
*/
@page :first {
padding-top: 0;
@top-left {
content: normal;
border: none;
}
@top-center {
content: normal;
border: none;
}
@top-right {
content: normal;
border: none;
}
}
@page {
size: A4;
margin-bottom: 45mm;
padding-top: 20px;
/* The follwing is commented out here, but set appropriately by in code, as
the content depends on the document */
/*
@top-left {
content: 'Internet-Draft';
vertical-align: bottom;
border-bottom: solid 1px #ccc;
}
@top-left {
content: string(ears-top-left);
vertical-align: bottom;
border-bottom: solid 1px #ccc;
}
@top-center {
content: string(ears-top-center);
vertical-align: bottom;
border-bottom: solid 1px #ccc;
}
@top-right {
content: string(ears-top-right);
vertical-align: bottom;
border-bottom: solid 1px #ccc;
}
@bottom-left {
content: string(ears-bottom-left);
vertical-align: top;
border-top: solid 1px #ccc;
}
@bottom-center {
content: string(ears-bottom-center);
vertical-align: top;
border-top: solid 1px #ccc;
}
@bottom-right {
content: '[Page ' counter(page) ']';
vertical-align: top;
border-top: solid 1px #ccc;
}
*/
}
/* Changes introduced to fix issues found during implementation */
/* Make sure links are clickable even if overlapped by following H* */
a {
z-index: 2;
}
/* Separate body from document info even without intervening H1 */
section {
clear: both;
}
/* Top align author divs, to avoid names without organization dropping level with org names */
.author {
vertical-align: top;
}
/* Leave room in document info to show Internet-Draft on one line */
#identifiers dt {
width: 8em;
}
/* Don't waste quite as much whitespace between label and value in doc info */
#identifiers dd {
margin-left: 1em;
}
/* Give floating toc a background color (needed when it's a div inside section */
#toc {
background-color: white;
}
/* Make the collapsed ToC header render white on gray also when it's a link */
@media screen and (max-width: 1023px) {
#toc h2 a,
#toc h2 a:link,
#toc h2 a:focus,
#toc h2 a:hover,
#toc a.toplink,
#toc a.toplink:hover {
color: white;
background-color: #444;
text-decoration: none;
}
}
/* Give the bottom of the ToC some whitespace */
@media screen and (min-width: 1024px) {
#toc {
padding: 0 0 1em 1em;
}
}
/* Style section numbers with more space between number and title */
.section-number {
padding-right: 0.5em;
}
/* prevent monospace from becoming overly large */
tt, code, pre, code {
font-size: 95%;
}
/* Fix the height/width aspect for ascii art*/
pre.sourcecode,
.art-text pre {
line-height: 1.12;
}
/* Add styling for a link in the ToC that points to the top of the document */
a.toplink {
float: right;
margin-right: 0.5em;
}
/* Fix the dl styling to match the RFC 7992 attributes */
dl > dt,
dl.dlParallel > dt {
float: left;
margin-right: 1em;
}
dl.dlNewline > dt {
float: none;
}
/* Provide styling for table cell text alignment */
table td.text-left,
table th.text-left {
text-align: left;
}
table td.text-center,
table th.text-center {
text-align: center;
}
table td.text-right,
table th.text-right {
text-align: right;
}
/* Make the alternative author contact informatio look less like just another
author, and group it closer with the primary author contact information */
.alternative-contact {
margin: 0.5em 0 0.25em 0;
}
address .non-ascii {
margin: 0 0 0 2em;
}
/* With it being possible to set tables with alignment
left, center, and right, { width: 100%; } does not make sense */
table {
width: auto;
}
/* Avoid reference text that sits in a block with very wide left margin,
because of a long floating dt label.*/
.references dd {
overflow: visible;
}
/* Control caption placement */
caption {
caption-side: bottom;
}
/* Limit the width of the author address vcard, so names in right-to-left
script don't end up on the other side of the page. */
address.vcard {
max-width: 30em;
margin-right: auto;
}
/* For address alignment dependent on LTR or RTL scripts */
address div.left {
text-align: left;
}
address div.right {
text-align: right;
}
/* Provide table alignment support. We can't use the alignX classes above
since they do unwanted things with caption and other styling. */
table.right {
margin-left: auto;
margin-right: 0;
}
table.center {
margin-left: auto;
margin-right: auto;
}
table.left {
margin-left: 0;
margin-right: auto;
}
/* Give the table caption label the same styling as the figcaption */
caption a[href] {
color: #222;
}
@media print {
.toplink {
display: none;
}
/* avoid overwriting the top border line with the ToC header */
#toc {
padding-top: 1px;
}
/* Avoid page breaks inside dl and author address entries */
.vcard {
page-break-inside: avoid;
}
}
/* Tweak the bcp14 keyword presentation */
.bcp14 {
font-variant: small-caps;
font-weight: bold;
font-size: 0.9em;
}
/* Tweak the invisible space above H* in order not to overlay links in text above */
h2 {
margin-top: -18px; /* provide offset for in-page anchors */
padding-top: 31px;
}
h3 {
margin-top: -18px; /* provide offset for in-page anchors */
padding-top: 24px;
}
h4 {
margin-top: -18px; /* provide offset for in-page anchors */
padding-top: 24px;
}
/* Float artwork pilcrow to the right */
@media screen {
.artwork a.pilcrow {
display: block;
line-height: 0.7;
margin-top: 0.15em;
}
}
/* Make pilcrows on dd visible */
@media screen {
dd:hover > a.pilcrow {
visibility: visible;
}
}
/* Make the placement of figcaption match that of a table's caption
by removing the figure's added bottom margin */
.alignLeft.art-text,
.alignCenter.art-text,
.alignRight.art-text {
margin-bottom: 0;
}
.alignLeft,
.alignCenter,
.alignRight {
margin: 1em 0 0 0;
}
/* In print, the pilcrow won't show on hover, so prevent it from taking up space,
possibly even requiring a new line */
@media print {
a.pilcrow {
display: none;
}
}
/* Styling for the external metadata */
div#external-metadata {
background-color: #eee;
padding: 0.5em;
margin-bottom: 0.5em;
display: none;
}
div#internal-metadata {
padding: 0.5em; /* to match the external-metadata padding */
}
/* Styling for title RFC Number */
h1#rfcnum {
clear: both;
margin: 0 0 -1em;
padding: 1em 0 0 0;
}
/* Make .olPercent look the same as <ol><li> */
dl.olPercent > dd {
margin-bottom: 0.25em;
min-height: initial;
}
/* Give aside some styling to set it apart */
aside {
border-left: 1px solid #ddd;
margin: 1em 0 1em 2em;
padding: 0.2em 2em;
}
aside > dl,
aside > ol,
aside > ul,
aside > table,
aside > p {
margin-bottom: 0.5em;
}
/* Additional page break settings */
@media print {
figcaption, table caption {
page-break-before: avoid;
}
}
/* Font size adjustments for print */
@media print {
body { font-size: 10pt; line-height: normal; max-width: 96%; }
h1 { font-size: 1.72em; padding-top: 1.5em; } /* 1*1.2*1.2*1.2 */
h2 { font-size: 1.44em; padding-top: 1.5em; } /* 1*1.2*1.2 */
h3 { font-size: 1.2em; padding-top: 1.5em; } /* 1*1.2 */
h4 { font-size: 1em; padding-top: 1.5em; }
h5, h6 { font-size: 1em; margin: initial; padding: 0.5em 0 0.3em; }
}
/* Sourcecode margin in print, when there's no pilcrow */
@media print {
.artwork,
.sourcecode {
margin-bottom: 1em;
}
}
/* Avoid narrow tables forcing too narrow table captions, which may render badly */
table {
min-width: 20em;
}
/* ol type a */
ol.type-a { list-style-type: lower-alpha; }
ol.type-A { list-style-type: upper-alpha; }
ol.type-i { list-style-type: lower-roman; }
ol.type-I { list-style-type: lower-roman; }
/* Apply the print table and row borders in general, on request from the RPC,
and increase the contrast between border and odd row background sligthtly */
table {
border: 1px solid #ddd;
}
td {
border-top: 1px solid #ddd;
}
tr:nth-child(2n+1) > td {
background-color: #f8f8f8;
}
/* Use style rules to govern display of the TOC. */
@media screen and (max-width: 1023px) {
#toc nav { display: none; }
#toc.active nav { display: block; }
}
/* Add support for keepWithNext */
.keepWithNext {
break-after: avoid-page;
break-after: avoid-page;
}
/* Add support for keepWithPrevious */
.keepWithPrevious {
break-before: avoid-page;
}
/* Change the approach to avoiding breaks inside artwork etc. */
figure, pre, table, .artwork, .sourcecode {
break-before: avoid-page;
break-after: auto;
}
/* Avoid breaks between <dt> and <dd> */
dl {
break-before: auto;
break-inside: auto;
}
dt {
break-before: auto;
break-after: avoid-page;
}
dd {
break-before: avoid-page;
break-after: auto;
orphans: 3;
widows: 3
}
span.break, dd.break {
margin-bottom: 0;
min-height: 0;
break-before: auto;
break-inside: auto;
break-after: auto;
}
/* Undo break-before ToC */
@media print {
#toc {
break-before: auto;
}
}
/* Text in compact lists should not get extra bottim margin space,
since that would makes the list not compact */
ul.compact p, .ulCompact p,
ol.compact p, .olCompact p {
margin: 0;
}
/* But the list as a whole needs the extra space at the end */
section ul.compact,
section .ulCompact,
section ol.compact,
section .olCompact {
margin-bottom: 1em; /* same as p not within ul.compact etc. */
}
/* The tt and code background above interferes with for instance table cell
backgrounds. Changed to something a bit more selective. */
tt, code {
background-color: transparent;
}
p tt, p code, li tt, li code {
background-color: #f8f8f8;
}
/* Tweak the pre margin -- 0px doesn't come out well */
pre {
margin-top: 0.5px;
}
/* Tweak the comact list text */
ul.compact, .ulCompact,
ol.compact, .olCompact,
dl.compact, .dlCompact {
line-height: normal;
}
/* Don't add top margin for nested lists */
li > ul, li > ol, li > dl,
dd > ul, dd > ol, dd > dl,
dl > dd > dl {
margin-top: initial;
}
/* Elements that should not be rendered on the same line as a <dt> */
/* This should match the element list in writer.text.TextWriter.render_dl() */
dd > div.artwork:first-child,
dd > aside:first-child,
dd > figure:first-child,
dd > ol:first-child,
dd > div:first-child > pre.sourcecode,
dd > table:first-child,
dd > ul:first-child {
clear: left;
}
/* fix for weird browser behaviour when <dd/> is empty */
dt+dd:empty::before{
content: "\00a0";
}
/* Make paragraph spacing inside <li> smaller than in body text, to fit better within the list */
li > p {
margin-bottom: 0.5em
}
/* Don't let p margin spill out from inside list items */
li > p:last-of-type {
margin-bottom: 0;
}
</style>
<link href="rfc-local.css" rel="stylesheet" type="text/css">
<link href="https://dx.doi.org/10.17487/rfc9071" rel="alternate">
<link href="urn:issn:2070-1721" rel="alternate">
<link href="https://datatracker.ietf.org/doc/draft-ietf-avtcore-multi-party-rtt-mix-20" rel="prev">
</head>
<body>
<script src="https://www.rfc-editor.org/js/metadata.min.js"></script>
<table class="ears">
<thead><tr>
<td class="left">RFC 9071</td>
<td class="center">RTP-Mixer Format for Multiparty RTT</td>
<td class="right">July 2021</td>
</tr></thead>
<tfoot><tr>
<td class="left">Hellström</td>
<td class="center">Standards Track</td>
<td class="right">[Page]</td>
</tr></tfoot>
</table>
<div id="external-metadata" class="document-information"></div>
<div id="internal-metadata" class="document-information">
<dl id="identifiers">
<dt class="label-stream">Stream:</dt>
<dd class="stream">Internet Engineering Task Force (IETF)</dd>
<dt class="label-rfc">RFC:</dt>
<dd class="rfc"><a href="https://www.rfc-editor.org/rfc/rfc9071" class="eref">9071</a></dd>
<dt class="label-updates">Updates:</dt>
<dd class="updates">
<a href="https://www.rfc-editor.org/rfc/rfc4103" class="eref">4103</a> </dd>
<dt class="label-category">Category:</dt>
<dd class="category">Standards Track</dd>
<dt class="label-published">Published:</dt>
<dd class="published">
<time datetime="2021-07" class="published">July 2021</time>
</dd>
<dt class="label-issn">ISSN:</dt>
<dd class="issn">2070-1721</dd>
<dt class="label-authors">Author:</dt>
<dd class="authors">
<div class="author">
<div class="author-name">G. Hellström</div>
<div class="org">GHAccess</div>
</div>
</dd>
</dl>
</div>
<h1 id="rfcnum">RFC 9071</h1>
<h1 id="title">RTP-Mixer Formatting of Multiparty Real-Time Text</h1>
<section id="section-abstract">
<h2 id="abstract"><a href="#abstract" class="selfRef">Abstract</a></h2>
<p id="section-abstract-1">
This document provides enhancements of real-time text (as specified in RFC 4103) suitable for mixing in a centralized conference model, enabling source identification and rapidly
interleaved transmission of text from different sources. The intended use is for real-time text mixers and participant endpoints capable of providing an efficient presentation or other treatment of a multiparty real-time text session. The specified mechanism builds on the standard use of the Contributing Source (CSRC) list in the Real-time Transport Protocol (RTP) packet for source identification. The method makes use of the same "text/t140" and "text/red" formats as for two-party sessions.<a href="#section-abstract-1" class="pilcrow">¶</a></p>
<p id="section-abstract-2">
Solutions using multiple RTP streams in the same RTP session are briefly mentioned, as they could have some benefits over the RTP-mixer model. The RTP-mixer model was selected to be used for the fully specified solution in this document because it can be applied to a wide range of existing RTP implementations.<a href="#section-abstract-2" class="pilcrow">¶</a></p>
<p id="section-abstract-3">
A capability exchange is specified so that it can be verified that a mixer and a participant can handle the multiparty-coded real-time text stream using the RTP-mixer method. The capability is indicated by the use of a Session Description Protocol (SDP) (RFC 8866) media attribute, "rtt-mixer".<a href="#section-abstract-3" class="pilcrow">¶</a></p>
<p id="section-abstract-4">
This document updates RFC 4103 ("RTP Payload for Text Conversation").<a href="#section-abstract-4" class="pilcrow">¶</a></p>
<p id="section-abstract-5">
A specification for how a mixer can format text for the case when the endpoint is not multiparty aware is also provided.<a href="#section-abstract-5" class="pilcrow">¶</a></p>
</section>
<div id="status-of-memo">
<section id="section-boilerplate.1">
<h2 id="name-status-of-this-memo">
<a href="#name-status-of-this-memo" class="section-name selfRef">Status of This Memo</a>
</h2>
<p id="section-boilerplate.1-1">
This is an Internet Standards Track document.<a href="#section-boilerplate.1-1" class="pilcrow">¶</a></p>
<p id="section-boilerplate.1-2">
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by
the Internet Engineering Steering Group (IESG). Further
information on Internet Standards is available in Section 2 of
RFC 7841.<a href="#section-boilerplate.1-2" class="pilcrow">¶</a></p>
<p id="section-boilerplate.1-3">
Information about the current status of this document, any
errata, and how to provide feedback on it may be obtained at
<span><a href="https://www.rfc-editor.org/info/rfc9071">https://www.rfc-editor.org/info/rfc9071</a></span>.<a href="#section-boilerplate.1-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="copyright">
<section id="section-boilerplate.2">
<h2 id="name-copyright-notice">
<a href="#name-copyright-notice" class="section-name selfRef">Copyright Notice</a>
</h2>
<p id="section-boilerplate.2-1">
Copyright (c) 2021 IETF Trust and the persons identified as the
document authors. All rights reserved.<a href="#section-boilerplate.2-1" class="pilcrow">¶</a></p>
<p id="section-boilerplate.2-2">
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<span><a href="https://trustee.ietf.org/license-info">https://trustee.ietf.org/license-info</a></span>) 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.<a href="#section-boilerplate.2-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="toc">
<section id="section-toc.1">
<a href="#" onclick="scroll(0,0)" class="toplink">▲</a><h2 id="name-table-of-contents">
<a href="#name-table-of-contents" class="section-name selfRef">Table of Contents</a>
</h2>
<nav class="toc"><ul class="toc ulBare compact ulEmpty">
<li class="toc ulBare compact ulEmpty" id="section-toc.1-1.1">
<p id="section-toc.1-1.1.1"><a href="#section-1" class="xref">1</a>. <a href="#name-introduction" class="xref">Introduction</a></p>
<ul class="toc ulBare ulEmpty compact">
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.1.2.1">
<p id="section-toc.1-1.1.2.1.1" class="keepWithNext"><a href="#section-1.1" class="xref">1.1</a>. <a href="#name-terminology" class="xref">Terminology</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.1.2.2">
<p id="section-toc.1-1.1.2.2.1" class="keepWithNext"><a href="#section-1.2" class="xref">1.2</a>. <a href="#name-main-method-fallback-method" class="xref">Main Method, Fallback Method, and Considered
Alternatives</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.1.2.3">
<p id="section-toc.1-1.1.2.3.1" class="keepWithNext"><a href="#section-1.3" class="xref">1.3</a>. <a href="#name-intended-application" class="xref">Intended Application</a></p>
</li>
</ul>
</li>
<li class="toc ulBare compact ulEmpty" id="section-toc.1-1.2">
<p id="section-toc.1-1.2.1"><a href="#section-2" class="xref">2</a>. <a href="#name-overview-of-the-two-specifi" class="xref">Overview of the Two Specified Solutions and Selection of Method</a></p>
<ul class="toc ulBare ulEmpty compact">
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.2.2.1">
<p id="section-toc.1-1.2.2.1.1"><a href="#section-2.1" class="xref">2.1</a>. <a href="#name-the-rtp-mixer-based-solutio" class="xref">The RTP-Mixer-Based Solution for Multiparty-Aware Endpoints</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.2.2.2">
<p id="section-toc.1-1.2.2.2.1"><a href="#section-2.2" class="xref">2.2</a>. <a href="#name-mixing-for-multiparty-unawa" class="xref">Mixing for Multiparty-Unaware Endpoints</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.2.2.3">
<p id="section-toc.1-1.2.2.3.1"><a href="#section-2.3" class="xref">2.3</a>. <a href="#name-offer-answer-considerations" class="xref">Offer/Answer Considerations</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.2.2.4">
<p id="section-toc.1-1.2.2.4.1"><a href="#section-2.4" class="xref">2.4</a>. <a href="#name-actions-depending-on-capabi" class="xref">Actions Depending on Capability Negotiation Result</a></p>
</li>
</ul>
</li>
<li class="toc ulBare compact ulEmpty" id="section-toc.1-1.3">
<p id="section-toc.1-1.3.1"><a href="#section-3" class="xref">3</a>. <a href="#name-details-for-the-rtp-mixer-b" class="xref">Details for the RTP-Mixer-Based Mixing Method for Multiparty-Aware Endpoints</a></p>
<ul class="toc ulBare ulEmpty compact">
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.1">
<p id="section-toc.1-1.3.2.1.1"><a href="#section-3.1" class="xref">3.1</a>. <a href="#name-use-of-fields-in-the-rtp-pa" class="xref">Use of Fields in the RTP Packets</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.2">
<p id="section-toc.1-1.3.2.2.1"><a href="#section-3.2" class="xref">3.2</a>. <a href="#name-initial-transmission-of-a-b" class="xref">Initial Transmission of a BOM Character</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.3">
<p id="section-toc.1-1.3.2.3.1"><a href="#section-3.3" class="xref">3.3</a>. <a href="#name-keep-alive" class="xref">Keep-Alive</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.4">
<p id="section-toc.1-1.3.2.4.1"><a href="#section-3.4" class="xref">3.4</a>. <a href="#name-transmission-interval" class="xref">Transmission Interval</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.5">
<p id="section-toc.1-1.3.2.5.1"><a href="#section-3.5" class="xref">3.5</a>. <a href="#name-only-one-source-per-packet" class="xref">Only One Source per Packet</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.6">
<p id="section-toc.1-1.3.2.6.1"><a href="#section-3.6" class="xref">3.6</a>. <a href="#name-do-not-send-received-text-t" class="xref">Do Not Send Received Text to the Originating Source</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.7">
<p id="section-toc.1-1.3.2.7.1"><a href="#section-3.7" class="xref">3.7</a>. <a href="#name-clean-incoming-text" class="xref">Clean Incoming Text</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.8">
<p id="section-toc.1-1.3.2.8.1"><a href="#section-3.8" class="xref">3.8</a>. <a href="#name-principles-of-redundant-tra" class="xref">Principles of Redundant Transmission</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.9">
<p id="section-toc.1-1.3.2.9.1"><a href="#section-3.9" class="xref">3.9</a>. <a href="#name-text-placement-in-packets" class="xref">Text Placement in Packets</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.10">
<p id="section-toc.1-1.3.2.10.1"><a href="#section-3.10" class="xref">3.10</a>. <a href="#name-empty-t140blocks" class="xref">Empty T140blocks</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.11">
<p id="section-toc.1-1.3.2.11.1"><a href="#section-3.11" class="xref">3.11</a>. <a href="#name-creation-of-the-redundancy" class="xref">Creation of the Redundancy</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.12">
<p id="section-toc.1-1.3.2.12.1"><a href="#section-3.12" class="xref">3.12</a>. <a href="#name-timer-offset-fields" class="xref">Timer Offset Fields</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.13">
<p id="section-toc.1-1.3.2.13.1"><a href="#section-3.13" class="xref">3.13</a>. <a href="#name-other-rtp-header-fields" class="xref">Other RTP Header Fields</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.14">
<p id="section-toc.1-1.3.2.14.1"><a href="#section-3.14" class="xref">3.14</a>. <a href="#name-pause-in-transmission" class="xref">Pause in Transmission</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.15">
<p id="section-toc.1-1.3.2.15.1"><a href="#section-3.15" class="xref">3.15</a>. <a href="#name-rtcp-considerations" class="xref">RTCP Considerations</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.16">
<p id="section-toc.1-1.3.2.16.1"><a href="#section-3.16" class="xref">3.16</a>. <a href="#name-reception-of-multiparty-con" class="xref">Reception of Multiparty Contents</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.17">
<p id="section-toc.1-1.3.2.17.1"><a href="#section-3.17" class="xref">3.17</a>. <a href="#name-performance-considerations" class="xref">Performance Considerations</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.18">
<p id="section-toc.1-1.3.2.18.1"><a href="#section-3.18" class="xref">3.18</a>. <a href="#name-security-for-session-contro" class="xref">Security for Session Control and Media</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.19">
<p id="section-toc.1-1.3.2.19.1"><a href="#section-3.19" class="xref">3.19</a>. <a href="#name-sdp-offer-answer-examples" class="xref">SDP Offer/Answer Examples</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.20">
<p id="section-toc.1-1.3.2.20.1"><a href="#section-3.20" class="xref">3.20</a>. <a href="#name-packet-sequence-example-fro" class="xref">Packet Sequence Example from Interleaved Transmission</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.3.2.21">
<p id="section-toc.1-1.3.2.21.1"><a href="#section-3.21" class="xref">3.21</a>. <a href="#name-maximum-character-rate-cps-" class="xref">Maximum Character Rate "cps" Setting</a></p>
</li>
</ul>
</li>
<li class="toc ulBare compact ulEmpty" id="section-toc.1-1.4">
<p id="section-toc.1-1.4.1"><a href="#section-4" class="xref">4</a>. <a href="#name-presentation-level-consider" class="xref">Presentation-Level Considerations</a></p>
<ul class="toc ulBare ulEmpty compact">
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.4.2.1">
<p id="section-toc.1-1.4.2.1.1"><a href="#section-4.1" class="xref">4.1</a>. <a href="#name-presentation-by-multiparty-" class="xref">Presentation by Multiparty-Aware Endpoints</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.4.2.2">
<p id="section-toc.1-1.4.2.2.1"><a href="#section-4.2" class="xref">4.2</a>. <a href="#name-multiparty-mixing-for-multi" class="xref">Multiparty Mixing for Multiparty-Unaware Endpoints</a></p>
</li>
</ul>
</li>
<li class="toc ulBare compact ulEmpty" id="section-toc.1-1.5">
<p id="section-toc.1-1.5.1"><a href="#section-5" class="xref">5</a>. <a href="#name-relationship-to-conference-" class="xref">Relationship to Conference Control</a></p>
<ul class="toc ulBare ulEmpty compact">
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.5.2.1">
<p id="section-toc.1-1.5.2.1.1"><a href="#section-5.1" class="xref">5.1</a>. <a href="#name-use-with-sip-centralized-co" class="xref">Use with SIP Centralized Conferencing Framework</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.5.2.2">
<p id="section-toc.1-1.5.2.2.1"><a href="#section-5.2" class="xref">5.2</a>. <a href="#name-conference-control" class="xref">Conference Control</a></p>
</li>
</ul>
</li>
<li class="toc ulBare compact ulEmpty" id="section-toc.1-1.6">
<p id="section-toc.1-1.6.1"><a href="#section-6" class="xref">6</a>. <a href="#name-gateway-considerations" class="xref">Gateway Considerations</a></p>
<ul class="toc ulBare ulEmpty compact">
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.6.2.1">
<p id="section-toc.1-1.6.2.1.1"><a href="#section-6.1" class="xref">6.1</a>. <a href="#name-gateway-considerations-with" class="xref">Gateway Considerations with Textphones</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.6.2.2">
<p id="section-toc.1-1.6.2.2.1"><a href="#section-6.2" class="xref">6.2</a>. <a href="#name-gateway-considerations-with-" class="xref">Gateway Considerations with WebRTC</a></p>
</li>
</ul>
</li>
<li class="toc ulBare compact ulEmpty" id="section-toc.1-1.7">
<p id="section-toc.1-1.7.1"><a href="#section-7" class="xref">7</a>. <a href="#name-updates-to-rfc-4103" class="xref">Updates to RFC 4103</a></p>
</li>
<li class="toc ulBare compact ulEmpty" id="section-toc.1-1.8">
<p id="section-toc.1-1.8.1"><a href="#section-8" class="xref">8</a>. <a href="#name-congestion-considerations" class="xref">Congestion Considerations</a></p>
</li>
<li class="toc ulBare compact ulEmpty" id="section-toc.1-1.9">
<p id="section-toc.1-1.9.1"><a href="#section-9" class="xref">9</a>. <a href="#name-iana-considerations" class="xref">IANA Considerations</a></p>
<ul class="toc ulBare ulEmpty compact">
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.9.2.1">
<p id="section-toc.1-1.9.2.1.1"><a href="#section-9.1" class="xref">9.1</a>. <a href="#name-registration-of-the-rtt-mix" class="xref">Registration of the "rtt-mixer" SDP Media Attribute</a></p>
</li>
</ul>
</li>
<li class="toc ulBare compact ulEmpty" id="section-toc.1-1.10">
<p id="section-toc.1-1.10.1"><a href="#section-10" class="xref">10</a>. <a href="#name-security-considerations" class="xref">Security Considerations</a></p>
</li>
<li class="toc ulBare compact ulEmpty" id="section-toc.1-1.11">
<p id="section-toc.1-1.11.1"><a href="#section-11" class="xref">11</a>. <a href="#name-references" class="xref">References</a></p>
<ul class="toc ulBare ulEmpty compact">
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.11.2.1">
<p id="section-toc.1-1.11.2.1.1"><a href="#section-11.1" class="xref">11.1</a>. <a href="#name-normative-references" class="xref">Normative References</a></p>
</li>
<li class="toc ulBare ulEmpty compact" id="section-toc.1-1.11.2.2">
<p id="section-toc.1-1.11.2.2.1"><a href="#section-11.2" class="xref">11.2</a>. <a href="#name-informative-references" class="xref">Informative References</a></p>
</li>
</ul>
</li>
<li class="toc ulBare compact ulEmpty" id="section-toc.1-1.12">
<p id="section-toc.1-1.12.1"><a href="#appendix-A" class="xref"></a><a href="#name-acknowledgements" class="xref">Acknowledgements</a></p>
</li>
<li class="toc ulBare compact ulEmpty" id="section-toc.1-1.13">
<p id="section-toc.1-1.13.1"><a href="#appendix-B" class="xref"></a><a href="#name-authors-address" class="xref">Author's Address</a></p>
</li>
</ul>
</nav>
</section>
</div>
<section id="section-1">
<h2 id="name-introduction">
<a href="#section-1" class="section-number selfRef">1. </a><a href="#name-introduction" class="section-name selfRef">Introduction</a>
</h2>
<p id="section-1-1">
"<a href="#RFC4103" class="xref">RTP Payload for Text Conversation</a>" <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span>
specifies the use of the Real-time Transport Protocol (RTP) <span>[<a href="#RFC3550" class="xref">RFC3550</a>]</span> for transmission of real-time text (often called RTT) and the "text/t140" format. It also specifies a redundancy format, "text/red", for increased robustness. The "text/red" format is registered in <span>[<a href="#RFC4102" class="xref">RFC4102</a>]</span>.<a href="#section-1-1" class="pilcrow">¶</a></p>
<p id="section-1-2">
Real-time text is usually provided together with audio and sometimes with video in conversational sessions.<a href="#section-1-2" class="pilcrow">¶</a></p>
<p id="section-1-3">
A requirement related to multiparty sessions from the presentation-level standard T.140 <span>[<a href="#T140" class="xref">T140</a>]</span> for real-time text is as follows:<a href="#section-1-3" class="pilcrow">¶</a></p>
<blockquote id="section-1-4">The display of text from the members of the conversation should be arranged so that the text from
each participant is clearly readable, and its source and the relative timing of entered text is visualized
in the display.<a href="#section-1-4" class="pilcrow">¶</a>
</blockquote>
<p id="section-1-5">
Another requirement is that the mixing procedure must not introduce delays in the text streams that could be perceived as disruptive to the real-time experience of the receiving users.<a href="#section-1-5" class="pilcrow">¶</a></p>
<p id="section-1-6">
The use of real-time text is increasing, and specifically, use in emergency calls is increasing. Emergency call use requires multiparty mixing, because it is common that one agent needs to transfer the call to another specialized agent but is obliged to stay on the call to at least verify that the transfer was successful. Mixer implementations for RFC 4103 ("RTP Payload for Text Conversation") can use traditional RTP functions (RFC 3550) for mixing and source identification, but the performance of the mixer when giving turns for the different sources to transmit is limited when using the default transmission characteristics with redundancy.<a href="#section-1-6" class="pilcrow">¶</a></p>
<p id="section-1-7">
The redundancy scheme described in <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span> enables efficient transmission of earlier transmitted redundant text in packets together with new text. However, the redundancy header format has no source indicators for the redundant transmissions. The redundant parts in a packet must therefore be from the same source as the new text. The recommended transmission is one new and two redundant generations of text (T140blocks) in each packet, and the recommended transmission interval for two-party use is 300 ms.<a href="#section-1-7" class="pilcrow">¶</a></p>
<p id="section-1-8">
Real-time text mixers for multiparty sessions need to include the
source with each transmitted group of text from a conference participant so that the text can be transmitted interleaved with text groups from different sources at the rate at which they are created. This enables the text groups to be presented by endpoints in a suitable grouping with other text from the same source.<a href="#section-1-8" class="pilcrow">¶</a></p>
<p id="section-1-9">
The presentation can then be arranged so that text from different sources can be presented in real time and easily read. At the same time, it is possible for a reading user to perceive approximately when the text was created in real time by the different parties. The transmission and mixing are intended to be done in a general way, so that presentation can be arranged in a layout decided upon by the receiving endpoint.<a href="#section-1-9" class="pilcrow">¶</a></p>
<p id="section-1-10">
Existing implementations of RFC 4103 in endpoints that do not implement the updates specified in this document cannot be expected to properly present real-time text mixed for multiparty-aware endpoints.<a href="#section-1-10" class="pilcrow">¶</a></p>
<p id="section-1-11">
A negotiation mechanism is therefore needed to verify if the parties
(1) are able to handle a common method for multiparty transmissions and
(2) can agree on using that method.<a href="#section-1-11" class="pilcrow">¶</a></p>
<p id="section-1-12">
A fallback mixing procedure is also needed for cases when the negotiation result indicates that a receiving endpoint is not capable of handling the mixed format. Multiparty-unaware endpoints would possibly otherwise present all received multiparty mixed text as if it came from the same source regardless of any accompanying source indication coded in fields in the packet. Or, they may have other undesirable ways of acting on the multiparty content. The fallback method is called the mixing procedure for multiparty-unaware endpoints. The fallback method is naturally not expected to meet all performance requirements placed on the mixing procedure for multiparty-aware endpoints.<a href="#section-1-12" class="pilcrow">¶</a></p>
<p id="section-1-13">
This document updates <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span> by introducing an attribute for declaring support of the RTP-mixer-based
multiparty-mixing case and rules for source indications and interleaving of text from different sources.<a href="#section-1-13" class="pilcrow">¶</a></p>
<section id="section-1.1">
<h3 id="name-terminology">
<a href="#section-1.1" class="section-number selfRef">1.1. </a><a href="#name-terminology" class="section-name selfRef">Terminology</a>
</h3>
<p id="section-1.1-1">The key words "<span class="bcp14">MUST</span>", "<span class="bcp14">MUST NOT</span>",
"<span class="bcp14">REQUIRED</span>", "<span class="bcp14">SHALL</span>",
"<span class="bcp14">SHALL NOT</span>", "<span class="bcp14">SHOULD</span>",
"<span class="bcp14">SHOULD NOT</span>",
"<span class="bcp14">RECOMMENDED</span>", "<span class="bcp14">NOT RECOMMENDED</span>",
"<span class="bcp14">MAY</span>", and "<span class="bcp14">OPTIONAL</span>" in this document
are to be interpreted as described in BCP 14
<span>[<a href="#RFC2119" class="xref">RFC2119</a>]</span> <span>[<a href="#RFC8174" class="xref">RFC8174</a>]</span> when, and only
when, they appear in all capitals, as shown here.<a href="#section-1.1-1" class="pilcrow">¶</a></p>
<p id="section-1.1-2">
The terms "Source Description" (SDES), "Canonical Name" (CNAME), "Name" (NAME), "Synchronization Source" (SSRC), "Contributing Source" (CSRC), "CSRC list", "CSRC count" (CC), "RTP Control Protocol" (RTCP), and "RTP mixer" are defined in <span>[<a href="#RFC3550" class="xref">RFC3550</a>]</span>.<a href="#section-1.1-2" class="pilcrow">¶</a></p>
<p id="section-1.1-3"> "real-time text" (RTT) is text transmitted instantly as it is typed or created. Recipients can immediately read the message while it is being written, without waiting.<a href="#section-1.1-3" class="pilcrow">¶</a></p>
<p id="section-1.1-4">
The term "T140block" is defined in <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span> to contain one or more T.140 code elements.<a href="#section-1.1-4" class="pilcrow">¶</a></p>
<p id="section-1.1-5">
"TTY" stands for a textphone type used in North America.<a href="#section-1.1-5" class="pilcrow">¶</a></p>
<p id="section-1.1-6">
Web Real-Time Communication (WebRTC) is specified by the World Wide Web Consortium (W3C) and the IETF. See <span>[<a href="#RFC8825" class="xref">RFC8825</a>]</span>.<a href="#section-1.1-6" class="pilcrow">¶</a></p>
<p id="section-1.1-7">
"DTLS-SRTP" is a Datagram Transport Layer Security (DTLS) extension for use with the Secure Real-time Transport Protocol / Secure Real-time Transport Control Protocol (SRTP/SRTCP) as specified in <span>[<a href="#RFC5764" class="xref">RFC5764</a>]</span>.<a href="#section-1.1-7" class="pilcrow">¶</a></p>
<p id="section-1.1-8">
The term "multiparty aware" describes an endpoint that (1) receives
real-time text from multiple sources through a common conference
mixer, (2) is able to present the text in real time, separated by
source, and (3) presents the text so that a user can get an
impression of the approximate relative timing of text from
different parties.<a href="#section-1.1-8" class="pilcrow">¶</a></p>
<p id="section-1.1-9">
The term "multiparty unaware" describes an endpoint that cannot itself separate text from different sources when the text is received through a common conference mixer.<a href="#section-1.1-9" class="pilcrow">¶</a></p>
</section>
<div id="alternatives">
<section id="section-1.2">
<h3 id="name-main-method-fallback-method">
<a href="#section-1.2" class="section-number selfRef">1.2. </a><a href="#name-main-method-fallback-method" class="section-name selfRef">Main Method, Fallback Method, and Considered
Alternatives</a>
</h3>
<p id="section-1.2-1">
A number of alternatives were considered when searching for an efficient and easily implemented multiparty method for real-time text. This section briefly explains a few of them.<a href="#section-1.2-1" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlNewline" id="section-1.2-2">
<dt id="section-1.2-2.1">
Multiple RTP streams, one per participant:
</dt>
<dd style="margin-left: 1.5em" id="section-1.2-2.2">
One RTP stream per source would be sent in the same RTP session with the "text/red" format.
From some points of view, the use of multiple RTP streams, one for each source, sent in the same RTP session would be efficient and would use exactly the same packet format as <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span> and the same payload type.
A couple of relevant scenarios using multiple RTP streams are specified in
"<a href="#RFC7667" class="xref">RTP Topologies</a>" <span>[<a href="#RFC7667" class="xref">RFC7667</a>]</span>. One possibility of special interest is the Selective Forwarding Middlebox (SFM) topology specified in
<span><a href="https://www.rfc-editor.org/rfc/rfc7667#section-3.7" class="relref">Section 3.7</a> of [<a href="#RFC7667" class="xref">RFC7667</a>]</span>,
which could enable end-to-end encryption. In contrast to audio and video, real-time text is only transmitted when the users actually transmit information. Thus, an SFM solution would not need to exclude any party from transmission under normal conditions. In order to allow the mixer to convey the packets with the payload preserved and encrypted, an SFM solution would need to act on some specific characteristics of the "text/red" format. The redundancy headers are part of the payload, so the receiver would need to just assume that the payload type number in the redundancy header is for "text/t140". The characters per second ("cps") parameter would need to act per stream. The relationship between the SSRC and the source would need to be conveyed in some specified way, e.g., in the CSRC. Recovery and loss detection would preferably be based on RTP sequence number gap detection. Thus, sequence number gaps in the incoming stream to the mixer would need to be reflected in the stream to the participant, with no new gaps created by the mixer.
However, the RTP implementation in both mixers and endpoints needs to support multiple streams in the same RTP session in order to use this mechanism. To provide the best opportunities for deployment, it should be possible to upgrade existing endpoint solutions to be multiparty aware with a reasonable amount of effort. There is currently a lack of support for multi-stream RTP in certain implementations. This fact led to only brief mention of this solution in this document as an option for further study.<a href="#section-1.2-2.2" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-1.2-2.3">
RTP-mixer-based method for multiparty-aware endpoints:
</dt>
<dd style="margin-left: 1.5em" id="section-1.2-2.4">
The "text/red" format as defined in RFC 4102 and applied in RFC 4103 is sent with the RTP-mixer method indicating the source in the CSRC field.
The "text/red" format with a "text/t140" payload in a single RTP stream can be sent when text is available from the call participants instead of at the regular 300 ms intervals. Transmission of packets with text from different sources can then be done smoothly while simultaneous transmission occurs as long as it is not limited by the maximum character rate "cps" value. With ten participants sending text simultaneously, the switching and transmission performance is good. With more simultaneously sending participants and with receivers at default capacity, there will be a noticeable jerkiness and delay in text presentation. The more participants who send text
simultaneously, the more jerkiness will occur. Two seconds of jerkiness will be noticeable and slightly unpleasant, but it corresponds in time to what typing humans often cause by hesitating or changing position while typing. A benefit of this method is that no new packet format needs to be introduced and implemented. Since simultaneous typing by more than two parties is expected to be very rare -- as described in <a href="#intendedapp" class="xref">Section 1.3</a> -- this method can be used successfully with good performance. Recovery of text in the case of packet loss is based on analysis of timestamps of received redundancy versus earlier received text. Negotiation is based on a new SDP media attribute, "rtt-mixer". This method was selected to be the main method specified in this document.<a href="#section-1.2-2.4" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-1.2-2.5">Multiple sources per packet:</dt>
<dd style="margin-left: 1.5em" id="section-1.2-2.6">
A new "text" media subtype would be specified with up to 15 sources in each packet.
The mechanism would make use of the RTP-mixer model specified in RTP <span>[<a href="#RFC3550" class="xref">RFC3550</a>]</span>. The sources would be indicated in strict order in the CSRC list of the RTP packets. The CSRC list can have up to 15 members. Therefore, text from up to 15 sources can be included in each packet. Packets are normally sent at 300 ms intervals. The mean delay would be 150 ms. A new redundancy packet format would be specified. This method would result in good performance but would require standardization and implementation of new releases in the target technologies; these would take more time than desirable to complete. It was therefore not selected to be included in this document.<a href="#section-1.2-2.6" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-1.2-2.7">Mixing for multiparty-unaware endpoints:</dt>
<dd style="margin-left: 1.5em" id="section-1.2-2.8">
The presentation of text from multiple parties is prepared by the mixer in one single stream.
It is desirable to have a method that does not require any modifications in existing user devices implementing RFC 4103 for real-time text without explicit support of multiparty sessions. This is made possible by having the mixer insert a new line and a
text-formatted source label before each switch of text source in the stream. Switching the source can only be done in places in the text where it does not disturb the perception of the contents. Text from only one source at a time can be presented in real time. The delay will therefore vary. In calls where parties take turns properly by ending their entries with a new line, the limitations will have limited influence on the user experience. When only two parties send text, these two will see the text in real time with no delay. Although this method also has other limitations, it is included in this document as a fallback method.<a href="#section-1.2-2.8" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-1.2-2.9">
Real-time text transport in WebRTC:
</dt>
<dd style="margin-left: 1.5em" id="section-1.2-2.10">
<span>[<a href="#RFC8865" class="xref">RFC8865</a>]</span> specifies how the WebRTC data channel can be used to transport real-time text. That specification contains a section briefly describing its use in multiparty sessions. The focus of this document is RTP transport. Therefore, even if the WebRTC transport provides good multiparty performance, it is only mentioned in this document in relation to providing gateways with multiparty capabilities between RTP and WebRTC technologies.<a href="#section-1.2-2.10" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
</dl>
</section>
</div>
<div id="intendedapp">
<section id="section-1.3">
<h3 id="name-intended-application">
<a href="#section-1.3" class="section-number selfRef">1.3. </a><a href="#name-intended-application" class="section-name selfRef">Intended Application</a>
</h3>
<p id="section-1.3-1">
The method for multiparty real-time text specified in this document is primarily intended for use in transmissions between mixers and endpoints in centralized mixing configurations. It is also applicable between mixers. An
often-mentioned application is for emergency service calls with real-time text and voice, where a call taker wants to make an attended handover of a call to another agent and stay on the call to observe the session. Multimedia conference sessions with support for participants to contribute with text is another example. Conferences with central support for speech-to-text conversion represent yet another example.<a href="#section-1.3-1" class="pilcrow">¶</a></p>
<p id="section-1.3-2">
In all these applications, normally only one participant at a time will send long text comments. In some cases, one other participant will occasionally contribute with a longer comment simultaneously. That may also happen in some rare cases when text is translated to text in another language in a conference. Apart from these cases, other participants are only expected to contribute with very brief comments while others are sending text.<a href="#section-1.3-2" class="pilcrow">¶</a></p>
<p id="section-1.3-3">
Users expect the text they send to be presented in real time in a readable way to the other participants even if they send simultaneously with other users and even when they make brief edit operations of their text by backspacing and correcting their text.<a href="#section-1.3-3" class="pilcrow">¶</a></p>
<p id="section-1.3-4">
Text is supposed to be human generated, by some means of text input, such as typing on a keyboard or using speech-to-text technology. Occasional small cut-and-paste operations may appear even if that is not the initial purpose of real-time text.<a href="#section-1.3-4" class="pilcrow">¶</a></p>
<p id="section-1.3-5">
The real-time characteristics of real-time text are essential for the participants to be able to contribute to a conversation. If the text is delayed too much between the typing of a character and its presentation, then, in some conference situations, the opportunity to comment will be gone and someone else will grab the turn. A delay of more than one second in such situations is an obstacle to good conversation.<a href="#section-1.3-5" class="pilcrow">¶</a></p>
</section>
</div>
</section>
<section id="section-2">
<h2 id="name-overview-of-the-two-specifi">
<a href="#section-2" class="section-number selfRef">2. </a><a href="#name-overview-of-the-two-specifi" class="section-name selfRef">Overview of the Two Specified Solutions and Selection of Method</a>
</h2>
<p id="section-2-1">
This section contains a brief introduction of the two methods specified in this document.<a href="#section-2-1" class="pilcrow">¶</a></p>
<div id="negouse">
<section id="section-2.1">
<h3 id="name-the-rtp-mixer-based-solutio">
<a href="#section-2.1" class="section-number selfRef">2.1. </a><a href="#name-the-rtp-mixer-based-solutio" class="section-name selfRef">The RTP-Mixer-Based Solution for Multiparty-Aware Endpoints</a>
</h3>
<p id="section-2.1-1">
This method specifies the negotiated use of the formats described in RFC 4103, for multiparty transmissions in a single RTP stream.
The main purpose of this document is to specify a method for true multiparty real-time text mixing for multiparty-aware endpoints that can be widely deployed. The RTP-mixer-based method makes use of the current format for real-time text as provided in <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span>. This method updates RFC 4103 by clarifying one way to use it in the multiparty situation. That is done by completing a negotiation for this kind of multiparty capability and by interleaving packets from different sources. The source is indicated in the CSRC element in the RTP packets. Specific considerations are made regarding the ability to recover text after packet loss.<a href="#section-2.1-1" class="pilcrow">¶</a></p>
<p id="section-2.1-2">
The detailed procedures for the RTP-mixer-based multiparty-aware case are specified in <a href="#nego2" class="xref">Section 3</a>.<a href="#section-2.1-2" class="pilcrow">¶</a></p>
<p id="section-2.1-3">
Please refer to <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span> when reading this document.<a href="#section-2.1-3" class="pilcrow">¶</a></p>
</section>
</div>
<section id="section-2.2">
<h3 id="name-mixing-for-multiparty-unawa">
<a href="#section-2.2" class="section-number selfRef">2.2. </a><a href="#name-mixing-for-multiparty-unawa" class="section-name selfRef">Mixing for Multiparty-Unaware Endpoints</a>
</h3>
<p id="section-2.2-1">
This document also specifies a method to be used in cases when the endpoint participating in a multiparty call does not itself implement any solution or does not implement the same solution as the mixer.
This method requires the mixer to insert text dividers and readable
labels and only send text from one source at a time until a suitable point appears for changing the source.
This solution is a fallback method with functional limitations. It operates at the presentation level.<a href="#section-2.2-1" class="pilcrow">¶</a></p>
<p id="section-2.2-2">
A mixer <span class="bcp14">SHOULD</span> by default format and transmit text to a call
participant so that the text is suitable for presentation on a
multiparty-unaware endpoint that has not negotiated any method for
true multiparty real-time text handling but has negotiated a "text/red" or
"text/t140" format in a session.
This <span class="bcp14">SHOULD</span> be done if nothing else is specified for the application, in order to maintain interoperability. <a href="#UnawareFormat" class="xref">Section 4.2</a> specifies how this mixing is done.<a href="#section-2.2-2" class="pilcrow">¶</a></p>
</section>
<div id="nego1">
<section id="section-2.3">
<h3 id="name-offer-answer-considerations">
<a href="#section-2.3" class="section-number selfRef">2.3. </a><a href="#name-offer-answer-considerations" class="section-name selfRef">Offer/Answer Considerations</a>
</h3>
<p id="section-2.3-1">
"RTP Payload for Text Conversation" <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span> specifies the use of RTP <span>[<a href="#RFC3550" class="xref">RFC3550</a>]</span> and a redundancy format ("text/red", as defined in <span>[<a href="#RFC4102" class="xref">RFC4102</a>]</span>) for increased robustness of real-time text transmission.
This document updates <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span>
by introducing a capability negotiation for handling multiparty real-time text, a way to indicate the source of transmitted text, and rules for efficient timing of the transmissions interleaved from different sources.<a href="#section-2.3-1" class="pilcrow">¶</a></p>
<p id="section-2.3-2">
The capability negotiation for the RTP-mixer-based multiparty method is based on the use of the SDP media attribute "rtt-mixer".<a href="#section-2.3-2" class="pilcrow">¶</a></p>
<p id="section-2.3-3">The syntax is as follows:<a href="#section-2.3-3" class="pilcrow">¶</a></p>
<div id="section-2.3-4">
<pre class="sourcecode lang-sdp">
a=rtt-mixer
</pre><a href="#section-2.3-4" class="pilcrow">¶</a>
</div>
<p id="section-2.3-5">
If in the future any other method for RTP-based multiparty real-time text is specified by additional work, it is assumed that it will be recognized by some specific SDP feature exchange.<a href="#section-2.3-5" class="pilcrow">¶</a></p>
<section id="section-2.3.1">
<h4 id="name-initial-offer">
<a href="#section-2.3.1" class="section-number selfRef">2.3.1. </a><a href="#name-initial-offer" class="section-name selfRef">Initial Offer</a>
</h4>
<p id="section-2.3.1-1">
A party that intends to set up a session and is willing to use the RTP-mixer-based method provided in this specification for sending, receiving, or both sending and receiving real-time text <span class="bcp14">SHALL</span> include the "rtt-mixer" SDP attribute in the corresponding "text" media section in the initial offer.<a href="#section-2.3.1-1" class="pilcrow">¶</a></p>
<p id="section-2.3.1-2">
The party <span class="bcp14">MAY</span> indicate its capability regarding both the RTP-mixer-based method provided in this specification and other methods.<a href="#section-2.3.1-2" class="pilcrow">¶</a></p>
<p id="section-2.3.1-3">
When the offerer has sent the offer, which includes the "rtt-mixer" attribute, it <span class="bcp14">MUST</span> be prepared to receive and handle real-time text formatted according to both the method for multiparty-aware parties specified in <a href="#nego2" class="xref">Section 3</a> and two-party formatted real-time text.<a href="#section-2.3.1-3" class="pilcrow">¶</a></p>
</section>
<section id="section-2.3.2">
<h4 id="name-answering-the-offer">
<a href="#section-2.3.2" class="section-number selfRef">2.3.2. </a><a href="#name-answering-the-offer" class="section-name selfRef">Answering the Offer</a>
</h4>
<p id="section-2.3.2-1">
A party that receives an offer containing the "rtt-mixer" SDP attribute and is willing to use the RTP-mixer-based method provided in this specification for sending, receiving, or both sending and receiving real-time text <span class="bcp14">SHALL</span> include the "rtt-mixer" SDP attribute in the corresponding "text" media section in the answer.<a href="#section-2.3.2-1" class="pilcrow">¶</a></p>
<p id="section-2.3.2-2">
If the offer did not contain the "rtt-mixer" attribute, the answer <span class="bcp14">MUST NOT</span> contain the "rtt-mixer" attribute.<a href="#section-2.3.2-2" class="pilcrow">¶</a></p>
<p id="section-2.3.2-3">
Even when the "rtt-mixer" attribute is successfully negotiated, the parties <span class="bcp14">MAY</span> send and receive two-party coded real-time text.<a href="#section-2.3.2-3" class="pilcrow">¶</a></p>
<p id="section-2.3.2-4">
An answer <span class="bcp14">MUST NOT</span> include acceptance of more than one method for multiparty real-time text in the same RTP session.<a href="#section-2.3.2-4" class="pilcrow">¶</a></p>
<p id="section-2.3.2-5">
When the answer, which includes acceptance, is transmitted, the answerer <span class="bcp14">MUST</span> be prepared to act on received text in the negotiated session according to the method for multiparty-aware parties specified in <a href="#nego2" class="xref">Section 3</a>. Reception of text for a two-party session <span class="bcp14">SHALL</span> also be supported.<a href="#section-2.3.2-5" class="pilcrow">¶</a></p>
</section>
<section id="section-2.3.3">
<h4 id="name-offerer-processing-the-answ">
<a href="#section-2.3.3" class="section-number selfRef">2.3.3. </a><a href="#name-offerer-processing-the-answ" class="section-name selfRef">Offerer Processing the Answer</a>
</h4>
<p id="section-2.3.3-1">
When the answer is processed by the offerer, the offerer <span class="bcp14">MUST</span> follow the requirements listed in <a href="#negoresult" class="xref">Section 2.4</a>.<a href="#section-2.3.3-1" class="pilcrow">¶</a></p>
</section>
<section id="section-2.3.4">
<h4 id="name-modifying-a-session">
<a href="#section-2.3.4" class="section-number selfRef">2.3.4. </a><a href="#name-modifying-a-session" class="section-name selfRef">Modifying a Session</a>
</h4>
<p id="section-2.3.4-1">
A session <span class="bcp14">MAY</span> be modified at any time by any party offering a modified SDP with or without the "rtt-mixer" SDP attribute expressing a desired change in the support of multiparty real-time text.<a href="#section-2.3.4-1" class="pilcrow">¶</a></p>
<p id="section-2.3.4-2">
If the modified offer adds the indication of support for multiparty real-time text by including the "rtt-mixer" SDP attribute, the procedures specified in the previous subsections <span class="bcp14">SHALL</span> be applied.<a href="#section-2.3.4-2" class="pilcrow">¶</a></p>
<p id="section-2.3.4-3">
If the modified offer deletes the indication of support for multiparty real-time text by excluding the "rtt-mixer" SDP attribute, the answer <span class="bcp14">MUST NOT</span> contain the "rtt-mixer" attribute. After processing this SDP exchange, the parties <span class="bcp14">MUST NOT</span> send real-time text formatted for multiparty-aware parties according to this specification.<a href="#section-2.3.4-3" class="pilcrow">¶</a></p>
</section>
</section>
</div>
<div id="negoresult">
<section id="section-2.4">
<h3 id="name-actions-depending-on-capabi">
<a href="#section-2.4" class="section-number selfRef">2.4. </a><a href="#name-actions-depending-on-capabi" class="section-name selfRef">Actions Depending on Capability Negotiation Result</a>
</h3>
<p id="section-2.4-1">
A transmitting party <span class="bcp14">SHALL</span> send text according to the RTP-mixer-based multiparty method only when the negotiation for that method was successful and when it conveys text for another source. In all other cases, the packets <span class="bcp14">SHALL</span> be populated and interpreted as for a two-party session.<a href="#section-2.4-1" class="pilcrow">¶</a></p>
<p id="section-2.4-2">
A party that has negotiated the "rtt-mixer" SDP media attribute and acts as an RTP mixer sending multiparty text <span class="bcp14">MUST</span> (1) populate the CSRC list and (2) format the packets according to <a href="#nego2" class="xref">Section 3</a>.<a href="#section-2.4-2" class="pilcrow">¶</a></p>
<p id="section-2.4-3">
A party that has negotiated the "rtt-mixer" SDP media attribute <span class="bcp14">MUST</span> interpret the contents of the CC field, the CSRC list, and the packets according to <a href="#nego2" class="xref">Section 3</a> in received RTP packets in the corresponding RTP stream.<a href="#section-2.4-3" class="pilcrow">¶</a></p>
<p id="section-2.4-4">
A party that has not successfully completed the negotiation of the "rtt-mixer" SDP media attribute <span class="bcp14">MUST NOT</span> transmit packets interleaved from different sources in the same RTP stream, as specified in <a href="#nego2" class="xref">Section 3</a>.
If the party is a mixer and did declare the "rtt-mixer" SDP media attribute, it <span class="bcp14">SHOULD</span> perform the procedure for multiparty-unaware endpoints. If the party is not a mixer, it <span class="bcp14">SHOULD</span> transmit as in a two-party session according to <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span>.<a href="#section-2.4-4" class="pilcrow">¶</a></p>
</section>
</div>
</section>
<div id="nego2">
<section id="section-3">
<h2 id="name-details-for-the-rtp-mixer-b">
<a href="#section-3" class="section-number selfRef">3. </a><a href="#name-details-for-the-rtp-mixer-b" class="section-name selfRef">Details for the RTP-Mixer-Based Mixing Method for Multiparty-Aware Endpoints</a>
</h2>
<section id="section-3.1">
<h3 id="name-use-of-fields-in-the-rtp-pa">
<a href="#section-3.1" class="section-number selfRef">3.1. </a><a href="#name-use-of-fields-in-the-rtp-pa" class="section-name selfRef">Use of Fields in the RTP Packets</a>
</h3>
<p id="section-3.1-1">
The CC field <span class="bcp14">SHALL</span> show the number of members in the CSRC list, which <span class="bcp14">SHALL</span> be one (1) in transmissions from a mixer when conveying text from other sources in a multiparty session, and otherwise 0.<a href="#section-3.1-1" class="pilcrow">¶</a></p>
<p id="section-3.1-2">
When text is conveyed by a mixer during a multiparty session, a CSRC list <span class="bcp14">SHALL</span> be included in the packet. The single member in the CSRC list <span class="bcp14">SHALL</span> contain the SSRC of the source of the T140blocks in the packet.<a href="#section-3.1-2" class="pilcrow">¶</a></p>
<p id="section-3.1-3">
When redundancy is used, the <span class="bcp14">RECOMMENDED</span> level of redundancy is to use one primary and two redundant generations of T140blocks. In some cases, a primary or redundant T140block is empty but is still represented by a member in the redundancy header.<a href="#section-3.1-3" class="pilcrow">¶</a></p>
<p id="section-3.1-4">
In other respects, the contents of the RTP packets will be as specified in <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span>.<a href="#section-3.1-4" class="pilcrow">¶</a></p>
</section>
<section id="section-3.2">
<h3 id="name-initial-transmission-of-a-b">
<a href="#section-3.2" class="section-number selfRef">3.2. </a><a href="#name-initial-transmission-of-a-b" class="section-name selfRef">Initial Transmission of a BOM Character</a>
</h3>
<p id="section-3.2-1">
As soon as a participant is known to participate in a session with another entity and is available for text reception, a Unicode byte order mark (BOM) character <span class="bcp14">SHALL</span> be sent to it by the other entity according to the procedures in this section. This is useful in many configurations for opening ports and firewalls and for setting up the connection between the application and the network. If the transmitter is a mixer, then the source of this character <span class="bcp14">SHALL</span> be indicated to be the mixer itself.<a href="#section-3.2-1" class="pilcrow">¶</a></p>
<p id="section-3.2-2">
Note that the BOM character <span class="bcp14">SHALL</span> be transmitted with the same redundancy procedures as any other text.<a href="#section-3.2-2" class="pilcrow">¶</a></p>
</section>
<section id="section-3.3">
<h3 id="name-keep-alive">
<a href="#section-3.3" class="section-number selfRef">3.3. </a><a href="#name-keep-alive" class="section-name selfRef">Keep-Alive</a>
</h3>
<p id="section-3.3-1">
After that, the transmitter <span class="bcp14">SHALL</span> send keep-alive traffic to the receiver(s) at regular intervals when no other traffic has occurred during that interval, if that is decided upon for the actual connection. It is <span class="bcp14">RECOMMENDED</span> to use the keep-alive solution provided in <span>[<a href="#RFC6263" class="xref">RFC6263</a>]</span>. The consent check <span>[<a href="#RFC7675" class="xref">RFC7675</a>]</span> is a possible alternative if it is used anyway for other reasons.<a href="#section-3.3-1" class="pilcrow">¶</a></p>
</section>
<div id="transmint">
<section id="section-3.4">
<h3 id="name-transmission-interval">
<a href="#section-3.4" class="section-number selfRef">3.4. </a><a href="#name-transmission-interval" class="section-name selfRef">Transmission Interval</a>
</h3>
<p id="section-3.4-1">
A "text/red" or "text/t140" transmitter in a mixer <span class="bcp14">SHALL</span> send packets distributed over time as long as there is something (new or redundant T140blocks) to transmit.
The maximum transmission interval between text transmissions from the same source <span class="bcp14">SHALL</span> then be 330 ms, when no other limitations cause a longer interval to be temporarily used. It is <span class="bcp14">RECOMMENDED</span> to send the next packet to a receiver as soon as new text to that receiver is available, as long as the mean character rate of new text to the receiver calculated over the last 10 one-second intervals does not exceed the "cps" value of the receiver. The intention is to keep the latency low and network load limited while keeping good protection against text loss in bursty packet loss conditions. The main purpose of the 330 ms interval is for the timing of redundant transmissions, when no new text from the same source is available.<a href="#section-3.4-1" class="pilcrow">¶</a></p>
<p id="section-3.4-2">
The value of 330 ms is used, because many sources of text will
transmit new text at 300 ms intervals during periods of
continuous user typing, and then reception in the mixer of such new
text will cause a combined transmission of the new text and the
unsent redundancy from the previous transmission. Only when the user
stops typing will the 330 ms interval be applied to send the
redundancy.<a href="#section-3.4-2" class="pilcrow">¶</a></p>
<p id="section-3.4-3">
If the characters per second ("cps") value is reached, a longer transmission interval <span class="bcp14">SHALL</span> be applied for text from all sources as specified in <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span> and only as much of the text queued for transmission <span class="bcp14">SHALL</span> be sent at the end of each transmission interval as can be allowed without exceeding the "cps" value. Division of text for partial transmission <span class="bcp14">MUST</span> then be made at T140block borders. When the transmission rate falls below the "cps" value again,
the transmission intervals <span class="bcp14">SHALL</span> be reset to 330 ms and transmission of new text <span class="bcp14">SHALL</span> again be made as soon as new
text is available.<a href="#section-3.4-3" class="pilcrow">¶</a></p>
<aside id="section-3.4-4">
<p id="section-3.4-4.1">NOTE: Extending the transmission intervals during periods of high load
does not change the number of characters to be conveyed.
It just evens out the load over time and reduces the number of packets
per second. With human-created conversational text, the sending
user will eventually take a pause, letting transmission catch up.<a href="#section-3.4-4.1" class="pilcrow">¶</a></p>
</aside>
<p id="section-3.4-5">
See also <a href="#congest" class="xref">Section 8</a>.<a href="#section-3.4-5" class="pilcrow">¶</a></p>
<p id="section-3.4-6">
For a transmitter not acting as a mixer, the transmission interval principles provided in <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span> apply, and the normal transmission interval <span class="bcp14">SHALL</span> be 300 ms.<a href="#section-3.4-6" class="pilcrow">¶</a></p>
</section>
</div>
<section id="section-3.5">
<h3 id="name-only-one-source-per-packet">
<a href="#section-3.5" class="section-number selfRef">3.5. </a><a href="#name-only-one-source-per-packet" class="section-name selfRef">Only One Source per Packet</a>
</h3>
<p id="section-3.5-1"> New text and redundant copies of earlier text from one source <span class="bcp14">SHALL</span> be transmitted in the same packet if available for transmission at the same time. Text from different sources <span class="bcp14">MUST NOT</span> be transmitted in the same packet.<a href="#section-3.5-1" class="pilcrow">¶</a></p>
</section>
<section id="section-3.6">
<h3 id="name-do-not-send-received-text-t">
<a href="#section-3.6" class="section-number selfRef">3.6. </a><a href="#name-do-not-send-received-text-t" class="section-name selfRef">Do Not Send Received Text to the Originating Source</a>
</h3>
<p id="section-3.6-1">
Text received by a mixer from a participant <span class="bcp14">SHOULD NOT</span> be included in transmissions from the mixer to that participant, because for text
that is produced locally, the normal behavior of the endpoint is to
present such text directly when it is produced.<a href="#section-3.6-1" class="pilcrow">¶</a></p>
</section>
<section id="section-3.7">
<h3 id="name-clean-incoming-text">
<a href="#section-3.7" class="section-number selfRef">3.7. </a><a href="#name-clean-incoming-text" class="section-name selfRef">Clean Incoming Text</a>
</h3>
<p id="section-3.7-1">
A mixer <span class="bcp14">SHALL</span> handle reception, recovery from packet loss, deletion of superfluous redundancy, marking of possible text loss, and deletion of BOM characters from each participant before queueing received text for transmission to receiving participants as specified in <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span> for single-party sources and <a href="#reception" class="xref">Section 3.16</a> for multiparty sources (chained mixers).<a href="#section-3.7-1" class="pilcrow">¶</a></p>
</section>
<section id="section-3.8">
<h3 id="name-principles-of-redundant-tra">
<a href="#section-3.8" class="section-number selfRef">3.8. </a><a href="#name-principles-of-redundant-tra" class="section-name selfRef">Principles of Redundant Transmission</a>
</h3>
<p id="section-3.8-1">
A transmitting party using redundancy <span class="bcp14">SHALL</span> send redundant repetitions of T140blocks already transmitted in earlier packets.<a href="#section-3.8-1" class="pilcrow">¶</a></p>
<p id="section-3.8-2"> The number of redundant generations of T140blocks to include in transmitted packets <span class="bcp14">SHALL</span> be deduced from the SDP negotiation. It <span class="bcp14">SHALL</span> be set to the minimum of the number declared by the two parties negotiating a connection. It is <span class="bcp14">RECOMMENDED</span> to declare and transmit one original and two redundant generations of the T140blocks, because this provides good protection against text loss in the case of packet loss and also provides low overhead.<a href="#section-3.8-2" class="pilcrow">¶</a></p>
</section>
<section id="section-3.9">
<h3 id="name-text-placement-in-packets">
<a href="#section-3.9" class="section-number selfRef">3.9. </a><a href="#name-text-placement-in-packets" class="section-name selfRef">Text Placement in Packets</a>
</h3>
<p id="section-3.9-1">
The mixer <span class="bcp14">SHALL</span> compose and transmit an RTP packet to a receiver when one or more of the following conditions have occurred:<a href="#section-3.9-1" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-3.9-2.1">The transmission interval is the normal 330 ms (no matter whether the transmission interval has passed or not), and there is newly received unsent text available for transmission to that receiver.<a href="#section-3.9-2.1" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-3.9-2.2">The current transmission interval has passed and is longer than the normal 330 ms, and there is newly received unsent text available for transmission to that receiver.<a href="#section-3.9-2.2" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-3.9-2.3">The current transmission interval (normally 330 ms) has passed since already-transmitted text was queued for transmission as redundant text.<a href="#section-3.9-2.3" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-3.9-3">
The principles provided in <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span> apply for populating the header, the redundancy header, and the
data in the packet with specific information, as detailed here and in the following sections.<a href="#section-3.9-3" class="pilcrow">¶</a></p>
<p id="section-3.9-4">
At the time of transmission, the mixer <span class="bcp14">SHALL</span> populate the RTP packet with all T140blocks queued for transmission originating from the source selected for transmission as long as this is not in conflict with the allowed number of characters per second ("cps") or the maximum packet size.
In this way, the latency of the latest received text is kept low even in moments of simultaneous transmission from many sources.<a href="#section-3.9-4" class="pilcrow">¶</a></p>
<p id="section-3.9-5">
Redundant text <span class="bcp14">SHALL</span> also be included, and the assessment of how much new text can be included within the maximum packet size <span class="bcp14">MUST</span> take into account that the redundancy has priority to be transmitted in its entirety. See <a href="#transmint" class="xref">Section 3.4</a>.<a href="#section-3.9-5" class="pilcrow">¶</a></p>
<p id="section-3.9-6">
The SSRC of the source <span class="bcp14">SHALL</span> be placed as the only member in the CSRC list.<a href="#section-3.9-6" class="pilcrow">¶</a></p>
<aside id="section-3.9-7">
<p id="section-3.9-7.1">
Note: The CSRC list in an RTP packet only includes the participant whose text is included in text blocks. It is not the same as the total list of participants in a conference. With audio and video media, the CSRC list would often contain all participants who are not muted, whereas text participants that don't type are completely silent and thus are not represented in RTP packet CSRC lists.<a href="#section-3.9-7.1" class="pilcrow">¶</a></p>
</aside>
</section>
<section id="section-3.10">
<h3 id="name-empty-t140blocks">
<a href="#section-3.10" class="section-number selfRef">3.10. </a><a href="#name-empty-t140blocks" class="section-name selfRef">Empty T140blocks</a>
</h3>
<p id="section-3.10-1">
If no unsent T140blocks were available for a source at the time of populating a packet but already-transmitted T140blocks are available that have not yet been sent the full intended number of redundant transmissions, then the primary area in the packet is composed of an empty T140block and included (without taking up any length) in the packet for transmission. The corresponding SSRC <span class="bcp14">SHALL</span> be placed as usual in its place in the CSRC list.<a href="#section-3.10-1" class="pilcrow">¶</a></p>
<p id="section-3.10-2">
The first packet in the session, the first after a source switch, and the first after a pause <span class="bcp14">SHALL</span> be populated with the
available T140blocks for the source selected to be sent as the primary, and empty T140blocks for the agreed-upon number of redundancy generations.<a href="#section-3.10-2" class="pilcrow">¶</a></p>
</section>
<div id="redundancy">
<section id="section-3.11">
<h3 id="name-creation-of-the-redundancy">
<a href="#section-3.11" class="section-number selfRef">3.11. </a><a href="#name-creation-of-the-redundancy" class="section-name selfRef">Creation of the Redundancy</a>
</h3>
<p id="section-3.11-1">
The primary T140block from a source in the latest transmitted packet is saved for populating the first redundant T140block for that source in the next transmission of text from that source. The first redundant T140block for that source from the latest transmission is saved for populating the second redundant T140block in the next transmission of text from that source.<a href="#section-3.11-1" class="pilcrow">¶</a></p>
<p id="section-3.11-2">
Usually, this is the level of redundancy used. If a higher level of redundancy is negotiated, then the procedure <span class="bcp14">SHALL</span> be continued until all available redundant levels of T140blocks are placed in the packet. If a receiver has negotiated a lower number of "text/red" generations, then that level <span class="bcp14">SHALL</span> be the maximum used by the transmitter.<a href="#section-3.11-2" class="pilcrow">¶</a></p>
<p id="section-3.11-3">
The T140blocks saved for transmission as redundant data are assigned a planned transmission time of 330 ms after the current time but <span class="bcp14">SHOULD</span> be transmitted earlier if new text for the same source gets selected for transmission before that time.<a href="#section-3.11-3" class="pilcrow">¶</a></p>
</section>
</div>
<section id="section-3.12">
<h3 id="name-timer-offset-fields">
<a href="#section-3.12" class="section-number selfRef">3.12. </a><a href="#name-timer-offset-fields" class="section-name selfRef">Timer Offset Fields</a>
</h3>
<p id="section-3.12-1">
The timestamp offset values <span class="bcp14">SHALL</span> be inserted in the redundancy header, with the time offset from the RTP timestamp in the packet when the corresponding T140block was sent as the primary.<a href="#section-3.12-1" class="pilcrow">¶</a></p>
<p id="section-3.12-2">
The timestamp offsets are expressed in the same clock tick units as the RTP timestamp.<a href="#section-3.12-2" class="pilcrow">¶</a></p>
<p id="section-3.12-3">
The timestamp offset values for empty T140blocks have no relevance but <span class="bcp14">SHOULD</span> be assigned realistic values.<a href="#section-3.12-3" class="pilcrow">¶</a></p>
</section>
<section id="section-3.13">
<h3 id="name-other-rtp-header-fields">
<a href="#section-3.13" class="section-number selfRef">3.13. </a><a href="#name-other-rtp-header-fields" class="section-name selfRef">Other RTP Header Fields</a>
</h3>
<p id="section-3.13-1">
The number of members in the CSRC list (0 or 1) <span class="bcp14">SHALL</span> be placed in the CC header field. Only mixers place value 1 in the CC field. A value of 0 indicates that the source is the transmitting device itself and that the source is indicated by the SSRC field. This value is used by endpoints and also by mixers sending self-sourced data.<a href="#section-3.13-1" class="pilcrow">¶</a></p>
<p id="section-3.13-2">
The current time <span class="bcp14">SHALL</span> be inserted in the timestamp.<a href="#section-3.13-2" class="pilcrow">¶</a></p>
<p id="section-3.13-3">
The SSRC header field <span class="bcp14">SHALL</span> contain the SSRC of the RTP session where the packet will be transmitted.<a href="#section-3.13-3" class="pilcrow">¶</a></p>
<p id="section-3.13-4">
The M-bit <span class="bcp14">SHALL</span> be handled as specified in <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span>.<a href="#section-3.13-4" class="pilcrow">¶</a></p>
</section>
<section id="section-3.14">
<h3 id="name-pause-in-transmission">
<a href="#section-3.14" class="section-number selfRef">3.14. </a><a href="#name-pause-in-transmission" class="section-name selfRef">Pause in Transmission</a>
</h3>
<p id="section-3.14-1">
When there is no new T140block to transmit and no redundant T140block that has not been retransmitted the intended number of times from any source, the transmission process <span class="bcp14">SHALL</span> be stopped until either new T140blocks arrive or a keep-alive method calls for transmission of keep-alive packets.<a href="#section-3.14-1" class="pilcrow">¶</a></p>
</section>
<section id="section-3.15">
<h3 id="name-rtcp-considerations">
<a href="#section-3.15" class="section-number selfRef">3.15. </a><a href="#name-rtcp-considerations" class="section-name selfRef">RTCP Considerations</a>
</h3>
<p id="section-3.15-1">
A mixer <span class="bcp14">SHALL</span> send RTCP reports with SDES, CNAME, and NAME information about the sources in the multiparty call. This makes it possible for participants to compose a suitable label for text from each source.<a href="#section-3.15-1" class="pilcrow">¶</a></p>
<p id="section-3.15-2">
Privacy considerations <span class="bcp14">SHALL</span> be taken when composing these fields. They contain name and address information that may be considered
sensitive if the information is transmitted in its entirety, e.g., to unauthenticated participants.<a href="#section-3.15-2" class="pilcrow">¶</a></p>
</section>
<div id="reception">
<section id="section-3.16">
<h3 id="name-reception-of-multiparty-con">
<a href="#section-3.16" class="section-number selfRef">3.16. </a><a href="#name-reception-of-multiparty-con" class="section-name selfRef">Reception of Multiparty Contents</a>
</h3>
<p id="section-3.16-1">
The "text/red" receiver included in an endpoint with presentation functions will receive RTP packets in the single stream from the mixer and <span class="bcp14">SHALL</span> distribute the T140blocks for presentation in presentation areas for each source. Other receiver roles, such as gateways or chained mixers, are also feasible.
Whether the stream will only be forwarded or will be distributed based on the different sources must be taken into consideration.<a href="#section-3.16-1" class="pilcrow">¶</a></p>
<section id="section-3.16.1">
<h4 id="name-acting-on-the-source-of-the">
<a href="#section-3.16.1" class="section-number selfRef">3.16.1. </a><a href="#name-acting-on-the-source-of-the" class="section-name selfRef">Acting on the Source of the Packet Contents</a>
</h4>
<p id="section-3.16.1-1">
If the CC field value of a received packet is 1, it indicates that
the text is conveyed from a source indicated in the single member in the CSRC list, and the receiver <span class="bcp14">MUST</span> act on the source according to its role. If the CC value is 0, the source is indicated in the SSRC field.<a href="#section-3.16.1-1" class="pilcrow">¶</a></p>
</section>
<section id="section-3.16.2">
<h4 id="name-detection-and-indication-of">
<a href="#section-3.16.2" class="section-number selfRef">3.16.2. </a><a href="#name-detection-and-indication-of" class="section-name selfRef">Detection and Indication of Possible Text Loss</a>
</h4>
<p id="section-3.16.2-1">
The receiver <span class="bcp14">SHALL</span> monitor the RTP sequence numbers of the received packets for gaps and for packets received out of order.
If a sequence number gap appears and still exists after some defined short time for jitter and reordering resolution, the packets in the gap <span class="bcp14">SHALL</span> be regarded as lost.<a href="#section-3.16.2-1" class="pilcrow">¶</a></p>
<p id="section-3.16.2-2">
If it is known that only one source is active in the RTP session, then it is likely that a gap equal to or larger than the agreed-upon number of redundancy generations (including the primary) causes text loss. In that case, the receiver <span class="bcp14">SHALL</span> create a T140block with a marker for possible text loss <span>[<a href="#T140ad1" class="xref">T140ad1</a>]</span>, associate it with the source, and insert it in the reception buffer for that source.<a href="#section-3.16.2-2" class="pilcrow">¶</a></p>
<p id="section-3.16.2-3">
If it is known that more than one source is active in the RTP session, then it is not possible in general to evaluate if text was lost when packets were lost. With two active sources and the recommended number of redundancy generations (one original and two redundant), it can take a gap of five consecutive lost packets before any text may be lost, but text loss can also appear if three non-consecutive packets are lost when they contained consecutive data from the same source. A simple method for deciding when there is a risk of resulting text loss is to evaluate if three or more packets were lost within one second. If this simple method is used, then a T140block <span class="bcp14">SHOULD</span> be created with a marker for possible text loss <span>[<a href="#T140ad1" class="xref">T140ad1</a>]</span> and associated with the SSRC of the RTP session as a general input from the mixer.<a href="#section-3.16.2-3" class="pilcrow">¶</a></p>
<p id="section-3.16.2-4">
Implementations <span class="bcp14">MAY</span> apply more refined methods for more reliable detection of whether text was lost or not. Any refined method <span class="bcp14">SHOULD</span> prefer marking possible loss rather than not marking when it is uncertain if there was loss.<a href="#section-3.16.2-4" class="pilcrow">¶</a></p>
</section>
<section id="section-3.16.3">
<h4 id="name-extracting-text-and-handlin">
<a href="#section-3.16.3" class="section-number selfRef">3.16.3. </a><a href="#name-extracting-text-and-handlin" class="section-name selfRef">Extracting Text and Handling Recovery</a>
</h4>
<p id="section-3.16.3-1">
When applying the following procedures, the effects of possible timestamp wraparound and the RTP session possibly changing the SSRC <span class="bcp14">MUST</span> be considered.<a href="#section-3.16.3-1" class="pilcrow">¶</a></p>
<p id="section-3.16.3-2">
When a packet is received in an RTP session using the packetization for multiparty-aware endpoints, its T140blocks <span class="bcp14">SHALL</span> be extracted as described below.<a href="#section-3.16.3-2" class="pilcrow">¶</a></p>
<p id="section-3.16.3-3">
The source <span class="bcp14">SHALL</span> be extracted from the CSRC list if available, and otherwise from the SSRC.<a href="#section-3.16.3-3" class="pilcrow">¶</a></p>
<p id="section-3.16.3-4">
If the received packet is the first packet received from the source, then all T140blocks in the packet <span class="bcp14">SHALL</span> be retrieved and assigned to a receive buffer for that source, beginning with the oldest available redundant generation, continuing with the younger redundant generations in age order, and finally ending with the primary.<a href="#section-3.16.3-4" class="pilcrow">¶</a></p>
<aside id="section-3.16.3-5">
<p id="section-3.16.3-5.1">
Note: The normal case is that in the first packet, only the primary data has contents. The redundant data has contents in the first received packet from a source only after initial packet loss.<a href="#section-3.16.3-5.1" class="pilcrow">¶</a></p>
</aside>
<p id="section-3.16.3-6">
If the packet is not the first packet from a source, then if redundant
data is available, the process <span class="bcp14">SHALL</span> start with the oldest generation.
The timestamp of that redundant data <span class="bcp14">SHALL</span> be
created by subtracting its timestamp offset from the RTP timestamp.
If the resulting timestamp is later than the latest retrieved data
from the same source, then the redundant data <span class="bcp14">SHALL</span> be retrieved and
appended to the receive buffer. The process <span class="bcp14">SHALL</span> be continued in
the same way for all younger generations of redundant data. After that,
the timestamp of the packet <span class="bcp14">SHALL</span> be compared with the timestamp of
the latest retrieved data from the same source and if it is later,
then the primary data <span class="bcp14">SHALL</span> be retrieved from the packet and appended
to the receive buffer for the source.<a href="#section-3.16.3-6" class="pilcrow">¶</a></p>
</section>
<section id="section-3.16.4">
<h4 id="name-delete-bom">
<a href="#section-3.16.4" class="section-number selfRef">3.16.4. </a><a href="#name-delete-bom" class="section-name selfRef">Delete BOM</a>
</h4>
<p id="section-3.16.4-1">
The Unicode BOM character is used as a start indication and is sometimes used as a filler or keep-alive by transmission implementations. Any BOM characters <span class="bcp14">SHALL</span> be deleted after extraction from received packets.<a href="#section-3.16.4-1" class="pilcrow">¶</a></p>
</section>
</section>
</div>
<div id="perf">
<section id="section-3.17">
<h3 id="name-performance-considerations">
<a href="#section-3.17" class="section-number selfRef">3.17. </a><a href="#name-performance-considerations" class="section-name selfRef">Performance Considerations</a>
</h3>
<p id="section-3.17-1">
This solution has good performance with low text delays, as long as the mean number of characters per second sent during any 10-second interval from a number of simultaneously sending participants to a receiving participant does not reach the "cps" value. At higher numbers of sent characters per second, a jerkiness is visible in the presentation of text. The solution is therefore suitable for emergency service use, relay service use, and small or well-managed larger multimedia conferences. In large unmanaged conferences with a high number of participants only, on very rare occasions, situations might arise where many participants happen to send text simultaneously. In such circumstances, the result may be unpleasantly jerky presentation of text from each sending participant. It should be noted that it is only the number of users sending text within the same moment that causes jerkiness, not the total number of users with real-time text capability.<a href="#section-3.17-1" class="pilcrow">¶</a></p>
</section>
</div>
<div id="security2">
<section id="section-3.18">
<h3 id="name-security-for-session-contro">
<a href="#section-3.18" class="section-number selfRef">3.18. </a><a href="#name-security-for-session-contro" class="section-name selfRef">Security for Session Control and Media</a>
</h3>
<p id="section-3.18-1">
Security mechanisms to provide confidentiality,
integrity protection, and peer authentication <span class="bcp14">SHOULD</span> be applied when possible regarding the capabilities of the participating devices by using the Session Initiation Protocol (SIP) over TLS by default according to <span><a href="https://www.rfc-editor.org/rfc/rfc5630#section-3.1.3" class="relref">Section 3.1.3</a> of [<a href="#RFC5630" class="xref">RFC5630</a>]</span>
on the session control level and by default using DTLS-SRTP <span>[<a href="#RFC5764" class="xref">RFC5764</a>]</span> at the media level. In applications where legacy endpoints without security are allowed, a negotiation <span class="bcp14">SHOULD</span> be performed to decide if encryption at the media level will be applied. If no other security solution is mandated for the application, then the Opportunistic Secure Real-time Transport Protocol (OSRTP) <span>[<a href="#RFC8643" class="xref">RFC8643</a>]</span> is a suitable method to be applied to negotiate SRTP media security with DTLS. For simplicity, most SDP examples below are expressed without the security additions. The principles (but not all details) for applying DTLS-SRTP security <span>[<a href="#RFC5764" class="xref">RFC5764</a>]</span> are shown in a couple of the following examples.<a href="#section-3.18-1" class="pilcrow">¶</a></p>
<p id="section-3.18-2">
Further general security considerations are covered in <a href="#Security" class="xref">Section 10</a>.<a href="#section-3.18-2" class="pilcrow">¶</a></p>
<p id="section-3.18-3">
End-to-end encryption would require further work and could be based on WebRTC as specified in <a href="#alternatives" class="xref">Section 1.2</a> or on double encryption as specified in <span>[<a href="#RFC8723" class="xref">RFC8723</a>]</span>.<a href="#section-3.18-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="SDP-examples2">
<section id="section-3.19">
<h3 id="name-sdp-offer-answer-examples">
<a href="#section-3.19" class="section-number selfRef">3.19. </a><a href="#name-sdp-offer-answer-examples" class="section-name selfRef">SDP Offer/Answer Examples</a>
</h3>
<p id="section-3.19-1">
This section shows some examples of SDP for session negotiation of the real-time text media in SIP sessions. Audio is usually provided in the same session, and sometimes also video. The examples only show the part of importance for the real-time text media. The examples relate to the single RTP stream mixing for multiparty-aware endpoints and for multiparty-unaware endpoints.<a href="#section-3.19-1" class="pilcrow">¶</a></p>
<aside id="section-3.19-2">
<p id="section-3.19-2.1">
Note: Multiparty real-time text <span class="bcp14">MAY</span> also be provided through other methods, e.g., by a Selective Forwarding Middlebox (SFM). In that case, the
SDP of the offer will include something specific for that method, e.g., an SDP attribute or another media format. An answer selecting the use of that method would accept it via a corresponding acknowledgement included in the SDP. The offer may also contain the "rtt-mixer" SDP media attribute for the main real-time text media when the offerer has this capability for both multiparty methods, while an answer, choosing to use SFM, will not include the "rtt-mixer" SDP media attribute.<a href="#section-3.19-2.1" class="pilcrow">¶</a></p>
</aside>
<p id="section-3.19-3">Offer example for the "text/red" format, multiparty support, and capability for 90 characters per second:<a href="#section-3.19-3" class="pilcrow">¶</a></p>
<div id="section-3.19-4">
<pre class="sourcecode lang-sdp">
m=text 11000 RTP/AVP 100 98
a=rtpmap:98 t140/1000
a=fmtp:98 cps=90
a=rtpmap:100 red/1000
a=fmtp:100 98/98/98
a=rtt-mixer
</pre><a href="#section-3.19-4" class="pilcrow">¶</a>
</div>
<p id="section-3.19-5">Answer example from a multiparty-aware device:<a href="#section-3.19-5" class="pilcrow">¶</a></p>
<div id="section-3.19-6">
<pre class="sourcecode lang-sdp">
m=text 14000 RTP/AVP 100 98
a=rtpmap:98 t140/1000
a=fmtp:98 cps=90
a=rtpmap:100 red/1000
a=fmtp:100 98/98/98
a=rtt-mixer
</pre><a href="#section-3.19-6" class="pilcrow">¶</a>
</div>
<p id="section-3.19-7">Offer example for the "text/red" format, including multiparty and security:<a href="#section-3.19-7" class="pilcrow">¶</a></p>
<div id="section-3.19-8">
<pre class="sourcecode lang-sdp">
a=fingerprint: (fingerprint1)
m=text 11000 RTP/AVP 100 98
a=rtpmap:98 t140/1000
a=rtpmap:100 red/1000
a=fmtp:100 98/98/98
a=rtt-mixer
</pre><a href="#section-3.19-8" class="pilcrow">¶</a>
</div>
<p id="section-3.19-9">The "fingerprint" is sufficient to offer DTLS-SRTP, with the media line still indicating RTP/AVP.<a href="#section-3.19-9" class="pilcrow">¶</a></p>
<aside id="section-3.19-10">
<p id="section-3.19-10.1">
Note: For brevity, the entire value of the SDP "fingerprint" attribute
is not shown in this and the following example.<a href="#section-3.19-10.1" class="pilcrow">¶</a></p>
</aside>
<p id="section-3.19-11">Answer example from a multiparty-aware device with security:<a href="#section-3.19-11" class="pilcrow">¶</a></p>
<div id="section-3.19-12">
<pre class="sourcecode lang-sdp">
a=fingerprint: (fingerprint2)
m=text 16000 RTP/AVP 100 98
a=rtpmap:98 t140/1000
a=rtpmap:100 red/1000
a=fmtp:100 98/98/98
a=rtt-mixer
</pre><a href="#section-3.19-12" class="pilcrow">¶</a>
</div>
<p id="section-3.19-13">
With the "fingerprint", the device acknowledges the use of DTLS-SRTP.<a href="#section-3.19-13" class="pilcrow">¶</a></p>
<p id="section-3.19-14">Answer example from a multiparty-unaware device that also
does not support security:<a href="#section-3.19-14" class="pilcrow">¶</a></p>
<div id="section-3.19-15">
<pre class="sourcecode lang-sdp">
m=text 12000 RTP/AVP 100 98
a=rtpmap:98 t140/1000
a=rtpmap:100 red/1000
a=fmtp:100 98/98/98
</pre><a href="#section-3.19-15" class="pilcrow">¶</a>
</div>
</section>
</div>
<div id="pseq">
<section id="section-3.20">
<h3 id="name-packet-sequence-example-fro">
<a href="#section-3.20" class="section-number selfRef">3.20. </a><a href="#name-packet-sequence-example-fro" class="section-name selfRef">Packet Sequence Example from Interleaved Transmission</a>
</h3>
<p id="section-3.20-1">
This example shows a symbolic flow of packets from a mixer, including loss and recovery. The sequence includes interleaved transmission of text from two real-time text sources: A and B.
P indicates primary data. R1 is the first redundant generation of data, and R2 is the second redundant generation of data. A1, B1, A2, etc. are text chunks (T140blocks) received from the respective sources and sent on to the receiver by the mixer. X indicates a dropped packet between the mixer and a receiver. The session is assumed to use the original and two redundant generations of real-time text.<a href="#section-3.20-1" class="pilcrow">¶</a></p>
<div class="artwork art-text alignLeft" id="section-3.20-2">
<pre>
|-----------------------|
|Seq no 101, Time=20400 |
|CC=1 |
|CSRC list A |
|R2: A1, Offset=600 |
|R1: A2, Offset=300 |
|P: A3 |
|-----------------------|
</pre><a href="#section-3.20-2" class="pilcrow">¶</a>
</div>
<p id="section-3.20-3">
Assuming that earlier packets (with text A1 and A2) were received in sequence, text A3 is received from packet 101 and assigned to reception buffer A. The mixer is now assumed to have received initial text from source B 100 ms after packet 101 and will send that text. Transmission of A2 and A3 as redundancy is planned for 330 ms after packet 101 if no new text from A is ready to be sent before that.<a href="#section-3.20-3" class="pilcrow">¶</a></p>
<div class="artwork art-text alignLeft" id="section-3.20-4">
<pre>
|-----------------------|
|Seq no 102, Time=20500 |
|CC=1 |
|CSRC list B |
|R2 Empty, Offset=600 |
|R1: Empty, Offset=300 |
|P: B1 |
|-----------------------|
</pre><a href="#section-3.20-4" class="pilcrow">¶</a>
</div>
<p style="margin-left: 1.5em" id="section-3.20-5">Packet 102 is received.<a href="#section-3.20-5" class="pilcrow">¶</a></p>
<p style="margin-left: 1.5em" id="section-3.20-6">B1 is retrieved from this packet. Redundant transmission of
B1 is planned 330 ms after packet 102.<a href="#section-3.20-6" class="pilcrow">¶</a></p>
<div class="artwork art-text alignLeft" id="section-3.20-7">
<pre>
X------------------------|
X Seq no 103, Timer=20730|
X CC=1 |
X CSRC list A |
X R2: A2, Offset=630 |
X R1: A3, Offset=330 |
X P: Empty |
X------------------------|
</pre><a href="#section-3.20-7" class="pilcrow">¶</a>
</div>
<p style="margin-left: 1.5em" id="section-3.20-8">Packet 103 is assumed to be lost due to network problems.<a href="#section-3.20-8" class="pilcrow">¶</a></p>
<p style="margin-left: 1.5em" id="section-3.20-9">It contains redundancy for A. Sending A3 as second-level
redundancy is planned for 330 ms after packet 103.<a href="#section-3.20-9" class="pilcrow">¶</a></p>
<div class="artwork art-text alignLeft" id="section-3.20-10">
<pre>
X------------------------|
X Seq no 104, Timer=20800|
X CC=1 |
X CSRC list B |
X R2: Empty, Offset=600 |
X R1: B1, Offset=300 |
X P: B2 |
X------------------------|
</pre><a href="#section-3.20-10" class="pilcrow">¶</a>
</div>
<p style="margin-left: 1.5em" id="section-3.20-11">Packet 104 contains text from B, including new B2 and
redundant B1. It is assumed dropped due to network
problems.<a href="#section-3.20-11" class="pilcrow">¶</a></p>
<p style="margin-left: 1.5em" id="section-3.20-12">The mixer has A3 redundancy to send, but no new text
appears from A, and therefore the redundancy is sent
330 ms after the previous packet with text from A.<a href="#section-3.20-12" class="pilcrow">¶</a></p>
<div class="artwork art-text alignLeft" id="section-3.20-13">
<pre>
|------------------------|
| Seq no 105, Timer=21060|
| CC=1 |
| CSRC list A |
| R2: A3, Offset=660 |
| R1: Empty, Offset=330 |
| P: Empty |
|------------------------|
</pre><a href="#section-3.20-13" class="pilcrow">¶</a>
</div>
<p style="margin-left: 1.5em" id="section-3.20-14">Packet 105 is received.<a href="#section-3.20-14" class="pilcrow">¶</a></p>
<p style="margin-left: 1.5em" id="section-3.20-15">A gap for lost packets 103 and 104 is detected.
Assume that no other loss was detected during the last second.
It can then be concluded that nothing was totally lost.<a href="#section-3.20-15" class="pilcrow">¶</a></p>
<p style="margin-left: 1.5em" id="section-3.20-16">R2 is checked. Its original time was 21060-660=20400.
A packet with text from A was received with that
timestamp, so nothing needs to be recovered.<a href="#section-3.20-16" class="pilcrow">¶</a></p>
<p style="margin-left: 1.5em" id="section-3.20-17">B1 and B2 still need to be transmitted as redundancy.
This is planned 330 ms after packet 104. That would be at 21130.<a href="#section-3.20-17" class="pilcrow">¶</a></p>
<div class="artwork art-text alignLeft" id="section-3.20-18">
<pre>
|-----------------------|
|Seq no 106, Timer=21130|
|CC=1 |
|CSRC list B |
| R2: B1, Offset=630 |
| R1: B2, Offset=330 |
| P: Empty |
|-----------------------|
</pre><a href="#section-3.20-18" class="pilcrow">¶</a>
</div>
<p style="margin-left: 1.5em" id="section-3.20-19">Packet 106 is received.<a href="#section-3.20-19" class="pilcrow">¶</a></p>
<p style="margin-left: 1.5em" id="section-3.20-20">The second-level redundancy in packet 106 is B1 and has a timestamp offset of 630 ms.
The timestamp of packet 106 minus 630 is 20500, which is the timestamp of packet 102 that was received. So, B1 does not need to be retrieved.
The first-level redundancy in packet 106 has an offset of 330. The timestamp of packet 106 minus 330 is 20800. That is later than the latest received packet with source B. Therefore, B2 is retrieved and assigned to the input buffer for source B.
No primary is available in packet 106.<a href="#section-3.20-20" class="pilcrow">¶</a></p>
<p style="margin-left: 1.5em" id="section-3.20-21">After this sequence, A3, B1, and B2 have been received. In this case, no text was lost.<a href="#section-3.20-21" class="pilcrow">¶</a></p>
</section>
</div>
<section id="section-3.21">
<h3 id="name-maximum-character-rate-cps-">
<a href="#section-3.21" class="section-number selfRef">3.21. </a><a href="#name-maximum-character-rate-cps-" class="section-name selfRef">Maximum Character Rate "cps" Setting</a>
</h3>
<p id="section-3.21-1">
The default maximum rate of reception of "text/t140" real-time text, as specified in <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span>, is 30 characters per second. The actual rate is calculated without regard to any redundant text transmission and is, in the multiparty case, evaluated for all sources contributing to transmission to a receiver. The value <span class="bcp14">MAY</span> be modified in the "cps" parameter of the "fmtp" attribute for the "text/t140" format of the "text" media section.<a href="#section-3.21-1" class="pilcrow">¶</a></p>
<p id="section-3.21-2">
A mixer combining real-time text from a number of sources may occasionally have a higher combined flow of text coming from the sources. Endpoints <span class="bcp14">SHOULD</span> therefore include a suitable higher value for the "cps" parameter, corresponding to its real reception capability. The default "cps" value 30 can be assumed to be sufficient for small meetings and well-managed larger conferences with users only making manual text entry. A "cps" value of 90 can be assumed to be sufficient even for large unmanaged conferences and for cases when speech-to-text technologies are used for text entry. This is also a reachable performance for receivers in modern technologies, and 90 is therefore the <span class="bcp14">RECOMMENDED</span> "cps" value. See <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span> for the format and use of the "cps" parameter. The same rules apply for the multiparty case.<a href="#section-3.21-2" class="pilcrow">¶</a></p>
</section>
</section>
</div>
<section id="section-4">
<h2 id="name-presentation-level-consider">
<a href="#section-4" class="section-number selfRef">4. </a><a href="#name-presentation-level-consider" class="section-name selfRef">Presentation-Level Considerations</a>
</h2>
<p id="section-4-1">
"Protocol for multimedia application text conversation" <span>[<a href="#T140" class="xref">T140</a>]</span> provides the presentation-level requirements for RTP transport
as described in <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span>. Functions for erasure and other formatting functions are specified in <span>[<a href="#T140" class="xref">T140</a>]</span>, which has the following general statement for the presentation:<a href="#section-4-1" class="pilcrow">¶</a></p>
<blockquote id="section-4-2">The display of text from the members of the conversation should be arranged so that the text from
each participant is clearly readable, and its source and the relative timing of entered text is visualized
in the display. Mechanisms for looking back in the contents from the current session should be
provided. The text should be displayed as soon as it is received.<a href="#section-4-2" class="pilcrow">¶</a>
</blockquote>
<p id="section-4-3">
Strict application of <span>[<a href="#T140" class="xref">T140</a>]</span> is essential for the interoperability of real-time text implementations and to fulfill the intention that the session participants have the same information conveyed in the text contents of the conversation without necessarily having the exact same layout of the conversation.<a href="#section-4-3" class="pilcrow">¶</a></p>
<p id="section-4-4">
<span>[<a href="#T140" class="xref">T140</a>]</span> specifies a set of presentation control codes (<a href="#act-tx-ctrl-codes" class="xref">Section 4.2.4</a>) to include in the stream. Some of them are optional. Implementations <span class="bcp14">MUST</span> ignore optional control codes that they do not support.<a href="#section-4-4" class="pilcrow">¶</a></p>
<p id="section-4-5">
There is no strict "message" concept in real-time text. The Unicode Line Separator character <span class="bcp14">SHALL</span> be used as a separator allowing a part of received text to be grouped in a presentation. The character combination "CRLF" may be used by other implementations as a replacement for the Line Separator. The "CRLF" combination <span class="bcp14">SHALL</span> be erased by just one erasing action, the same as the Line Separator. Presentation functions are allowed to group text for presentation in smaller groups than the Line Separators imply and present such groups with a source indication together with text groups from other sources (see the following presentation examples). Erasure has no specific limit by any delimiter in the text stream.<a href="#section-4-5" class="pilcrow">¶</a></p>
<section id="section-4.1">
<h3 id="name-presentation-by-multiparty-">
<a href="#section-4.1" class="section-number selfRef">4.1. </a><a href="#name-presentation-by-multiparty-" class="section-name selfRef">Presentation by Multiparty-Aware Endpoints</a>
</h3>
<p id="section-4.1-1">
A multiparty-aware receiving party presenting real-time text <span class="bcp14">MUST</span> separate text from different sources and present them in separate presentation fields.
The receiving party <span class="bcp14">MAY</span> separate the presentation of parts of text from a source in readable groups based on criteria other than a Line Separator and merge these groups in the presentation area when it benefits the user to most easily find and read text from the different participants. The criteria <span class="bcp14">MAY</span>, for example, be a received comma, a full stop, some other type of phrase delimiter, or a long pause.<a href="#section-4.1-1" class="pilcrow">¶</a></p>
<p id="section-4.1-2">
When text is received from multiple original sources, the presentation <span class="bcp14">SHALL</span> provide a view where text is added in multiple presentation fields.<a href="#section-4.1-2" class="pilcrow">¶</a></p>
<p id="section-4.1-3">
If the presentation presents text from different sources in one common area, the presenting endpoint <span class="bcp14">SHOULD</span> insert text from the local user, where the text ends at suitable points and is merged properly with received text to indicate the relative timing for when the text groups were completed.
In this presentation mode, the receiving endpoint <span class="bcp14">SHALL</span> present the source of the different groups of text. This presentation style is called the "chat" style here and provides the possibility of following text arriving from multiple parties and the approximate relative time that text is received as related to text from the local user.<a href="#section-4.1-3" class="pilcrow">¶</a></p>
<p id="section-4.1-4">A view of a three-party real-time text call in chat style is shown in this example.<a href="#section-4.1-4" class="pilcrow">¶</a></p>
<span id="name-example-of-a-three-party-re"></span><div id="fig1">
<figure id="figure-1">
<div class="artwork art-text alignLeft" id="section-4.1-5.1">
<pre>
_________________________________________________
| |^|
|[Alice] Hi, Alice here. |-|
| | |
|[Bob] Bob as well. | |
| | |
|[Eve] Hi, this is Eve, calling from Paris. | |
| I thought you should be here. | |
| | |
|[Alice] I am coming on Thursday, my | |
| performance is not until Friday morning.| |
| | |
|[Bob] And I on Wednesday evening. | |
| | |
|[Alice] Can we meet on Thursday evening? | |
| | |
|[Eve] Yes, definitely. How about 7pm. | |
| at the entrance of the restaurant | |
| Le Lion Blanc? | |
|[Eve] we can have dinner and then take a walk |-|
|______________________________________________|v|
| <Eve-typing> But I need to be back to |^|
| the hotel by 11 because I need |-|
| | |
| <Bob-typing> I wou |-|
|______________________________________________|v|
| of course, I underst |
|________________________________________________|
</pre>
</div>
<figcaption><a href="#figure-1" class="selfRef">Figure 1</a>:
<a href="#name-example-of-a-three-party-re" class="selfRef">Example of a Three-Party Real-Time Text Call Presented in Chat Style Seen at Participant Alice's Endpoint</a>
</figcaption></figure>
</div>
<p id="section-4.1-6">Presentation styles other than the chat style <span class="bcp14">MAY</span> be arranged.<a href="#section-4.1-6" class="pilcrow">¶</a></p>
<p id="section-4.1-7"><a href="#fig2" class="xref">Figure 2</a> shows how a coordinated column view
<span class="bcp14">MAY</span> be presented.<a href="#section-4.1-7" class="pilcrow">¶</a></p>
<span id="name-an-example-of-a-coordinated"></span><div id="fig2">
<figure id="figure-2">
<div class="artwork art-text alignLeft" id="section-4.1-8.1">
<pre>
_____________________________________________________________________
| Bob | Eve | Alice |
|____________________|______________________|_______________________|
| | |I will arrive by TGV. |
|My flight is to Orly| |Convenient to the main |
| |Hi all, can we plan |station. |
| |for the seminar? | |
|Eve, will you do | | |
|your presentation on| | |
|Friday? |Yes, Friday at 10. | |
|Fine, wo | |We need to meet befo |
|___________________________________________________________________|
</pre>
</div>
<figcaption><a href="#figure-2" class="selfRef">Figure 2</a>:
<a href="#name-an-example-of-a-coordinated" class="selfRef">An Example of a Coordinated Column View of a Three‑Party Session with Entries Ordered Vertically in Approximate Time Order</a>
</figcaption></figure>
</div>
</section>
<div id="UnawareFormat">
<section id="section-4.2">
<h3 id="name-multiparty-mixing-for-multi">
<a href="#section-4.2" class="section-number selfRef">4.2. </a><a href="#name-multiparty-mixing-for-multi" class="section-name selfRef">Multiparty Mixing for Multiparty-Unaware Endpoints</a>
</h3>
<p id="section-4.2-1">
When the mixer has indicated multiparty real-time text capability in an SDP negotiation but the multiparty capability negotiation fails with an endpoint, the agreed-upon "text/red" or "text/t140" format <span class="bcp14">SHALL</span> be used and the mixer <span class="bcp14">SHOULD</span> compose a best-effort presentation of multiparty real-time text in one stream intended to be presented by an endpoint with no multiparty awareness, when that is desired in the actual implementation. The following specifies a procedure that <span class="bcp14">MAY</span> be applied in that situation.<a href="#section-4.2-1" class="pilcrow">¶</a></p>
<p id="section-4.2-2">
This presentation format has functional limitations and <span class="bcp14">SHOULD</span> be used only to enable participation in multiparty calls by legacy deployed endpoints implementing only RFC 4103 without any multiparty extensions specified in this document.<a href="#section-4.2-2" class="pilcrow">¶</a></p>
<p id="section-4.2-3">
The principles and procedures below do not specify any new protocol elements. They are instead composed of information provided in <span>[<a href="#T140" class="xref">T140</a>]</span> and an ambition to provide a best-effort presentation on an endpoint that has functions originally intended only for two-party calls.<a href="#section-4.2-3" class="pilcrow">¶</a></p>
<p id="section-4.2-4">
The mixer performing the mixing for multiparty-unaware endpoints <span class="bcp14">SHALL</span> compose a simulated, limited multiparty real-time text view suitable for presentation in one presentation area.
The mixer <span class="bcp14">SHALL</span> group text in suitable groups and prepare them for presentation by inserting a Line Separator between them if the transmitted text did not already end with a new line (Line Separator or CRLF). A presentable label <span class="bcp14">SHALL</span> be composed and sent for the source initially in the session and after each source switch. With this procedure, the time for switching from transmission of text from one source to transmission of text from another source depends on the actions of the users. In order to expedite source switching, a user can, for example, end its turn with a new line.<a href="#section-4.2-4" class="pilcrow">¶</a></p>
<section id="section-4.2.1">
<h4 id="name-actions-by-the-mixer-at-rec">
<a href="#section-4.2.1" class="section-number selfRef">4.2.1. </a><a href="#name-actions-by-the-mixer-at-rec" class="section-name selfRef">Actions by the Mixer at Reception from the Call Participants</a>
</h4>
<p id="section-4.2.1-1">
When text is received by the mixer from the different participants, the mixer <span class="bcp14">SHALL</span> recover text from redundancy if any packets are lost. The marker for lost text <span>[<a href="#T140ad1" class="xref">T140ad1</a>]</span> <span class="bcp14">SHALL</span> be inserted in the stream if unrecoverable loss appears. Any Unicode BOM characters, possibly used for keep-alives, <span class="bcp14">SHALL</span> be deleted.
The time of creation of text (retrieved from the RTP timestamp) <span class="bcp14">SHALL</span> be stored together with the received text from each source in queues for transmission to the recipients in order to be able to evaluate text loss.<a href="#section-4.2.1-1" class="pilcrow">¶</a></p>
</section>
<section id="section-4.2.2">
<h4 id="name-actions-by-the-mixer-for-tr">
<a href="#section-4.2.2" class="section-number selfRef">4.2.2. </a><a href="#name-actions-by-the-mixer-for-tr" class="section-name selfRef">Actions by the Mixer for Transmission to the Recipients</a>
</h4>
<p id="section-4.2.2-1">
The following procedure <span class="bcp14">SHALL</span> be applied for each multiparty-unaware recipient of multiparty text from the mixer.<a href="#section-4.2.2-1" class="pilcrow">¶</a></p>
<p id="section-4.2.2-2">
The text for transmission <span class="bcp14">SHALL</span> be formatted by the mixer for each receiving user for presentation in one single presentation area. Text received from a participant <span class="bcp14">SHOULD NOT</span> be included in transmissions to that participant, because it is usually presented locally at transmission time. When there is text available for transmission from the mixer to a receiving party from more than one participant, the mixer <span class="bcp14">SHALL</span> switch between transmission of text from the different sources at suitable points in the transmitted stream.<a href="#section-4.2.2-2" class="pilcrow">¶</a></p>
<p id="section-4.2.2-3">
When switching the source, the mixer <span class="bcp14">SHALL</span> insert a Line Separator if the already-transmitted text did not end with a new line (Line Separator or CRLF). A label <span class="bcp14">SHALL</span> be composed of information in the CNAME and NAME fields in RTCP reports from the participant to have its text transmitted, or from other session information for that user. The label <span class="bcp14">SHALL</span> be delimited by suitable characters (e.g., "[ ]") and transmitted. The CSRC <span class="bcp14">SHALL</span> indicate the selected source. Then, text from that selected participant <span class="bcp14">SHALL</span> be transmitted until a new suitable point for switching the source is reached.<a href="#section-4.2.2-3" class="pilcrow">¶</a></p>
<p id="section-4.2.2-4">
Information available to the mixer for composing the label may contain sensitive personal information that <span class="bcp14">SHOULD NOT</span> be revealed in sessions not securely authenticated and confidentiality protected. Privacy considerations regarding how much personal information is included in the label <span class="bcp14">SHOULD</span> therefore be taken when composing the label.<a href="#section-4.2.2-4" class="pilcrow">¶</a></p>
<p id="section-4.2.2-5">
Seeking a suitable point for switching the source <span class="bcp14">SHALL</span> be done when there is older text waiting for transmission from any party than the age of the last transmitted text.
Suitable points for switching are:<a href="#section-4.2.2-5" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-4.2.2-6.1">A completed phrase ending with a comma.<a href="#section-4.2.2-6.1" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-4.2.2-6.2">A completed sentence.<a href="#section-4.2.2-6.2" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-4.2.2-6.3">A new line (Line Separator or CRLF).<a href="#section-4.2.2-6.3" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-4.2.2-6.4">A long pause (e.g., > 10 seconds) in received text from the currently transmitted source.<a href="#section-4.2.2-6.4" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-4.2.2-6.5">If text from one participant has been transmitted with text from other sources waiting for transmission for a long time (e.g., > 1 minute) and none of the other suitable points for switching has occurred, a source switch <span class="bcp14">MAY</span> be forced by the mixer at the next word delimiter, and also even if a word delimiter does not occur within some period of time (e.g., 15 seconds) after the scan for a word delimiter started.<a href="#section-4.2.2-6.5" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-4.2.2-7">
When switching the source, the source that has the oldest text in queue <span class="bcp14">SHALL</span> be selected to be transmitted.
A character display count <span class="bcp14">SHALL</span> be maintained for the currently transmitted source, starting at zero after the label is transmitted for the currently transmitted source.<a href="#section-4.2.2-7" class="pilcrow">¶</a></p>
<p id="section-4.2.2-8">
The status <span class="bcp14">SHALL</span> be maintained for the latest control code for Select Graphic Rendition (SGR) from each source.
If there is an SGR code stored as the status for the current source before the source switch is done, a reset of SGR <span class="bcp14">SHALL</span> be sent by the sequence SGR 0 [U+009B U+0000 U+006D] after the new line and before the new label during a source switch. See <a href="#act-tx-ctrl-codes" class="xref">Section 4.2.4</a> for an explanation.
This transmission does not influence the display count.<a href="#section-4.2.2-8" class="pilcrow">¶</a></p>
<p id="section-4.2.2-9">
If there is an SGR code stored for the new source after the source switch, that SGR code <span class="bcp14">SHALL</span> be transmitted to the recipient before the label. This transmission does not influence the display count.<a href="#section-4.2.2-9" class="pilcrow">¶</a></p>
</section>
<section id="section-4.2.3">
<h4 id="name-actions-on-transmission-of-">
<a href="#section-4.2.3" class="section-number selfRef">4.2.3. </a><a href="#name-actions-on-transmission-of-" class="section-name selfRef">Actions on Transmission of Text</a>
</h4>
<p id="section-4.2.3-1">
Text from a source sent to the recipient <span class="bcp14">SHALL</span> increase the display count by one per transmitted character.<a href="#section-4.2.3-1" class="pilcrow">¶</a></p>
</section>
<div id="act-tx-ctrl-codes">
<section id="section-4.2.4">
<h4 id="name-actions-on-transmission-of-c">
<a href="#section-4.2.4" class="section-number selfRef">4.2.4. </a><a href="#name-actions-on-transmission-of-c" class="section-name selfRef">Actions on Transmission of Control Codes</a>
</h4>
<p id="section-4.2.4-1">
The following control codes, as specified by T.140 <span>[<a href="#T140" class="xref">T140</a>]</span>, require specific actions. They <span class="bcp14">SHALL</span> cause specific considerations in the mixer. Note that the codes presented here are expressed in UTF-16, while transmission is made in the UTF-8 encoding of these codes.<a href="#section-4.2.4-1" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlParallel" id="section-4.2.4-2">
<dt id="section-4.2.4-2.1">BEL (U+0007):</dt>
<dd style="margin-left: 1.5em" id="section-4.2.4-2.2">Bell. Alert in session. Provides for alerting during an active session. The display count <span class="bcp14">SHALL NOT</span> be altered.<a href="#section-4.2.4-2.2" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-4.2.4-2.3">NEW LINE (U+2028):</dt>
<dd style="margin-left: 1.5em" id="section-4.2.4-2.4">Line Separator. Check and perform a source switch if appropriate. Increase the display count by 1.<a href="#section-4.2.4-2.4" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-4.2.4-2.5">CR LF (U+000D U+000A):</dt>
<dd style="margin-left: 1.5em" id="section-4.2.4-2.6">A supported, but not preferred, way of requesting a new line. Check and perform a source switch if appropriate. Increase the display count by 1.<a href="#section-4.2.4-2.6" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-4.2.4-2.7">INT (ESC U+0061):</dt>
<dd style="margin-left: 1.5em" id="section-4.2.4-2.8">Interrupt (used to initiate the mode negotiation procedure). The display count <span class="bcp14">SHALL NOT</span> be altered.<a href="#section-4.2.4-2.8" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-4.2.4-2.9">SGR (U+009B Ps U+006D):</dt>
<dd style="margin-left: 1.5em" id="section-4.2.4-2.10">Select Graphic Rendition. Ps represents the rendition parameters specified in <span>[<a href="#ISO6429" class="xref">ISO6429</a>]</span>. (For freely available equivalent information, please see <span>[<a href="#ECMA-48" class="xref">ECMA-48</a>]</span>.)
The display count <span class="bcp14">SHALL NOT</span> be altered. The SGR code <span class="bcp14">SHOULD</span> be stored for the current source.<a href="#section-4.2.4-2.10" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-4.2.4-2.11">SOS (U+0098):</dt>
<dd style="margin-left: 1.5em" id="section-4.2.4-2.12"> Start of String. Used as a general protocol element introducer, followed by a maximum 256-byte string and the ST. The display count <span class="bcp14">SHALL NOT</span> be altered.<a href="#section-4.2.4-2.12" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-4.2.4-2.13">ST (U+009C):</dt>
<dd style="margin-left: 1.5em" id="section-4.2.4-2.14"> String Terminator. End of SOS string. The display count <span class="bcp14">SHALL NOT</span> be altered.<a href="#section-4.2.4-2.14" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-4.2.4-2.15">ESC (U+001B):</dt>
<dd style="margin-left: 1.5em" id="section-4.2.4-2.16"> Escape. Used in control strings. The display count <span class="bcp14">SHALL NOT</span> be altered for the complete escape code.<a href="#section-4.2.4-2.16" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-4.2.4-2.17">Byte order mark (BOM) (U+FEFF):</dt>
<dd style="margin-left: 1.5em" id="section-4.2.4-2.18">"Zero width no-break space". Used for synchronization and keep-alive. It <span class="bcp14">SHALL</span> be deleted from incoming streams. It <span class="bcp14">SHALL</span> also be sent first after session establishment to the recipient. The display count <span class="bcp14">SHALL NOT</span> be altered.<a href="#section-4.2.4-2.18" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-4.2.4-2.19">Missing text mark (U+FFFD):</dt>
<dd style="margin-left: 1.5em" id="section-4.2.4-2.20">"Replacement character". Represented as a question mark in a rhombus, or, if that is not feasible, replaced by an apostrophe ('). It marks the place in the stream of possible text loss. This mark <span class="bcp14">SHALL</span> be inserted by the reception procedure in the case of unrecoverable loss of packets. The display count <span class="bcp14">SHALL</span> be increased by one when sent as for any other character.<a href="#section-4.2.4-2.20" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-4.2.4-2.21">SGR:</dt>
<dd style="margin-left: 1.5em" id="section-4.2.4-2.22">If a control code for SGR other than a reset of the graphic rendition (SGR 0) is sent to a recipient, that control code <span class="bcp14">SHALL</span> also be stored as the status for the source in the storage for SGR status. If a reset graphic rendition (SGR 0) originating from a source is sent, then the SGR status storage for that source <span class="bcp14">SHALL</span> be cleared. The display count <span class="bcp14">SHALL NOT</span> be increased.<a href="#section-4.2.4-2.22" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-4.2.4-2.23">BS (U+0008):</dt>
<dd style="margin-left: 1.5em" id="section-4.2.4-2.24">"Back Space". Intended to erase the last entered character by a source. Erasure by backspace cannot always be performed as the erasing party intended. If an erasing action erases all text up to the end of the leading label after a source switch, then the mixer <span class="bcp14">MUST NOT</span> transmit more backspaces. Instead, it is <span class="bcp14">RECOMMENDED</span> that a letter "X" be inserted in the text stream for each backspace as an indication of the intent to erase more. A new line is usually coded by a Line Separator, but the character combination "CRLF" <span class="bcp14">MAY</span> be used instead. Erasure of a new line is, in both cases, done by just one erasing action (backspace). If the display count has a positive value, it <span class="bcp14">SHALL</span> be decreased by one when the BS is sent. If the display count is at zero, it <span class="bcp14">SHALL NOT</span> be altered.<a href="#section-4.2.4-2.24" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
</dl>
</section>
</div>
<section id="section-4.2.5">
<h4 id="name-packet-transmission">
<a href="#section-4.2.5" class="section-number selfRef">4.2.5. </a><a href="#name-packet-transmission" class="section-name selfRef">Packet Transmission</a>
</h4>
<p id="section-4.2.5-1">
A mixer transmitting to a multiparty-unaware endpoint <span class="bcp14">SHALL</span> send primary data only from one source per packet. The SSRC <span class="bcp14">SHALL</span> be the SSRC of the mixer. The CSRC list <span class="bcp14">MAY</span> contain one member and be the SSRC of the source of the primary data.<a href="#section-4.2.5-1" class="pilcrow">¶</a></p>
</section>
<section id="section-4.2.6">
<h4 id="name-functional-limitations">
<a href="#section-4.2.6" class="section-number selfRef">4.2.6. </a><a href="#name-functional-limitations" class="section-name selfRef">Functional Limitations</a>
</h4>
<p id="section-4.2.6-1">
When a multiparty-unaware endpoint presents a conversation in one display area in a chat style, it inserts source indications for remote text and local user text as they are merged in completed text groups. When an endpoint using this layout receives and presents text mixed for multiparty-unaware endpoints, there will be two levels of source indicators for the received text: one generated by the mixer and inserted in a label after each source switch, and another generated by the receiving endpoint and inserted after each switch between the local source and the remote source in the presentation area. This will waste display space and look inconsistent to the reader.<a href="#section-4.2.6-1" class="pilcrow">¶</a></p>
<p id="section-4.2.6-2">
New text can be presented from only one source at a time. Switching the source to be presented takes place at suitable places in the text, such as the end of a phrase, the end of a sentence, or a Line Separator, or upon detecting inactivity.
Therefore, the time to switch to present waiting text from other sources may grow long, and it will vary and depend on the actions of the currently presented source.<a href="#section-4.2.6-2" class="pilcrow">¶</a></p>
<p id="section-4.2.6-3">
Erasure can only be done up to the latest source switch. If a user tries to erase more text, the erasing actions will be presented as a letter "X" after the label.<a href="#section-4.2.6-3" class="pilcrow">¶</a></p>
<p id="section-4.2.6-4">
Text loss because of network errors may hit the label between entries from different parties, causing the risk of a misunderstanding regarding which source provided a piece of text.<a href="#section-4.2.6-4" class="pilcrow">¶</a></p>
<p id="section-4.2.6-5">
Because of these facts, it is strongly <span class="bcp14">RECOMMENDED</span> that multiparty awareness be implemented in real-time text endpoints. The use of the mixing method for multiparty-unaware endpoints should be left for use with endpoints that are impossible to upgrade to become multiparty aware.<a href="#section-4.2.6-5" class="pilcrow">¶</a></p>
</section>
<section id="section-4.2.7">
<h4 id="name-example-views-of-presentati">
<a href="#section-4.2.7" class="section-number selfRef">4.2.7. </a><a href="#name-example-views-of-presentati" class="section-name selfRef">Example Views of Presentation on Multiparty-Unaware Endpoints</a>
</h4>
<p id="section-4.2.7-1">
The following pictures are examples of the view on a participant's display for the multiparty-unaware case.<a href="#section-4.2.7-1" class="pilcrow">¶</a></p>
<p id="section-4.2.7-2"><a href="#fig3" class="xref">Figure 3</a> shows how a coordinated column view <span class="bcp14">MAY</span> be presented on Alice's device in a view with two columns. The mixer inserts labels to show how the sources alternate in the column with received text. The mixer alternates between the sources at suitable points in the text exchange so that text entries from each party can be conveniently read.<a href="#section-4.2.7-2" class="pilcrow">¶</a></p>
<span id="name-alice-who-has-a-conference-"></span><div id="fig3">
<figure id="figure-3">
<div class="artwork art-text alignLeft" id="section-4.2.7-3.1">
<pre>
___________________________________________________
| Conference | Alice |
|_________________________|_________________________|
| |I will arrive by TGV. |
|[Bob]: My flight is to |Convenient to the main |
|Orly. |station. |
|[Eve]: Hi all, can we | |
|plan for the seminar. | |
| | |
|[Bob]: Eve, will you do | |
|your presentation on | |
|Friday? | |
|[Eve]: Yes, Friday at 10.| |
|[Bob]: Fine, wo |We need to meet befo |
|_________________________|_________________________|
</pre>
</div>
<figcaption><a href="#figure-3" class="selfRef">Figure 3</a>:
<a href="#name-alice-who-has-a-conference-" class="selfRef">Alice, Who Has a Conference-Unaware Client, Is Receiving the Multiparty Real-Time Text in a Single Stream</a>
</figcaption></figure>
</div>
<p id="section-4.2.7-4">In <a href="#fig4" class="xref">Figure 4</a>, there is a tradition in receiving applications to include a label showing the source of the text, here shown with parentheses "()". The mixer also inserts source labels for the multiparty call participants, here shown with brackets "[]".<a href="#section-4.2.7-4" class="pilcrow">¶</a></p>
<span id="name-an-example-of-a-view-of-the"></span><div id="fig4">
<figure id="figure-4">
<div class="artwork art-text alignLeft" id="section-4.2.7-5.1">
<pre>
_________________________________________________
| |^|
|(Alice) Hi, Alice here. |-|
| | |
|(mix)[Bob] Bob as well. | |
| | |
|[Eve] Hi, this is Eve, calling from Paris | |
| I thought you should be here. | |
| | |
|(Alice) I am coming on Thursday, my | |
| performance is not until Friday morning.| |
| | |
|(mix)[Bob] And I on Wednesday evening. | |
| | |
|[Eve] we can have dinner and then walk | |
| | |
|[Eve] But I need to be back to | |
| the hotel by 11 because I need | |
| |-|
|______________________________________________|v|
| of course, I underst |
|________________________________________________|
</pre>
</div>
<figcaption><a href="#figure-4" class="selfRef">Figure 4</a>:
<a href="#name-an-example-of-a-view-of-the" class="selfRef">An Example of a View of the Multiparty-Unaware Presentation in Chat Style, Where Alice Is the Local User</a>
</figcaption></figure>
</div>
</section>
</section>
</div>
</section>
<section id="section-5">
<h2 id="name-relationship-to-conference-">
<a href="#section-5" class="section-number selfRef">5. </a><a href="#name-relationship-to-conference-" class="section-name selfRef">Relationship to Conference Control</a>
</h2>
<section id="section-5.1">
<h3 id="name-use-with-sip-centralized-co">
<a href="#section-5.1" class="section-number selfRef">5.1. </a><a href="#name-use-with-sip-centralized-co" class="section-name selfRef">Use with SIP Centralized Conferencing Framework</a>
</h3>
<p id="section-5.1-1">
The Session Initiation Protocol (SIP) conferencing framework, mainly specified in <span>[<a href="#RFC4353" class="xref">RFC4353</a>]</span>, <span>[<a href="#RFC4579" class="xref">RFC4579</a>]</span>, and <span>[<a href="#RFC4575" class="xref">RFC4575</a>]</span>, is suitable for coordinating sessions, including multiparty real-time text. The real-time text stream between the mixer and a participant is one and the same during the conference. Participants get announced by notifications when participants are joining or leaving, and further user information may be provided. The SSRC of the text to expect from joined users <span class="bcp14">MAY</span> be included in a notification. The notifications <span class="bcp14">MAY</span> be used for both security purposes and translation to a label for presentation to other users.<a href="#section-5.1-1" class="pilcrow">¶</a></p>
</section>
<div id="confcontrol">
<section id="section-5.2">
<h3 id="name-conference-control">
<a href="#section-5.2" class="section-number selfRef">5.2. </a><a href="#name-conference-control" class="section-name selfRef">Conference Control</a>
</h3>
<p id="section-5.2-1">
In managed conferences, control of the real-time text media <span class="bcp14">SHOULD</span> be provided in the same way as for other media, e.g., for muting and unmuting by the direction attributes in SDP <span>[<a href="#RFC8866" class="xref">RFC8866</a>]</span>.<a href="#section-5.2-1" class="pilcrow">¶</a></p>
<p id="section-5.2-2">
Note that floor control functions may be of value for real-time text users as well as for users of other media in a conference.<a href="#section-5.2-2" class="pilcrow">¶</a></p>
</section>
</div>
</section>
<section id="section-6">
<h2 id="name-gateway-considerations">
<a href="#section-6" class="section-number selfRef">6. </a><a href="#name-gateway-considerations" class="section-name selfRef">Gateway Considerations</a>
</h2>
<p id="section-6-1">
Multiparty real-time text sessions may involve gateways of different kinds. Gateways involved in setting up sessions <span class="bcp14">SHALL</span> correctly reflect the multiparty capability or unawareness of the combination of the gateway and the remote endpoint beyond the gateway.<a href="#section-6-1" class="pilcrow">¶</a></p>
<section id="section-6.1">
<h3 id="name-gateway-considerations-with">
<a href="#section-6.1" class="section-number selfRef">6.1. </a><a href="#name-gateway-considerations-with" class="section-name selfRef">Gateway Considerations with Textphones</a>
</h3>
<p id="section-6.1-1">
One case that may occur is a gateway to the Public Switched Telephone Network (PSTN) for communication with textphones (e.g., TTYs). Textphones are limited devices with no multiparty awareness, and it <span class="bcp14">SHOULD</span> therefore be appropriate for the gateway to not indicate multiparty awareness for that case. Another solution is that the gateway indicates multiparty capability towards the mixer and includes the multiparty mixer function for multiparty-unaware endpoints itself. This solution makes it possible to adapt to the functional limitations of the textphone.<a href="#section-6.1-1" class="pilcrow">¶</a></p>
<p id="section-6.1-2">
More information on gateways to textphones is found in <span>[<a href="#RFC5194" class="xref">RFC5194</a>]</span>.<a href="#section-6.1-2" class="pilcrow">¶</a></p>
</section>
<section id="section-6.2">
<h3 id="name-gateway-considerations-with-">
<a href="#section-6.2" class="section-number selfRef">6.2. </a><a href="#name-gateway-considerations-with-" class="section-name selfRef">Gateway Considerations with WebRTC</a>
</h3>
<p id="section-6.2-1">
Gateway operation between RTP-mixer-based multiparty real-time text and WebRTC-based real-time text may also be required. Real-time text transport in WebRTC is specified in <span>[<a href="#RFC8865" class="xref">RFC8865</a>]</span>.<a href="#section-6.2-1" class="pilcrow">¶</a></p>
<p id="section-6.2-2">
A multiparty bridge may have functionality for communicating via real-time text in both (1) RTP streams with real-time text and (2) WebRTC T.140 data channels. Other configurations may consist of a multiparty bridge with either technology for real-time text transport and a separate gateway for conversion of the text communication streams between RTP and T.140 data channels.<a href="#section-6.2-2" class="pilcrow">¶</a></p>
<p id="section-6.2-3">
In WebRTC, it is assumed that for a multiparty session, one T.140 data channel is established for each source from a gateway or bridge to each participant. Each participant also has a data channel with a two-way connection with the gateway or bridge.<a href="#section-6.2-3" class="pilcrow">¶</a></p>
<p id="section-6.2-4">
A T.140 data channel used for two-way communication is for text from the WebRTC user and from the bridge or gateway itself to the WebRTC user. The label parameter of this T.140 data channel is used as the NAME field in RTCP to participants on the RTP side. The other T.140 data channels are only for text from other participants to the WebRTC user.<a href="#section-6.2-4" class="pilcrow">¶</a></p>
<p id="section-6.2-5">
When a new participant has entered the session with RTP transport of real-time text, a new T.140 data channel <span class="bcp14">SHOULD</span> be established to WebRTC users with the label parameter composed of information from the NAME field in RTCP on the RTP side.<a href="#section-6.2-5" class="pilcrow">¶</a></p>
<p id="section-6.2-6">
When a new participant has entered the multiparty session with real-time text transport in a WebRTC T.140 data channel, the new participant <span class="bcp14">SHOULD</span> be announced by a notification to RTP users. The label parameter from the WebRTC side or other suitable information from the session or stream establishment procedure <span class="bcp14">SHOULD</span> be used to compose the NAME RTCP field on the RTP side.<a href="#section-6.2-6" class="pilcrow">¶</a></p>
<p id="section-6.2-7">
When a participant on the RTP side is disconnected from the multiparty session, the corresponding T.140 data channel(s) <span class="bcp14">SHOULD</span> be closed.<a href="#section-6.2-7" class="pilcrow">¶</a></p>
<p id="section-6.2-8">
When a WebRTC user of T.140 data channels disconnects from the mixer, the corresponding RTP streams or sources in an RTP-mixed stream <span class="bcp14">SHOULD</span> be closed.<a href="#section-6.2-8" class="pilcrow">¶</a></p>
<p id="section-6.2-9">
T.140 data channels <span class="bcp14">MAY</span> be opened and closed by negotiation or renegotiation of the session, or by any other valid means, as specified in
<span><a href="https://www.rfc-editor.org/rfc/rfc8865#section-1" class="relref">Section 1</a> of [<a href="#RFC8865" class="xref">RFC8865</a>]</span>.<a href="#section-6.2-9" class="pilcrow">¶</a></p>
</section>
</section>
<section id="section-7">
<h2 id="name-updates-to-rfc-4103">
<a href="#section-7" class="section-number selfRef">7. </a><a href="#name-updates-to-rfc-4103" class="section-name selfRef">Updates to RFC 4103</a>
</h2>
<p id="section-7-1">
This document updates <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span> by introducing an SDP media attribute, "rtt-mixer", for negotiation of multiparty-mixing capability with the format described in <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span> and by specifying the rules for packets when multiparty capability is negotiated and in use.<a href="#section-7-1" class="pilcrow">¶</a></p>
</section>
<div id="congest">
<section id="section-8">
<h2 id="name-congestion-considerations">
<a href="#section-8" class="section-number selfRef">8. </a><a href="#name-congestion-considerations" class="section-name selfRef">Congestion Considerations</a>
</h2>
<p id="section-8-1">
The congestion considerations and recommended actions provided in <span>[<a href="#RFC4103" class="xref">RFC4103</a>]</span> are also valid in multiparty situations.<a href="#section-8-1" class="pilcrow">¶</a></p>
<p id="section-8-2">
The time values <span class="bcp14">SHALL</span> then be applied per source of text sent to a receiver.<a href="#section-8-2" class="pilcrow">¶</a></p>
<p id="section-8-3">
In the very unlikely event that many participants in a conference send text simultaneously for a long period of time, a delay may build up for the presentation of text at the receivers if the limitation in characters per second ("cps") to be transmitted to the participants is exceeded. A delay of more than 15 seconds can cause confusion in the session. It is therefore <span class="bcp14">RECOMMENDED</span> that an RTP mixer discard such text causing excessive delays and insert a general indication of possible text loss <span>[<a href="#T140ad1" class="xref">T140ad1</a>]</span> in the session.
If the main text contributor is indicated in any way, the mixer <span class="bcp14">MAY</span> avoid deleting text from that participant. It should, however, be noted that human creation of text normally contains pauses, when the transmission can catch up, so that transmission-overload situations are expected to be very rare.<a href="#section-8-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="IANAConsiderations">
<section id="section-9">
<h2 id="name-iana-considerations">
<a href="#section-9" class="section-number selfRef">9. </a><a href="#name-iana-considerations" class="section-name selfRef">IANA Considerations</a>
</h2>
<div id="reg-rtt-mix">
<section id="section-9.1">
<h3 id="name-registration-of-the-rtt-mix">
<a href="#section-9.1" class="section-number selfRef">9.1. </a><a href="#name-registration-of-the-rtt-mix" class="section-name selfRef">Registration of the "rtt-mixer" SDP Media Attribute</a>
</h3>
<p id="section-9.1-1">
IANA has registered the new SDP attribute "rtt-mixer".<a href="#section-9.1-1" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlParallel" id="section-9.1-2">
<dt id="section-9.1-2.1">Contact name:
</dt>
<dd style="margin-left: 1.5em" id="section-9.1-2.2">IESG<a href="#section-9.1-2.2" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-9.1-2.3">Contact email:
</dt>
<dd style="margin-left: 1.5em" id="section-9.1-2.4">iesg@ietf.org<a href="#section-9.1-2.4" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-9.1-2.5">Attribute name:
</dt>
<dd style="margin-left: 1.5em" id="section-9.1-2.6">rtt-mixer<a href="#section-9.1-2.6" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-9.1-2.7">Attribute semantics:
</dt>
<dd style="margin-left: 1.5em" id="section-9.1-2.8">See RFC 9071, <a href="#nego1" class="xref">Section 2.3</a><a href="#section-9.1-2.8" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-9.1-2.9">Attribute value:
</dt>
<dd style="margin-left: 1.5em" id="section-9.1-2.10">none<a href="#section-9.1-2.10" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-9.1-2.11">Usage level:
</dt>
<dd style="margin-left: 1.5em" id="section-9.1-2.12">media<a href="#section-9.1-2.12" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-9.1-2.13">Purpose:
</dt>
<dd style="margin-left: 1.5em" id="section-9.1-2.14">To indicate mixer and endpoint support of multiparty mixing for real-time text transmission, using a common RTP stream for transmission of text from a number of sources mixed with one source at a time and where the source is indicated in a single CSRC-list member.<a href="#section-9.1-2.14" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-9.1-2.15">Charset Dependent:
</dt>
<dd style="margin-left: 1.5em" id="section-9.1-2.16">no<a href="#section-9.1-2.16" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-9.1-2.17">O/A procedures:
</dt>
<dd style="margin-left: 1.5em" id="section-9.1-2.18">See RFC 9071, <a href="#nego1" class="xref">Section 2.3</a><a href="#section-9.1-2.18" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-9.1-2.19">Mux Category:
</dt>
<dd style="margin-left: 1.5em" id="section-9.1-2.20">NORMAL<a href="#section-9.1-2.20" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-9.1-2.21">Reference:
</dt>
<dd style="margin-left: 1.5em" id="section-9.1-2.22">RFC 9071<a href="#section-9.1-2.22" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
</dl>
</section>
</div>
</section>
</div>
<div id="Security">
<section id="section-10">
<h2 id="name-security-considerations">
<a href="#section-10" class="section-number selfRef">10. </a><a href="#name-security-considerations" class="section-name selfRef">Security Considerations</a>
</h2>
<p id="section-10-1">
The RTP-mixer model requires the mixer to be allowed to decrypt, pack, and encrypt secured text from conference participants. Therefore, the mixer needs to be trusted
to maintain confidentiality and integrity of the real-time text data. This situation is similar to the situation for handling audio and video media in centralized mixers.<a href="#section-10-1" class="pilcrow">¶</a></p>
<p id="section-10-2">
The requirement to transfer information about the user in RTCP reports in SDES, CNAME, and NAME fields, and in conference notifications, may have privacy concerns, as already stated in RFC 3550 <span>[<a href="#RFC3550" class="xref">RFC3550</a>]</span>, and may be restricted for privacy reasons. When used for the creation of readable labels in the presentation, the receiving user will then get a more symbolic label for the source.<a href="#section-10-2" class="pilcrow">¶</a></p>
<p id="section-10-3">
The services available through the real-time text mixer may be of special interest to deaf and hard-of-hearing individuals. Some users may want to refrain from revealing such characteristics broadly in conferences. Conference systems where the mixer is included <span class="bcp14">MAY</span> need to be designed with the confidentiality of such characteristics in mind.<a href="#section-10-3" class="pilcrow">¶</a></p>
<p id="section-10-4">
Participants with malicious intentions may appear and, for example, disrupt the multiparty session by emitting a continuous flow of text. They may also send text that appears to originate from other participants. Countermeasures should include requiring secure signaling, media, and authentication, and providing higher-layer conference functions, e.g., for blocking, muting, and expelling participants.<a href="#section-10-4" class="pilcrow">¶</a></p>
<p id="section-10-5">
Participants with malicious intentions may also try to disrupt the presentation by sending incomplete or malformed control codes. Handling of text from the different sources by the receivers <span class="bcp14">MUST</span> therefore be well separated so that the effects of such actions only affect text from the source causing the action.<a href="#section-10-5" class="pilcrow">¶</a></p>
<p id="section-10-6">
Care should be taken to avoid the possibility of attacks by
unauthenticated call participants, and even eavesdropping and manipulation of content by non-participants, if the use of the mixer is permitted for users both with and without security procedures.<a href="#section-10-6" class="pilcrow">¶</a></p>
<p id="section-10-7">
As already stated in <a href="#security2" class="xref">Section 3.18</a>, security in media <span class="bcp14">SHOULD</span> be applied by using DTLS-SRTP <span>[<a href="#RFC5764" class="xref">RFC5764</a>]</span> at the media level.<a href="#section-10-7" class="pilcrow">¶</a></p>
<p id="section-10-8">Further security considerations specific to this application are specified in <a href="#security2" class="xref">Section 3.18</a>.<a href="#section-10-8" class="pilcrow">¶</a></p>
</section>
</div>
<section id="section-11">
<h2 id="name-references">
<a href="#section-11" class="section-number selfRef">11. </a><a href="#name-references" class="section-name selfRef">References</a>
</h2>
<section id="section-11.1">
<h3 id="name-normative-references">
<a href="#section-11.1" class="section-number selfRef">11.1. </a><a href="#name-normative-references" class="section-name selfRef">Normative References</a>
</h3>
<dl class="references">
<dt id="ECMA-48">[ECMA-48]</dt>
<dd>
<span class="refAuthor">Ecma International</span>, <span class="refTitle">"ECMA-48: Control functions for coded character sets"</span>, <span class="refContent">5th edition</span>, <time datetime="1991-06" class="refDate">June 1991</time>, <span><<a href="https://www.ecma-international.org/publications-and-standards/standards/ecma-48/">https://www.ecma-international.org/publications-and-standards/standards/ecma-48/</a>></span>. </dd>
<dd class="break"></dd>
<dt id="ISO6429">[ISO6429]</dt>
<dd>
<span class="refAuthor">ISO/IEC</span>, <span class="refTitle">"Information technology - Control functions for coded character sets"</span>, <span class="seriesInfo">ISO/IEC ISO/IEC 6429:1992</span>, <time datetime="1992-12" class="refDate">December 1992</time>, <span><<a href="https://www.iso.org/obp/ui/#iso:std:iso-iec:6429:ed-3:v1:en">https://www.iso.org/obp/ui/#iso:std:iso-iec:6429:ed-3:v1:en</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC2119">[RFC2119]</dt>
<dd>
<span class="refAuthor">Bradner, S.</span>, <span class="refTitle">"Key words for use in RFCs to Indicate Requirement Levels"</span>, <span class="seriesInfo">BCP 14</span>, <span class="seriesInfo">RFC 2119</span>, <span class="seriesInfo">DOI 10.17487/RFC2119</span>, <time datetime="1997-03" class="refDate">March 1997</time>, <span><<a href="https://www.rfc-editor.org/info/rfc2119">https://www.rfc-editor.org/info/rfc2119</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC3550">[RFC3550]</dt>
<dd>
<span class="refAuthor">Schulzrinne, H.</span>, <span class="refAuthor">Casner, S.</span>, <span class="refAuthor">Frederick, R.</span>, and <span class="refAuthor">V. Jacobson</span>, <span class="refTitle">"RTP: A Transport Protocol for Real-Time Applications"</span>, <span class="seriesInfo">STD 64</span>, <span class="seriesInfo">RFC 3550</span>, <span class="seriesInfo">DOI 10.17487/RFC3550</span>, <time datetime="2003-07" class="refDate">July 2003</time>, <span><<a href="https://www.rfc-editor.org/info/rfc3550">https://www.rfc-editor.org/info/rfc3550</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC4102">[RFC4102]</dt>
<dd>
<span class="refAuthor">Jones, P.</span>, <span class="refTitle">"Registration of the text/red MIME Sub-Type"</span>, <span class="seriesInfo">RFC 4102</span>, <span class="seriesInfo">DOI 10.17487/RFC4102</span>, <time datetime="2005-06" class="refDate">June 2005</time>, <span><<a href="https://www.rfc-editor.org/info/rfc4102">https://www.rfc-editor.org/info/rfc4102</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC4103">[RFC4103]</dt>
<dd>
<span class="refAuthor">Hellstrom, G.</span> and <span class="refAuthor">P. Jones</span>, <span class="refTitle">"RTP Payload for Text Conversation"</span>, <span class="seriesInfo">RFC 4103</span>, <span class="seriesInfo">DOI 10.17487/RFC4103</span>, <time datetime="2005-06" class="refDate">June 2005</time>, <span><<a href="https://www.rfc-editor.org/info/rfc4103">https://www.rfc-editor.org/info/rfc4103</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC5630">[RFC5630]</dt>
<dd>
<span class="refAuthor">Audet, F.</span>, <span class="refTitle">"The Use of the SIPS URI Scheme in the Session Initiation Protocol (SIP)"</span>, <span class="seriesInfo">RFC 5630</span>, <span class="seriesInfo">DOI 10.17487/RFC5630</span>, <time datetime="2009-10" class="refDate">October 2009</time>, <span><<a href="https://www.rfc-editor.org/info/rfc5630">https://www.rfc-editor.org/info/rfc5630</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC5764">[RFC5764]</dt>
<dd>
<span class="refAuthor">McGrew, D.</span> and <span class="refAuthor">E. Rescorla</span>, <span class="refTitle">"Datagram Transport Layer Security (DTLS) Extension to Establish Keys for the Secure Real-time Transport Protocol (SRTP)"</span>, <span class="seriesInfo">RFC 5764</span>, <span class="seriesInfo">DOI 10.17487/RFC5764</span>, <time datetime="2010-05" class="refDate">May 2010</time>, <span><<a href="https://www.rfc-editor.org/info/rfc5764">https://www.rfc-editor.org/info/rfc5764</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC6263">[RFC6263]</dt>
<dd>
<span class="refAuthor">Marjou, X.</span> and <span class="refAuthor">A. Sollaud</span>, <span class="refTitle">"Application Mechanism for Keeping Alive the NAT Mappings Associated with RTP / RTP Control Protocol (RTCP) Flows"</span>, <span class="seriesInfo">RFC 6263</span>, <span class="seriesInfo">DOI 10.17487/RFC6263</span>, <time datetime="2011-06" class="refDate">June 2011</time>, <span><<a href="https://www.rfc-editor.org/info/rfc6263">https://www.rfc-editor.org/info/rfc6263</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC7675">[RFC7675]</dt>
<dd>
<span class="refAuthor">Perumal, M.</span>, <span class="refAuthor">Wing, D.</span>, <span class="refAuthor">Ravindranath, R.</span>, <span class="refAuthor">Reddy, T.</span>, and <span class="refAuthor">M. Thomson</span>, <span class="refTitle">"Session Traversal Utilities for NAT (STUN) Usage for Consent Freshness"</span>, <span class="seriesInfo">RFC 7675</span>, <span class="seriesInfo">DOI 10.17487/RFC7675</span>, <time datetime="2015-10" class="refDate">October 2015</time>, <span><<a href="https://www.rfc-editor.org/info/rfc7675">https://www.rfc-editor.org/info/rfc7675</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8174">[RFC8174]</dt>
<dd>
<span class="refAuthor">Leiba, B.</span>, <span class="refTitle">"Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words"</span>, <span class="seriesInfo">BCP 14</span>, <span class="seriesInfo">RFC 8174</span>, <span class="seriesInfo">DOI 10.17487/RFC8174</span>, <time datetime="2017-05" class="refDate">May 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8174">https://www.rfc-editor.org/info/rfc8174</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8865">[RFC8865]</dt>
<dd>
<span class="refAuthor">Holmberg, C.</span> and <span class="refAuthor">G. Hellström</span>, <span class="refTitle">"T.140 Real-Time Text Conversation over WebRTC Data Channels"</span>, <span class="seriesInfo">RFC 8865</span>, <span class="seriesInfo">DOI 10.17487/RFC8865</span>, <time datetime="2021-01" class="refDate">January 2021</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8865">https://www.rfc-editor.org/info/rfc8865</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8866">[RFC8866]</dt>
<dd>
<span class="refAuthor">Begen, A.</span>, <span class="refAuthor">Kyzivat, P.</span>, <span class="refAuthor">Perkins, C.</span>, and <span class="refAuthor">M. Handley</span>, <span class="refTitle">"SDP: Session Description Protocol"</span>, <span class="seriesInfo">RFC 8866</span>, <span class="seriesInfo">DOI 10.17487/RFC8866</span>, <time datetime="2021-01" class="refDate">January 2021</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8866">https://www.rfc-editor.org/info/rfc8866</a>></span>. </dd>
<dd class="break"></dd>
<dt id="T140">[T140]</dt>
<dd>
<span class="refAuthor">ITU-T</span>, <span class="refTitle">"Protocol for multimedia application text conversation"</span>, <span class="seriesInfo">ITU-T Recommendation T.140</span>, <time datetime="1998-02" class="refDate">February 1998</time>, <span><<a href="https://www.itu.int/rec/T-REC-T.140-199802-I/en">https://www.itu.int/rec/T-REC-T.140-199802-I/en</a>></span>. </dd>
<dd class="break"></dd>
<dt id="T140ad1">[T140ad1]</dt>
<dd>
<span class="refAuthor">ITU-T</span>, <span class="refTitle">"Recommendation T.140 Addendum"</span>, <time datetime="2000-02" class="refDate">February 2000</time>, <span><<a href="https://www.itu.int/rec/T-REC-T.140-200002-I!Add1/en">https://www.itu.int/rec/T-REC-T.140-200002-I!Add1/en</a>></span>. </dd>
<dd class="break"></dd>
</dl>
</section>
<section id="section-11.2">
<h3 id="name-informative-references">
<a href="#section-11.2" class="section-number selfRef">11.2. </a><a href="#name-informative-references" class="section-name selfRef">Informative References</a>
</h3>
<dl class="references">
<dt id="RFC4353">[RFC4353]</dt>
<dd>
<span class="refAuthor">Rosenberg, J.</span>, <span class="refTitle">"A Framework for Conferencing with the Session Initiation Protocol (SIP)"</span>, <span class="seriesInfo">RFC 4353</span>, <span class="seriesInfo">DOI 10.17487/RFC4353</span>, <time datetime="2006-02" class="refDate">February 2006</time>, <span><<a href="https://www.rfc-editor.org/info/rfc4353">https://www.rfc-editor.org/info/rfc4353</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC4575">[RFC4575]</dt>
<dd>
<span class="refAuthor">Rosenberg, J.</span>, <span class="refAuthor">Schulzrinne, H.</span>, and <span class="refAuthor">O. Levin, Ed.</span>, <span class="refTitle">"A Session Initiation Protocol (SIP) Event Package for Conference State"</span>, <span class="seriesInfo">RFC 4575</span>, <span class="seriesInfo">DOI 10.17487/RFC4575</span>, <time datetime="2006-08" class="refDate">August 2006</time>, <span><<a href="https://www.rfc-editor.org/info/rfc4575">https://www.rfc-editor.org/info/rfc4575</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC4579">[RFC4579]</dt>
<dd>
<span class="refAuthor">Johnston, A.</span> and <span class="refAuthor">O. Levin</span>, <span class="refTitle">"Session Initiation Protocol (SIP) Call Control - Conferencing for User Agents"</span>, <span class="seriesInfo">BCP 119</span>, <span class="seriesInfo">RFC 4579</span>, <span class="seriesInfo">DOI 10.17487/RFC4579</span>, <time datetime="2006-08" class="refDate">August 2006</time>, <span><<a href="https://www.rfc-editor.org/info/rfc4579">https://www.rfc-editor.org/info/rfc4579</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC5194">[RFC5194]</dt>
<dd>
<span class="refAuthor">van Wijk, A., Ed.</span> and <span class="refAuthor">G. Gybels, Ed.</span>, <span class="refTitle">"Framework for Real-Time Text over IP Using the Session Initiation Protocol (SIP)"</span>, <span class="seriesInfo">RFC 5194</span>, <span class="seriesInfo">DOI 10.17487/RFC5194</span>, <time datetime="2008-06" class="refDate">June 2008</time>, <span><<a href="https://www.rfc-editor.org/info/rfc5194">https://www.rfc-editor.org/info/rfc5194</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC7667">[RFC7667]</dt>
<dd>
<span class="refAuthor">Westerlund, M.</span> and <span class="refAuthor">S. Wenger</span>, <span class="refTitle">"RTP Topologies"</span>, <span class="seriesInfo">RFC 7667</span>, <span class="seriesInfo">DOI 10.17487/RFC7667</span>, <time datetime="2015-11" class="refDate">November 2015</time>, <span><<a href="https://www.rfc-editor.org/info/rfc7667">https://www.rfc-editor.org/info/rfc7667</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8643">[RFC8643]</dt>
<dd>
<span class="refAuthor">Johnston, A.</span>, <span class="refAuthor">Aboba, B.</span>, <span class="refAuthor">Hutton, A.</span>, <span class="refAuthor">Jesske, R.</span>, and <span class="refAuthor">T. Stach</span>, <span class="refTitle">"An Opportunistic Approach for Secure Real-time Transport Protocol (OSRTP)"</span>, <span class="seriesInfo">RFC 8643</span>, <span class="seriesInfo">DOI 10.17487/RFC8643</span>, <time datetime="2019-08" class="refDate">August 2019</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8643">https://www.rfc-editor.org/info/rfc8643</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8723">[RFC8723]</dt>
<dd>
<span class="refAuthor">Jennings, C.</span>, <span class="refAuthor">Jones, P.</span>, <span class="refAuthor">Barnes, R.</span>, and <span class="refAuthor">A.B. Roach</span>, <span class="refTitle">"Double Encryption Procedures for the Secure Real-Time Transport Protocol (SRTP)"</span>, <span class="seriesInfo">RFC 8723</span>, <span class="seriesInfo">DOI 10.17487/RFC8723</span>, <time datetime="2020-04" class="refDate">April 2020</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8723">https://www.rfc-editor.org/info/rfc8723</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8825">[RFC8825]</dt>
<dd>
<span class="refAuthor">Alvestrand, H.</span>, <span class="refTitle">"Overview: Real-Time Protocols for Browser-Based Applications"</span>, <span class="seriesInfo">RFC 8825</span>, <span class="seriesInfo">DOI 10.17487/RFC8825</span>, <time datetime="2021-01" class="refDate">January 2021</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8825">https://www.rfc-editor.org/info/rfc8825</a>></span>. </dd>
<dd class="break"></dd>
</dl>
</section>
</section>
<div id="Acknowledgements">
<section id="appendix-A">
<h2 id="name-acknowledgements">
<a href="#name-acknowledgements" class="section-name selfRef">Acknowledgements</a>
</h2>
<p id="appendix-A-1">The author wants to thank the following persons for support, reviews, and valuable comments: <span class="contact-name">Bernard Aboba</span>, <span class="contact-name">Amanda Baber</span>, <span class="contact-name">Roman Danyliw</span>, <span class="contact-name">Spencer Dawkins</span>, <span class="contact-name">Martin Duke</span>, <span class="contact-name">Lars Eggert</span>, <span class="contact-name">James Hamlin</span>, <span class="contact-name">Benjamin Kaduk</span>, <span class="contact-name">Murray Kucherawy</span>, <span class="contact-name">Paul Kyzivat</span>, <span class="contact-name">Jonathan Lennox</span>, <span class="contact-name">Lorenzo Miniero</span>, <span class="contact-name">Dan Mongrain</span>, <span class="contact-name">Francesca Palombini</span>, <span class="contact-name">Colin Perkins</span>, <span class="contact-name">Brian Rosen</span>, <span class="contact-name">Rich Salz</span>,
<span class="contact-name">Jürgen Schönwälder</span>, <span class="contact-name">Robert Wilton</span>, <span class="contact-name">Dale Worley</span>, <span class="contact-name">Yong Xin</span>,
and <span class="contact-name">Peter Yee</span>.<a href="#appendix-A-1" class="pilcrow">¶</a></p>
</section>
</div>
<div id="authors-addresses">
<section id="appendix-B">
<h2 id="name-authors-address">
<a href="#name-authors-address" class="section-name selfRef">Author's Address</a>
</h2>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Gunnar Hellström</span></div>
<div dir="auto" class="left"><span class="org">Gunnar Hellström Accessible Communication</span></div>
<div dir="auto" class="left">SE-<span class="postal-code">13670</span> <span class="locality">Vendelsö</span>
</div>
<div dir="auto" class="left"><span class="country-name">Sweden</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:gunnar.hellstrom@ghaccess.se" class="email">gunnar.hellstrom@ghaccess.se</a>
</div>
</address>
</section>
</div>
<script>const toc = document.getElementById("toc");
toc.querySelector("h2").addEventListener("click", e => {
toc.classList.toggle("active");
});
toc.querySelector("nav").addEventListener("click", e => {
toc.classList.remove("active");
});
</script>
</body>
</html>
|