draft-ietf-avt-rtp-ipmr-10.txt   draft-ietf-avt-rtp-ipmr-11.txt 
Audio/Video Transport Working Group S. Ikonin Audio/Video Transport Working Group S. Ikonin
Internet Draft SPIRIT DSP Internet Draft SPIRIT DSP
Intended status: Informational October 05, 2009 Intended status: Informational February 02, 2010
RTP Payload Format for IP-MR Speech Codec draft-ietf-avt-rtp-ipmr-10.txt RTP Payload Format for IP-MR Speech Codec draft-ietf-avt-rtp-ipmr-11.txt
Status of this Memo Status of this Memo
This Internet-Draft is submitted to IETF in full conformance with the This Internet-Draft is submitted to IETF in full conformance with the
provisions of BCP 78 and BCP 79. provisions of BCP 78 and BCP 79.
Copyright (c) 2009 IETF Trust and the persons identified as the document Copyright (c) 2010 IETF Trust and the persons identified as the document
authors. All rights reserved. authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal Provisions This document is subject to BCP 78 and the IETF Trust's Legal Provisions
Relating to IETF Documents in effect on the date of publication of this Relating to IETF Documents (http://trustee.ietf.org/license-info)
document (http://trustee.ietf.org/license-info). Please review these in effect on the date of publication of this document. Please
documents carefully, as they describe your rights and restrictions with review these documents carefully, as they describe your rights and
respect to this document. 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.
The source codes included in this document are provided under BSD The source codes included in this document are provided under BSD
license (http://trustee.ietf.org/docs/IETF-Trust-License-Policy.pdf). license (http://trustee.ietf.org/docs/IETF-Trust-License-Policy.pdf).
Internet-Drafts are working documents of the Internet Engineering Task Internet-Drafts are working documents of the Internet Engineering Task
Force (IETF), its areas, and its working groups. Note that other groups Force (IETF), its areas, and its working groups. Note that other groups
may also distribute working documents as Internet-Drafts. may also distribute working documents as Internet-Drafts.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference material time. It is inappropriate to use Internet-Drafts as reference material
or to cite them other than as "work in progress." or to cite them other than as "work in progress."
The list of current Internet-Drafts can be accessed at The list of current Internet-Drafts can be accessed at
http://www.ietf.org/1id-abstracts.html http://www.ietf.org/1id-abstracts.html
The list of Internet-Draft Shadow Directories can be accessed at The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html http://www.ietf.org/shadow.html
This Internet-Draft will expire on April 05, 2010. This Internet-Draft will expire on June 02, 2010.
Abstract Abstract
This document specifies the payload format for packetization of SPIRIT This document specifies the payload format for packetization of SPIRIT
IP-MR encoded speech signals into the Real-time Transport Protocol IP-MR encoded speech signals into the Real-time Transport Protocol
(RTP). The payload format supports transmission of multiple frames per (RTP). The payload format supports transmission of multiple frames per
payload and introduced redundancy for robustness against packet loss. payload and introduced redundancy for robustness against packet loss.
Table of Contents Table of Contents
skipping to change at page 5, line 44 skipping to change at page 5, line 44
3.3. Payload Header 3.3. Payload Header
The payload header has the following format: The payload header has the following format:
0 1 0 1
0 1 2 3 4 5 6 7 8 9 0 1 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+
|T| CR | BR |D|A|GR |R| |T| CR | BR |D|A|GR |R|
+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+
o T (1 bit): Reserved compatibility with future extensions. SHOULD o T (1 bit): Reserved compatibility with future extensions. MUST
be set to 0. be set to 0.
o CR (3 bits): coding rate of frame(s) in this packet, as per the o CR (3 bits): coding rate of frame(s) in this packet, as per the
following table: following table:
+-------+--------------+ +-------+--------------+
| CR | avg. bitrate | | CR | avg. bitrate |
+-------+--------------+ +-------+--------------+
| 0 | 7.7 kbps | | 0 | 7.7 kbps |
| 1 | 9.8 kbps | | 1 | 9.8 kbps |
skipping to change at page 6, line 21 skipping to change at page 6, line 21
| 3 | 20.8 kbps | | 3 | 20.8 kbps |
| 4 | 27.9 kbps | | 4 | 27.9 kbps |
| 5 | 34.2 kbps | | 5 | 34.2 kbps |
| 6 | (reserved) | | 6 | (reserved) |
| 7 | NO_DATA | | 7 | NO_DATA |
+-------+--------------+ +-------+--------------+
The CR value 7 (NO_DATA) indicates that there is no speech data (and The CR value 7 (NO_DATA) indicates that there is no speech data (and
speech TOC accordingly) in the payload. This MAY be used to transmit speech TOC accordingly) in the payload. This MAY be used to transmit
redundancy data only. The value 6 is reserved. If receiving this value redundancy data only. The value 6 is reserved. If receiving this value
the packet SHOULD be discarded. the packet MUST be discarded.
o BR (3 bits): base rate for core layer of frame(s) in this packet o BR (3 bits): base rate for core layer of frame(s) in this packet
using the table for CR. Values in the range 0-5 indicate bitrates using the table for CR. The base rate is the lowest rate for
for core layer, same as for packet SHOULD be discarded. The base scalability, so speech payload can be scaled down not lower than BR
rate is the lowest rate for scalability, so speech payload can value. Packets with BR = 6 or BR > CR MUST be discarded.
be scaled down not lower than BR value. If a received packet has
BR > CR then during decoding it will be assumed that BR = CR.
o D (1 bit): reserved. Must be always set to 1. o D (1 bit): reserved. Must be always set to 1.
Previously, this bit indicated DTX mode availability, but in fact Previously, this bit indicated DTX mode availability, but in fact
payload dublicates this information. payload dublicates this information.
o A (1 bit): reserved. Must be always set to 1. o A (1 bit): reserved. Must be always set to 1.
Previously, this bit indicated aligned mode, but this mode has Previously, this bit indicated aligned mode, but this mode has
never been used and was always set to 1. never been used and was always set to 1.
o GR (2 bits): number of frames in packet (grouping size). Actual o GR (2 bits): number of frames in packet (grouping size). Actual
skipping to change at page 17, line 14 skipping to change at page 17, line 14
APPENDIX A. RETRIEVING FRAME INFORMATION APPENDIX A. RETRIEVING FRAME INFORMATION
This appendix contains the c-code for implementation of frame parsing This appendix contains the c-code for implementation of frame parsing
function. This function extracts information about coded frame including function. This function extracts information about coded frame including
frame size, number of layers, size of each layer and size of perceptual frame size, number of layers, size of each layer and size of perceptual
sensitive classes. sensitive classes.
A.1. get_frame_info.c A.1. get_frame_info.c
/*
Copyright (c) 2010 IETF Trust and the persons identified as authors
of the code. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- Neither the name of the Xiph.org Foundation nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
*/
/****************************************************************** /******************************************************************
get_frame_info.c get_frame_info.c
Retrieving frame information for IP-MR Speech Codec Retrieving frame information for IP-MR Speech Codec
******************************************************************/ ******************************************************************/
#define RATES_NUM 6 // number of codec rates #define RATES_NUM 6 // number of codec rates
#define SENSE_CLASSES 6 // number of sensitivity classes (A..F) #define SENSE_CLASSES 6 // number of sensitivity classes (A..F)
 End of changes. 9 change blocks. 
15 lines changed or deleted 50 lines changed or added

This html diff was produced by rfcdiff 1.38. The latest version is available from http://tools.ietf.org/tools/rfcdiff/