Re: [MMUSIC] "New" style for defining SDP attributes

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 23 May 2018 06:37 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B5BD7124B0A for <mmusic@ietfa.amsl.com>; Tue, 22 May 2018 23:37:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.994
X-Spam-Level:
X-Spam-Status: No, score=-2.994 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, TRACKER_ID=1.306, T_DKIMWL_WL_HIGH=-0.01, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
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 a-Itjib3luG0 for <mmusic@ietfa.amsl.com>; Tue, 22 May 2018 23:37:29 -0700 (PDT)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 06388124B17 for <mmusic@ietf.org>; Tue, 22 May 2018 23:37:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1527057447; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+gT5tCBlqKQSVS+CwAAV5tTTxDhR+2CfFm6jg2LDCU4=; b=E16BopCZDGV4D6HP4rO8oMzQjtVN/0zZODoKKw98K0bYbjM8vnAhNUxXWNSKwer4 SmYAs/8tMb+EYruIyu9S5efQEy8rhV27hG9faaW3yr0k/96sgPny4BaCawjoAoh0 cPWmaQbBnnVAv/DKBsOvlwAE3HQV9+etif2lgDF6KqE=;
X-AuditID: c1b4fb25-5b9ff700000044b2-91-5b050c27822c
Received: from ESESSHC011.ericsson.se (Unknown_Domain [153.88.183.51]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id DC.A3.17586.72C050B5; Wed, 23 May 2018 08:37:27 +0200 (CEST)
Received: from ESESSMB109.ericsson.se ([169.254.9.29]) by ESESSHC011.ericsson.se ([153.88.183.51]) with mapi id 14.03.0382.000; Wed, 23 May 2018 08:37:26 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Thomas Stach <thomass.stach@gmail.com>, Paul Kyzivat <pkyzivat@alum.mit.edu>, "mmusic@ietf.org" <mmusic@ietf.org>
Thread-Topic: [MMUSIC] "New" style for defining SDP attributes
Thread-Index: AQHT6hhlMPcSGOtt5UmOMwUk622mv6QtVa0QgAIIRoCAACkeYIAHpFSAgAArYiCABLq8gIAA2tRA
Date: Wed, 23 May 2018 06:37:26 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B72F004DC@ESESSMB109.ericsson.se>
References: <d39c9615-ad46-a840-fd02-9a3eac4b53a9@gmail.com> <D7161134.2F512%christer.holmberg@ericsson.com> <919f4302-29b2-3f48-ffef-aab290bb6e96@gmail.com> <7594FB04B1934943A5C02806D1A2204B72EB88D8@ESESSMB109.ericsson.se> <2950acc1-ab24-ebb4-cc50-1c64193fbe0d@gmail.com> <7594FB04B1934943A5C02806D1A2204B72EBD35F@ESESSMB109.ericsson.se> <d7ad13b7-5d18-8c7c-b93b-f3670cefa70e@gmail.com> <7594FB04B1934943A5C02806D1A2204B72EBE59B@ESESSMB109.ericsson.se> <5f01be58-d29d-b45f-87d5-879d171cf703@comcast.net> <7594FB04B1934943A5C02806D1A2204B72ECED9D@ESESSMB109.ericsson.se> <e5dd87c6-2971-7db9-c02a-8548930ee495@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B72EDF36B@ESESSMB109.ericsson.se> <1e39df6e-0778-910f-87ab-3d5b74305e57@gmail.com> <7594FB04B1934943A5C02806D1A2204B72EF4D48@ESESSMB109.ericsson.se> <113b734d-1b02-8f31-597a-42f765eec1f0@gmail.com>
In-Reply-To: <113b734d-1b02-8f31-597a-42f765eec1f0@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.163]
Content-Type: multipart/alternative; boundary="_000_7594FB04B1934943A5C02806D1A2204B72F004DCESESSMB109erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprCIsWRmVeSWpSXmKPExsUyM2K7sa46D2u0wb+5whZTlz9msVix4QCr xacTW5kcmD3+vv/A5LFz1l12jyVLfjIFMEdx2aSk5mSWpRbp2yVwZXy6sJmlYMUuxornH9ax NjBu2MrYxcjJISFgItH68D1LFyMXh5DAEUaJLdvOs0M4ixkldj87x9zFyMHBJmAh0f1PG6RB RKBcYuXfj2wgtrCArcTKoyuZIeJ2Ek8/drNC2FESb55tA7NZBFQlXnbtBbN5BXwlrs++DLXs A5vEz2trwa7gBBrU/RJiEKOAmMT3U2uYQGxmAXGJW0/mM0FcKiCxZM95ZghbVOLl43+sELaS xPJpW9gh6vMlDnYuZIFYJihxcuYTlgmMwrOQjJqFpGwWkrJZQG8yC2hKrN+lD1GiKDGl+yE7 hK0h0TpnLjuy+AJG9lWMosWpxUm56UbGeqlFmcnFxfl5enmpJZsYgXF1cMtv1R2Ml984HmIU 4GBU4uEt+88SLcSaWFZcmXuIUYKDWUmE99QfoBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeh+ab o4QE0hNLUrNTUwtSi2CyTBycUg2MqcFXasNuzT22tPV4/WnxHQJ7HUtXOVxUU5gRm3Hj3r14 ab/2hEwd5VvWHy3/v3zy/GBBrwq7FLeGpbYN40S1OzOrD/D22N/95KI1TTrKM/MVc7RDwTvO M1v+57+9OFHyY80e3llMv4zfHbgxee98fo35yzjMzDwm7lkYerUznrM39XXWptiXSizFGYmG WsxFxYkAu3JYcacCAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/O7BIibDz3t6EsDBkbV79HqZM590>
Subject: Re: [MMUSIC] "New" style for defining SDP attributes
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 23 May 2018 06:37:32 -0000

