Re: [MMUSIC] Comments on ABNF in 4566bis
Paul Kyzivat <pkyzivat@alum.mit.edu> Mon, 01 December 2014 16:45 UTC
Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 15B811A6F24 for <mmusic@ietfa.amsl.com>; Mon, 1 Dec 2014 08:45:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level:
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_SOFTFAIL=0.665] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8BEvPZ3mkCKk for <mmusic@ietfa.amsl.com>; Mon, 1 Dec 2014 08:45:32 -0800 (PST)
Received: from resqmta-po-04v.sys.comcast.net (resqmta-po-04v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:163]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4B76A1A6F62 for <mmusic@ietf.org>; Mon, 1 Dec 2014 08:45:31 -0800 (PST)
Received: from resomta-po-02v.sys.comcast.net ([96.114.154.226]) by resqmta-po-04v.sys.comcast.net with comcast id NGi41p0084tLnxL01GlWiu; Mon, 01 Dec 2014 16:45:30 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.151]) by resomta-po-02v.sys.comcast.net with comcast id NGlV1p00b3Ge9ey01GlWor; Mon, 01 Dec 2014 16:45:30 +0000
Message-ID: <547C9B29.9060801@alum.mit.edu>
Date: Mon, 01 Dec 2014 11:45:29 -0500
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: mmusic@ietf.org
References: <596DA376-D525-49A2-B260-2BADB38AF2E2@csperkins.org>
In-Reply-To: <596DA376-D525-49A2-B260-2BADB38AF2E2@csperkins.org>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1417452330; bh=CZBe31n5f34yclMDCHOv3CVv6McfXq0I4m5Qm3olrdU=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=li485lYSycc01/3iw0LtNgpsOHUUHq2UOnQNGMNSsfWcy5PSq9t7KpJoMTSA0a+MQ Yb6QIs+RmO4e384kJA7vurvqily/nubqUHnbTrElQLhkNtUUFmn9uvZF8r8oUHA+l4 1G7YtFErwCNy/ZbNikUqmvzP1zJaLFkjcESuvdnQajvyAtogtir3n07O9UVOUZjTV+ 0/EwVSVhCaKhXZENPMFCzxB8tzAkDEIBa8C2C2hzjPHJQ/JX0NPDF9HKkzO6tbGPcY v10NY+LvAltWC93U1XiWTDzT1CfXWUGgxrZPQXnQLXp1Z7803mXx5AS21MuQIyIGIl wOnXA6wwgm/Og==
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/o6ixkqQLTW3_4SrBt7-_13MJ3ys
Subject: Re: [MMUSIC] Comments on ABNF in 4566bis
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Dec 2014 16:45:34 -0000
Collin, Thanks for reviewing this. I have some followup questions for you inline. On 11/25/14 7:34 AM, Colin Perkins wrote: > Hi, > > The chairs asked me to review the ABNF in rfc4566bis. This looks to be > going in the right direction. Some comments: > *a=cat:* > - This attribute was used with SAP [RFC2974] to categorise session > announcements, for example “a=cat:sport.football”. There was never a > formal definition beyond a dot-separated string, and intentionally no > central registry of categories. > - Should likely have a not to say this is obsolete. > - Syntax should likely be non-ws-string I'm ok with this if nobody objects. > *a=keywds:* > - Like a=cat:, this was intended for use with SAP. I’m not aware that it > was ever implemented. > - Should likely have a not to say this is obsolete. > - Syntax should likely be: “keywords = text” I'm ok with this if nobody objects. > *a=tool:* > - Something like HTTP user agent string > - Syntax should likely be: “tool-name-and-version = text” WFM > *a=ptime: *and *a=maxptime:* > - Are these always integers? There is a separate thread on this. > *a=rtpmap:* > - payload-type is an integer in the range 0-127 in RTP > - encoding-name is a MIME subtype, and should have the syntax to match this > - is clock-rate always an integer? If there is no way that larger values could ever be used then I'm fine with calling out this restriction. I'll probably do it in text rather than in ABNF. > *a=type:* > - I assume a registry was intended, but it’s not clear there’s any need now Do you mean that you don't think we need a mechanism to define further values? Or that it would be sufficient to do so with another update to this document? Do you know if these names were intended to be case sensitive? That is an important distinction to make. And whatever choice is made will potentially have backward compatibility problems for somebody. > *a=charset:* > - This is a name from the registry at > http://www.iana.org/assignments/character-sets/character-sets.xhtml and > needs to follow that syntax In this and other cases where what goes in the SDP is a reference to something defined in a registry, I am inclined to give a simplified syntax that might be a superset of what is permitted in the registry. It doesn't matter a whole lot if it allows some invalid values, because such names will never be in the registry. This will help implementers. And when the exact formal definition isn't available in ABNF, or is very complex, it can also ease formal checking of the SDP ABNF. Given that explanation, is there anything wrong with what I have? > *a=sdplang:* and *a=lang:* > - Should reference the RFC5646 definition Same comment as charset. > *a=quality:* > - I thought the intent here was a real number, in the range 0…10 What I could find only discussed quality in the context of video media, and restricted the range to 0..10 in that case. But it didn't explicitly limit (or define) the use of quality for other media. It seems reasonable to me that the same range would apply to any media where quality applies, but I wasn't sure. Also, should the values here be restricted to integral values, or should fractional values be allowed? BTW - I just noticed I have an error in my ABNF: I limit the quality-value to an integer, which excludes zero. So I need to change the abnf in one way or another. > *a=fmtp:* > - The format parameters are MIME media type parameters, and need to > reflect their syntax. My understanding is that the values are whatever was in the <fmt> field of the associated m-line. What is valid there is defined for each <proto> field. For the RTP variants, it is a payload type. For UDP it is a media (sub)type. But we can't know in general what if might be for other <proto>s, since new ones could be defined in the future. The m-line syntax defines the fmt as a token. So I figured that the same definition should be used here. Thanks, Paul
- [MMUSIC] Comments on ABNF in 4566bis Colin Perkins
- Re: [MMUSIC] Comments on ABNF in 4566bis Peter Stevens
- Re: [MMUSIC] Comments on ABNF in 4566bis Paul Kyzivat
- Re: [MMUSIC] Comments on ABNF in 4566bis Paul Kyzivat
- Re: [MMUSIC] Comments on ABNF in 4566bis Christian Groves
- Re: [MMUSIC] Comments on ABNF in 4566bis Colin Perkins
- Re: [MMUSIC] Comments on ABNF in 4566bis Paul Kyzivat
- Re: [MMUSIC] Comments on ABNF in 4566bis Paul Kyzivat
- Re: [MMUSIC] Comments on ABNF in 4566bis Paul Kyzivat
- Re: [MMUSIC] Comments on ABNF in 4566bis Colin Perkins
- Re: [MMUSIC] Comments on ABNF in 4566bis Colin Perkins
- Re: [MMUSIC] Comments on ABNF in 4566bis Paul Kyzivat
- Re: [MMUSIC] Comments on ABNF in 4566bis Peter Stevens
- Re: [MMUSIC] Comments on ABNF in 4566bis Paul Kyzivat
- Re: [MMUSIC] Comments on ABNF in 4566bis Peter Stevens
- Re: [MMUSIC] Comments on ABNF in 4566bis Paul Kyzivat
- Re: [MMUSIC] Comments on ABNF in 4566bis Peter Stevens