Re: [AVT] question: mapping dynamic RTP formats using SDP

Colin Perkins <csp@csperkins.org> Sun, 02 March 2003 00:20 UTC

Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA21219 for <avt-archive@odin.ietf.org>; Sat, 1 Mar 2003 19:20:50 -0500 (EST)
Received: (from mailnull@localhost) by www1.ietf.org (8.11.6/8.11.6) id h220U5Y11749 for avt-archive@odin.ietf.org; Sat, 1 Mar 2003 19:30:05 -0500
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h220Tjp11691; Sat, 1 Mar 2003 19:29:45 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h220Sdp11656 for <avt@optimus.ietf.org>; Sat, 1 Mar 2003 19:28:39 -0500
Received: from purple.nge.isi.edu (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA21165 for <avt@ietf.org>; Sat, 1 Mar 2003 19:18:53 -0500 (EST)
Received: from purple.nge.isi.edu (localhost [127.0.0.1]) by purple.nge.isi.edu (8.12.6/8.12.6) with ESMTP id h220KXRT000311; Sat, 1 Mar 2003 19:20:38 -0500 (EST) (envelope-from csp@purple.nge.isi.edu)
Message-Id: <200303020020.h220KXRT000311@purple.nge.isi.edu>
To: "Hager, Todd" <THH@dolby.com>
cc: avt@ietf.org
Subject: Re: [AVT] question: mapping dynamic RTP formats using SDP
In-Reply-To: Your message of "Fri, 28 Feb 2003 17:17:54 PST." <5FCCC03CAF7C5C4C8E2F995E3D72E1334BBB5C@platinum.dolby.net>
Date: Sat, 01 Mar 2003 19:20:33 -0500
From: Colin Perkins <csp@csperkins.org>
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>

--> "Hager, Todd" writes:
>What is the best method to define a valid encoding name for a new
>encoding format?
> 
>Regarding <draft-flaks-avt-rtp-ac3-03.txt>, I'm trying to determine the
>best method of choosing a value for the payload type for AC-3 in the RTP
>header.
> 
>I am proceeding under the assumption that the best course is to randomly
>choose a value from the dynamic range (96-127) described in <RTP Profile
>for Audio and Video Conferences with Minimal Control.txt> (RFC 1890),
>and use SDP to somehow map this value to the AC-3 encoding type. I have
>questions regarding the SDP mapping process.

Each application using the AC-3 payload format picks a payload type number
from the dynamic range each time it starts.  The chosen value is exchanged
in SDP, as part of the call setup signalling (e.g. using SIP or RTSP).

>Pages 21 and 22 in the SDP specification (RFC 2327) indicate the
>following mechanism to map a dynamic format ID :
> 
>m=<media> <port>/<number of ports> <transport> <fmt list>
> 
>and 
> 
>a=rtpmap:<payload type> <encoding name>/<clock rate>[/<encoding
>parameters>]
> 
>Therefore,  an SDP description ought to be able to incorporate the
>following two lines:
> 
>m=audio 49232 RTP/AVP 98
>a=rtpmap:98 <AC3_ENCODING_NAME>/48000

Correct. The actual payload type number that is assigned will be different
each time an application is started, and the "a=rtpmap:" line is used to
convey the mapping from the fixed encoding name to the ephemeral payload
type number.

>How does the AVT group suggest I define <AC3_ENCODING_NAME>? Should I
>submit a new Internet Draft describing a full profile specifically for
>this format, or can I simply use the AC-3 RTP Payload document itself as
>the vehicle that registers a valid AV Profile encoding name?
> 
>Alternatively, though the current AC-3 RTP Payload draft document does
>not currrently define an AV RTP Profile encoding name, it does define a
>MIME type description for AC-3. The SDP spec allows MIME types to
>describe media encodings, but the wording of the SDP spec (page 22)
>implies that this is only intended to be used for non-RTP streams. 

RTP originally used a separate namespace for payload format names, but 
now uses the MIME namespace.  The registration procedure is defined in 
draft-ietf-avt-rtp-mime-06.txt.

>Which is the most appropriate course of action:
> 
>1) Define a new RTP profile, 
>2) Use the AC-3 RTP payload document to define a valid encoding name for
>the AC-3 format, or
>3) Use the defined MIME type to map a dynamic AV Profile payload type to
>AC-3?

The third option is correct. The MIME type defined in the AC-3 payload
format is used as the SDP encoding name (The MIME type registration in
Section 4 of draft-flaks-avt-rtp-ac3-03.txt looks good, I don't think
you need to add anything).

Cheers,
Colin
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt