[Sip] Re: [MMUSIC] RE: [Sip-implementors] supporting just one codec at a time

Flemming Andreasen <fandreas@cisco.com> Tue, 08 January 2002 21:58 UTC

Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA11672 for <sip-archive@odin.ietf.org>; Tue, 8 Jan 2002 16:58:37 -0500 (EST)
Received: (from daemon@localhost) by optimus.ietf.org (8.9.1a/8.9.1) id QAA24501 for sip-archive@odin.ietf.org; Tue, 8 Jan 2002 16:58:38 -0500 (EST)
Received: from optimus.ietf.org (localhost [127.0.0.1]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA23919; Tue, 8 Jan 2002 16:41:22 -0500 (EST)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id QAA23776 for <sip@optimus.ietf.org>; Tue, 8 Jan 2002 16:41:15 -0500 (EST)
Received: from nisser.cisco.com (nisser.cisco.com [171.71.176.85]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA11281; Tue, 8 Jan 2002 16:41:13 -0500 (EST)
Received: from cisco.com (ssh-sj1.cisco.com [171.68.225.134]) by nisser.cisco.com (8.8.6 (PHNE_14041)/CISCO.SERVER.1.2) with ESMTP id NAA13486; Tue, 8 Jan 2002 13:40:21 -0800 (PST)
Message-ID: <3C3B6763.AF18D06B@cisco.com>
Date: Tue, 08 Jan 2002 16:40:52 -0500
From: Flemming Andreasen <fandreas@cisco.com>
Organization: Cisco Systems
X-Mailer: Mozilla 4.78 [en]C-CCK-MCD (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: jerry_yin@Mitel.COM
CC: 'Jonathan Rosenberg' <jdrosen@dynamicsoft.com>, sip@ietf.org, sip-implementors@cs.columbia.edu, mmusic@ietf.org
References: <000401c1957a$72fce690$0c4dc786@pc3002.mitel.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [Sip] Re: [MMUSIC] RE: [Sip-implementors] supporting just one codec at a time
Sender: sip-admin@ietf.org
Errors-To: sip-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Session Initiation Protocol <sip.ietf.org>
X-BeenThere: sip@ietf.org
Content-Transfer-Encoding: 7bit


Jerry Yin wrote:

> Hi there,
>
> After I read the simcap
> (http://www.ietf.org/internet-drafts/draft-andreasen-mmusic-sdp-simcap-04.tx
> t), I found that it is not backwards compatible with the SDP (RFC 2327).
> Here's my comments.
>
> 1. the rtpmap's format in RFC 2327 is
>
>     a=rtpmap:<payload type> <encoding name>/<clock rate>[/<encoding
>      parameters>].
> While in simcap, it is :
>     a=rtpmap:<payload type> telephone-event

No. There's simply an example which has made an editorial mistake in omitting
the <clock rate>.

>
>
>     Where is the "telephone-event" defined as an encoding name?

RFC 2833.

> If the UA is
> implemented according to RFC 2327, how can it talk to the UAs implemented
> according to the simcap?
>

Per RFC 2327, unknown attributes are simply ignored and simcap just defines a
couple of extra attributes that can be ignored at will.


>
> 2. The "m=" header and "a=rtpmap" in RFC 2327 is good enough to describe the
> media attributes already. I don't know why it is necessary to define a new
> attributes of "a=cdsc" and "a=cpar". There are some redundant information
> here, I think.
>

SDP has well-known shortcomings when it comes to capability description and
negotiation. See e.g.
http://www.ietf.org/internet-drafts/draft-ietf-mmusic-sdpng-req-01.txt for an
analysis of these.



>
> 3. If we want to describe a subset of capabilities among all capabilities
> the SDP claimed, we can simply introduce one new attribute to describe the
> subset.

> For example,
>    a=subset subset_codec_number : total_codec_number.
> This way, even some UAs don't understand a = subset, they still can talk
> with the one supports this attribute by at list one media streaming.
>

They can, but not with the semantics you intended.

>
> Here's an example:
> v=0
> o=- 25678 753849 IN IP4 128.96.41.1
> s=-
> c=IN IP4 128.96.41.1
> t=0 0
> m=audio 3456 RTP/AVP 96 97 98
> a=rtpmap:96 L8/8000
> a=rtpmap:97 L16/8000
> a=rtpmap:98 L16/11025/2
> a=subset 2:3
> m=video 3458 RTP/AVP 26 31
> a=rtpmap:26 JPEG/90000
> a=rtpmap:31 H261/90000
> a=subset 1:2
>
> This packet means the sender can support two audio streams among three
> different codecs {L8, L16, and L16-stereo} and one video stream of JPEG or
> H261.

This doesn't work if the receiver doesn't understand the "subset" attribute,
hence it's not backwards compatible.

-- Flemming

--
Flemming Andreasen
Cisco Systems



_______________________________________________
Sip mailing list  http://www1.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sipping@ietf.org for new developments on the application of sip