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
|
<pre>Network Working Group H. Desineni
Request for Comments: 5188 Qualcomm
Updates: <a href="./rfc4788">4788</a> Q. Xie
Category: Standards Track Motorola
February 2008
<span class="h1">RTP Payload Format for</span>
<span class="h1">the Enhanced Variable Rate Wideband Codec (EVRC-WB)</span>
<span class="h1">and the Media Subtype Updates for EVRC-B Codec</span>
Status of This Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Abstract
This document specifies Real-time Transport Protocol (RTP) payload
formats to be used for the Enhanced Variable Rate Wideband Codec
(EVRC-WB) and updates the media type registrations for EVRC-B codec.
Several media type registrations are included for EVRC-WB RTP payload
formats. In addition, a file format is specified for transport of
EVRC-WB speech data in storage mode applications such as email.
<span class="grey">Desineni & Xie Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-2">2</a>. Conventions . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3">3</a>. Background . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-4">4</a>. EVRC-WB Codec . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-5">5</a>. RTP Header Usage . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-6">6</a>. Payload Format . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-7">7</a>. Congestion Control Considerations . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-8">8</a>. Storage Format for the EVRC-WB Codec . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-9">9</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-9.1">9.1</a>. Media Type Registrations . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-9.1.1">9.1.1</a>. Registration of Media Type audio/EVRCWB . . . . . . . <a href="#page-6">6</a>
<a href="#section-9.1.2">9.1.2</a>. Registration of Media Type audio/EVRCWB0 . . . . . . . <a href="#page-8">8</a>
<a href="#section-9.1.3">9.1.3</a>. Registration of Media Type audio/EVRCWB1 . . . . . . . <a href="#page-9">9</a>
<a href="#section-9.1.4">9.1.4</a>. Updated Registration of Media Type audio/EVRCB . . . . <a href="#page-11">11</a>
<a href="#section-9.1.5">9.1.5</a>. Updated Registration of Media Type audio/EVRCB0 . . . <a href="#page-13">13</a>
<a href="#section-10">10</a>. SDP Mode Attributes for EVRC-WB and EVRC-B . . . . . . . . . . <a href="#page-15">15</a>
11. EVRC-B Interoperability with Legacy Implementations (<a href="./rfc4788">RFC 4788</a>) 15
<a href="#section-12">12</a>. Mapping EVRC-WB Media Type Parameters into SDP . . . . . . . . <a href="#page-16">16</a>
<a href="#section-13">13</a>. Mapping EVRC-B Media Type Parameters into SDP . . . . . . . . <a href="#page-16">16</a>
<a href="#section-14">14</a>. Offer-Answer Model Considerations for EVRC-WB . . . . . . . . <a href="#page-16">16</a>
<a href="#section-15">15</a>. Offer-Answer Model Considerations for EVRC-B . . . . . . . . . <a href="#page-18">18</a>
<a href="#section-16">16</a>. Declarative SDP Considerations . . . . . . . . . . . . . . . . <a href="#page-18">18</a>
<a href="#section-17">17</a>. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-19">19</a>
<a href="#section-18">18</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-22">22</a>
<a href="#section-19">19</a>. Changes to <a href="./rfc4788">RFC 4788</a> . . . . . . . . . . . . . . . . . . . . . <a href="#page-22">22</a>
<a href="#section-20">20</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-22">22</a>
<a href="#section-20.1">20.1</a>. Normative References . . . . . . . . . . . . . . . . . . . <a href="#page-22">22</a>
<a href="#section-20.2">20.2</a>. Informative References . . . . . . . . . . . . . . . . . . <a href="#page-23">23</a>
<span class="grey">Desineni & Xie Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document specifies the payload formats for packetization of
EVRC-WB encoded speech signals into the Real-time Transport Protocol
(RTP). It defines support for the header-free, interleaved/bundled,
and compact bundle packet formats for the EVRC-WB codec as well as
discontinuous transmission (DTX) support for EVRC-WB encoded speech
transported via RTP. The EVRC-WB codec offers better speech quality
than the EVRC and EVRC-B codecs. EVRC-WB belongs to the EVRC family
of codecs. This document also updates the media type registrations
for the EVRC-B codec.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Conventions</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in <a href="./rfc2119">RFC 2119</a> [<a href="#ref-1" title=""Key words for use in RFCs to Indicate Requirement Levels"">1</a>].
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Background</span>
EVRC-WB is a wideband extension of the EVRC-B [<a href="#ref-4" title=""Enhanced Variable Rate Codec, Speech Service Option 3 and 68 for Wideband Spread Spectrum Digital Systems"">4</a>] speech codec
developed in the Third Generation Partnership Project 2 (3GPP2) with
support for discontinuous transmission (DTX). It provides enhanced
(wideband) voice quality.
The EVRC-WB codec operates on 20-ms frames, and the default sampling
rate is 16 kHz. Input and output at an 8-kHz sampling rate are also
supported. The EVRC-WB codec can operate in three modes (0, 4, and
7) defined in [<a href="#ref-5" title=""Enhanced Variable Rate Codec, Speech Service Option 3,68 and 70 for Wideband Spread Spectrum Digital Systems"">5</a>]. EVRC-WB modes 4 and 7 are interoperable with
EVRC-B. EVRC-WB mode 4 uses full-rate, 1/2-rate, and 1/8-rate
frames. EVRC-WB mode 7 uses only 1/2 rate and 1/8 rate frames. Mode
change results in codec output bit-rate change but do not cause any
decoding problems at the receiver. For successful decoding, the
decoder does not need to know the encoder's current mode of
operation. EVRC-WB provides a standardized solution for packetized
voice applications that allow transitions between narrowband and
wideband telephony. The most important service addressed is IP
telephony. Target devices can be IP phones or Voice over IP (VoIP)
handsets, media gateways, voice messaging servers, etc.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. EVRC-WB Codec</span>
The EVRC-WB codec operates on 20-ms frames. It produces output
frames of one of the three different sizes: 171 bits, 80 bits, or 16
bits. In addition, there are two zero-bit codec frame types: blank
(null) frames and erasure frames. The default sampling rate is 16
kHz. Input and output at an 8-kHz sampling rate are also supported.
<span class="grey">Desineni & Xie Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
The frame type values and sizes of the associated codec data frames
are listed in the table below:
Value Rate Total codec data frame size in bytes (and in bits)
--------------------------------------------------------------------
0 Blank 0 (0 bit)
1 1/8 2 (16 bits)
2 1/4 5 (40 bits)
3 1/2 10 (80 bits)
4 1 22 (171 bits; 5 bits padded at the end)
5 Erasure 0 (SHOULD NOT be transmitted by sender)
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. RTP Header Usage</span>
The format of the RTP header is specified in <a href="./rfc3550">RFC 3550</a> [<a href="#ref-6" title=""RTP: A Transport Protocol for Real-Time Applications"">6</a>]. The
EVRC-WB payload formats (<a href="#section-6">Section 6</a>) use the fields of the RTP header
in a manner consistent with <a href="./rfc3550">RFC 3550</a> [<a href="#ref-6" title=""RTP: A Transport Protocol for Real-Time Applications"">6</a>].
EVRC-WB also has the capability to operate with 8-kHz sampled input/
output signals. The decoder does not require a priori knowledge
about the sampling rate of the original signal at the input of the
encoder. The decoder output can be at 8 kHz or 16 kHz regardless of
the sampling rate used at the encoder. Therefore, depending on the
implementation and the electro acoustic audio capabilities of the
devices, the input of the encoder and/or the output of the decoder
can be configured at 8 kHz; however, a 16-kHz RTP clock rate MUST
always be used. The RTP timestamp is increased by 320 for each 20
milliseconds.
The RTP header marker bit (M) SHALL be set to 1 if the first frame
carried in the packet contains a speech frame that is the first in a
talkspurt. For all other packets, the marker bit SHALL be set to
zero (M=0).
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Payload Format</span>
Three RTP packet formats are supported for the EVRC-WB codec -- the
interleaved/bundled packet format, the header-free packet format, and
the compact bundled packet format. For all these formats, the
operational details and capabilities, such as Table of Contents
(ToC), interleaving, DTX, and bundling, of EVRC-WB are exactly the
same as those of EVRC-B, as defined in [<a href="#ref-3" title=""Enhancements to RTP Payload Formats for EVRC Family Codecs"">3</a>], except that the mode
change request field in the ToC MUST be interpreted according to the
definition of the RATE_REDUC parameter as defined in EVRC-WB [<a href="#ref-5" title=""Enhanced Variable Rate Codec, Speech Service Option 3,68 and 70 for Wideband Spread Spectrum Digital Systems"">5</a>].
The media type audio/EVRCWB maps to the interleaved/bundled packet
format, audio/EVRCWB0 maps to the header-free packet format, and
audio/EVRCWB1 maps to the compact bundled packet format.
<span class="grey">Desineni & Xie Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Congestion Control Considerations</span>
Congestion control for RTP SHALL be used in accordance with <a href="./rfc3550">RFC 3550</a>
[<a href="#ref-6" title=""RTP: A Transport Protocol for Real-Time Applications"">6</a>], and with any applicable RTP profile, e.g., <a href="./rfc3551">RFC 3551</a> [<a href="#ref-11" title=""RTP Profile for Audio and Video Conferences with Minimal Control"">11</a>].
Due to the header overhead, the number of frames encapsulated in each
RTP packet influences the overall bandwidth of the RTP stream.
Packing more frames in each RTP packet can reduce the number of
packets sent and hence the header overhead, at the expense of
increased delay and reduced error robustness.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Storage Format for the EVRC-WB Codec</span>
The storage format is used for storing EVRC-WB encoded speech frames,
e.g., as a file or email attachment.
The file begins with a magic number to identify the vocoder that is
used. The magic number for EVRC-WB corresponds to the ASCII
character string "#!EVCWB\n", i.e., "0x23 0x21 0x45 0x56 0x43 0x57
0x42 0x0A".
The codec data frames are stored in consecutive order, with a single
ToC entry field, extended to one octet, prefixing each codec data
frame. The ToC field is extended to one octet by setting the four
most significant bits of the octet to zero. For example, a ToC value
of 4 (a full-rate frame) is stored as 0x04. See <a href="#section-4">Section 4</a> for the
mapping from frame type to ToC value.
Speech frames lost in transmission and non-received frames MUST be
stored as erasure frames (ToC value of 5) to maintain synchronization
with the original media.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. IANA Considerations</span>
This document updates the audio/EVRCB and audio/EVRCB0 media types
defined in <a href="./rfc4788">RFC 4788</a> [<a href="#ref-3" title=""Enhancements to RTP Payload Formats for EVRC Family Codecs"">3</a>] and adds new EVRC-WB 'audio' media subtypes.
<span class="h3"><a class="selflink" id="section-9.1" href="#section-9.1">9.1</a>. Media Type Registrations</span>
Following the guidelines in <a href="./rfc4855">RFC 4855</a> [<a href="#ref-9" title=""Media Type Specifications and Registration Procedures"">9</a>] and <a href="./rfc4288">RFC 4288</a> [<a href="#ref-10" title=""Media Type Specifications and Registration Procedures"">10</a>], this
section registers new 'audio' media subtypes for EVRC-WB and updates
the audio/EVRCB and audio/EVRCB0 media type registrations contained
in <a href="./rfc4788">RFC 4788</a> [<a href="#ref-3" title=""Enhancements to RTP Payload Formats for EVRC Family Codecs"">3</a>].
<span class="grey">Desineni & Xie Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
<span class="h4"><a class="selflink" id="section-9.1.1" href="#section-9.1.1">9.1.1</a>. Registration of Media Type audio/EVRCWB</span>
Type name: audio
Subtype name: EVRCWB
Required parameters: None
Optional parameters:
These parameters apply to RTP transfer only.
mode-set-recv: A subset of EVRC-WB modes. Possible values are a
comma-separated list of modes from the set {0,4,7} (see Table
2.5.1.2-1 in 3GPP2 C.S0014-C). A decoder can use this attribute to
inform an encoder of its preference to operate in a specified subset
of modes. Absence of this parameter signals the mode set {0,4,7}.
sendmode: A mode of the EVRC-WB codec. An encoder can use this to
signal its current mode of operation. Possible values are 0,4,7 (see
Table 2.5.1.2-1 in 3GPP2 C.S0014-C). Absence of this parameter
signals mode 0.
ptime: See <a href="./rfc4566">RFC 4566</a>.
maxptime: See <a href="./rfc4566">RFC 4566</a>.
maxinterleave: Maximum number for interleaving length (field LLL in
the Interleaving Octet)[0..7]. The interleaving lengths used in the
entire session MUST NOT exceed this maximum value. If not signaled,
the maxinterleave length MUST be 5.
silencesupp: See <a href="./rfc4788#section-6.1">Section 6.1 in RFC 4788</a>.
dtxmax: See <a href="./rfc4788#section-6.1">Section 6.1 in RFC 4788</a>.
dtxmin: See <a href="./rfc4788#section-6.1">Section 6.1 in RFC 4788</a>.
hangover: See <a href="./rfc4788#section-6.1">Section 6.1 in RFC 4788</a>.
Encoding considerations:
This media type is framed binary data (see <a href="./rfc4288#section-4.8">RFC 4288, Section 4.8</a>) and
is defined for transfer of EVRC-WB encoded data via RTP using the
interleaved/bundled packet format specified in <a href="./rfc3558">RFC 3558</a>.
Security considerations: See <a href="./rfc5188#section-18">Section 18 of RFC 5188</a>.
<span class="grey">Desineni & Xie Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
Interoperability considerations: None
Published specification:
The EVRC-WB vocoder is specified in 3GPP2 C.S0014-C. The transfer
method with the interleaved/bundled packet format via RTP is
specified in <a href="./rfc3558">RFC 3558</a> and <a href="./rfc5188">RFC 5188</a>.
3GPP2 C.S0050-B, 3GPP2 File Formats for Multimedia Services.
3GPP2 specifications are publicly accessible at <a href="http://www.3gpp2.org">http://www.3gpp2.org</a>
Applications that use this media type:
It is expected that many VoIP applications (as well as mobile
applications) will use this type.
Additional information:
The following applies to stored-file transfer methods:
Magic number: #!EVCWB\n (see <a href="./rfc5188#section-8">Section 8 of RFC 5188</a>)
File extensions: evw, EVW
Macintosh file type code: None
Object identifier or OID: None
EVRC-WB speech frames may also be stored in the file format "3g2"
defined in 3GPP2 C.S0050-B, which is identified using the media types
"audio/3gpp2" or "video/3gpp2" registered by <a href="./rfc4393">RFC 4393</a>.
Person & email address to contact for further information:
Harikishan Desineni <hd@qualcomm.com>
Intended usage: COMMON
Restrictions on usage:
When this media type is used in the context of transfer over RTP, the
RTP payload format specified in <a href="./rfc3558#section-4.1">Section 4.1 of RFC 3558</a> SHALL be
used. In all other contexts, the file format defined in <a href="./rfc5188#section-8">Section 8 of
RFC 5188</a> SHALL be used.
<span class="grey">Desineni & Xie Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
Author:
Harikishan Desineni
Change controller:
IETF Audio/Video Transport working group delegated from the IESG.
<span class="h4"><a class="selflink" id="section-9.1.2" href="#section-9.1.2">9.1.2</a>. Registration of Media Type audio/EVRCWB0</span>
Type name: audio
Subtype name: EVRCWB0
Required parameters: None
Optional parameters:
These parameters apply to RTP transfer only.
mode-set-recv: A subset of EVRC-WB modes. Possible values are a
comma-separated list of modes from the set {0,4,7} (see Table
2.5.1.2-1 in 3GPP2 C.S0014-C). A decoder can use this attribute to
inform an encoder of its preference to operate in a specified subset
of modes. Absence of this parameter signals the mode set {0,4,7}.
sendmode: A mode of the EVRC-WB codec. An encoder can use this to
signal its current mode of operation. Possible values are 0,4,7 (see
Table 2.5.1.2-1 in 3GPP2 C.S0014-C). Absence of this parameter
signals mode 0.
ptime: See <a href="./rfc4566">RFC 4566</a>.
silencesupp: See <a href="./rfc4788#section-6.1">Section 6.1 in RFC 4788</a>.
dtxmax: See <a href="./rfc4788#section-6.1">Section 6.1 in RFC 4788</a>.
dtxmin: See <a href="./rfc4788#section-6.1">Section 6.1 in RFC 4788</a>.
hangover: See <a href="./rfc4788#section-6.1">Section 6.1 in RFC 4788</a>.
Encoding considerations:
This media type is framed binary data (see <a href="./rfc4288#section-4.8">RFC 4288, Section 4.8</a>) and
is defined for transfer of EVRC-WB encoded data via RTP using the
header-free packet format specified in <a href="./rfc3558">RFC 3558</a>.
Security considerations: See <a href="./rfc5188#section-18">Section 18 of RFC 5188</a>.
<span class="grey">Desineni & Xie Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
Interoperability considerations: None
Published specification:
The EVRC-WB vocoder is specified in 3GPP2 C.S0014-C. The transfer
method with the header-free packet format via RTP is specified in <a href="./rfc3558">RFC</a>
<a href="./rfc3558">3558</a> and <a href="./rfc5188">RFC 5188</a>.
3GPP2 C.S0050-B, 3GPP2 File Formats for Multimedia Services.
3GPP2 specifications are publicly accessible at <a href="http://www.3gpp2.org">http://www.3gpp2.org</a>
Applications that use this media type:
It is expected that many VoIP applications (as well as mobile
applications) will use this type.
Additional information: None
Person & email address to contact for further information:
Harikishan Desineni <hd@qualcomm.com>
Intended usage: COMMON
Restrictions on usage:
This media type depends on RTP framing and hence is only defined for
transfer via RTP [<a href="#ref-6" title=""RTP: A Transport Protocol for Real-Time Applications"">6</a>]; the RTP payload format specified in <a href="./rfc3558#section-4.2">Section 4.2
of RFC 3558</a> SHALL be used. This media type SHALL NOT be used for
storage or file transfer using the file format defined in <a href="./rfc5188#section-8">Section 8
of RFC 5188</a>; instead, audio/EVRCWB SHALL be used.
Author:
Harikishan Desineni
Change controller:
IETF Audio/Video Transport working group delegated from the IESG.
<span class="h4"><a class="selflink" id="section-9.1.3" href="#section-9.1.3">9.1.3</a>. Registration of Media Type audio/EVRCWB1</span>
Type name: audio
Subtype name: EVRCWB1
Required parameters: None
<span class="grey">Desineni & Xie Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
Optional parameters:
These parameters apply to RTP transfer only.
mode-set-recv: A subset of EVRC-WB modes. Possible values are a
comma-separated list of modes from the set {0,4,7} (see Table
2.5.1.2-1 in 3GPP2 C.S0014-C). A decoder can use this attribute to
inform an encoder of its preference to operate in a specified subset
of modes. A value of 0 signals the support for wideband fixed rate
(full or half rate, depending on the value of the 'fixedrate'
parameter). A value of 4 signals narrowband fixed full rate. A
value of 7 signals narrowband fixed half rate. Absence of this
parameter signals mode 0.
sendmode: A mode of the EVRC-WB codec. An encoder can use this to
signal its current mode of operation. Possible values are 0,4,7 (see
Table 2.5.1.2-1 in 3GPP2 C.S0014-C). 'sendmode' with value 0 signals
wideband fixed-rate operation (full or half rate, depending on the
value of the 'fixedrate' parameter). 'sendmode' with value 4 signals
narrowband fixed full-rate operation. 'sendmode' with value 7 signals
narrowband fixed half-rate operation. The 'fixedrate' parameter MUST
NOT be present when the 'sendmode' value is 4 or 7. Absence of this
parameter signals mode 0.
ptime: See <a href="./rfc4566">RFC 4566</a>.
maxptime: See <a href="./rfc4566">RFC 4566</a>.
fixedrate: Indicates the EVRC-WB rate of the session while in single-
rate operation. Valid values include 0.5 and 1, where a value of 0.5
indicates the 1/2 rate while a value of 1 indicates the full rate.
If this parameter is not present, 1/2 rate is assumed.
silencesupp: See <a href="./rfc4788#section-6.1">Section 6.1 in RFC 4788</a>.
dtxmax: See <a href="./rfc4788#section-6.1">Section 6.1 in RFC 4788</a>.
dtxmin: See <a href="./rfc4788#section-6.1">Section 6.1 in RFC 4788</a>.
hangover: See <a href="./rfc4788#section-6.1">Section 6.1 in RFC 4788</a>.
Encoding considerations:
This media type is framed binary data (see <a href="./rfc4288#section-4.8">RFC 4288, Section 4.8</a>) and
is defined for transfer of EVRC-WB encoded data via RTP using the
compact bundle packet format specified in <a href="./rfc4788">RFC 4788</a>.
Security considerations: See <a href="./rfc5188#section-18">Section 18 of RFC 5188</a>.
<span class="grey">Desineni & Xie Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
Interoperability considerations: None
Published specification:
The EVRC-WB vocoder is specified in 3GPP2 C.S0014-C. The transfer
method with the compact bundled packet format via RTP is specified in
<a href="./rfc4788">RFC 4788</a> and <a href="./rfc5188">RFC 5188</a>.
3GPP2 C.S0050-B, 3GPP2 File Formats for Multimedia Services.
3GPP2 specifications are publicly accessible at <a href="http://www.3gpp2.org">http://www.3gpp2.org</a>
Applications that use this media type:
It is expected that many VoIP applications (as well as mobile
applications) will use this type.
Additional information: None
Person & email address to contact for further information:
Harikishan Desineni <hd@qualcomm.com>
Intended usage: COMMON
Restrictions on usage:
This media type depends on RTP framing and hence is only defined for
transfer via RTP [<a href="#ref-6" title=""RTP: A Transport Protocol for Real-Time Applications"">6</a>]; the RTP payload format specified in <a href="./rfc4788#section-4">Section 4
of RFC 4788</a> SHALL be used. This media type SHALL NOT be used for
storage or file transfer using the file format defined in <a href="./rfc5188#section-8">Section 8
of RFC 5188</a>; instead, audio/EVRCWB SHALL be used.
Author:
Harikishan Desineni
Change controller:
IETF Audio/Video Transport working group delegated from the IESG.
<span class="h4"><a class="selflink" id="section-9.1.4" href="#section-9.1.4">9.1.4</a>. Updated Registration of Media Type audio/EVRCB</span>
Type name: audio
Subtype name: EVRCB
Required parameters: None
<span class="grey">Desineni & Xie Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
Optional parameters:
These parameters apply to RTP transfer only.
recvmode: A mode of the EVRC-B codec. A decoder can use this
attribute to inform an encoder of its preference to operate in a
specified mode. Possible values are 0..7 (see the encoder operating
point column in Table 2-6 of 3GPP2 C.S0014-B).
sendmode: A mode of the EVRC-B codec. An encoder can use this to
signal its current mode of operation. Possible values are 0..7 (see
encoder operating point column in Table 2-6 of 3GPP2 C.S0014-B).
ptime: See <a href="./rfc4566">RFC 4566</a>.
maxptime: See <a href="./rfc4566">RFC 4566</a>.
maxinterleave: Maximum number for interleaving length (field LLL in
the Interleaving Octet). The interleaving lengths used in the entire
session MUST NOT exceed this maximum value. If not signaled, the
maxinterleave length MUST be 5.
silencesupp: See <a href="./rfc4788#section-6.1">Section 6.1 of RFC 4788</a> for a definition. If this
parameter is not present, the default value 1 MUST be assumed.
dtxmax: See <a href="./rfc4788#section-6.1">Section 6.1 of RFC 4788</a>.
dtxmin: See <a href="./rfc4788#section-6.1">Section 6.1 of RFC 4788</a>.
hangover: See <a href="./rfc4788#section-6.1">Section 6.1 of RFC 4788</a>.
Encoding considerations:
This media type is framed binary data (see <a href="./rfc4288#section-4.8">RFC 4288, Section 4.8</a>) and
is defined for transfer of EVRC-B encoded data via RTP using the
interleaved/bundled packet format specified in <a href="./rfc3558">RFC 3558</a>.
Security considerations: See <a href="./rfc4788#section-9">Section 9 of RFC 4788</a>.
Interoperability considerations: None
Published specification:
The EVRC-B vocoder is specified in 3GPP2 C.S0014-B. The transfer
method with the interleaved/bundled packet format via RTP is
specified in <a href="./rfc3558">RFC 3558</a>, <a href="./rfc4788">RFC 4788</a>, and <a href="./rfc5188">RFC 5188</a>.
<span class="grey">Desineni & Xie Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
Applications that use this media type:
It is expected that many VoIP applications (as well as mobile
applications) will use this type.
Additional information: The following information applies for the
storage format only.
Magic number: #!EVRC-B\n (see <a href="./rfc4788#section-5">Section 5 of RFC 4788</a>)
File extensions: evb, EVB
Macintosh file type code: None
Object identifier or OID: None
Person & email address to contact for further information:
Harikishan Desineni <hd@qualcomm.com>
Intended usage: COMMON
Restrictions on usage:
When this media type is used in the context of transfer over RTP, the
RTP payload format specified in <a href="./rfc3558#section-4.1">Section 4.1 of RFC 3558</a> SHALL be
used. In all other contexts, the file format defined in <a href="./rfc4788#section-5">Section 5 of
RFC 4788</a> SHALL be used.
Author:
Qiaobing Xie / Harikishan Desineni
Change controller:
IETF Audio/Video Transport working group delegated from the IESG.
<span class="h4"><a class="selflink" id="section-9.1.5" href="#section-9.1.5">9.1.5</a>. Updated Registration of Media Type audio/EVRCB0</span>
Type name: audio
Subtype name: EVRCB0
Required parameters: None
Optional parameters:
These parameters apply to RTP transfer only.
<span class="grey">Desineni & Xie Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
recvmode: A mode of the EVRC-B codec. A decoder can use this
attribute to inform an encoder of its preference to operate in a
specified mode. Possible values are 0..7 (see the encoder operating
point column in Table 2-6 of 3GPP2 C.S0014-B).
sendmode: A mode of the EVRC-B codec. An encoder can use this to
signal its current mode of operation. Possible values are 0..7 (see
the encoder operating point column in Table 2-6 of 3GPP2 C.S0014-B).
silencesupp: See <a href="./rfc4788#section-6.1">Section 6.1 of RFC 4788</a> for a definition. If this
parameter is not present, the default value 1 MUST be assumed.
dtxmax: see <a href="./rfc4788#section-6.1">Section 6.1 of RFC 4788</a>.
dtxmin: see <a href="./rfc4788#section-6.1">Section 6.1 of RFC 4788</a>.
hangover: see <a href="./rfc4788#section-6.1">Section 6.1 of RFC 4788</a>.
Encoding considerations:
This media type is framed binary data (see <a href="./rfc4288#section-4.8">RFC 4288, Section 4.8</a>) and
is defined for transfer of EVRC-B encoded data via RTP using the
header-free packet format specified in <a href="./rfc3558">RFC 3558</a>.
Security considerations: See <a href="./rfc4788#section-9">Section 9 of RFC 4788</a>.
Interoperability considerations: None
Published specification:
The EVRC-B vocoder is specified in 3GPP2 C.S0014-B. The transfer
method with the header-free packet format via RTP is specified in <a href="./rfc3558">RFC</a>
<a href="./rfc3558">3558</a>, <a href="./rfc4788">RFC 4788</a>, and <a href="./rfc5188">RFC 5188</a>.
Applications that use this media type:
It is expected that many VoIP applications (as well as mobile
applications) will use this type.
Additional information: None
Person & email address to contact for further information:
Harikishan Desineni <hd@qualcomm.com>
Intended usage: COMMON
<span class="grey">Desineni & Xie Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
Restrictions on usage:
When this media type is used in the context of transfer over RTP, the
RTP payload format specified in <a href="./rfc3558#section-4.2">Section 4.2 of RFC 3558</a> SHALL be
used.
This media type depends on RTP framing and hence is only defined for
transfer via RTP [<a href="#ref-6" title=""RTP: A Transport Protocol for Real-Time Applications"">6</a>]; the RTP payload format specified in <a href="./rfc3558#section-4.2">Section 4.2
of RFC 3558</a> SHALL be used. This media type SHALL NOT be used for
storage or file transfer using the file format defined in <a href="./rfc4788#section-5">Section 5
of RFC 4788</a>; instead, audio/EVRCB SHALL be used.
Author:
Qiaobing Xie / Harikishan Desineni
Change controller:
IETF Audio/Video Transport working group delegated from the IESG.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. SDP Mode Attributes for EVRC-WB and EVRC-B</span>
'sendmode' can be used by a sender (EVRC-WB or EVRC-B) to announce
its encoder's current mode of operation. A sender can change its
mode anytime, and this does not cause any decoding problems at the
receiver.
'recvmode' is defined for use with EVRC-B. A decoder can use this
attribute to inform an encoder of its preference to operate in a
specified mode. The receiver will continue to decode properly even
if the sender does not operate in the preferred mode.
'mode-set-recv' is defined for use with EVRC-WB. A decoder can use
this attribute to inform an encoder of its preference to operate in a
specified subset of modes. The receiver will continue to decode
properly even if the sender does not operate in one of the preferred
modes. A set has been defined so that several modes can be expressed
as a preference in one attempt. For instance, the set {4,7} signals
that the receiver prefers the sender to operate in narrowband modes
of EVRC-WB.
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. EVRC-B Interoperability with Legacy Implementations (<a href="./rfc4788">RFC 4788</a>)</span>
This document adds new optional parameters "recvmode" and "sendmode"
to the original EVRC-B media types "audio/EVRCB" and "audio/EVRCB0"
defined in <a href="./rfc4788">RFC 4788</a> [<a href="#ref-3" title=""Enhancements to RTP Payload Formats for EVRC Family Codecs"">3</a>]. Existing <a href="./rfc4788">RFC 4788</a> [<a href="#ref-3" title=""Enhancements to RTP Payload Formats for EVRC Family Codecs"">3</a>] implementations will
not send these parameters in the Session Description Protocol (SDP)
and will ignore them if they are received. This will allow
<span class="grey">Desineni & Xie Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
interoperability between <a href="./rfc4788">RFC 4788</a> [<a href="#ref-3" title=""Enhancements to RTP Payload Formats for EVRC Family Codecs"">3</a>] and <a href="./rfc5188">RFC 5188</a> implementations of
EVRC-B. For an example offer-and-answer exchange, see <a href="#section-17">Section 17</a>.
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a>. Mapping EVRC-WB Media Type Parameters into SDP</span>
Information carried in the media type specification has a specific
mapping to fields in the Session Description Protocol (SDP) [<a href="#ref-8" title=""SDP: Session Description Protocol"">8</a>],
which is commonly used to describe RTP sessions. When SDP is used to
specify sessions employing EVRC-WB encoded speech, the mapping is as
follows.
o The media type ("audio") goes in SDP "m=" as the media name.
o The media subtype ("EVRCWB", "EVRCWB0", or "EVRCWB1") goes in SDP
"a=rtpmap" as the encoding name.
o The optional parameters 'ptime' and 'maxptime' (for subtypes
EVRCWB, EVRCWB1) go in the SDP "a=ptime" and "a=maxptime"
attributes, respectively.
o Any remaining parameters (for subtypes EVRCWB, EVRCWB0, and
EVRCWB1) go in the SDP "a=fmtp" attribute by copying them from the
media type string as a semicolon-separated list of parameter=value
pairs.
<span class="h2"><a class="selflink" id="section-13" href="#section-13">13</a>. Mapping EVRC-B Media Type Parameters into SDP</span>
The new optional parameters 'recvmode' and 'sendmode' (for 'audio'
subtypes EVRCB and EVRCB0) go in the SDP "a=fmtp" attribute by
copying them directly from the media type string.
For all other media type parameters, the specification in <a href="./rfc4788#section-6.7">Section 6.7
of RFC 4788</a> [<a href="#ref-3" title=""Enhancements to RTP Payload Formats for EVRC Family Codecs"">3</a>] still applies.
<span class="h2"><a class="selflink" id="section-14" href="#section-14">14</a>. Offer-Answer Model Considerations for EVRC-WB</span>
The following considerations apply when using the SDP offer-answer
procedures of <a href="./rfc3264">RFC 3264</a> [<a href="#ref-7" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">7</a>] to negotiate the use of EVRC-WB payload in
RTP:
o Since EVRC-WB is an extension of EVRC-B, the offerer SHOULD
announce EVRC-B support in its "m=audio" line, with EVRC-WB as the
preferred codec. This will allow interoperability with an
answerer that supports only EVRC-B.
<span class="grey">Desineni & Xie Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
Below is an example of such an offer:
m=audio 55954 RTP/AVP 98 99
a=rtpmap:98 EVRCWB0/16000
a=rtpmap:99 EVRCB0/8000
a=fmtp:98 mode-set-recv=0,4;sendmode=0
a=fmtp:99 recvmode=0 sendmode=4
If the answerer supports EVRC-WB, then the answerer can keep the
payload type 98 in its answer and the conversation can be done using
EVRC-WB. Else, if the answerer supports only EVRC-B, then the
answerer will leave only the payload type 99 in its answer and the
conversation will be done using EVRC-B.
An example answer for the above offer is the following:
m=audio 55954 RTP/AVP 98
a=rtpmap:98 EVRCWB0/16000
a=fmtp:98 mode-set-recv=4;sendmode=4
o 'mode-set-recv' is a unidirectional receive-only parameter.
o 'sendmode' is a unidirectional send-only parameter.
o Using 'sendmode', a sender can signal its current mode of
operation. Note that a receiver may receive RTP media well before
the arrival of SDP with a (first-time, or updated) 'sendmode'
parameter.
o An offerer can use 'mode-set-recv' to request that the remote
sender's encoder be limited to the list of modes signaled in
'mode-set-recv'. A remote sender MAY ignore 'mode-set-recv'
requests.
o The parameters 'maxptime' and 'ptime' will in most cases not
affect interoperability; however, the setting of the parameters
can affect the performance of the application. The SDP offer-
answer handling of the 'ptime' parameter is described in <a href="./rfc3264">RFC 3264</a>
[<a href="#ref-7" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">7</a>]. The 'maxptime' parameter MUST be handled in the same way.
o For a sendonly stream, the 'mode-set-recv' parameter is not useful
and SHOULD NOT be used.
o For a recvonly stream, the 'sendmode' parameter is not useful and
SHOULD NOT be used.
o When using EVRCWB1, the entire session MUST use the same fixed
rate and mode (0-Wideband or 4,7-Narrowband).
<span class="grey">Desineni & Xie Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
o For additional rules that MUST be followed while negotiating DTX
parameters, see Section 6.8 in [<a href="#ref-3" title=""Enhancements to RTP Payload Formats for EVRC Family Codecs"">3</a>].
o Any unknown parameter in an SDP offer MUST be ignored by the
receiver and MUST NOT be included in the SDP answer.
<span class="h2"><a class="selflink" id="section-15" href="#section-15">15</a>. Offer-Answer Model Considerations for EVRC-B</span>
See Section 6.8 of [<a href="#ref-3" title=""Enhancements to RTP Payload Formats for EVRC Family Codecs"">3</a>] for offer-answer usage of EVRC-B. The
following are several additional considerations for EVRC-B.
o 'recvmode' is a unidirectional receive-only parameter.
o 'sendmode' is a unidirectional send-only parameter.
o Using 'recvmode', a receiver can signal the remote sender to
operate its encoder in the specified mode. A remote sender MAY
ignore 'recvmode' requests.
o Using 'sendmode', a sender can signal its current mode of
operation. Note that a receiver may receive RTP media well before
the arrival of SDP with a (first-time, or updated) 'sendmode'
parameter.
o For a sendonly stream, the 'recvmode' parameter is not useful and
SHOULD NOT be used.
o For a recvonly stream, the 'sendmode' parameter is not useful and
SHOULD NOT be used.
<span class="h2"><a class="selflink" id="section-16" href="#section-16">16</a>. Declarative SDP Considerations</span>
For declarative use of SDP in the Session Announcement Protocol (SAP)
[<a href="#ref-12" title=""Session Announcement Protocol"">12</a>] and the Real Time Streaming Protocol (RTSP) [<a href="#ref-13" title=""Real Time Streaming Protocol (RTSP)"">13</a>], the following
considerations apply:
o Any 'maxptime' and 'ptime' values should be selected with care to
ensure that the session's participants can achieve reasonable
performance.
o The payload format configuration parameters are all declarative,
and a participant MUST use the configuration(s) that is provided
for the session. More than one configuration may be provided if
necessary by declaring multiple RTP payload types; however, the
number of types should be kept small. For declarative examples,
see <a href="#section-17">Section 17</a>.
<span class="grey">Desineni & Xie Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
<span class="h2"><a class="selflink" id="section-17" href="#section-17">17</a>. Examples</span>
Some example SDP session descriptions utilizing EVRC-WB and EVRC-B
encodings follow. In these examples, long a=fmtp lines are folded to
meet the column width constraints of this document. The backslash
("\") at the end of a line and the carriage return that follows it
should be ignored. Note that media subtype names are case-
insensitive. Parameter names are case-insensitive both in media
types and in the mapping to the SDP a=fmtp attribute.
Example usage of EVRCWB:
m=audio 49120 RTP/AVP 97 98
a=rtpmap:97 EVRCWB/16000
a=rtpmap:98 EVRCB0/8000
a=fmtp:97 mode-set-recv=0,4;sendmode=0
a=fmtp:98 recvmode=0 sendmode=0
a=maxptime:120
Example usage of EVRCWB0:
m=audio 49120 RTP/AVP 97 98
a=rtpmap:97 EVRCWB0/16000
a=rtpmap:98 EVRCB0/8000
a=fmtp:97 mode-set-recv=0,4;sendmode=0
a=fmtp:98 recvmode=0 sendmode=0
Example SDP answer from a media gateway requesting a terminal to
limit its encoder operation to EVRC-WB mode 4:
m=audio 49120 RTP/AVP 97
a=rtpmap:97 EVRCWB0/16000
a=fmtp:97 mode-set-recv=4;sendmode=4
Example usage of EVRCWB1:
m=audio 49120 RTP/AVP 97 98
a=rtpmap:97 EVRCWB1/16000
a=fmtp:97 mode-set-recv=4;sendmode=4
a=maxptime:100
<span class="grey">Desineni & Xie Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
Example usage of EVRCWB with DTX with silencesupp=1:
m=audio 49120 RTP/AVP 97 98
a=rtpmap:97 EVRCWB/16000
a=rtpmap:98 EVRCB0/8000
a=fmtp:97 silencesupp=1;dtxmax=32;dtxmin=12;hangover=1 \
mode-set-recv=0,4; sendmode=0
a=fmtp:98 recvmode=0 sendmode=0
a=maxptime:120
Example usage of EVRCWB with DTX with silencesupp=0:
m=audio 49120 RTP/AVP 97 98
a=rtpmap:97 EVRCWB/16000
a=rtpmap:98 EVRCB0/8000
a=fmtp:97 silencesupp=0;dtxmax=32;dtxmin=12;hangover=1 \
mode-set-recv=0,4;sendmode=0
a=fmtp:98 recvmode=0 sendmode=0
a=maxptime:120
Example usage of EVRCB:
m=audio 49120 RTP/AVP 97
a=rtpmap:97 EVRCB/8000
a=fmtp:97 recvmode=0 sendmode=4
a=maxptime:120
Example usage of EVRCB0:
m=audio 49120 RTP/AVP 97
a=rtpmap:97 EVRCB0/8000
a=fmtp:97 recvmode=0 sendmode=4
Example offer-answer exchange between EVRC-WB and
legacy EVRC-B (<a href="./rfc4788">RFC 4788</a>):
Offer:
m=audio 55954 RTP/AVP 98 99
a=rtpmap:98 EVRCWB0/16000
a=rtpmap:99 EVRCB0/8000
a=fmtp:98 mode-set-recv=0,4;sendmode=0
a=fmtp:99 recvmode=0 sendmode=0
Answer:
m=audio 55954 RTP/AVP 99
a=rtpmap:99 EVRCB0/8000
<span class="grey">Desineni & Xie Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
Example offer-answer exchange between EVRC-WB and
updated EVRC-B (<a href="./rfc5188">RFC 5188</a>):
Offer:
m=audio 55954 RTP/AVP 98 99
a=rtpmap:98 EVRCWB0/16000
a=rtpmap:99 EVRCB0/8000
a=fmtp:98 mode-set-recv=0,4; sendmode=0
a=fmtp:99 recvmode=0 sendmode=0
Answer:
m=audio 55954 RTP/AVP 99
a=rtpmap:99 EVRCB0/8000
a=fmtp:99 recvmode=0 sendmode=4
In the above example, note that the answerer has chosen
to send in mode 4 even though the offerer was willing to
receive in mode 0. 'recvmode' is a receiver's preference,
but the sender can send in a different mode.
Example offer-answer exchanges for interoperability between
legacy (<a href="./rfc4788">RFC 4788</a>) and updated EVRC-B (<a href="./rfc5188">RFC 5188</a>) implementations:
Offer from an offerer that supports updated EVRC-B (<a href="./rfc5188">RFC 5188</a>)
implementation:
m=audio 55954 RTP/AVP 99
a=rtpmap:99 EVRCB0/8000
a=fmtp:99 recvmode=0 sendmode=4
Answer from an answerer that supports only
legacy EVRC-B (<a href="./rfc4788">RFC 4788</a>) implementation:
m=audio 55954 RTP/AVP 99
a=rtpmap:99 EVRCB0/8000
Offer from an offerer that supports only
legacy EVRC-B (<a href="./rfc4788">RFC 4788</a>) implementation:
m=audio 55954 RTP/AVP 99
a=rtpmap:99 EVRCB0/8000
<span class="grey">Desineni & Xie Standards Track [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
Answer from an answerer that supports updated
EVRC-B (<a href="./rfc5188">RFC 5188</a>) implementation:
m=audio 55954 RTP/AVP 99
a=rtpmap:99 EVRCB0/8000
a=fmtp:99 recvmode=0 sendmode=4
<span class="h2"><a class="selflink" id="section-18" href="#section-18">18</a>. Security Considerations</span>
Since compression is applied to the payload formats end-to-end, and
the encodings do not exhibit significant non-uniformity,
implementations of this specification are subject to all the security
considerations specified in <a href="./rfc3558">RFC 3558</a> [<a href="#ref-2" title=""RTP Payload Format for Enhanced Variable Rate Codecs (EVRC) and Selectable Mode Vocoders (SMV)"">2</a>]. Implementations using the
payload defined in this specification are subject to the security
considerations discussed in <a href="./rfc3558">RFC 3558</a> [<a href="#ref-2" title=""RTP Payload Format for Enhanced Variable Rate Codecs (EVRC) and Selectable Mode Vocoders (SMV)"">2</a>], <a href="./rfc3550">RFC 3550</a> [<a href="#ref-6" title=""RTP: A Transport Protocol for Real-Time Applications"">6</a>], and any
appropriate profile (for example, <a href="./rfc3551">RFC 3551</a> [<a href="#ref-11" title=""RTP Profile for Audio and Video Conferences with Minimal Control"">11</a>]).
<span class="h2"><a class="selflink" id="section-19" href="#section-19">19</a>. Changes to <a href="./rfc4788">RFC 4788</a></span>
This document updates <a href="./rfc4788">RFC 4788</a> [<a href="#ref-3" title=""Enhancements to RTP Payload Formats for EVRC Family Codecs"">3</a>], and the updates are summarized
below:
o Added new media type attribute "sendmode" to media subtypes EVRCB
and EVRCB0. This attribute can be used to signal the EVRC-B
encoder's current mode of operation.
o Added new media type attribute "recvmode" to media subtypes EVRCB
and EVRCB0. This attribute can be used to signal the EVRC-B
decoder's preferred operating mode to a remote sender.
<span class="h2"><a class="selflink" id="section-20" href="#section-20">20</a>. References</span>
<span class="h3"><a class="selflink" id="section-20.1" href="#section-20.1">20.1</a>. Normative References</span>
[<a id="ref-1">1</a>] Bradner, S., "Key words for use in RFCs to Indicate Requirement
Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-2">2</a>] Li, A., "RTP Payload Format for Enhanced Variable Rate Codecs
(EVRC) and Selectable Mode Vocoders (SMV)", <a href="./rfc3558">RFC 3558</a>,
July 2003.
[<a id="ref-3">3</a>] Xie, Q. and R. Kapoor, "Enhancements to RTP Payload Formats for
EVRC Family Codecs", <a href="./rfc4788">RFC 4788</a>, January 2007.
[<a id="ref-4">4</a>] "Enhanced Variable Rate Codec, Speech Service Option 3 and 68
for Wideband Spread Spectrum Digital Systems", 3GPP2 C.S0014-B
v1.0 , May 2006.
<span class="grey">Desineni & Xie Standards Track [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
[<a id="ref-5">5</a>] "Enhanced Variable Rate Codec, Speech Service Option 3,68 and
70 for Wideband Spread Spectrum Digital Systems", 3GPP2
C.S0014-C v1.0 , October 2006.
[<a id="ref-6">6</a>] Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson,
"RTP: A Transport Protocol for Real-Time Applications", STD 64,
<a href="./rfc3550">RFC 3550</a>, March 1997.
[<a id="ref-7">7</a>] Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model with
Session Description Protocol (SDP)", <a href="./rfc3264">RFC 3264</a>, June 2002.
[<a id="ref-8">8</a>] Handley, M., Jacobson, V., and C. Perkins, "SDP: Session
Description Protocol", <a href="./rfc4566">RFC 4566</a>, July 2006.
[<a id="ref-9">9</a>] Casner, S., "Media Type Specifications and Registration
Procedures", <a href="./rfc4855">RFC 4855</a>, February 2007.
[<a id="ref-10">10</a>] Freed, N. and J. Klensin, "Media Type Specifications and
Registration Procedures", <a href="https://www.rfc-editor.org/bcp/bcp13">BCP 13</a>, <a href="./rfc4288">RFC 4288</a>, December 2005.
<span class="h3"><a class="selflink" id="section-20.2" href="#section-20.2">20.2</a>. Informative References</span>
[<a id="ref-11">11</a>] Schulzrinne, H. and S. Casner, "RTP Profile for Audio and Video
Conferences with Minimal Control", STD 65, <a href="./rfc3551">RFC 3551</a>, July 2003.
[<a id="ref-12">12</a>] Handley, M., Perkins, C., and E. Whelan, "Session Announcement
Protocol", <a href="./rfc2974">RFC 2974</a>, October 2000.
[<a id="ref-13">13</a>] Schulzrinne, H., Rao, A., and R. Lanphier, "Real Time Streaming
Protocol (RTSP)", <a href="./rfc2326">RFC 2326</a>, April 1998.
<span class="grey">Desineni & Xie Standards Track [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
Authors' Addresses
Harikishan Desineni
Qualcomm
5775 Morehouse Drive
San Diego, CA 92126
USA
Phone: +1 858 845 8996
EMail: hd@qualcomm.com
URI: <a href="http://www.qualcomm.com">http://www.qualcomm.com</a>
Qiaobing Xie
Motorola
1501 W. Shure Drive, 2-F9
Arlington Heights, IL 60004
USA
Phone: +1-847-372-8481
EMail: Qiaobing.Xie@Gmail.com
URI: <a href="http://www.motorola.com">http://www.motorola.com</a>
<span class="grey">Desineni & Xie Standards Track [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc5188">RFC 5188</a> EVRC-WB RTP Payload Format February 2008</span>
Full Copyright Statement
Copyright (C) The IETF Trust (2008).
This document is subject to the rights, licenses and restrictions
contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND
THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
<a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
Desineni & Xie Standards Track [Page 25]
</pre>
|