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

Christer Holmberg <christer.holmberg@ericsson.com> Mon, 14 May 2018 18:02 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 D6328126579 for <mmusic@ietfa.amsl.com>; Mon, 14 May 2018 11:02:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.311
X-Spam-Level:
X-Spam-Status: No, score=-4.311 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-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 pzqR2fqQScAO for <mmusic@ietfa.amsl.com>; Mon, 14 May 2018 11:02:57 -0700 (PDT)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (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 73BC41200B9 for <mmusic@ietf.org>; Mon, 14 May 2018 11:02:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1526320974; 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=S00lytVbxkrHjN49DF5m1Oy2fLi+fasE9oAqBLd6Smg=; b=QrH6WVVYRh1z8Lqfwby6VIhh6e0uiaG5OlcUshAEZ9u5eDrHWolpLDACZ7zjAUGc 4+6zCC4orEUwZZXS8nj+sj+5t/YjNp03OG8DFcyAcryFO0U0ms8P5qbyCFSZTOGO y4eEzLV8XAX/npzAbv50kvAwJaJUA/3MVH17XfbHlq8=;
X-AuditID: c1b4fb3a-1c7ff70000006a47-ee-5af9cf4e5271
Received: from ESESSHC001.ericsson.se (Unknown_Domain [153.88.183.21]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 4B.D5.27207.E4FC9FA5; Mon, 14 May 2018 20:02:54 +0200 (CEST)
Received: from ESESSMB109.ericsson.se ([169.254.9.29]) by ESESSHC001.ericsson.se ([153.88.183.21]) with mapi id 14.03.0382.000; Mon, 14 May 2018 20:02:54 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>, "mmusic@ietf.org" <mmusic@ietf.org>
Thread-Topic: [MMUSIC] "New" style for defining SDP attributes
Thread-Index: AQHT6hhlMPcSGOtt5UmOMwUk622mv6QtVa0QgAIIRoCAACkeYA==
Date: Mon, 14 May 2018 18:02:52 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B72EDF36B@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>
In-Reply-To: <e5dd87c6-2971-7db9-c02a-8548930ee495@alum.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.164]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrDLMWRmVeSWpSXmKPExsUyM2K7qK7f+Z9RBqdOqllMXf6YxWLFhgOs Dkwef99/YPJYsuQnUwBTFJdNSmpOZllqkb5dAlfGos8mBZPUKh79jGpgnKLaxcjJISFgItG0 fzUbiC0kcIRRYuU+0y5GLiB7MaPExqUfgRIcHGwCFhLd/7RBakQEfCWePb4NVi8sYCux8uhK Zoi4ncTTj92sELaTxK65v1hAbBYBVYmrDV1gNbxAvQf/X2eCmN/EKrG5qwmsiFPAQaJlQivY UEYBMYnvp9YwgdjMAuISt57MZ4I4VEBiyZ7zzBC2qMTLx/9YIWwlibNfpoDdySygKbF+lz5E q6LElO6H7BB7BSVOznzCMoFRZBaSqbMQOmYh6ZiFpGMBI8sqRtHi1OLi3HQjI73Uoszk4uL8 PL281JJNjMA4OLjlt9UOxoPPHQ8xCnAwKvHwWu/6GSXEmlhWXJl7iFGCg1lJhHe3EVCINyWx siq1KD++qDQntfgQozQHi5I4r1OaRZSQQHpiSWp2ampBahFMlomDU6qB0dp157ZLt9/NWGs0 47rL+Q0N0S88z7ted/8ftvme64cnJ+0Ftv6WPRVgcfR3r9u1VoEkvXl3vs/ecGnuDrnH30pl OvZd7rta9v2rIXvYwmMzXR+tLtr2fyO36K6NS19FbN1bKbDWMKT6sf6fDdb3dQUa6m+8yp0Z 5fTXe/OsnbLPX/EbndpaemKZEktxRqKhFnNRcSIAGE1SA38CAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/8xYKzAuqKf8CXLqOo2bWGiDufsg>
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: Mon, 14 May 2018 18:03:00 -0000

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
> 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
> https://www.ietf.org/mailman/listinfo/mmusic
>