Re: [AVT] The need for Offer/Answer sections in RTP payload forma t specifications
Magnus Westerlund <magnus.westerlund@ericsson.com> Tue, 27 January 2004 11:01 UTC
Received: from optimus.ietf.org ([132.151.1.19]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA29322 for <avt-archive@odin.ietf.org>; Tue, 27 Jan 2004 06:01:33 -0500 (EST)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AlQxv-00028d-3G for avt-archive@odin.ietf.org; Tue, 27 Jan 2004 06:01:07 -0500
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id i0RB17Kw008218 for avt-archive@odin.ietf.org; Tue, 27 Jan 2004 06:01:07 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AlQxp-00027p-J6; Tue, 27 Jan 2004 06:01:01 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AlQxR-00025G-N3 for avt@optimus.ietf.org; Tue, 27 Jan 2004 06:00:37 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA29278 for <avt@ietf.org>; Tue, 27 Jan 2004 06:00:33 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1AlQxO-0007Qc-00 for avt@ietf.org; Tue, 27 Jan 2004 06:00:34 -0500
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1AlQwP-0007MZ-00 for avt@ietf.org; Tue, 27 Jan 2004 05:59:34 -0500
Received: from eagle.ericsson.se ([193.180.251.53]) by ietf-mx with esmtp (Exim 4.12) id 1AlQvR-0007I1-00 for avt@ietf.org; Tue, 27 Jan 2004 05:58:33 -0500
Received: from esealnt610.al.sw.ericsson.se ([153.88.254.120]) by eagle.ericsson.se (8.12.10/8.12.10/WIREfire-1.8b) with ESMTP id i0RAwYAh014586; Tue, 27 Jan 2004 11:58:34 +0100
Received: from ericsson.com (research-1fd0e1.ki.sw.ericsson.se [147.214.34.33]) by esealnt610.al.sw.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id DYMNWGAR; Tue, 27 Jan 2004 11:58:32 +0100
Message-ID: <401643F4.2040307@ericsson.com>
Date: Tue, 27 Jan 2004 11:56:52 +0100
X-Sybari-Space: 00000000 00000000 00000000 00000000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: sv, en-us, en
MIME-Version: 1.0
To: Belling Thomas <thomas.belling@siemens.com>
CC: avt@ietf.org
Subject: Re: [AVT] The need for Offer/Answer sections in RTP payload forma t specifications
References: <FF8AC5030873D6118BCB0002A58EDA990374C28D@mchh2a7e.mchh.siemens.de>
In-Reply-To: <FF8AC5030873D6118BCB0002A58EDA990374C28D@mchh2a7e.mchh.siemens.de>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on ietf-mx.ietf.org
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60
Content-Transfer-Encoding: 7bit
Sender: avt-admin@ietf.org
Errors-To: avt-admin@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Id: Audio/Video Transport Working Group <avt.ietf.org>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Hi Thomas,
Belling Thomas wrote:
>Dear Magnus and Collin,
>
>thank you for this initiative.
>We also had some internal dicussions about the AMR RTP payload format,
>RFC 3267, with that respect.
>Is there any intention to remmedy this, e.g. by updating the RFC or
>writing an additional one?
>
>Best regards, Thomas
>
>
>
We authors are planning on updating RFC 3267 to go draft standard, then
we can address this.. We will also fix some small issues with the text,
however the current errata for RFC 3267 is very short.
I have written an initial proposal for this text which I include below,
however please remember that it is a first version. Comments are welcome.
Cheers
Magnus
---------- Text Proposal for new chapter 8.3 -------------
8.3. Mapping MIME Parameters into SDP
The information carried in the MIME media type specification has a
specific mapping to fields in the Session Description Protocol (SDP)
[11], which is commonly used to describe RTP sessions. When SDP is
used to specify sessions employing the AMR or AMR-WB codec, the
mapping is as follows:
- The MIME type ("audio") goes in SDP "m=" as the media name.
- The MIME subtype (payload format name) goes in SDP "a=rtpmap"
as the encoding name. The RTP clock rate in "a=rtpmap" MUST be
8000 for AMR and 16000 for AMR-WB, and the encoding parameters
(number of channels) MUST either be explicitly set to N or
omitted, implying a default value of 1. The values of N that
are allowed is specified in Section 4.1 in [24].
- The parameters "ptime" and "maxptime" go in the SDP "a=ptime"
and "a=maxptime" attributes, respectively.
- Any remaining parameters go in the SDP "a=fmtp" attribute by
copying them directly from the MIME media type string as a
semicolon separated list of parameter=value pairs.
8.3.1 Offer-Answer Model Considerations
To achieve good interoperability with the AMR or the AMR-WB RTP payload
in an Offer-Answer usage in SDP the following considerations should be made:
- Each combination of the RTP payload configuration parameters
(octet-align, crc, robust-sorting, interleaving, and channels) is unique
in its bit-pattern and not compatible with any other combination. Due to
the application dependent nature of any configuration and they being
optionally to implement, care must be taken. When creating an offer in
an application desiring to use the more advance features (crc,
robust-sorting, interleaving, or more than one channel), the offerer is
RECOMMENDED to also offer an payload type containing only the
octet-align configuration with a single channel. If multiple
configurations are of interest to the application they may all be
offered, however care should be taken to not offer too many payload types.
- The parameters "mode-set", "mode-change-period", and
"mode-change-neighbor" SHOULD only be used when really needed due to
gateway scenarios, however their nature are such that they must either
be supported or no interoperability exist.
- The parameters "maxptime" and "ptime" should in most cases not effect
the interoperability, however the setting of the parameters can effect
the performance of the application.
8.3.2 Examples
Some example SDP session descriptions utilizing AMR and AMR-WB
encodings follow. In these examples, long a=fmtp lines are folded to
meet the column width constraints of this document; the backslash
("\") at the end of a line and the carriage return that follows it
should be ignored.
Example of usage of AMR in a possible GSM gateway scenario:
m=audio 49120 RTP/AVP 97
a=rtpmap:97 AMR/8000/1
a=fmtp:97 mode-set=0,2,5,7; mode-change-period=2; \
mode-change-neighbor=1
a=maxptime:20
Example of usage of AMR-WB in a possible VoIP scenario where UEP may
be used (99) and a fallback declaration (98):
m=audio 49120 RTP/AVP 99 98
a=rtpmap:99 AMR-WB/16000
a=fmtp:99 octet-align=1; crc=1
a=rtpmap:98 AMR-WB/16000
a=fmtp:98 octet-align=1
Example of usage of AMR-WB in a possible streaming scenario (two
channel stereo):
m=audio 49120 RTP/AVP 99 100
a=rtpmap:99 AMR-WB/16000/2
a=fmtp:99 interleaving=30
a=maxptime:100
Note that the payload format (encoding) names are commonly shown in
upper case. MIME subtypes are commonly shown in lower case. These
names are case-insensitive in both places. Similarly, parameter
names are case-insensitive both in MIME types and in the default
mapping to the SDP a=fmtp attribute.
--
Magnus Westerlund
Multimedia Technologies, Ericsson Research EAB/TVA/A
----------------------------------------------------------------------
Ericsson AB | Phone +46 8 4048287
Torshamsgatan 23 | Fax +46 8 7575550
S-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
- RE: [AVT] The need for Offer/Answer sections in R… Belling Thomas
- Re: [AVT] The need for Offer/Answer sections in R… Magnus Westerlund
- RE: [AVT] The need for Offer/Answer sections in R… Belling Thomas
- Re: [AVT] The need for Offer/Answer sections in R… Magnus Westerlund
- RE: [AVT] The need for Offer/Answer sections in R… Belling Thomas
- Re: [AVT] The need for Offer/Answer sections in R… Magnus Westerlund
- RE: [AVT] The need for Offer/Answer sections in R… Belling Thomas
- Re: [AVT] The need for Offer/Answer sections in R… Magnus Westerlund
- RE: [AVT] The need for Offer/Answer sections in R… Belling Thomas