Hi,

>I couldn't find ABNF for ice-lite-attribute, pwd-attribute, ice-ufrag-attribute, ...
>Once it's there I'll take it.

Section 4.

You don’t need the “a=” part, because that is implicit for attributes.

Regards,

Christer





On 2018-05-14 20:02, Christer Holmberg wrote:

Hi,



Note that I changed the subject line here. My intent was to start a different discussion that >isn't specifically related to trickle-ice-sip.

The intent instead is to discuss if we should change 4566bis to be more explicit about how >to define attributes.

Sure.



But, at the same time we'd like to move trickle-ice-sip forward, and I think my suggestion below allows us to do that while any possible change to 4566bis is discussed.



Regards,



Christer







On 5/13/18 4:47 AM, Christer Holmberg wrote:

Hi,



My suggestion would be to simply reference the syntax. Something like:



trickle-ice-sdpfrag =   session-level-fields

                                        pseudo-media-descriptions

session-level-fields = bundle-group-attribute CRLF          \

                                        ice-lite-attribute CRLF                      \

                                        ice-pwd-attribute CRLF                     \

                                        ice-ufrag-attribute CRLF                    \

                                        ice-options-attribute CRLF                \

                                        ice-pacing-attribute CRLF                  \

                                        end-of-candidates-attribute CRLF   \

                                        extension-attribute-fields



The attribute fields follow the generic syntax for SDP attributes [RFCXXXX]. The list below reference the specific syntax for each attribute field.



ice-lite-attribute              ; as ice-lite defined in [RFCXXXX]

ice-pwd-attribute            ...

ice-ufrag-attribute           ...

ice-pacing-attribute         ...

ice-options-attribute       ....



Then we don't need to worry about "new" and "old" in this draft. We simply define the high-level syntax for the sdpfrag message body, and reference the appropriate specifications for the attributes etc.



In addition, I think it would be useful to say that in order to use an extension attribute, there needs to be a specification for how that attribute is used within a sdpfrag message body. Otherwise someone could include any SDP attribute just like that.



Regards,



Christer





-----Original Message-----

From: mmusic [mailto:mmusic-bounces@ietf.org] On Behalf Of Paul

Kyzivat

Sent: 12 May 2018 19:41

To: mmusic@ietf.org<mailto:mmusic@ietf.org>

Subject: [MMUSIC] "New" style for defining SDP attributes



On 5/10/18 12:59 PM, Christer Holmberg wrote:



That's a bad example since a=bundle-only doesn't have a value.



A better example is the tls-id attribute, defined in Section 4 of

https://www.ietf.org/id/draft-ietf-mmusic-dtls-sdp-32.txt.





I'd rather prefer ( just personal preference ) the style of

https://tools.ietf.org/html/draft-ietf-mmusic-rid-14, where the

registration in section 11 refers to the grammar in section 10.



The ABNF is not according to the new style.



And, just to clarify, my comments are not based on my personal

preference, but on my understanding of how SDP attributes are to be

defined nowadays.

I've been finding that the "new" style that I have been trying to get institutionalized isn't well enough specified. I'm thinking that we need to firm it up, and preferably get that written down in 4566bis.



     Thanks,

     Paul



_______________________________________________

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