home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_ietf_a_c / draft-ietf-avt-profile-new-01.txt < prev    next >
Text File  |  1997-07-31  |  71KB  |  1,676 lines

  1.  
  2. Internet Engineering Task Force                                   AVT WG
  3. Internet Draft                                               Schulzrinne
  4. ietf-avt-profile-new-01.txt                                  Columbia U.
  5. July 29, 1997
  6. Expires: January 1, 1998
  7.  
  8.  
  9.     RTP Profile for Audio and Video Conferences with Minimal Control
  10.  
  11. STATUS OF THIS MEMO
  12.  
  13.    This document is an Internet-Draft. Internet-Drafts are working
  14.    documents of the Internet Engineering Task Force (IETF), its areas,
  15.    and its working groups.  Note that other groups may also distribute
  16.    working documents as Internet-Drafts.
  17.  
  18.    Internet-Drafts are draft documents valid for a maximum of six months
  19.    and may be updated, replaced, or obsoleted by other documents at any
  20.    time.  It is inappropriate to use Internet-Drafts as reference
  21.    material or to cite them other than as ``work in progress''.
  22.  
  23.    To learn the current status of any Internet-Draft, please check the
  24.    ``1id-abstracts.txt'' listing contained in the Internet-Drafts Shadow
  25.    Directories on ftp.is.co.za (Africa), nic.nordu.net (Europe),
  26.    munnari.oz.au (Pacific Rim), ds.internic.net (US East Coast), or
  27.    ftp.isi.edu (US West Coast).
  28.  
  29.    Distribution of this document is unlimited.
  30.  
  31.                                  ABSTRACT
  32.  
  33.  
  34.          This memo describes a profile called "RTP/AVP" for the
  35.          use of the real-time transport protocol (RTP), version 2,
  36.          and the associated control protocol, RTCP, within audio
  37.          and video multiparticipant conferences with minimal
  38.          control. It provides interpretations of generic fields
  39.          within the RTP specification suitable for audio and video
  40.          conferences. In particular, this document defines a set
  41.          of default mappings from payload type numbers to
  42.          encodings.
  43.  
  44.          The document also describes how audio and video data may
  45.          be carried within RTP. It defines a set of standard
  46.          encodings and their names when used within RTP. However,
  47.  
  48.  
  49.  
  50. Schulzrinne                                                   [Page 1]
  51.  
  52. Internet Draft                  Profile                    July 29, 1997
  53.  
  54.  
  55.          the encoding definitions are independent of the
  56.          particular transport mechanism used. The descriptions
  57.          provide pointers to reference implementations and the
  58.          detailed standards. This document is meant as an aid for
  59.          implementors of audio, video and other real-time
  60.          multimedia applications.
  61.  
  62.  
  63.    Changes
  64.  
  65.    This draft revises RFC 1890. It is fully backwards-compatible with
  66.    RFC 1890 and codifies existing practice. It is intended that this
  67.    draft form the basis of a new RFC to obsolete RFC 1890 as it moves to
  68.    Draft Standard.
  69.  
  70.    Besides wording clarifications and filling in RFC numbers for payload
  71.    type definitions, this draft adds payload types 4, 16, 17, 18, 19 and
  72.    34. The PostScript version of this draft contains change bars marking
  73.    changes make since draft -00.
  74.  
  75.    A tentative TCP encapsulation is defined.
  76.  
  77.    According to Peter Hoddie of Apple, only pre-1994 Macintosh used the
  78.    22254.54 rate and none the 11127.27 rate.
  79.  
  80.    Note to RFC editor: This section is to be removed before publication
  81.    as an RFC. All RFC TBD should be filled in with the number of the RTP
  82.    specification RFC submitted for Draft Standard status.
  83.  
  84. 1 Introduction
  85.  
  86.    This profile defines aspects of RTP left unspecified in the RTP
  87.    Version 2 protocol definition (RFC XXXX). This profile is intended
  88.    for the use within audio and video conferences with minimal session
  89.    control. In particular, no support for the negotiation of parameters
  90.    or membership control is provided. The profile is expected to be
  91.    useful in sessions where no negotiation or membership control are
  92.    used (e.g., using the static payload types and the membership
  93.    indications provided by RTCP), but this profile may also be useful in
  94.    conjunction with a higher-level control protocol.
  95.  
  96.    Use of this profile occurs by use of the appropriate applications;
  97.    there is no explicit indication by port number, protocol identifier
  98.    or the like. Applications such as session directories should refer to
  99.    this profile as "RTP/AVP".
  100.  
  101.    Other profiles may make different choices for the items specified
  102.    here.
  103.  
  104.  
  105.  
  106. Schulzrinne                                                   [Page 2]
  107.  
  108. Internet Draft                  Profile                    July 29, 1997
  109.  
  110.  
  111.    This document also defines a set of payload formats for audio.
  112.  
  113.    This draft defines the term media type as dividing encodings of audio
  114.    and video content into three classes: audio, video and audio/video
  115.    (interleaved).
  116.  
  117. 2 RTP and RTCP Packet Forms and Protocol Behavior
  118.  
  119.    The section "RTP Profiles and Payload Format Specification" of RFC
  120.    TBD enumerates a number of items that can be specified or modified in
  121.    a profile. This section addresses these items. Generally, this
  122.    profile follows the default and/or recommended aspects of the RTP
  123.    specification.
  124.  
  125.    RTP data header: The standard format of the fixed RTP data header is
  126.         used (one marker bit).
  127.  
  128.    Payload types: Static payload types are defined in Section 6.
  129.  
  130.    RTP data header additions: No additional fixed fields are appended to
  131.         the RTP data header.
  132.  
  133.    RTP data header extensions: No RTP header extensions are defined, but
  134.         applications operating under this profile may use such
  135.         extensions. Thus, applications should not assume that the RTP
  136.         header X bit is always zero and should be prepared to ignore the
  137.         header extension. If a header extension is defined in the
  138.         future, that definition must specify the contents of the first
  139.         16 bits in such a way that multiple different extensions can be
  140.         identified.
  141.  
  142.    RTCP packet types: No additional RTCP packet types are defined by
  143.         this profile specification.
  144.  
  145.    RTCP report interval: The suggested constants are to be used for the
  146.         RTCP report interval calculation.
  147.  
  148.    SR/RR extension: No extension section is defined for the RTCP SR or
  149.         RR packet.
  150.  
  151.    SDES use: Applications may use any of the SDES items described in the
  152.         RTP specification. While CNAME information is sent every
  153.         reporting interval, other items should be sent only every third
  154.         reporting interval, with NAME sent seven out of eight times
  155.         within that slot and the remaining SDES items cyclically taking
  156.         up the eighth slot, as defined in Section 6.2.2 of the RTP
  157.         specification. In other words, NAME is sent in RTCP packets 1,
  158.         4, 7, 10, 13, 16, 19, while, say, EMAIL is used in RTCP packet
  159.  
  160.  
  161.  
  162. Schulzrinne                                                   [Page 3]
  163.  
  164. Internet Draft                  Profile                    July 29, 1997
  165.  
  166.  
  167.         22.
  168.  
  169.    Security: The RTP default security services are also the default
  170.         under this profile.
  171.  
  172.    String-to-key mapping: A user-provided string ("pass phrase") is
  173.         hashed with the MD5 algorithm to a 16-octet digest. An !n!-bit
  174.         key is extracted from the digest by taking the first !n! bits
  175.         from the digest. If several keys are needed with a total length
  176.         of 128 bits or less (as for triple DES), they are extracted in
  177.         order from that digest. The octet ordering is specified in RFC
  178.         1423, Section 2.2. (Note that some DES implementations require
  179.         that the 56-bit key be expanded into 8 octets by inserting an
  180.         odd parity bit in the most significant bit of the octet to go
  181.         with each 7 bits of the key.)
  182.  
  183.    It is suggested that pass phrases are restricted to ASCII letters,
  184.    digits, the hyphen, and white space to reduce the the chance of
  185.    transcription errors when conveying keys by phone, fax, telex or
  186.    email.
  187.  
  188.    The pass phrase may be preceded by a specification of the encryption
  189.    algorithm. Any characters up to the first slash (ASCII 0x2f) are
  190.    taken as the name of the encryption algorithm. The encryption format
  191.    specifiers should be drawn from RFC 1423 or any additional
  192.    identifiers registered with IANA. If no slash is present, DES-CBC is
  193.    assumed as default. The encryption algorithm specifier is case
  194.    sensitive.
  195.  
  196.    The pass phrase typed by the user is transformed to a canonical form
  197.    before applying the hash algorithm. For that purpose, we define
  198.    return, tab, or vertical tab as well as all characters contained in
  199.    the Unicode space characters table. The transformation consists of
  200.    the following steps: (1) convert the input string to the ISO 10646
  201.    character set, using the UTF-8 encoding as specified in Annex P to
  202.    ISO/IEC 10646-1:1993 (ASCII characters require no mapping, but ISO
  203.    8859-1 characters do); (2) remove leading and trailing white space
  204.    characters; (3) replace one or more contiguous white space characters
  205.    by a single space (ASCII or UTF-8 0x20); (4) convert all letters to
  206.    lower case and replace sequences of characters and non-spacing
  207.    accents with a single character, where possible. A minimum length of
  208.    16 key characters (after applying the transformation) should be
  209.    enforced by the application, while applications must allow up to 256
  210.    characters of input.
  211.  
  212.    Underlying protocol: The profile specifies the use of RTP over
  213.         unicast and multicast UDP as well as TCP. (This does not
  214.         preclude the use of these definitions when RTP is carried by
  215.  
  216.  
  217.  
  218. Schulzrinne                                                   [Page 4]
  219.  
  220. Internet Draft                  Profile                    July 29, 1997
  221.  
  222.  
  223.         other lower-layer protocols.)
  224.  
  225.    Transport mapping: The standard mapping of RTP and RTCP to
  226.         transport-level addresses is used.
  227.  
  228.    Encapsulation: No encapsulation of RTP packets is specified.
  229.  
  230. 3 Registering Payload Types
  231.  
  232.    This profile defines a set of standard encodings and their payload
  233.    types when used within RTP. Other encodings and their payload types
  234.    are to be registered with the Internet Assigned Numbers Authority
  235.    (IANA). When registering a new encoding/payload type, the following
  236.    information should be provided:
  237.  
  238.         o name and description of encoding, in particular the RTP
  239.          timestamp clock rate; the names defined here are 3 or 4
  240.          characters long to allow a compact representation if needed;
  241.  
  242.         o indication of who has change control over the encoding (for
  243.          example, ISO, ITU-T, other international standardization
  244.          bodies, a consortium or a particular company or group of
  245.          companies);
  246.  
  247.         o any operating parameters or profiles;
  248.  
  249.         o a reference to a further description, if available, for
  250.          example (in order of preference) an RFC, a published paper, a
  251.          patent filing, a technical report, documented source code or a
  252.          computer manual;
  253.  
  254.         o for proprietary encodings, contact information (postal and
  255.          email address);
  256.  
  257.         o the payload type value for this profile, if necessary (see
  258.          below).
  259.  
  260.    Note that not all encodings to be used by RTP need to be assigned a
  261.    static payload type. Non-RTP means beyond the scope of this memo
  262.    (such as directory services or invitation protocols) may be used to
  263.    establish a dynamic mapping between a payload type and an encoding
  264.    ("dynamic payload types"). Applications should first use the range 96
  265.    to 127 for dynamic payload types. Only applications which need to
  266.    define more than 32 dynamic payload types may redefine codes below
  267.    96. Redefining payload types below 96 may cause incorrect operation
  268.    if an attempt is made to join a session without obtaining session
  269.    description information that defines the dynamic payload types.
  270.  
  271.  
  272.  
  273.  
  274. Schulzrinne                                                   [Page 5]
  275.  
  276. Internet Draft                  Profile                    July 29, 1997
  277.  
  278.  
  279.    Note that dynamic payload types should not be used without a well-
  280.    defined mechanism to indicate the mapping. Systems that expect to
  281.    interoperate with others operating under this profile should not
  282.    assign proprietary encodings to particular, fixed payload types in
  283.    the range reserved for dynamic payload types. SDP (RFC XXXX ) defines
  284.    such a mapping mechanism.
  285.  
  286.    The available payload type space is relatively small. Thus, new
  287.    static payload types are assigned only if the following conditions
  288.    are met:
  289.  
  290.         o The encoding is of interest to the Internet community at
  291.          large.
  292.  
  293.         o It offers benefits compared to existing encodings and/or is
  294.          required for interoperation with existing, widely deployed
  295.          conferencing or multimedia systems.
  296.  
  297.         o The description is sufficient to build a decoder.
  298.  
  299.    For implementor convenience, this profile contains descriptions of
  300.    encodings which do not currently have a static payload type assigned
  301.    to them.
  302.  
  303.    The Session Description Protocol (SDP) (RFC XXXX)  uses the encoding
  304.    names defined here.
  305.  
  306. 4 Audio
  307.  
  308. 4.1 Encoding-Independent Rules
  309.  
  310.    For applications which send no packets during silence, the first
  311.    packet of a talkspurt, that is, the first packet after a silence
  312.    period, is distinguished by setting the marker bit in the RTP data
  313.    header to one.  The marker bits in all other packets is zero. The
  314.    beginning of a talkspurt may be used to adjust the playout delay to
  315.    reflect changing network delays. Applications without silence
  316.    suppression set the bit to zero.
  317.  
  318.    The RTP clock rate used for generating the RTP timestamp is
  319.    independent of the number of channels and the encoding; it equals the
  320.    number of sampling periods per second. For !N!-channel encodings,
  321.    each sampling period (say, 1/8000 of a second) generates !N! samples.
  322.    (This terminology is standard, but somewhat confusing, as the total
  323.    number of samples generated per second is then the sampling rate
  324.    times the channel count.)
  325.  
  326.    If multiple audio channels are used, channels are numbered left-to-
  327.  
  328.  
  329.  
  330. Schulzrinne                                                   [Page 6]
  331.  
  332. Internet Draft                  Profile                    July 29, 1997
  333.  
  334.  
  335.    right, starting at one. In RTP audio packets, information from
  336.    lower-numbered channels precedes that from higher-numbered channels.
  337.    For more than two channels, the convention followed by the AIFF-C
  338.    audio interchange format should be followed [1], using the following
  339.    notation:
  340.  
  341.  
  342.    l    left
  343.    r    right
  344.    c    center
  345.    S    surround
  346.    F    front
  347.    R    rear
  348.  
  349.  
  350.  
  351.    channels    description     channel
  352.                                   1       2     3     4     5     6
  353.    ________________________________________________________________
  354.    2           stereo             l       r
  355.    3                              l       r     c
  356.    4           quadrophonic      Fl       Fr    Rl    Rr
  357.    4                              l       c     r     S
  358.    5                             Fl       Fr    Fc    Sl    Sr
  359.    6                              l       lc    c     r     rc    S
  360.  
  361.  
  362.    Samples for all channels belonging to a single sampling instant must
  363.    be within the same packet. The interleaving of samples from different
  364.    channels depends on the encoding. General guidelines are given in
  365.    Section 4.3 and 4.4.
  366.  
  367.    The sampling frequency should be drawn from the set: 8000, 11025,
  368.    16000, 22050, 24000, 32000, 44100 and 48000 Hz. (Older Apple
  369.    Macintosh computers had a native sample rate of 22254.54 Hz, which
  370.    can be converted to 22050 with acceptable quality by dropping 4
  371.    samples in a 20 ms frame.) However, most audio encodings are defined
  372.    for a more restricted set of sampling frequencies. Receivers should
  373.    be prepared to accept multi-channel audio, but may choose to only
  374.    play a single channel.
  375.  
  376. 4.2 Operating Recommendations
  377.  
  378.    The following recommendations are default operating parameters.
  379.    Applications should be prepared to handle other values. The ranges
  380.    given are meant to give guidance to application writers, allowing a
  381.    set of applications conforming to these guidelines to interoperate
  382.    without additional negotiation. These guidelines are not intended to
  383.    restrict operating parameters for applications that can negotiate a
  384.  
  385.  
  386. Schulzrinne                                                   [Page 7]
  387.  
  388. Internet Draft                  Profile                    July 29, 1997
  389.  
  390.  
  391.    set of interoperable parameters, e.g., through a conference control
  392.    protocol.
  393.  
  394.    For packetized audio, the default packetization interval should have
  395.    a duration of 20 ms or one frame, whichever is longer, unless
  396.    otherwise noted in Table 1 (column "ms/packet"). The packetization
  397.    interval determines the minimum end-to-end delay; longer packets
  398.    introduce less header overhead but higher delay and make packet loss
  399.    more noticeable. For non-interactive applications such as lectures or
  400.    links with severe bandwidth constraints, a higher packetization delay
  401.    may be appropriate. A receiver should accept packets representing
  402.    between 0 and 200 ms of audio data. (For framed audio encodings, a
  403.    receiver should accept packets with 200 ms divided by the frame
  404.    duration, rounded up.) This restriction allows reasonable buffer
  405.    sizing for the receiver.
  406.  
  407. 4.3 Guidelines for Sample-Based Audio Encodings
  408.  
  409.    In sample-based encodings, each audio sample is represented by a
  410.    fixed number of bits. Within the compressed audio data, codes for
  411.    individual samples may span octet boundaries. An RTP audio packet may
  412.    contain any number of audio samples, subject to the constraint that
  413.    the number of bits per sample times the number of samples per packet
  414.    yields an integral octet count. Fractional encodings produce less
  415.    than one octet per sample.
  416.  
  417.    The duration of an audio packet is determined by the number of
  418.    samples in the packet.
  419.  
  420.    For sample-based encodings producing one or more octets per sample,
  421.    samples from different channels sampled at the same sampling instant
  422.    are packed in consecutive octets. For example, for a two-channel
  423.    encoding, the octet sequence is (left channel, first sample), (right
  424.    channel, first sample), (left channel, second sample), (right
  425.    channel, second sample), .... For multi-octet encodings, octets are
  426.    transmitted in network byte order (i.e., most significant octet
  427.    first).
  428.  
  429.    The packing of sample-based encodings producing less than one octet
  430.    per sample is encoding-specific.
  431.  
  432. 4.4 Guidelines for Frame-Based Audio Encodings
  433.  
  434.    Frame-based encodings encode a fixed-length block of audio into
  435.    another block of compressed data, typically also of fixed length. For
  436.    frame-based encodings, the sender may choose to combine several such
  437.    frames into a single RTP packet. The receiver can tell the number of
  438.    frames contained in an RTP packet since the audio frame duration (in
  439.  
  440.  
  441.  
  442. Schulzrinne                                                   [Page 8]
  443.  
  444. Internet Draft                  Profile                    July 29, 1997
  445.  
  446.  
  447.    octets) is defined as part of the encoding, as long as all frames
  448.    have the same length measured in octets. This does not work when
  449.    carrying frames of different sizes unless the frame sizes are
  450.    relatively prime.
  451.  
  452.    For frame-based codecs, the channel order is defined for the whole
  453.    block. That is, for two-channel audio, right and left samples are
  454.    coded independently, with the encoded frame for the left channel
  455.    preceding that for the right channel.
  456.  
  457.    All frame-oriented audio codecs should be able to encode and decode
  458.    several consecutive frames within a single packet. Since the frame
  459.    size for the frame-oriented codecs is given, there is no need to use
  460.    a separate designation for the same encoding, but with different
  461.    number of frames per packet.
  462.  
  463.    RTP packets shall contain a whole number of frames, with frames
  464.    inserted according to age within a packet, so that the oldest frame
  465.    (to be played first) occurs immediately after the RTP packet header.
  466.    The RTP timestamp reflects the capturing time of the first sample in
  467.    the first frame, that is, the oldest information in the packet.
  468.  
  469. 4.5 Audio Encodings
  470.  
  471.  
  472.    The characteristics of standard audio encodings are shown in Table 1;
  473.    those assigned static payload types are listed in Table 3. While most
  474.    audio codecs are only specified for a fixed sampling rate, some
  475.    sample-based algorithms (indicated by an entry of "var." in the
  476.    sampling rate column of Table 1) may be used with different sampling
  477.    rates, resulting in different coded bit rates. Non-RTP means MUST
  478.    indicate the appropriate sampling rate.
  479.  
  480. 4.5.1 1016
  481.  
  482.    Encoding 1016 is a frame based encoding using code-excited linear
  483.    prediction (CELP) and is specified in Federal Standard FED-STD 1016
  484.    [2,3,4,5].
  485.  
  486. 4.5.2 CN
  487.  
  488.    The CN (comfort noise) packet contains a single-octet message to the
  489.    receiver to play comfort noise at the absolute level specified. This
  490.    message would normally be sent once at the beginning of a silence
  491.    period (which also indicates the transition from speech to silence),
  492.    but rate of noise level updates is implementation specific. The
  493.    magnitude of the noise level is packed into the least significant
  494.    bits of the noise-level payload, as shown below.
  495.  
  496.  
  497.  
  498. Schulzrinne                                                   [Page 9]
  499.  
  500. Internet Draft                  Profile                    July 29, 1997
  501.  
  502.  
  503.  
  504.    name of                                    sampling                  default
  505.    encoding    sample/frame    bits/sample        rate    ms/frame    ms/packet
  506.    ____________________________________________________________________________
  507.    1016        frame           N/A               8,000          30           30
  508.    CN          frame           N/A                var.
  509.    DVI4        sample          4                  var.                       20
  510.    G722        sample          8                16,000                       20
  511.    G723        frame           N/A               8,000          30           30
  512.    G726-16     sample          2                 8,000                       20
  513.    G726-24     sample          3                 8,000                       20
  514.    G726-32     sample          4                 8,000                       20
  515.    G726-40     sample          5                 8,000                       20
  516.    G727-16     sample          2                 8,000                       20
  517.    G727-24     sample          3                 8,000                       20
  518.    G727-32     sample          4                 8,000                       20
  519.    G727-40     sample          5                 8,000                       20
  520.    G728        frame           N/A               8,000         2.5           20
  521.    G729        frame           N/A               8,000          10           20
  522.    GSM         frame           N/A               8,000          20           20
  523.    L8          sample          8                  var.          20
  524.    L16         sample          16                 var.          20
  525.    LPC         frame           N/A               8,000          20           20
  526.    MPA         frame           N/A                var.          20
  527.    PCMA        sample          8                  var.          20
  528.    PCMU        sample          8                  var.          20
  529.    SX7300P     frame           N/A               8,000          15           30
  530.    SX8300P     frame           N/A               8,000          15           30
  531.    VDVI        sample          var.               var.          20
  532.  
  533.  
  534.    Table 1: Properties of Audio Encodings (N/A:  not  applicable;  var.:
  535.    variable)
  536.  
  537.    The noise level is expressed in dBov, with values from 0 to 63 dBov.
  538.    dBov is the level relative to the overload of the system. (Note:
  539.    Representation relative to the overload point of a system is
  540.    particularly useful for digital implementations, since one does not
  541.    need to know the relative calibration of the analog circuitry.)
  542.    Example: In 16-bit linear PCM system (L16), a signal with 0 dBov
  543.    represents a square wave with the maximum possible amplitude (+/-
  544.    32767). -63 dBov corresponds to -58 dBm0 in a standard telephone
  545.    system. (dBm is the power level in decibels relative to 1 mW, with an
  546.    impedance of 600 Ohms.)
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554. Schulzrinne                                                  [Page 10]
  555.  
  556. Internet Draft                  Profile                    July 29, 1997
  557.  
  558.  
  559.       0 1 2 3 4 5 6 7
  560.      +-+-+-+-+-+-+-+-+
  561.      |0 0|  level    |
  562.      +-+-+-+-+-+-+-+-+
  563.  
  564.  
  565.  
  566.  
  567.  
  568.    The RTP header for the comfort noise packet should be constructed as
  569.    if the comfort noise were an independent codec. Thus, the RTP
  570.    timestamp designates the beginning of the silence period. A static
  571.    payload type is assigned for a sampling rate of 8,000 Hz; if other
  572.    sampling rates are needed, they should be defined through dynamic
  573.    payload types. The RTP packet should not have the marker bit set.
  574.  
  575.    The CN payload type is primarily for use with L16, DVI4, PCMA, PCMU
  576.    and other audio codecs that do not support comfort noise as part of
  577.    the codec itself. G.723.1 and G.729 have their own comfort noise
  578.    systems as part of Annexes A (G.723.1) and B (G.729), respectively.
  579.  
  580. 4.5.3 DVI4
  581.  
  582.    DVI4 is specified, with pseudo-code, in [6] as the IMA ADPCM wave
  583.    type.
  584.  
  585.    However, the encoding defined here as DVI4 differs in three respects
  586.    from this recommendation:
  587.  
  588.         o The header contains the predicted value rather than the first
  589.          sample value.
  590.  
  591.         o IMA ADPCM blocks contain an odd number of samples, since the
  592.          first sample of a block is contained just in the header
  593.          (uncompressed), followed by an even number of compressed
  594.          samples. DVI4 has an even number of compressed samples only,
  595.          using the 'predict' word from the header to decode the first
  596.          sample.
  597.  
  598.         o For DVI4, the 4-bit samples are packed with the first sample
  599.          in the four most significant bits and the second sample in the
  600.          four least significant bits. In the IMA ADPCM codec, the
  601.          samples are packed in little-endian order.
  602.  
  603.    Each packet contains a single DVI block. This profile only defines
  604.    the 4-bit-per-sample version, while IMA also specifies a 3-bit-per-
  605.    sample encoding.
  606.  
  607.  
  608.  
  609.  
  610. Schulzrinne                                                  [Page 11]
  611.  
  612. Internet Draft                  Profile                    July 29, 1997
  613.  
  614.  
  615.    The "header" word for each channel has the following structure:
  616.  
  617.  
  618.  
  619.      int16  predict;  /* predicted value of first sample
  620.                          from the previous block (L16 format) */
  621.      u_int8 index;    /* current index into stepsize table */
  622.      u_int8 reserved; /* set to zero by sender, ignored by receiver */
  623.  
  624.  
  625.  
  626.  
  627.  
  628.    Each octet following the header contains two 4-bit samples, thus the
  629.    number of samples per packet must be even.
  630.  
  631.    Packing of samples for multiple channels is for further study.
  632.  
  633.    The document IMA Recommended Practices for Enhancing Digital Audio
  634.    Compatibility in Multimedia Systems (version 3.0) contains the
  635.    algorithm description. It is available from
  636.  
  637.    Interactive Multimedia Association
  638.    48 Maryland Avenue, Suite 202
  639.    Annapolis, MD 21401-8011
  640.    USA
  641.    phone: +1 410 626-1380
  642.  
  643. 4.5.4 G722
  644.  
  645.    G722 is specified in ITU-T Recommendation G.722, "7 kHz audio-coding
  646.    within 64 kbit/s".
  647.  
  648. 4.5.5 G723
  649.  
  650.    G.723.1 is specified in ITU Recommendation G.723.1, "Dual-rate speech
  651.    coder for multimedia communications transmitting at 5.3 and 6.3
  652.    kbit/s". The G.723.1 5.3/6.3 kbit/s codec was defined by the ITU-T as
  653.    a mandatory codec for ITU-T H.324 GSTN videophone terminal
  654.    applications.  The algorithm has a floating point specification in
  655.    Annex B to G.723.1, a silence compression algorithm in Annex A to
  656.    G.723.1 and an encoded signal bit-error sensitivity specification in
  657.    G.723.1 Annex C.
  658.  
  659.    This Recommendation specifies a coded representation that can be used
  660.    for compressing the speech signal component of multi-media services
  661.    at a very low bit rate. Audio is encoded in 30 ms frames, with an
  662.    additional delay of 7.5 ms due to look-ahead. A G.723.1 frame can be
  663.  
  664.  
  665.  
  666. Schulzrinne                                                  [Page 12]
  667.  
  668. Internet Draft                  Profile                    July 29, 1997
  669.  
  670.  
  671.    one of three sizes: 24 octets (6.3 kb/s frame), 20 octets (5.3 kb/s
  672.    frame), or 4 octets. These 4-octet frames are called SID frames
  673.    (Silence Insertion Descriptor) and are used to specify comfort noise
  674.    parameters. There is no restriction on how 4, 20, and 24 octet frames
  675.    are intermixed. The least significant two bits of the first octet in
  676.    the frame determine the frame size and codec type:
  677.  
  678.  
  679.    bits    content                        octets/frame
  680.    00      high-rate speech (6.3 kb/s)              24
  681.    01      low-rate speech (5.3 kb/s)               20
  682.    10      SID frame                                 4
  683.    11      reserved
  684.  
  685.  
  686.    It is possible to switch between the two rates at any 30 ms frame
  687.    boundary. Both (5.3 kb/s and 6.3 kb/s) rates are a mandatory part of
  688.    the encoder and decoder. This coder was optimized to represent speech
  689.    with near-toll quality at the above rates using a limited amount of
  690.    complexity.
  691.  
  692.    All the bits of the encoded bit stream are transmitted always from
  693.    the the least significant bit towards the most significant bit.
  694.  
  695. 4.5.6 G726-16, G726-24, G726-32, G726-40
  696.  
  697.    ITU-T Recommendation G.726 describes, among others, the algorithm
  698.    recommended for conversion of a single 64 kbit/s A-law or mu-law PCM
  699.    channel encoded at 8000 samples/sec to and from a 32 kbit/s channel.
  700.    The conversion is applied to the PCM stream using an Adaptive
  701.    Differential Pulse Code Modulation (ADPCM) transcoding technique.
  702.    G.726 describes codecs operating at 16 kb/s (2 bits/sample), 24 kb/s
  703.    (3 bits/sample), 32 kb/s (4 bits/sample), 40 kb/s (5 bits/sample).
  704.    These encodings are labeled G726-16, G726-24, G726-32 and G726-40,
  705.    respectively.
  706.  
  707.    Note: In 1990, ITU-T Recommendation G.721 was merged with
  708.    Recommendation G.723 into ITU-T Recommendation G.726. Thus, G726-32
  709.    designates the same algorithm as G721 in RFC 1890.
  710.  
  711.    No header information shall be included as part of the audio data.
  712.    The 4-bit code words of the G726-32 encoding MUST be packed into
  713.    octets as follows: the first code word is placed in the four least
  714.    significant bits of the first octet, with the least significant bit
  715.    of the code word in the least significant bit of the octet; the
  716.    second code word is placed in the four most significant bits of the
  717.    first octet, with the most significant bit of the code word in the
  718.    most significant bit of the octet. Subsequent pairs of the code words
  719.  
  720.  
  721.  
  722. Schulzrinne                                                  [Page 13]
  723.  
  724. Internet Draft                  Profile                    July 29, 1997
  725.  
  726.  
  727.    shall be packed in the same way into successive octets, with the
  728.    first code word of each pair placed in the least significant four
  729.    bits of the octet. It is prefered that the voice sample be extended
  730.    with silence such that the encoded value comprises an even number of
  731.    code words.
  732.  
  733. 4.5.7 G727-16, G727-24, G727-32, G727-40
  734.  
  735.    ITU-T Recommendation G.727, "5-, 4-, 3- and 2-bits sample embedded
  736.    adaptive differential pulse code modulation (ADPCM)", specifies an
  737.    embedded ADPCM algorithm which has the intrinsic capability of
  738.    dropping bits in the encoded words to alleviate network congestion
  739.    conditions.  The algorithm, although not bitstream compatible with
  740.    G.726, was based and has a structure similar to the G.726 ADPCM
  741.    algorithm.
  742.  
  743. 4.5.8 G728
  744.  
  745.    G728 is specified in ITU-T Recommendation G.728, "Coding of speech at
  746.    16 kbit/s using low-delay code excited linear prediction".
  747.  
  748.    A G.278 encoder translates 5 consecutive audio samples into a 10-bit
  749.    codebook index, resulting in a bit rate of 16 kb/s for audio sampled
  750.    at 8,000 samples per second. The group of five consecutive samples is
  751.    called a vector. Four consecutive vectors, labeled V1 to V4 (where V1
  752.    is to be played first by the receiver), build one G.728 frame. The
  753.    four vectors of 40 bits are packed into 5 octets, labeled B1 through
  754.    B5. B1 shall be placed first in the RTP packet.
  755.  
  756.    Referring to the figure below, the principle for bit order is
  757.    "maintenance of bit significance". Bits from an older vector are more
  758.    significant than bits from newer vectors. The MSB of the frame goes
  759.    to the MSB of B1 and the LSB of the frame goes to LSB of B5. For
  760.    example:  octet B1 contains the eight most significant bits of vector
  761.    V1, the MSB of V1 is MSB of B1.
  762.  
  763.  
  764.  
  765.  
  766.              1         2         3        3
  767.    0         0         0         0        9
  768.    ++++++++++++++++++++++++++++++++++++++++
  769.    <---V1---><---V2---><---V3---><---V4---> vectors
  770.    <--B1--><--B2--><--B3--><--B4--><--B5--> octets
  771.    <------------- frame 1 ---------------->
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778. Schulzrinne                                                  [Page 14]
  779.  
  780. Internet Draft                  Profile                    July 29, 1997
  781.  
  782.  
  783.  
  784.  
  785.    In particular, B1 contains the eight most significant bits of V1,
  786.    with the MSB of V1 being the MSB of B1. B2 contains the two least
  787.    significant bits of V1, the more significant of the two in its MSB,
  788.    and the six most significant bits of V2. B1 shall be placed first in
  789.    the RTP packet and B5 last.
  790.  
  791. 4.5.9 G729
  792.  
  793.    G729 is specified in ITU-T Recommendation G.729, "Coding of speech at
  794.    8 kbit/s using conjugate structure-algebraic code excited linear
  795.    prediction (CS-ACELP)". A complexity-reduced version of the G.729
  796.    algorithm is specified in Annex A to Rec. G.729. The speech coding
  797.    algorithms in the main body of G.729 and in G.729 Annex A are fully
  798.    interoperable with each other, so there is no need to further
  799.    distinguish between them. The G.729 and G.729 Annex A codecs were
  800.    optimized to represent speech with high quality, where G.729 Annex A
  801.    trades some speech quality for an approximate 50% complexity
  802.    reduction [7].
  803.  
  804.    A voice activity detector (VAD) and comfort noise generator (CNG)
  805.    algorithm in Annex B of G.729 is recommended for digital simultaneous
  806.    voice and data applications and can be used in conjunction with G.729
  807.    or G.729 Annex A. A G.729 or G.729 Annex A frame contains 10 octets,
  808.    while the G.729 Annex B comfort noise frame occupies 2 octets:
  809.  
  810.  
  811.  
  812.  
  813.     0                   1
  814.     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  815.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  816.    |L|  LSF1   |  LSF2 |   GAIN  |R|
  817.    |S|         |       |         |E|
  818.    |F|0 1 2 3 4|0 1 2 3|0 1 2 3 4|S|
  819.    |0|         |       |         |V|    RESV = Reserved (zero)
  820.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  821.  
  822.  
  823.  
  824.  
  825.  
  826.    An RTP packet may consist of zero or more G.729 or G.729 Annex A
  827.    frames, followed by zero or one G.729 Annex B payloads. The presence
  828.    of a comfort noise frame can be deduced from the length of the RTP
  829.    payload.
  830.  
  831.  
  832.  
  833.  
  834. Schulzrinne                                                  [Page 15]
  835.  
  836. Internet Draft                  Profile                    July 29, 1997
  837.  
  838.  
  839.    A floating-point version of the G.729, G.729 Annex A, and G.729 Annex
  840.    B will be available shortly as Annex C to Recommendation G.729.
  841.  
  842.    The transmitted parameters of a G.729/G.729A 10-ms frame, consisting
  843.    of 80 bits, are defined in Recommendation G.729, Table 8/G.729.
  844.  
  845.    The mapping of the these parameters is given below. Bits are numbered
  846.    as Internet order, that is, the most significant bit is bit 0.
  847.  
  848.  
  849.  
  850.  
  851.     0                   1                   2                   3
  852.     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
  853.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  854.    |L|      L1     |    L2   |    L3   |       P1      |P|    C1   |
  855.    |0|             |         |         |               |0|         |
  856.    | |0 1 2 3 4 5 6|0 1 2 3 4|0 1 2 3 4|0 1 2 3 4 5 6 7| |0 1 2 3 4|
  857.    | |             |         |         |               | |         |
  858.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  859.  
  860.                    4                   5                   6
  861.    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 2 3
  862.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  863.    |       C1      |  S1   | GA1 |  GB1  |    P2   |      C2       |
  864.    |               |       |     |       |         |               |
  865.    |5 6 7 8 9 1 1 1|0 1 2 3|0 1 2|0 1 2 3|0 1 2 3 4|0 1 2 3 4 5 6 7|
  866.    |          0 1 2|       |     |       |         |               |
  867.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  868.  
  869.                7
  870.    4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
  871.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  872.    |   C2    |  S2   | GA2 |  GB2  |
  873.    |         |       |     |       |
  874.    |8 9 1 1 1|0 1 2 3|0 1 2|0 1 2 3|
  875.    |    0 1 2|       |     |       |
  876.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  877.  
  878.  
  879.  
  880.  
  881.  
  882. 4.5.10 GSM
  883.  
  884.    GSM (group speciale mobile) denotes the European GSM 06.10
  885.    provisional standard for full-rate speech transcoding, prI-ETS 300
  886.    036, which is based on RPE/LTP (residual pulse excitation/long term
  887.  
  888.  
  889.  
  890. Schulzrinne                                                  [Page 16]
  891.  
  892. Internet Draft                  Profile                    July 29, 1997
  893.  
  894.  
  895.    prediction) coding at a rate of 13 kb/s [8,9,10]. The text of the
  896.    standard can be obtained from
  897.  
  898.    ETSI (European Telecommunications Standards Institute)
  899.    ETSI Secretariat: B.P.152
  900.    F-06561 Valbonne Cedex
  901.    France
  902.    Phone: +33 92 94 42 00
  903.    Fax: +33 93 65 47 16
  904.  
  905.    Blocks of 160 audio samples are compressed into 33 octets, for an
  906.    effective data rate of 13,200 b/s.
  907.  
  908. 4.5.10.1 General Packaging Issues
  909.  
  910.    The GSM standard specifies the bit stream produced by the codec, but
  911.    does not specify how these bits should be packed for transmission.
  912.    Some software implementations of the GSM codec use a different
  913.    packing than that specified here.
  914.  
  915.    In the GSM encoding used by RTP, the bits are packed beginning from
  916.    the most significant bit. Every 160 sample GSM frame is coded into
  917.    one 33 octet (264 bit) buffer. Every such buffer begins with a 4 bit
  918.    signature (0xD), followed by the MSB encoding of the fields of the
  919.    frame. The first octet thus contains 1101 in the 4 most significant
  920.    bits (4-7) and the 4 most significant bits of F1 (2-5) in the 4 least
  921.    significant bits (0-3). The second octet contains the 2 least bits of
  922.    F1 in bits 6-7, and F2 in bits 0-5, and so on. The order of the
  923.    fields in the frame is as follows:
  924.  
  925. 4.5.10.2 GSM variable names and numbers
  926.  
  927.  
  928.    So if F.i signifies the ith bit of the field F, and bit 0 is the most
  929.    significant bit, and the bits of every octet are numbered from 0 to 7
  930.    from most to least significant, then in the RTP encoding we have:
  931.  
  932.  
  933. 4.5.11 L8
  934.  
  935.    L8 denotes linear audio data, using 8-bits of precision with an
  936.    offset of 128, that is, the most negative signal is encoded as zero.
  937.  
  938. 4.5.12 L16
  939.  
  940.    L16 denotes uncompressed audio data, using 16-bit signed
  941.    representation with 65535 equally divided steps between minimum and
  942.    maximum signal level, ranging from --32768 to 32767. The value is
  943.  
  944.  
  945.  
  946. Schulzrinne                                                  [Page 17]
  947.  
  948. Internet Draft                  Profile                    July 29, 1997
  949.  
  950.  
  951.  
  952.         field    field name    bits    field    field name    bits
  953.         __________________________________________________________
  954.         1        LARc[0]       6       39       xmc[22]       3
  955.         2        LARc[1]       6       40       xmc[23]       3
  956.         3        LARc[2]       5       41       xmc[24]       3
  957.         4        LARc[3]       5       42       xmc[25]       3
  958.         5        LARc[4]       4       43       Nc[2]         7
  959.         6        LARc[5]       4       44       bc[2]         2
  960.         7        LARc[6]       3       45       Mc[2]         2
  961.         8        LARc[7]       3       46       xmaxc[2]      6
  962.         9        Nc[0]         7       47       xmc[26]       3
  963.         10       bc[0]         2       48       xmc[27]       3
  964.         11       Mc[0]         2       49       xmc[28]       3
  965.         12       xmaxc[0]      6       50       xmc[29]       3
  966.         13       xmc[0]        3       51       xmc[30]       3
  967.         14       xmc[1]        3       52       xmc[31]       3
  968.         15       xmc[2]        3       53       xmc[32]       3
  969.         16       xmc[3]        3       54       xmc[33]       3
  970.         17       xmc[4]        3       55       xmc[34]       3
  971.         18       xmc[5]        3       56       xmc[35]       3
  972.         19       xmc[6]        3       57       xmc[36]       3
  973.         20       xmc[7]        3       58       xmc[37]       3
  974.         21       xmc[8]        3       59       xmc[38]       3
  975.         22       xmc[9]        3       60       Nc[3]         7
  976.         23       xmc[10]       3       61       bc[3]         2
  977.         24       xmc[11]       3       62       Mc[3]         2
  978.         25       xmc[12]       3       63       xmaxc[3]      6
  979.         26       Nc[1]         7       64       xmc[39]       3
  980.         27       bc[1]         2       65       xmc[40]       3
  981.         28       Mc[1]         2       66       xmc[41]       3
  982.         29       xmaxc[1]      6       67       xmc[42]       3
  983.         30       xmc[13]       3       68       xmc[43]       3
  984.         31       xmc[14]       3       69       xmc[44]       3
  985.         32       xmc[15]       3       70       xmc[45]       3
  986.         33       xmc[16]       3       71       xmc[46]       3
  987.         34       xmc[17]       3       72       xmc[47]       3
  988.         35       xmc[18]       3       73       xmc[48]       3
  989.         36       xmc[19]       3       74       xmc[49]       3
  990.         37       xmc[20]       3       75       xmc[50]       3
  991.         38       xmc[21]       3       76       xmc[51]       3
  992.  
  993.  
  994.    Table 2: Ordering of GSM variables
  995.  
  996.    represented in two's complement notation and network byte order.
  997.  
  998. 4.5.13 LPC
  999.  
  1000.  
  1001.  
  1002. Schulzrinne                                                  [Page 18]
  1003.  
  1004. Internet Draft                  Profile                    July 29, 1997
  1005.  
  1006.  
  1007.  
  1008.    Octet     Bit 0      Bit 1      Bit 2      Bit 3      Bit 4      Bit 5      Bit 6      Bit 7
  1009.    _____________________________________________________________________________________________
  1010.        0       1          1          0          1       LARc0.0    LARc0.1    LARc0.2    LARc0.3
  1011.        1    LARc0.4    LARc0.5    LARc1.0    LARc1.1    LARc1.2    LARc1.3    LARc1.4    LARc1.5
  1012.        2    LARc2.0    LARc2.1    LARc2.2    LARc2.3    LARc2.4    LARc3.0    LARc3.1    LARc3.2
  1013.        3    LARc3.3    LARc3.4    LARc4.0    LARc4.1    LARc4.2    LARc4.3    LARc5.0    LARc5.1
  1014.        4    LARc5.2    LARc5.3    LARc6.0    LARc6.1    LARc6.2    LARc7.0    LARc7.1    LARc7.2
  1015.        5     Nc0.0      Nc0.1      Nc0.2      Nc0.3      Nc0.4      Nc0.5      Nc0.6     bc0.0
  1016.        6     bc0.1      Mc0.0      Mc0.1     xmaxc00    xmaxc01    xmaxc02    xmaxc03    xmaxc04
  1017.        7    xmaxc05    xmc0.0     xmc0.1     xmc0.2     xmc1.0     xmc1.1     xmc1.2     xmc2.0
  1018.        8    xmc2.1     xmc2.2     xmc3.0     xmc3.1     xmc3.2     xmc4.0     xmc4.1     xmc4.2
  1019.        9    xmc5.0     xmc5.1     xmc5.2     xmc6.0     xmc6.1     xmc6.2     xmc7.0     xmc7.1
  1020.       10    xmc7.2     xmc8.0     xmc8.1     xmc8.2     xmc9.0     xmc9.1     xmc9.2     xmc10.0
  1021.       11    xmc10.1    xmc10.2    xmc11.0    xmc11.1    xmc11.2    xmc12.0    xmc12.1    xcm12.2
  1022.       12     Nc1.0      Nc1.1      Nc1.2      Nc1.3      Nc1.4      Nc1.5      Nc1.6      bc1.0
  1023.       13     bc1.1      Mc1.0      Mc1.1     xmaxc10    xmaxc11    xmaxc12    xmaxc13    xmaxc14
  1024.       14    xmax15     xmc13.0    xmc13.1    xmc13.2    xmc14.0    xmc14.1    xmc14.2    xmc15.0
  1025.       15    xmc15.1    xmc15.2    xmc16.0    xmc16.1    xmc16.2    xmc17.0    xmc17.1    xmc17.2
  1026.       16    xmc18.0    xmc18.1    xmc18.2    xmc19.0    xmc19.1    xmc19.2    xmc20.0    xmc20.1
  1027.       17    xmc20.2    xmc21.0    xmc21.1    xmc21.2    xmc22.0    xmc22.1    xmc22.2    xmc23.0
  1028.       18    xmc23.1    xmc23.2    xmc24.0    xmc24.1    xmc24.2    xmc25.0    xmc25.1    xmc25.2
  1029.       19     Nc2.0      Nc2.1      Nc2.2      Nc2.3      Nc2.4      Nc2.5      Nc2.6      bc2.0
  1030.       20     bc2.1      Mc2.0      Mc2.1     xmaxc20    xmaxc21    xmaxc22    xmaxc23    xmaxc24
  1031.       21    xmaxc25    xmc26.0    xmc26.1    xmc26.2    xmc27.0    xmc27.1    xmc27.2    xmc28.0
  1032.       22    xmc28.1    xmc28.2    xmc29.0    xmc29.1    xmc29.2    xmc30.0    xmc30.1    xmc30.2
  1033.       23    xmc31.0    xmc31.1    xmc31.2    xmc32.0    xmc32.1    xmc32.2    xmc33.0    xmc33.1
  1034.       24    xmc33.2    xmc34.0    xmc34.1    xmc34.2    xmc35.0    xmc35.1    xmc35.2    xmc36.0
  1035.       25    Xmc36.1    xmc36.2    xmc37.0    xmc37.1    xmc37.2    xmc38.0    xmc38.1    xmc38.2
  1036.       26     Nc3.0      Nc3.1      Nc3.2      Nc3.3      Nc3.4      Nc3.5      Nc3.6      bc3.0
  1037.       27     bc3.1      Mc3.0      Mc3.1     xmaxc30    xmaxc31    xmaxc32    xmaxc33    xmaxc34
  1038.       28    xmaxc35    xmc39.0    xmc39.1    xmc39.2    xmc40.0    xmc40.1    xmc40.2    xmc41.0
  1039.       29    xmc41.1    xmc41.2    xmc42.0    xmc42.1    xmc42.2    xmc43.0    xmc43.1    xmc43.2
  1040.       30    xmc44.0    xmc44.1    xmc44.2    xmc45.0    xmc45.1    xmc45.2    xmc46.0    xmc46.1
  1041.       31    xmc46.2    xmc47.0    xmc47.1    xmc47.2    xmc48.0    xmc48.1    xmc48.2    xmc49.0
  1042.       32    xmc49.1    xmc49.2    xmc50.0    xmc50.1    xmc50.2    xmc51.0    xmc51.1    xmc51.2
  1043.  
  1044.  
  1045.    LPC designates an experimental linear predictive encoding contributed
  1046.    by Ron Frederick, Xerox PARC, which is based on an implementation
  1047.    written by Ron Zuckerman, Motorola, posted to the Usenet group
  1048.    comp.dsp on June 26, 1992. The codec generates 14 octets for every
  1049.    frame. The framesize is set to 20 ms, resulting in a bit rate of
  1050.    5,600 b/s.
  1051.  
  1052. 4.5.14 MPA
  1053.  
  1054.    MPA denotes MPEG-I or MPEG-II audio encapsulated as elementary
  1055.    streams.  The encoding is defined in ISO standards ISO/IEC 11172-3
  1056.  
  1057.  
  1058. Schulzrinne                                                  [Page 19]
  1059.  
  1060. Internet Draft                  Profile                    July 29, 1997
  1061.  
  1062.  
  1063.    and 13818-3.  The encapsulation is specified in RFC 2038 [11].
  1064.  
  1065.    Sampling rate and channel count are contained in the payload. MPEG-I
  1066.    audio supports sampling rates of 32000, 44100, and 48000 Hz (ISO/IEC
  1067.    11172-3, section 1.1; "Scope"). MPEG-II additionally supports ISO/IEC
  1068.    11172-3 Audio...").
  1069.  
  1070. 4.5.15 PCMA and PCMU
  1071.  
  1072.    PCMA and PCMU are specified in ITU-T Recommendation G.711. Audio data
  1073.    is encoded as eight bits per sample, after logarithmic scaling. PCMU
  1074.    denotes mu-law scaling, PCMA A-law scaling. A detailed description is
  1075.    given by Jayant and Noll [12].  Each G.711 octet shall be octet-
  1076.    aligned in an RTP packet. The sign bit of each G.711 octet shall
  1077.    correspond to the most significant bit of the octet in the RTP packet
  1078.    (i.e., assuming the G.711 samples are handled as octets on the host
  1079.    machine, the sign bit shall be the most signficant bit of the octet
  1080.    as defined by the host machine format). The 56 kb/s and 48 kb/s modes
  1081.    of G.711 are not applicable to RTP, since G.711 shall always be
  1082.    transmitted as 8-bit samples.
  1083.  
  1084. 4.5.16 RED
  1085.  
  1086.    The redundant audio payload format "RED" is specified by RFC XXX. It
  1087.    defines a means by which multiple redundant copies of an audio packet
  1088.    may be transmitted in a single RTP stream. Each packet in such a
  1089.    stream contains, in addition to the audio data for that packetization
  1090.    interval, a (more heavily compressed) copy of the data from the
  1091.    previous packetization interval. This allows an approximation of the
  1092.    data from lost packets to be recovered upon decoding of the following
  1093.    packet, giving much improved sound quality when compared with silence
  1094.    substitution for lost packets.
  1095.  
  1096. 4.5.17 SX7300P
  1097.  
  1098.    The SX7300P is a low-complexity CELP-based audio codec operating at a
  1099.    sampling rate of 8000 Hz. It encodes blocks of 120 audio samples (15
  1100.    ms) into an encoded frame of 14 octets, yielding an encoded bit rate
  1101.    of approximately 7467 b/s.
  1102.  
  1103. 4.5.18 SX8300P
  1104.  
  1105.    The SX8300P is a low-complexity CELP-based audio codec operating at a
  1106.    sampling rate of 8000 Hz. It encodes blocks of 120 audio samples (15
  1107.    ms) into an encoded frame of 16 octets, yielding an encoded bit rate
  1108.    of approximately 8533 b/s.
  1109.  
  1110. 4.5.19 VDVI
  1111.  
  1112.  
  1113.  
  1114. Schulzrinne                                                  [Page 20]
  1115.  
  1116. Internet Draft                  Profile                    July 29, 1997
  1117.  
  1118.  
  1119.    VDVI is a variable-rate version of DVI4, yielding speech bit rates of
  1120.    between 10 and 25 kb/s. It is specified for single-channel operation
  1121.    only. Samples are packed into octets starting at the most-significant
  1122.    bit.
  1123.  
  1124.    It uses the following encoding:
  1125.  
  1126.  
  1127.                      DVI4 codeword    VDVI bit pattern
  1128.                      _________________________________
  1129.                                  0    00
  1130.                                  1    010
  1131.                                  2    1100
  1132.                                  3    11100
  1133.                                  4    111100
  1134.                                  5    1111100
  1135.                                  6    11111100
  1136.                                  7    11111110
  1137.                                  8    10
  1138.                                  9    011
  1139.                                 10    1101
  1140.                                 11    11101
  1141.                                 12    111101
  1142.                                 13    1111101
  1143.                                 14    11111101
  1144.                                 15    11111111
  1145.  
  1146.  
  1147. 5 Video
  1148.  
  1149.    The following video encodings are currently defined, with their
  1150.    abbreviated names used for identification:
  1151.  
  1152. 5.1 CelB
  1153.  
  1154.    The CELL-B encoding is a proprietary encoding proposed by Sun
  1155.    Microsystems. The byte stream format is described in RFC 2029 [13].
  1156.  
  1157. 5.2 JPEG
  1158.  
  1159.    The encoding is specified in ISO Standards 10918-1 and 10918-2. The
  1160.    RTP payload format is as specified in RFC 2035 [14].
  1161.  
  1162. 5.3 H261
  1163.  
  1164.    The encoding is specified in ITU-T Recommendation H.261, "Video codec
  1165.    for audiovisual services at p x 64 kbit/s". The packetization and
  1166.    RTP-specific properties are described in RFC 2032 [15].
  1167.  
  1168.  
  1169.  
  1170. Schulzrinne                                                  [Page 21]
  1171.  
  1172. Internet Draft                  Profile                    July 29, 1997
  1173.  
  1174.  
  1175. 5.4 H263
  1176.  
  1177.    The encoding is specified in ITU-T Recommendation H.263, "Video
  1178.    coding for low bit rate communication". The packetization and RTP-
  1179.    specific properties are described in [16].
  1180.  
  1181. 5.5 MPV
  1182.  
  1183.    MPV designates the use MPEG-I and MPEG-II video encoding elementary
  1184.    streams as specified in ISO Standards ISO/IEC 11172 and 13818-2,
  1185.    respectively. The RTP payload format is as specified in RFC 2038
  1186.    [11], Section 3.
  1187.  
  1188. 5.6 MP2T
  1189.  
  1190.    MP2T designates the use of MPEG-II transport streams, for either
  1191.    audio or video. The encapsulation is described in RFC 2038 [11],
  1192.    Section 2. See the description of the MPA audio encoding for contact
  1193.    information.
  1194.  
  1195. 5.7 nv
  1196.  
  1197.    The encoding is implemented in the program 'nv', version 4, developed
  1198.    at Xerox PARC by Ron Frederick. Further information is available from
  1199.    the author:
  1200.  
  1201.    Ron Frederick
  1202.    Xerox Palo Alto Research Center
  1203.    3333 Coyote Hill Road
  1204.    Palo Alto, CA 94304
  1205.    United States
  1206.    electronic mail: frederic@parc.xerox.com
  1207.  
  1208. 6 Payload Type Definitions
  1209.  
  1210.    Table 3 defines this profile's static payload type values for the PT
  1211.    field of the RTP data header. A new RTP payload format specification
  1212.    may be registered with the IANA by name, and may also be assigned a
  1213.    static payload type value from the range marked in Section 3.
  1214.  
  1215.    In addition, payload type values in the range 96--127 may be defined
  1216.    dynamically through a conference control protocol, which is beyond
  1217.    the scope of this document. For example, a session directory could
  1218.    specify that for a given session, payload type 96 indicates PCMU
  1219.    encoding, 8,000 Hz sampling rate, 2 channels. The payload type range
  1220.    marked 'reserved' has been set aside so that RTCP and RTP packets can
  1221.    be reliably distinguished (see Section "Summary of Protocol
  1222.    Constants" of the RTP protocol specification).
  1223.  
  1224.  
  1225.  
  1226. Schulzrinne                                                  [Page 22]
  1227.  
  1228. Internet Draft                  Profile                    July 29, 1997
  1229.  
  1230.  
  1231.    An RTP source emits a single RTP payload type at any given instant.
  1232.    The interleaving or multiplexing of several RTP media types within a
  1233.    single RTP session is not allowed, but multiple RTP sessions may be
  1234.    used in parallel to send multiple media types. An RTP source may
  1235.    change payload types during a session.
  1236.  
  1237.    The payload types currently defined in this profile are assigned to
  1238.    exactly one of three categories or media types : audio only, video
  1239.    only and those combining audio and video. A single RTP session
  1240.    consists of payload types of one and only media type.
  1241.  
  1242.    Session participants agree through mechanisms beyond the scope of
  1243.    this specification on the set of payload types allowed in a given
  1244.    session.  This set may, for example, be defined by the capabilities
  1245.    of the applications used, negotiated by a conference control protocol
  1246.    or established by agreement between the human participants. The media
  1247.    types in Table 3 are marked as "A" for audio, "V" for video and "AV"
  1248.    for combined audio/video streams.
  1249.  
  1250.    Audio applications operating under this profile should, at minimum,
  1251.    be able to send and receive payload types 0 (PCMU) and 5 (DVI4). This
  1252.    allows interoperability without format negotiation and successful
  1253.    negotation with a conference control protocol.
  1254.  
  1255.    All current video encodings use a timestamp frequency of 90,000 Hz,
  1256.    the same as the MPEG presentation time stamp frequency. This
  1257.    frequency yields exact integer timestamp increments for the typical
  1258.    24 (HDTV), 25 (PAL), and 29.97 (NTSC) and 30 Hz (HDTV) frame rates
  1259.    and 50, 59.94 and 60 Hz field rates. While 90 kHz is the recommended
  1260.    rate for future video encodings used within this profile, other rates
  1261.    are possible.  However, it is not sufficient to use the video frame
  1262.    rate (typically between 15 and 30 Hz) because that does not provide
  1263.    adequate resolution for typical synchronization requirements when
  1264.    calculating the RTP timestamp corresponding to the NTP timestamp in
  1265.    an RTCP SR packet. The timestamp resolution must also be sufficient
  1266.    for the jitter estimate contained in the receiver reports.
  1267.  
  1268.    The standard video encodings and their payload types are listed in
  1269.    Table 3.
  1270.  
  1271.  
  1272. 7 RTP over TCP and Similar Byte Stream Protocols
  1273.  
  1274.    Under special circumstances, it may be necessary to carry RTP in
  1275.    protocols offering a byte stream abstraction, such as TCP, possibly
  1276.    multiplexed with other data. If the application does not define its
  1277.    own method of delineating RTP and RTCP packets, it SHOULD prefix each
  1278.    packet with a two-octet length field.
  1279.  
  1280.  
  1281.  
  1282. Schulzrinne                                                  [Page 23]
  1283.  
  1284. Internet Draft                  Profile                    July 29, 1997
  1285.  
  1286.  
  1287.  
  1288.       PT         encoding      media type    clock rate    channels
  1289.                  name                        (Hz)          (audio)
  1290.       _______________________________________________________________
  1291.       0          PCMU          A             8000          1
  1292.       1          1016          A             8000          1
  1293.       2          G726-32       A             8000          1
  1294.       3          GSM           A             8000          1
  1295.       4          G723          A             8000          1
  1296.       5          DVI4          A             8000          1
  1297.       6          DVI4          A             16000         1
  1298.       7          LPC           A             8000          1
  1299.       8          PCMA          A             8000          1
  1300.       9          G722          A             16000         1
  1301.       10         L16           A             44100         2
  1302.       11         L16           A             44100         1
  1303.       12         unassigned    A
  1304.       13         unassigned    A
  1305.       14         MPA           A             90000         (see text)
  1306.       15         G728          A             8000          1
  1307.       16         DVI4          A             11025         1
  1308.       17         DVI4          A             22050         1
  1309.       18         G729          A             8000          1
  1310.       19         CN            A             8000          1
  1311.       20         unassigned    A
  1312.       21         unassigned    A
  1313.       22         unassigned    A
  1314.       23         unassigned    A
  1315.       24         unassigned    V
  1316.       25         CelB          V             90000
  1317.       26         JPEG          V             90000
  1318.       27         unassigned    V
  1319.       28         nv            V             90000
  1320.       29         unassigned    V
  1321.       30         unassigned    V
  1322.       31         H261          V             90000
  1323.       32         MPV           V             90000
  1324.       33         MP2T          AV            90000
  1325.       34         H263          V             90000
  1326.       35--71     unassigned    ?
  1327.       72--76     reserved      N/A           N/A           N/A
  1328.       77         RED           A             N/A           N/A
  1329.       78--95     unassigned    ?
  1330.       96--127    dynamic       ?
  1331.  
  1332.  
  1333.    Table 3: Payload types (PT) for standard audio and video encodings
  1334.  
  1335.  
  1336.  
  1337.  
  1338. Schulzrinne                                                  [Page 24]
  1339.  
  1340. Internet Draft                  Profile                    July 29, 1997
  1341.  
  1342.  
  1343.    (Note: RTSP [17] provides its own encapsulation and does not need an
  1344.    extra length indication.)
  1345.  
  1346. 8 Port Assignment
  1347.  
  1348.    As specified in the RTP protocol definition, RTP data is to be
  1349.    carried on an even UDP or TCP port number and the corresponding RTCP
  1350.    packets are to be carried on the next higher (odd) port number.
  1351.  
  1352.    Applications operating under this profile may use any such UDP or TCP
  1353.    port pair. For example, the port pair may be allocated randomly by a
  1354.    session management program. A single fixed port number pair cannot be
  1355.    required because multiple applications using this profile are likely
  1356.    to run on the same host, and there are some operating systems that do
  1357.    not allow multiple processes to use the same UDP port with different
  1358.    multicast addresses.
  1359.  
  1360.    However, port numbers 5004 and 5005 have been registered for use with
  1361.    this profile for those applications that choose to use them as the
  1362.    default pair. Applications that operate under multiple profiles may
  1363.    use this port pair as an indication to select this profile if they
  1364.    are not subject to the constraint of the previous paragraph.
  1365.    Applications need not have a default and may require that the port
  1366.    pair be explicitly specified. The particular port numbers were chosen
  1367.    to lie in the range above 5000 to accomodate port number allocation
  1368.    practice within the Unix operating system, where port numbers below
  1369.    1024 can only be used by privileged processes and port numbers
  1370.    between 1024 and 5000 are automatically assigned by the operating
  1371.    system.
  1372.  
  1373. 9 Bibliography
  1374.  
  1375.    [1] Apple Computer, "Audio interchange file format AIFF-C," Aug.
  1376.    1991.  (also ftp://ftp.sgi.com/sgi/aiff-c.9.26.91.ps.Z).
  1377.  
  1378.    [2] Office of Technology and Standards, "Telecommunications: Analog
  1379.    to digital conversion of radio voice by 4,800 bit/second code excited
  1380.    linear prediction (celp)," Federal Standard FS-1016, GSA, Room 6654;
  1381.    7th & D Street SW; Washington, DC 20407 (+1-202-708-9205), 1990.
  1382.  
  1383.    [3] J. P. Campbell, Jr., T. E. Tremain, and V. C. Welch, "The
  1384.    proposed Federal Standard 1016 4800 bps voice coder: CELP," Speech
  1385.    Technology , vol. 5, pp. 58--64, April/May 1990.
  1386.  
  1387.    [4] J. P. Campbell, Jr., T. E. Tremain, and V. C. Welch, "The federal
  1388.    standard 1016 4800 bps CELP voice coder," Digital Signal Processing ,
  1389.    vol. 1, no. 3, pp. 145--155, 1991.
  1390.  
  1391.  
  1392.  
  1393.  
  1394. Schulzrinne                                                  [Page 25]
  1395.  
  1396. Internet Draft                  Profile                    July 29, 1997
  1397.  
  1398.  
  1399.    [5] J. P. Campbell, Jr., T. E. Tremain, and V. C. Welch, "The dod 4.8
  1400.    kbps standard (proposed federal standard 1016)," in Advances in
  1401.    Speech Coding (B. Atal, V. Cuperman, and A. Gersho, eds.), ch. 12,
  1402.    pp. 121--133, Kluwer Academic Publishers, 1991.
  1403.  
  1404.    [6] IMA Digital Audio Focus and Technical Working Groups,
  1405.    "Recommended practices for enhancing digital audio compatibility in
  1406.    multimedia systems (version 3.00)," tech. rep., Interactive
  1407.    Multimedia Association, Annapolis, Maryland, Oct. 1992.
  1408.  
  1409.    [7] D. DelΘam and J.-P. Petit, "Real-time implementations of the
  1410.    recent ITU-T low bit rate speech coders on the TI TMS320C54X DSP:
  1411.    results, methodology, and applications," in Proc. of International
  1412.    Conference on Signal Processing, Technology, and Applications
  1413.    (ICSPAT) , (Boston, Massachusetts), pp. 1656--1660, Oct. 1996.
  1414.  
  1415.    [8] M. Mouly and M.-B. Pautet, The GSM system for mobile
  1416.    communications Lassay-les-Chateaux, France: Europe Media Duplication,
  1417.    1993.
  1418.  
  1419.    [9] J. Degener, "Digital speech compression," Dr. Dobb's Journal ,
  1420.    Dec.  1994.
  1421.  
  1422.    [10] S. M. Redl, M. K. Weber, and M. W. Oliphant, An Introduction to
  1423.    GSM Boston: Artech House, 1995.
  1424.  
  1425.    [11] D. Hoffman, G. Fernando, and V. Goyal, "RTP payload format for
  1426.    MPEG1/MPEG2 video," Request for Comments (Proposed Standard) RFC
  1427.    2038, Internet Engineering Task Force, Oct. 1996.
  1428.  
  1429.    [12] N. S. Jayant and P. Noll, Digital Coding of Waveforms--
  1430.    Principles and Applications to Speech and Video Englewood Cliffs, New
  1431.    Jersey: Prentice-Hall, 1984.
  1432.  
  1433.    [13] M. Speer and D. Hoffman, "RTP payload format of sun's CellB
  1434.    video encoding," Request for Comments (Proposed Standard) RFC 2029,
  1435.    Internet Engineering Task Force, Oct. 1996.
  1436.  
  1437.    [14] L. Berc, W. Fenner, R. Frederick, and S. McCanne, "RTP payload
  1438.    format for JPEG-compressed video," Request for Comments (Proposed
  1439.    Standard) RFC 2035, Internet Engineering Task Force, Oct. 1996.
  1440.  
  1441.    [15] T. Turletti and C. Huitema, "RTP payload format for H.261 video
  1442.    streams," Request for Comments (Proposed Standard) RFC 2032, Internet
  1443.    Engineering Task Force, Oct. 1996.
  1444.  
  1445.    [16] C. C. Zhu, "RTP payload format for H.263 video streams,"
  1446.    Internet Draft, Internet Engineering Task Force, Mar. 1997.  Work in
  1447.  
  1448.  
  1449.  
  1450. Schulzrinne                                                  [Page 26]
  1451.  
  1452. Internet Draft                  Profile                    July 29, 1997
  1453.  
  1454.  
  1455.    progress.
  1456.  
  1457.    [17] H. Schulzrinne, A. Rao, and R. Lanphier, "Real time streaming
  1458.    protocol (RTSP)," Internet Draft, Internet Engineering Task Force,
  1459.    July 1997.  Work in progress.
  1460.  
  1461. 10 Acknowledgements
  1462.  
  1463.    The comments and careful review of Steve Casner, Simao Campos and
  1464.    Richard Cox are gratefully acknowledged. The GSM description was
  1465.    adopted from the IMTC Voice over IP Forum Service Interoperability
  1466.    Implementation Agreement (January 1997). Fred Burg and Terry Lyons
  1467.    helped with the G.729 description.
  1468.  
  1469. 11 Address of Author
  1470.  
  1471.    Henning Schulzrinne
  1472.    Dept. of Computer Science
  1473.    Columbia University
  1474.    1214 Amsterdam Avenue
  1475.    New York, NY 10027
  1476.    USA
  1477.    electronic mail: schulzrinne@cs.columbia.edu
  1478.  
  1479.  
  1480.    Current Locations of Related Resources
  1481.  
  1482.    Note: Several sections below refer to the ITU-T Software Tool Library
  1483.    (STL). It is available from the ITU Sales Service, Place des Nations,
  1484.    CH-1211 Geneve 20, Switzerland (also check http://www.itu.int. The
  1485.    ITU-T STL is covered by a license defined in ITU-T Recommendation
  1486.    G.191, " Software tools for speech and audio coding standardization
  1487.    ".
  1488.  
  1489.  
  1490.    UTF-8
  1491.  
  1492.    Information on the UCS Transformation Format 8 (UTF-8) is available
  1493.    at
  1494.  
  1495.             http://www.stonehand.com/unicode/standard/utf8.html
  1496.  
  1497.  
  1498.    1016
  1499.  
  1500.    The U.S. DoD's Federal-Standard-1016 based 4800 bps code excited
  1501.    linear prediction voice coder version 3.2 (CELP 3.2) Fortran and C
  1502.    simulation source codes are available for worldwide distribution at
  1503.  
  1504.  
  1505.  
  1506. Schulzrinne                                                  [Page 27]
  1507.  
  1508. Internet Draft                  Profile                    July 29, 1997
  1509.  
  1510.  
  1511.    no charge (on DOS diskettes, but configured to compile on Sun SPARC
  1512.    stations) from:  Bob Fenichel, National Communications System,
  1513.    Washington, D.C. 20305, phone +1-703-692-2124, fax +1-703-746-4960.
  1514.  
  1515.    An implementation is also available at
  1516.  
  1517.               ftp://ftp.super.org/pub/speech/celp_3.2a.tar.Z
  1518.  
  1519.  
  1520.    DVI4
  1521.  
  1522.    An implementation is available from Jack Jansen at
  1523.  
  1524.                 ftp://ftp.cwi.nl/local/pub/audio/adpcm.shar
  1525.  
  1526.  
  1527.    G722
  1528.  
  1529.    An implementation of the G.722 algorithm is available as part of the
  1530.    ITU-T STL, described above.
  1531.  
  1532.  
  1533.    G723
  1534.  
  1535.    The reference C code implementation defining the G.723.1 algorithm
  1536.    and its Annexes A, B, and C are available as an integral part of
  1537.    Recommendation G.723.1 from the ITU Sales Service, address listed
  1538.    above.  Both the algorithm and C code are covered by a specific
  1539.    license. The ITU-T Secretariat should be contacted to obtain such
  1540.    licensing information.
  1541.  
  1542.  
  1543.    G726-16 through G726-40
  1544.  
  1545.    G726-16 through G726-40 are specified in the ITU-T Recommendation
  1546.    G.726, "40, 32, 24, and 16 kb/s Adaptive Differential Pulse Code
  1547.    Modulation (ADPCM)". An implementation of the G.726 algorithm is
  1548.    available as part of the ITU-T STL, described above.
  1549.  
  1550.  
  1551.    G727-16 through G727-40
  1552.  
  1553.    G727-16 through G727-40 are specified in the ITU-T Recommendation
  1554.    G.727, "5-, 4-, 3-, and 2-bit/sample embedded adaptive differential
  1555.    pulse code modulation". An implementation of the G.727 algorithm will
  1556.    be available in a future release of the ITU-T STL, described above.
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562. Schulzrinne                                                  [Page 28]
  1563.  
  1564. Internet Draft                  Profile                    July 29, 1997
  1565.  
  1566.  
  1567.    G729
  1568.  
  1569.    The reference C code implementation defining the G.729 algorithm and
  1570.    its Annexes A and B are available as an integral part of
  1571.    Recommendation G.729 from the ITU Sales Service, listed above. Both
  1572.    the algorithm and the C code are covered by a specific license. The
  1573.    contact information for obtaining the license is listed in the C
  1574.    code.
  1575.  
  1576.  
  1577.    GSM
  1578.  
  1579.    A reference implementation was written by Carsten Borman and Jutta
  1580.    Degener (TU Berlin, Germany). It is available at
  1581.  
  1582.             ftp://ftp.cs.tu-berlin.de/pub/local/kbs/tubmik/gsm/
  1583.  
  1584.    Although the RPE-LTP algorithm is not an ITU-T standard, there is a C
  1585.    code implementation of the RPE-LTP algorithm available as part of the
  1586.    ITU-T STL. The STL implementation is an adaptation of the TU Berlin
  1587.    version.
  1588.  
  1589.  
  1590.    LPC
  1591.  
  1592.    An implementation is available at
  1593.  
  1594.             ftp://parcftp.xerox.com/pub/net-research/lpc.tar.Z
  1595.  
  1596.  
  1597.    PCMU, PCMA
  1598.  
  1599.    An implementation of these algorithm is available as part of the
  1600.    ITU-T STL, described above. Code to convert between linear and mu-law
  1601.    companded data is also available in [6].
  1602.  
  1603.  
  1604.  
  1605.  
  1606.                            Table of Contents
  1607.  
  1608.  
  1609.  
  1610.    1          Introduction ........................................    2
  1611.    2          RTP and RTCP Packet Forms and Protocol Behavior .....    3
  1612.    3          Registering Payload Types ...........................    5
  1613.    4          Audio ...............................................    6
  1614.    4.1        Encoding-Independent Rules ..........................    6
  1615.  
  1616.  
  1617.  
  1618. Schulzrinne                                                  [Page 29]
  1619.  
  1620. Internet Draft                  Profile                    July 29, 1997
  1621.  
  1622.  
  1623.    4.2        Operating Recommendations ...........................    7
  1624.    4.3        Guidelines for Sample-Based Audio Encodings .........    8
  1625.    4.4        Guidelines for Frame-Based Audio Encodings ..........    8
  1626.    4.5        Audio Encodings .....................................    9
  1627.    4.5.1      1016 ................................................    9
  1628.    4.5.2      CN ..................................................    9
  1629.    4.5.3      DVI4 ................................................   11
  1630.    4.5.4      G722 ................................................   12
  1631.    4.5.5      G723 ................................................   12
  1632.    4.5.6      G726-16, G726-24, G726-32, G726-40 ..................   13
  1633.    4.5.7      G727-16, G727-24, G727-32, G727-40 ..................   14
  1634.    4.5.8      G728 ................................................   14
  1635.    4.5.9      G729 ................................................   15
  1636.    4.5.10     GSM .................................................   16
  1637.    4.5.10.1   General Packaging Issues ............................   17
  1638.    4.5.10.2   GSM variable names and numbers ......................   17
  1639.    4.5.11     L8 ..................................................   17
  1640.    4.5.12     L16 .................................................   17
  1641.    4.5.13     LPC .................................................   18
  1642.    4.5.14     MPA .................................................   19
  1643.    4.5.15     PCMA and PCMU .......................................   20
  1644.    4.5.16     RED .................................................   20
  1645.    4.5.17     SX7300P .............................................   20
  1646.    4.5.18     SX8300P .............................................   20
  1647.    4.5.19     VDVI ................................................   20
  1648.    5          Video ...............................................   21
  1649.    5.1        CelB ................................................   21
  1650.    5.2        JPEG ................................................   21
  1651.    5.3        H261 ................................................   21
  1652.    5.4        H263 ................................................   22
  1653.    5.5        MPV .................................................   22
  1654.    5.6        MP2T ................................................   22
  1655.    5.7        nv ..................................................   22
  1656.    6          Payload Type Definitions ............................   22
  1657.    7          RTP over TCP and Similar Byte Stream Protocols ......   23
  1658.    8          Port Assignment .....................................   25
  1659.    9          Bibliography ........................................   25
  1660.    10         Acknowledgements ....................................   27
  1661.    11         Address of Author ...................................   27
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674. Schulzrinne                                                  [Page 30]
  1675.  
  1676.