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
|
<pre>Internet Engineering Task Force (IETF) Z. Fang
Request for Comments: 6884 Qualcomm Incorporated
Category: Standards Track March 2013
ISSN: 2070-1721
<span class="h1">RTP Payload Format</span>
<span class="h1">for the Enhanced Variable Rate Narrowband-Wideband Codec (EVRC-NW)</span>
Abstract
This document specifies Real-time Transport Protocol (RTP) payload
formats to be used for the Enhanced Variable Rate Narrowband-Wideband
Codec (EVRC-NW). Three media type registrations are included for
EVRC-NW RTP payload formats. In addition, a file format is specified
for transport of EVRC-NW speech data in storage mode applications
such as email.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc6884">http://www.rfc-editor.org/info/rfc6884</a>.
Copyright Notice
Copyright (c) 2013 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
<span class="grey">Fang Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
<a href="#section-2">2</a>. Conventions .....................................................<a href="#page-2">2</a>
<a href="#section-3">3</a>. Background ......................................................<a href="#page-3">3</a>
<a href="#section-4">4</a>. EVRC-NW 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>
6.1. Encoding Capability Identification in EVRC-NW
Interleaved/Bundled Format .................................<a href="#page-5">5</a>
<a href="#section-7">7</a>. Congestion Control Considerations ...............................<a href="#page-6">6</a>
<a href="#section-8">8</a>. Storage Format for the EVRC-NW Codec ............................<a href="#page-6">6</a>
<a href="#section-9">9</a>. IANA Considerations .............................................<a href="#page-7">7</a>
<a href="#section-9.1">9.1</a>. Media Type Registrations ...................................<a href="#page-7">7</a>
<a href="#section-9.1.1">9.1.1</a>. Registration of Media Type audio/EVRCNW .............<a href="#page-7">7</a>
<a href="#section-9.1.2">9.1.2</a>. Registration of Media Type audio/EVRCNW0 ............<a href="#page-9">9</a>
<a href="#section-9.1.3">9.1.3</a>. Registration of Media Type audio/EVRCNW1 ...........<a href="#page-10">10</a>
<a href="#section-10">10</a>. SDP Mode Attributes for EVRC-NW ...............................<a href="#page-12">12</a>
<a href="#section-11">11</a>. Mode Change Request/Response Considerations ...................<a href="#page-13">13</a>
<a href="#section-12">12</a>. Mapping EVRC-NW Media Type Parameters into SDP ................<a href="#page-14">14</a>
<a href="#section-13">13</a>. Offer-Answer Model Considerations for EVRC-NW .................<a href="#page-14">14</a>
<a href="#section-14">14</a>. Declarative SDP Considerations ................................<a href="#page-16">16</a>
<a href="#section-15">15</a>. Examples ......................................................<a href="#page-16">16</a>
<a href="#section-16">16</a>. Security Considerations .......................................<a href="#page-19">19</a>
<a href="#section-17">17</a>. References ....................................................<a href="#page-19">19</a>
<a href="#section-17.1">17.1</a>. Normative References .....................................<a href="#page-19">19</a>
<a href="#section-17.2">17.2</a>. Informative References ...................................<a href="#page-20">20</a>
<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-NW 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-NW codec as well as
discontinuous transmission (DTX) support for EVRC-NW encoded speech
transported via RTP. The EVRC-NW codec offers better speech quality
than the EVRC and EVRC-B codecs and better capacity than the Enhanced
Variable Rate Wideband Codec (EVRC-WB). EVRC-NW belongs to the EVRC
family of codecs.
<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="grey">Fang Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Background</span>
EVRC-NW is an extension of both the EVRC-B [<a href="#ref-2" title=""Enhancements to RTP Payload Formats for EVRC Family Codecs"">2</a>] and EVRC-WB [<a href="#ref-3" title=""RTP Payload Format for the Enhanced Variable Rate Wideband Codec (EVRC-WB) and the Media Subtype Updates for EVRC-B Codec"">3</a>] speech
codecs developed in the Third Generation Partnership Project 2
(3GPP2) with support for DTX. It provides enhanced voice quality and
high spectral efficiency.
The EVRC-NW codec operates on 20 ms frames, and the default sampling
rate is 16 kHz (wideband). Input and output at the 8 kHz sampling
rate (narrowband) is also supported. The EVRC-NW codec can operate
in eight modes (0 to 7) as defined in 3GPP2 C.S0014-D [<a href="#ref-4" title=""Enhanced Variable Rate Codec, Speech Service Options 3, 68, 70, and 73 for Wideband Spread Spectrum Digital Systems"">4</a>]. EVRC-NW
modes 0, 1, and 7 are interoperable with EVRC-WB. EVRC-NW modes 1 to
7 are interoperable with EVRC-B. EVRC-NW modes 0 to 6 use the full
set or a subset of full rate, 1/2 rate, 1/4 rate, and 1/8 rate
frames. EVRC-NW mode 7 uses only 1/2 rate and 1/8 rate frames. By
default, EVRC-NW supports all narrowband modes (modes 1 to 7). The
support of wideband mode (mode 0) is optional. Mode change among
modes 1 to 7 (or among modes 0 to 7 if the receiver supports wideband
mode) results in codec output bit-rate change but does not cause any
decoding problems at the receiver. EVRC-NW provides a standardized
solution for packetized voice applications that allow transitions
between enhanced quality and increased capacity. The most important
service addressed is IP telephony. Target devices can be IP phones
or VoIP handsets, media gateways, voice messaging servers, etc.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. EVRC-NW Codec</span>
The EVRC-NW codec operates on 20 ms frames. It produces output
frames of one of the four different sizes: 171 bits (Rate 1), 80 bits
(Rate 1/2), 40 bits (Rate 1/4), or 16 bits (Rate 1/8). 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 the 8 kHz sampling rate is also supported.
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 (Null) 0 (0 bits)
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="grey">Fang Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
<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-5" title=""RTP: A Transport Protocol for Real-Time Applications"">5</a>]. The
EVRC-NW payload formats (<a href="#section-6">Section 6</a>) use the fields of the RTP header
as specified in <a href="./rfc3550">RFC 3550</a> [<a href="#ref-5" title=""RTP: A Transport Protocol for Real-Time Applications"">5</a>].
EVRC-NW 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 electroacoustic 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-NW 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 of EVRC-NW, such as TOC,
interleaving, DTX, and bundling, are exactly the same as those
defined in EVRC [<a href="#ref-6" title=""RTP Payload Format for Enhanced Variable Rate Codecs (EVRC) and Selectable Mode Vocoders (SMV)"">6</a>], EVRC-B [<a href="#ref-2" title=""Enhancements to RTP Payload Formats for EVRC Family Codecs"">2</a>], and EVRC-WB [<a href="#ref-3" title=""RTP Payload Format for the Enhanced Variable Rate Wideband Codec (EVRC-WB) and the Media Subtype Updates for EVRC-B Codec"">3</a>], except that
1. the mode change request field in the interleaved/bundled packet
format MUST be interpreted according to the definition of the
RATE_REDUC parameter as described for EVRC-NW in
3GPP2 C.S0014-D [<a href="#ref-4" title=""Enhanced Variable Rate Codec, Speech Service Options 3, 68, 70, and 73 for Wideband Spread Spectrum Digital Systems"">4</a>].
2. the mode change request field in the interleaved/bundled packet
format SHOULD be honored by an EVRC-NW encoding endpoint in a
one-to-one session with a dedicated EVRC-NW decoding endpoint,
such as in a two-party call or in a conference leg.
3. the reserved bit field in the first octet of the interleaved/
bundled format has only one bit. Bit 1 of the first octet is an
EVRC-NW wideband/narrowband encoding capability identification
flag.
<span class="grey">Fang Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
The media type audio/EVRCNW maps to the interleaved/bundled packet
format, audio/EVRCNW0 maps to the header-free packet format, and
audio/EVRCNW1 maps to the compact bundled packet format.
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. Encoding Capability Identification in EVRC-NW Interleaved/Bundled</span>
<span class="h3"> Format</span>
The EVRC-NW interleaved/bundled format defines an encoding capability
identification flag, which is used to signal the local EVRC-NW
wideband/narrowband encoding capability at the time of construction
of an RTP packet to the far end of a communication session. This
capability identification flag allows the far end to use the MMM
field in its outgoing (returning) EVRC-NW interleaved/bundled format
packets to request the desired EVRC-NW wideband or narrowband
encoding mode in accordance with the dynamic/instantaneous encoding
capability information. See <a href="./rfc3558">RFC 3558</a> [<a href="#ref-6" title=""RTP Payload Format for Enhanced Variable Rate Codecs (EVRC) and Selectable Mode Vocoders (SMV)"">6</a>] for the definition of the
MMM field. The following examples illustrate a few scenarios where
the encoding capability information is used:
o An end-to-end wideband communication is established first between
two communication endpoints using the EVRC-NW interleaved/bundled
format. The called endpoint becomes wideband encoding incapable
during the call and makes the other end aware of this change by
using the encoding capability identification flag. Based on the
new information, the calling endpoint could change the MMM value
in its outgoing EVRC-NW packets from mode 0 to mode 4 to request
narrowband encoded traffic for bandwidth efficiency or from mode 0
to mode 1 for best perceptual quality.
o An end-to-end narrowband communication is established between a
calling endpoint that is EVRC-NW wideband encoding capable and a
called endpoint that is EVRC-NW wideband encoding incapable. The
called endpoint becomes EVRC-NW wideband encoding capable during
the call and makes the other end aware of this change using the
encoding capability identification flag. Based on the new
information, the calling endpoint could change the MMM value in
its outgoing EVRC-NW packets from non-mode-0 to mode 0 to request
wideband traffic.
The EVRC-NW interleaved/bundled format defines the encoding
capability identification flag in bit 1 of the first octet, as
illustrated in the figure below. The flag shall be set to zero (C=0)
when the local EVRC-NW encoder is capable of mode 0 wideband
encoding. The flag shall be set to one (C=1) when the local EVRC-NW
encoder is capable of non-mode-0 narrowband encoding only. See
<a href="./rfc3558">RFC 3558</a> [<a href="#ref-6" title=""RTP Payload Format for Enhanced Variable Rate Codecs (EVRC) and Selectable Mode Vocoders (SMV)"">6</a>] for original definitions of other fields in the
interleaved/bundled format.
<span class="grey">Fang Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| RTP Header |
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
|R|C| LLL | NNN | MMM | Count | TOC | ... | TOC |padding|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| one or more codec data frames, one per TOC entry |
| .... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Reserved (R): 1 bit
Reserved bit. MUST be set to zero by sender; SHOULD be ignored by
receiver.
Encoding capability identification (C): 1 bit
Must be set to zero by sender to indicate wideband encoding
capable or set to one to indicate narrowband encoding capable
only.
C = 0 : mode 0 wideband encoding capable
= 1 : mode 0 wideband encoding incapable, i.e., narrowband
encoding only.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Congestion Control Considerations</span>
Congestion control for RTP is discussed in <a href="./rfc3550">RFC 3550</a> [<a href="#ref-5" title=""RTP: A Transport Protocol for Real-Time Applications"">5</a>] and in
applicable RTP profiles, e.g., <a href="./rfc3551">RFC3551</a> [<a href="#ref-7" title=""RTP Profile for Audio and Video Conferences with Minimal Control"">7</a>]. This document does not
change those considerations.
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-NW Codec</span>
The storage format is used for storing EVRC-NW 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-NW corresponds to the ASCII
character string "#!EVRCNW\n", i.e., "0x23 0x21 0x45 0x56 0x52 0x43
0x4E 0x57 0x0A".
<span class="grey">Fang Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
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. The Value column in the
table in <a href="#section-4">Section 4</a> provides the TOC values for corresponding frame
types.
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 introduces a new EVRC-NW 'audio' media subtype.
<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-8" title=""Media Type Registration of RTP Payload Formats"">8</a>] and <a href="./rfc6838">RFC 6838</a> [<a href="#ref-9" title=""Media Type Specifications and Registration Procedures"">9</a>], this
section registers new 'audio' media subtypes for EVRC-NW.
<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/EVRCNW</span>
Type name: audio
Subtype name: EVRCNW
Required parameters: None
Optional parameters: These parameters apply to RTP transfer only.
mode-set-recv: A subset of EVRC-NW modes. Possible values are a
comma-separated list of modes from the set {0,1,2,3,4,5,6,7}
(see Table 2.6.1.2-1 in 3GPP2 C.S0014-D [<a href="#ref-4" title=""Enhanced Variable Rate Codec, Speech Service Options 3, 68, 70, and 73 for Wideband Spread Spectrum Digital Systems"">4</a>]). 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 {1,2,3,4,5,6,7}.
ptime: See <a href="./rfc4566">RFC 4566</a> [<a href="#ref-10" title=""SDP: Session Description Protocol"">10</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>.
<span class="grey">Fang Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
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="./rfc6838#section-4.8">RFC 6838, Section 4.8</a>)
and is defined for transfer of EVRC-NW encoded data via RTP using
the interleaved/bundled packet format specified in <a href="./rfc3558">RFC 3558</a> [<a href="#ref-6" title=""RTP Payload Format for Enhanced Variable Rate Codecs (EVRC) and Selectable Mode Vocoders (SMV)"">6</a>].
Security considerations: See <a href="#section-16">Section 16</a>.
Interoperability considerations: None
Published specification:
The EVRC-NW vocoder is specified in 3GPP2 C.S0014-D [<a href="#ref-4" title=""Enhanced Variable Rate Codec, Speech Service Options 3, 68, 70, and 73 for Wideband Spread Spectrum Digital Systems"">4</a>]. The
transfer method with the interleaved/bundled packet format via RTP
is specified in <a href="./rfc3558">RFC 3558</a> [<a href="#ref-6" title=""RTP Payload Format for Enhanced Variable Rate Codecs (EVRC) and Selectable Mode Vocoders (SMV)"">6</a>]. See <a href="./rfc6884#section-6">Section 6 of RFC 6884</a> for
details for EVRC-NW.
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: #!EVRCNW\n (see <a href="#section-8">Section 8</a>)
File extensions: enw, ENW
Macintosh file type code: None
Object identifier or OID: None
EVRC-NW speech frames may also be stored in the file format "3g2" as
defined in 3GPP2 C.S0050-B [<a href="#ref-14" title=""3GPP2 File Formats for Multimedia Services"">14</a>], which is identified using the media
types "audio/3gpp2" or "video/3gpp2" registered by <a href="./rfc4393">RFC 4393</a> [<a href="#ref-11" title=""MIME Type Registrations for 3GPP2 Multimedia Files"">11</a>].
Person & email address to contact for further information:
Zheng Fang <zfang@qualcomm.com>
Intended usage: COMMON
<span class="grey">Fang Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
Restrictions on usage:
This media type can be used with the file format defined in
<a href="./rfc6884#section-8">Section 8 of RFC 6884</a> in contexts other than RTP. In the context
of transfers over RTP, the RTP payload format specified in
<a href="./rfc3558#section-4.1">Section 4.1 of RFC 3558</a> [<a href="#ref-6" title=""RTP Payload Format for Enhanced Variable Rate Codecs (EVRC) and Selectable Mode Vocoders (SMV)"">6</a>] is used for this media type.
Author: Zheng Fang <zfang@qualcomm.com>
Change controller:
IETF Payload 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/EVRCNW0</span>
Type name: audio
Subtype name: EVRCNW0
Required parameters: None
Optional parameters: These parameters apply to RTP transfer only.
mode-set-recv: A subset of EVRC-NW modes. Possible values are a
comma-separated list of modes from the set {0,1,2,3,4,5,6,7}
(see Table 2.6.1.2-1 in 3GPP2 C.S0014-D [<a href="#ref-4" title=""Enhanced Variable Rate Codec, Speech Service Options 3, 68, 70, and 73 for Wideband Spread Spectrum Digital Systems"">4</a>]). 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 {1,2,3,4,5,6,7}.
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="./rfc6838#section-4.8">RFC 6838, Section 4.8</a>)
and is defined for transfer of EVRC-NW encoded data via RTP using
the header-free packet format specified in <a href="./rfc3558">RFC 3558</a> [<a href="#ref-6" title=""RTP Payload Format for Enhanced Variable Rate Codecs (EVRC) and Selectable Mode Vocoders (SMV)"">6</a>].
Security considerations: See <a href="#section-16">Section 16</a>.
Interoperability considerations: None
<span class="grey">Fang Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
Published specification:
The EVRC-NW vocoder is specified in 3GPP2 C.S0014-D [<a href="#ref-4" title=""Enhanced Variable Rate Codec, Speech Service Options 3, 68, 70, and 73 for Wideband Spread Spectrum Digital Systems"">4</a>]. The
transfer method with the header-free packet format via RTP is
specified in <a href="./rfc3558">RFC 3558</a> [<a href="#ref-6" title=""RTP Payload Format for Enhanced Variable Rate Codecs (EVRC) and Selectable Mode Vocoders (SMV)"">6</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:
Zheng Fang <zfang@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-5" title=""RTP: A Transport Protocol for Real-Time Applications"">5</a>]. The RTP payload format specified in
<a href="./rfc3558#section-4.2">Section 4.2 of RFC 3558</a> [<a href="#ref-6" title=""RTP Payload Format for Enhanced Variable Rate Codecs (EVRC) and Selectable Mode Vocoders (SMV)"">6</a>] SHALL be used. This media type SHALL
NOT be used for storage or file transfer; instead, audio/EVRCNW
SHALL be used.
Author: Zheng Fang <zfang@qualcomm.com>
Change controller:
IETF Payload 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/EVRCNW1</span>
Type name: audio
Subtype name: EVRCNW1
Required parameters: None
Optional parameters: These parameters apply to RTP transfer only.
mode-set-recv: A subset of EVRC-NW modes. Possible values are a
comma-separated list of modes from the set {0,1} (see Table
2.6.1.2-1 in 3GPP2 C.S0014-D [<a href="#ref-4" title=""Enhanced Variable Rate Codec, Speech Service Options 3, 68, 70, and 73 for Wideband Spread Spectrum Digital Systems"">4</a>]). 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 support for
wideband fixed rate (full or half rate, depending on the value
of the 'fixedrate' parameter). A value of 1 signals narrowband
fixed rate (full or half rate, depending on the value of the
'fixedrate' parameter). Absence of this parameter signals
mode 1.
<span class="grey">Fang Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
ptime: See <a href="./rfc4566">RFC 4566</a>.
maxptime: See <a href="./rfc4566">RFC 4566</a>.
fixedrate: Indicates the EVRC-NW 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="./rfc6838#section-4.8">RFC 6838, Section 4.8</a>)
and is defined for transfer of EVRC-NW encoded data via RTP using
the compact bundled packet format specified in <a href="./rfc4788">RFC 4788</a>.
Security considerations: See <a href="#section-16">Section 16</a>.
Interoperability considerations: None
Published specification:
The EVRC-NW vocoder is specified in 3GPP2 C.S0014-D [<a href="#ref-4" title=""Enhanced Variable Rate Codec, Speech Service Options 3, 68, 70, and 73 for Wideband Spread Spectrum Digital Systems"">4</a>]. The
transfer method with the compact bundled packet format via RTP is
specified in <a href="./rfc4788">RFC 4788</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:
Zheng Fang <zfang@qualcomm.com>
Intended usage: COMMON
<span class="grey">Fang Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
Restrictions on usage:
This media type depends on RTP framing and hence is only defined
for transfer via RTP [<a href="#ref-5" title=""RTP: A Transport Protocol for Real-Time Applications"">5</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; instead, audio/EVRCNW SHALL be
used.
Author: Zheng Fang <zfang@qualcomm.com>
Change controller:
IETF Payload 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-NW</span>
'mode-set-recv' can be used by a decoder to inform an encoder of its
preference to operate in a specified subset of modes. Note that
indicating a preference implicitly indicates support for that
capability. If mode 0 is not preferred for media type EVRCNW0 or
EVRCNW1, then there is no indication that mode 0 is supported.
However, absence of this parameter or absence of mode 0 in this
parameter for media type EVRCNW shall not preclude mode 0 support
during a call where mode 0 may be requested via the MMM field.
1. To inform other nodes of its capability for wideband mode
support: a decoder can always decode all the narrowband modes
(modes 1 to 7). Unless the decoder indicates support of mode 0
(i.e., preference) in this parameter or in the MMM mode request
field in the interleaved/bundled payload format, an encoder at
the other side shall not operate in mode 0.
2. To indicate a preference to operate in a subset of modes: a set
has been defined so that several modes can be expressed as a
preference in one attempt. For instance, the set {4,5,6,7}
signals that the receiver prefers that the sender operate in
bandwidth-efficient narrowband modes of EVRC-NW.
Note that during an active call session using the interleaved/bundled
packet format, the MMM mode request received from a communication
partner can contain a mode request different than the values in the
last mode-set-recv attribute. The partner's EVRC-NW wideband
decoding capability is determined by the latest mode-set-recv
attribute or MMM mode request field. For example, a mode request
with MMM=0 from a communication partner is an implicit indication of
the partner's EVRC-NW wideband decoding capability and preference.
An EVRC-NW wideband-capable node receiving the request can operate in
wideband mode. A mode request with MMM=1, 2, ..., or 7 from a
communication partner is an implicit indication of the partner's
<span class="grey">Fang Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
EVRC-NW narrowband decoding preference. The encoder of an EVRC-NW
node receiving the request shall honor the request and operate in
narrowband mode.
'sendmode' is used as a Session Description Protocol (SDP) mode
attribute in EVRC [<a href="#ref-6" title=""RTP Payload Format for Enhanced Variable Rate Codecs (EVRC) and Selectable Mode Vocoders (SMV)"">6</a>], EVRC-B [<a href="#ref-2" title=""Enhancements to RTP Payload Formats for EVRC Family Codecs"">2</a>], and EVRC-WB [<a href="#ref-3" title=""RTP Payload Format for the Enhanced Variable Rate Wideband Codec (EVRC-WB) and the Media Subtype Updates for EVRC-B Codec"">3</a>]. However, it is
deprecated in EVRC-NW.
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. Mode Change Request/Response Considerations</span>
The interleaved/bundled packet format for the EVRC family of vocoders
supports a 3-bit field (MMM) that a communication node can use to
indicate its preferred compression mode to an opposite node. The
concept of the compression mode (also known as Capacity Operating
Point) was introduced to allow a controlled trade-off between voice
quality and channel capacity. The notion makes it possible to
exercise vocoders at the highest possible (average) bit-rate (hence,
highest voice quality) when the network is lightly loaded.
Conversely, once the network load increases, the vocoders can be
requested to operate at lower average bit-rates so as to absorb the
additional network load without causing an undue increase in the
frame-erasure rates; the underlying premise is that while a higher
bit-rate improves vocoder performance, it also increases the network
load, risking a sharp decline in voice quality should the frame-
erasure rate be too high. By contrast, a lower bit-rate mode of
operation can result in accommodation of the additional network load
without causing unduly high frame-erasure rates, resulting in better
overall quality despite the inherently lower voice quality of the
lower bit-rate mode of the vocoder.
Accordingly, the MMM field should be used to request the far end to
transmit compressed speech using a mode that provides the best
balance between voice quality and capacity. However, in the case of
mobile-mobile calls, for example, there are two wireless sides
involved, each with a potentially different network load level and
hence a different preferred mode. In such cases, achieving optimal
end-to-end performance depends on coherent management of the
operative mode by the two sides. This requires that even if the
local node prefers a higher bit-rate vocoder mode, it should adjust
to a lower bit-rate mode if requested by the far end, in order to
avoid potentially high frame-erasure rates due to heavy load at the
far-end network. For similar reasons, in cases where a mode
requested by the far end should not be supported, it might still be
beneficial to consider switching to a supported vocoder mode
corresponding to a lower average bit-rate than requested. It is
recommended that the next lower average bit-rate supported vocoder
mode be used for encoding when a mode requested by the far end is not
supported.
<span class="grey">Fang Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
A wideband-capable endpoint can use the information conveyed by the
C-bit of the RTP payload header to determine the optimal mode to
request of the far end. If the far end cannot provide mode 0 packets
(C-bit=1), then the choice of MMM can be based strictly on the local
network load. If the C-bit indicates the remote end's mode 0
encoding capability (C-bit=0), then even if the local network load is
not light, mode 0 can be requested knowing definitively that it will
be supported. This will permit operators to treat wideband-capable
mobiles preferentially, should they wish to adopt such policy.
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a>. Mapping EVRC-NW 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-10" title=""SDP: Session Description Protocol"">10</a>],
which is commonly used to describe RTP sessions. When SDP is used to
specify sessions employing EVRC-NW encoded speech, the mapping is as
follows.
o The media type ("audio") goes in SDP "m=" as the media name.
o The media subtype ("EVRCNW", "EVRCNW0", or "EVRCNW1") goes in SDP
"a=rtpmap" as the encoding name.
o The optional parameters 'ptime and 'maxptime' (for subtypes EVRCNW
and EVRCNW1) go in the SDP "a=ptime" and "a=maxptime" attributes,
respectively.
o Any remaining parameters (for subtypes EVRCNW, EVRCNW0, and
EVRCNW1) 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>. Offer-Answer Model Considerations for EVRC-NW</span>
The following considerations apply when using the SDP offer-answer
procedures of <a href="./rfc3264">RFC 3264</a> [<a href="#ref-12" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">12</a>] to negotiate the use of EVRC-NW payload
in RTP:
o Since EVRC-NW is an extension of both EVRC-B and EVRC-WB, the
offerer SHOULD also announce EVRC-B and EVRC-WB support in its
"m=audio" lines, with EVRC-NW as the preferred codec. This will
allow interoperability with an answerer that supports only EVRC-B
and/or EVRC-WB.
<span class="grey">Fang Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
Below is an example of such an offer:
m=audio 55954 RTP/AVP 98 99 100
a=rtpmap:98 EVRCNW0/16000
a=rtpmap:99 EVRCWB0/16000
a=rtpmap:100 EVRCB0/8000
a=fmtp:98 mode-set-recv=0,1,2,3,4,5,6
a=fmtp:99 mode-set-recv=0,4
a=fmtp:100 recvmode=0
If the answerer supports EVRC-NW, then the answerer can keep the
payload type 98 in its answer and the conversation can be done using
EVRC-NW. Otherwise, if the answerer supports only EVRC-WB and/or
EVRC-B, then the answerer will leave only the payload type 99 and/or
100, respectively, in its answer and the conversation will be done
using EVRC-WB and/or EVRC-B, respectively.
An example answer for the above offer:
m=audio 55954 RTP/AVP 98
a=rtpmap:98 EVRCNW0/16000
a=fmtp:98 mode-set-recv=4
o 'mode-set-recv' is a unidirectional receive-only 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. However, a remote sender shall not assume the other
side can support mode 0, unless the offer includes mode 0
explicitly in 'mode-set-recv' or the remote sender receives mode
requests with MMM=0 from the communication partner during an
active call using the EVRC-NW interleaved/bundled format.
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-12" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">12</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 When using EVRCNW1, the entire session MUST use the same fixed
rate and mode (0-Wideband or 1-Narrowband).
<span class="grey">Fang Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
o For additional rules that MUST be followed while negotiating DTX
parameters, see <a href="./rfc4788#section-6.8">Section 6.8 in RFC 4788</a> [<a href="#ref-2" title=""Enhancements to RTP Payload Formats for EVRC Family Codecs"">2</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-14" href="#section-14">14</a>. Declarative SDP Considerations</span>
For declarative use of SDP in the Session Announcement Protocol (SAP)
[<a href="#ref-15" title=""Session Announcement Protocol"">15</a>] and the Real Time Streaming Protocol (RTSP) [<a href="#ref-16" title=""Real Time Streaming Protocol (RTSP)"">16</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-15">Section 15</a>.
o The usage of unidirectional receive-only parameters, such as
'mode-set-recv', should be excluded in any declarations, since
these parameters are meaningless in one-way streaming
applications.
<span class="h2"><a class="selflink" id="section-15" href="#section-15">15</a>. Examples</span>
Some example SDP session descriptions utilizing EVRC-NW 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 EVRCNW if wideband mode is supported:
m=audio 49120 RTP/AVP 97 98 99
a=rtpmap:97 EVRCNW/16000
a=rtpmap:98 EVRCWB/16000
a=rtpmap:99 EVRCB/8000
a=fmtp:97 mode-set-recv=0,1,2,3,4,5,6
a=fmtp:98 mode-set-recv=0,4
a=fmtp:99 recvmode=0
a=maxptime:120
<span class="grey">Fang Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
Example usage of EVRCNW if wideband mode is not supported:
m=audio 49120 RTP/AVP 97 98 99
a=rtpmap:97 EVRCNW/16000
a=rtpmap:98 EVRCWB/16000
a=rtpmap:99 EVRCB/8000
a=fmtp:97 mode-set-recv=1,2,3,4,5,6
a=fmtp:98 mode-set-recv=4
a=fmtp:99 recvmode=0
a=maxptime:120
Example usage of EVRCNW0:
m=audio 49120 RTP/AVP 97 98 99
a=rtpmap:97 EVRCNW0/16000
a=rtpmap:98 EVRCWB0/16000
a=rtpmap:99 EVRCB0/8000
a=fmtp:97 mode-set-recv=0,1,2,3,4,5,6
a=fmtp:98 mode-set-recv=0,4
a=fmtp:99 recvmode=0
Example SDP answer from a media gateway requesting a terminal to
limit its encoder operation to EVRC-NW mode 4.
m=audio 49120 RTP/AVP 97
a=rtpmap:97 EVRCNW0/16000
a=fmtp:97 mode-set-recv=4
Example usage of EVRCNW1:
m=audio 49120 RTP/AVP 97 98 99
a=rtpmap:97 EVRCNW1/16000
a=rtpmap:98 EVRCWB1/16000
a=rtpmap:99 EVRCB1/8000
a=fmtp:97 fixedrate=0.5
a=fmtp:98 fixedrate=0.5
a=fmtp:99 fixedrate=0.5
a=maxptime:100
<span class="grey">Fang Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
Example usage of EVRCNW with DTX with silencesupp=1:
m=audio 49120 RTP/AVP 97 98 99
a=rtpmap:97 EVRCNW/16000
a=rtpmap:98 EVRCWB/16000
a=rtpmap:99 EVRCB/8000
a=fmtp:97 silencesupp=1;dtxmax=32;dtxmin=12;hangover=1; \
mode-set-recv=0,1,2,3,4,5,6
a=fmtp:98 silencesupp=1;dtxmax=32;dtxmin=12;hangover=1; \
mode-set-recv=0,4
a=fmtp:99 recvmode=0
a=maxptime:120
Example usage of EVRCNW with DTX with silencesupp=0:
m=audio 49120 RTP/AVP 97 98 99
a=rtpmap:97 EVRCNW/16000
a=rtpmap:98 EVRCWB/16000
a=rtpmap:99 EVRCB/8000
a=fmtp:97 silencesupp=0;dtxmax=32;dtxmin=12;hangover=1; \
mode-set-recv=0,1,2,3,4,5,6
a=fmtp:98 silencesupp=0;dtxmax=32;dtxmin=12;hangover=1; \
mode-set-recv=0,4
a=fmtp:99 recvmode=0
a=maxptime:120
Example offer-answer exchange between EVRC-NW and legacy EVRC-B
(<a href="./rfc4788">RFC 4788</a>):
Offer:
m=audio 55954 RTP/AVP 97 98 99
a=rtpmap:97 EVRCNW0/16000
a=rtpmap:98 EVRCWB0/16000
a=rtpmap:99 EVRCB0/8000
a=rtpmap:97 mode-set-recv=0,1,2,3,4,5,6
a=fmtp:98 mode-set-recv=0,4
a=fmtp:99 recvmode=0
Answer:
m=audio 55954 RTP/AVP 99
a=rtpmap:99 EVRCB0/8000
<span class="grey">Fang Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
Example offer-answer exchange between EVRC-NW and legacy EVRC-WB
(<a href="./rfc5188">RFC 5188</a>):
Offer:
m=audio 55954 RTP/AVP 97 98 99
a=rtpmap:97 EVRCNW0/16000
a=rtpmap:98 EVRCWB0/16000
a=rtpmap:99 EVRCB0/8000
a=rtpmap:97 mode-set-recv=0,1,2,3,4,5,6
a=fmtp:98 mode-set-recv=0,4
a=fmtp:99 recvmode=0
Answer:
m=audio 55954 RTP/AVP 98 99
a=rtpmap:98 EVRCWB0/16000
<span class="h2"><a class="selflink" id="section-16" href="#section-16">16</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-6" title=""RTP Payload Format for Enhanced Variable Rate Codecs (EVRC) and Selectable Mode Vocoders (SMV)"">6</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-6" title=""RTP Payload Format for Enhanced Variable Rate Codecs (EVRC) and Selectable Mode Vocoders (SMV)"">6</a>], <a href="./rfc3550">RFC 3550</a> [<a href="#ref-5" title=""RTP: A Transport Protocol for Real-Time Applications"">5</a>], and any
appropriate profile (for example, <a href="./rfc3551">RFC 3551</a> [<a href="#ref-7" title=""RTP Profile for Audio and Video Conferences with Minimal Control"">7</a>]). Additional security
considerations are described in <a href="./rfc6562">RFC 6562</a> [<a href="#ref-13" title=""Guidelines for the Use of Variable Bit Rate Audio with Secure RTP"">13</a>].
<span class="h2"><a class="selflink" id="section-17" href="#section-17">17</a>. References</span>
<span class="h3"><a class="selflink" id="section-17.1" href="#section-17.1">17.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>] 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-3">3</a>] Desineni, H. and Q. Xie, "RTP Payload Format for the Enhanced
Variable Rate Wideband Codec (EVRC-WB) and the Media Subtype
Updates for EVRC-B Codec", <a href="./rfc5188">RFC 5188</a>, February 2008.
[<a id="ref-4">4</a>] "Enhanced Variable Rate Codec, Speech Service Options 3, 68,
70, and 73 for Wideband Spread Spectrum Digital Systems",
3GPP2 C.S0014-D v3.0, October 2010, <<a href="http://www.3gpp2.org/public_html/specs/C.S0014-D_v3.0_EVRC.pdf">http://www.3gpp2.org/</a>
<a href="http://www.3gpp2.org/public_html/specs/C.S0014-D_v3.0_EVRC.pdf">public_html/specs/C.S0014-D_v3.0_EVRC.pdf</a>>.
<span class="grey">Fang Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
[<a id="ref-5">5</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>, July 2003.
[<a id="ref-6">6</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-7">7</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-8">8</a>] Casner, S., "Media Type Registration of RTP Payload Formats",
<a href="./rfc4855">RFC 4855</a>, February 2007.
[<a id="ref-9">9</a>] Freed, N., Klensin, J., and T. Hansen, "Media Type
Specifications and Registration Procedures", <a href="https://www.rfc-editor.org/bcp/bcp13">BCP 13</a>, <a href="./rfc6838">RFC 6838</a>,
January 2013.
[<a id="ref-10">10</a>] Handley, M., Jacobson, V., and C. Perkins, "SDP: Session
Description Protocol", <a href="./rfc4566">RFC 4566</a>, July 2006.
[<a id="ref-11">11</a>] Garudadri, H., "MIME Type Registrations for 3GPP2 Multimedia
Files", <a href="./rfc4393">RFC 4393</a>, March 2006.
[<a id="ref-12">12</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-13">13</a>] Perkins, C. and JM. Valin, "Guidelines for the Use of Variable
Bit Rate Audio with Secure RTP", <a href="./rfc6562">RFC 6562</a>, March 2012.
<span class="h3"><a class="selflink" id="section-17.2" href="#section-17.2">17.2</a>. Informative References</span>
[<a id="ref-14">14</a>] "3GPP2 File Formats for Multimedia Services", 3GPP2 C.S0050-B
v1.0, May 2007, <<a href="http://www.3gpp2.org/public_html/specs/C.S0050-B_v1.0_070521.pdf">http://www.3gpp2.org/public_html/specs/</a>
<a href="http://www.3gpp2.org/public_html/specs/C.S0050-B_v1.0_070521.pdf">C.S0050-B_v1.0_070521.pdf</a>>.
[<a id="ref-15">15</a>] Handley, M., Perkins, C., and E. Whelan, "Session Announcement
Protocol", <a href="./rfc2974">RFC 2974</a>, October 2000.
[<a id="ref-16">16</a>] Schulzrinne, H., Rao, A., and R. Lanphier, "Real Time Streaming
Protocol (RTSP)", <a href="./rfc2326">RFC 2326</a>, April 1998.
<span class="grey">Fang Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc6884">RFC 6884</a> EVRC-NW RTP Payload Format March 2013</span>
Author's Address
Zheng Fang
Qualcomm Incorporated
5775 Morehouse Drive
San Diego, CA 92126
USA
Phone: +1 858 651 9484
EMail: zfang@qualcomm.com
URI: <a href="http://www.qualcomm.com">http://www.qualcomm.com</a>
Fang Standards Track [Page 21]
</pre>
|