Re: [MMUSIC] The simulcast colon

Christer Holmberg <christer.holmberg@ericsson.com> Sat, 24 October 2015 17:46 UTC

Return-Path: <christer.holmberg@ericsson.com>
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 F32D31B3729 for <mmusic@ietfa.amsl.com>; Sat, 24 Oct 2015 10:46:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
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 5XZolIoCt8zn for <mmusic@ietfa.amsl.com>; Sat, 24 Oct 2015 10:46:46 -0700 (PDT)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 490251B3728 for <mmusic@ietf.org>; Sat, 24 Oct 2015 10:46:45 -0700 (PDT)
X-AuditID: c1b4fb25-f79a26d00000149a-57-562bc403caa1
Received: from ESESSHC015.ericsson.se (Unknown_Domain [153.88.253.125]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id 6A.E2.05274.304CB265; Sat, 24 Oct 2015 19:46:43 +0200 (CEST)
Received: from ESESSMB209.ericsson.se ([169.254.9.61]) by ESESSHC015.ericsson.se ([153.88.183.63]) with mapi id 14.03.0248.002; Sat, 24 Oct 2015 19:46:42 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Bo Burman <bo.burman@ericsson.com>, "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>, Peter Thatcher <pthatcher@google.com>
Thread-Topic: [MMUSIC] The simulcast colon
Thread-Index: AQHRDDvlCP6hG7LO4UeeBW3L/Vbcz5520TOAgACmDwCAA09UAIAAJChA
Date: Sat, 24 Oct 2015 17:46:41 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B37B8CF97@ESESSMB209.ericsson.se>
References: <CABkgnnXHRVRDSfz9cfBsva+PhTXz_gEs7qqK4e+xihgy7kzFug@mail.gmail.com>, <CAJrXDUHn4JuoDf0Q5jSoQGTH+Dp9MeXbtuMZOpoZP1ee2MD4SA@mail.gmail.com> <3E2FAC8E-21B0-49D7-B5BD-6C8D51223987@cisco.com> <BBE9739C2C302046BD34B42713A1E2A22E7EAED8@ESESSMB105.ericsson.se>
In-Reply-To: <BBE9739C2C302046BD34B42713A1E2A22E7EAED8@ESESSMB105.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.150]
Content-Type: multipart/alternative; boundary="_000_7594FB04B1934943A5C02806D1A2204B37B8CF97ESESSMB209erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFIsWRmVeSWpSXmKPExsUyM+JvrS7zEe0wg+uNShZTlz9msXjxYA6T xbXlr1kdmD2m/N7I6rFgU6nHkiU/mQKYo7hsUlJzMstSi/TtErgyvvzez1hwYhJjRd+xHywN jLebGbsYOTkkBEwkrjZ9ZYKwxSQu3FvP1sXIxSEkcJRR4s71z4wQzmJGiZOX7wE5HBxsAhYS 3f+0QRpEBKokLjx/yAYSZhZQl7i6OAgkLCygKfF4xVoWiBItie8N9xkhbDeJrcsegsVZBFQl lrUtYAJp5RXwldi1LBli0wQmibNdE8Hu4RTwk9g96Rc7iM0IdNv3U2vA4swC4hK3nsyHullA Ysme88wQtqjEy8f/WCFsJYkV2y8xQtTnS8zZOgOsnldAUOLkzCcsExhFZyEZNQtJ2SwkZRBx HYkFuz+xQdjaEssWvmaGsc8ceMyELL6AkX0Vo2hxanFSbrqRsV5qUWZycXF+nl5easkmRmAM HtzyW3UH4+U3jocYBTgYlXh4H6zVChNiTSwrrsw9xCjBwawkwiuwVztMiDclsbIqtSg/vqg0 J7X4EKM0B4uSOG8z04NQIYH0xJLU7NTUgtQimCwTB6dUA2OcsuzMi3khh4sZ1QUOPExiPlm7 r6n8Q4SjdjrvVP1PGk1qnjnnIv96OrFbmNv77uZJCFBMm9a/8FBw6UObM6uOdh0/L5KxQPV/ 3ZLwm9wL3lbceKTA3Ja+5bXAL8k9n2aaHknxCEvrtbwwwXOLkrZqx1bJH+ubxJ655vBZTxO6 ERz489f+x0osxRmJhlrMRcWJABr7wMW9AgAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/Mh565p38wt0DjKtMt0hohbTbdI4>
Cc: "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [MMUSIC] The simulcast colon
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 24 Oct 2015 17:46:49 -0000

Hi,

A few comments on the ABNF:

Q1: The colon MUST be there. As Bo pointed out, it's part of the core syntax for attributes.

In order to now have both the colon and the space, the ABNF can be modified e.g. in the following way:

sc-attr     = "a=simulcast:" sc-str-list  [WSP sc-str-list] [WSP sc-pause-list]


Q2: I don't think SDP allows usage of whitespace (WSP).

RFC 4566 & draft-4566bis say:

              "Whitespace MUST NOT be used on either side of the "=" sign.

In addition, as far as I know, SDP is very strict with spaces, which is the reason they are explicitly stated in the SDP ABNF.

              "In general, <value> is either a number of fields delimited by a single
              space character or a free format string..."

Regards,

Christer

From: mmusic [mailto:mmusic-bounces@ietf.org] On Behalf Of Bo Burman
Sent: 24 October 2015 20:21
To: Mo Zanaty (mzanaty) <mzanaty@cisco.com>; Peter Thatcher <pthatcher@google.com>
Cc: mmusic@ietf.org
Subject: Re: [MMUSIC] The simulcast colon

I note that 4566bis ABNF for "attribute" says:

   ; sub-rules of 'a='
   attribute =           (att-field ":" att-value) / att-field
   att-field =           token
   att-value =           byte-string

The colon does not seem to be a "should" to me, but rather a requirement for any SDP attribute that is not a boolean.
Is there really any slack in how this can be implemented by SDP parsers?

To comply with 4566bis ABNF and still keep a single separator, you should rather remove the space.

/Bo

From: mmusic [mailto:mmusic-bounces@ietf.org] On Behalf Of Mo Zanaty (mzanaty)
Sent: den 22 oktober 2015 15:48
To: Peter Thatcher
Cc: mmusic@ietf.org<mailto:mmusic@ietf.org>
Subject: Re: [MMUSIC] The simulcast colon

The colon was added after others pointed out that attributes with further parameters should have a colon after the attribute. I don't know how many parsers actually care about that rule, but it seems safer to stick with the convention even if it bothers a few human eyes.

Mo

On Oct 22, 2015, at 12:54 AM, Peter Thatcher <pthatcher@google.com<mailto:pthatcher@google.com>> wrote:
+1 to removing the colon

https://en.wikiquote.org/wiki/Consistency

On Wed, Oct 21, 2015 at 1:05 PM, Martin Thomson <martin.thomson@gmail.com<mailto:martin.thomson@gmail.com>> wrote:
Is annoying me.  Do we really need two separators (i.e., the colon and
the space)?

BTW,  the examples in the draft have c= and m= lines in the wrong
order, though I'm sure that I'm not the first to note this.

_______________________________________________
mmusic mailing list
mmusic@ietf.org<mailto:mmusic@ietf.org>
https://www.ietf.org/mailman/listinfo/mmusic

_______________________________________________
mmusic mailing list
mmusic@ietf.org<mailto:mmusic@ietf.org>
https://www.ietf.org/mailman/listinfo/mmusic