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

Thomas Stach <thomass.stach@gmail.com> Tue, 22 May 2018 19:32 UTC

Return-Path: <thomass.stach@gmail.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 7510D12D7F1 for <mmusic@ietfa.amsl.com>; Tue, 22 May 2018 12:32:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 HKlhZYIHceqj for <mmusic@ietfa.amsl.com>; Tue, 22 May 2018 12:32:31 -0700 (PDT)
Received: from mail-wr0-x234.google.com (mail-wr0-x234.google.com [IPv6:2a00:1450:400c:c0c::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4F026127735 for <mmusic@ietf.org>; Tue, 22 May 2018 12:32:31 -0700 (PDT)
Received: by mail-wr0-x234.google.com with SMTP id j1-v6so11250003wrm.1 for <mmusic@ietf.org>; Tue, 22 May 2018 12:32:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=GanVWAZT2of8uotgXtl8S+alWNLWB6V0Aj3LCBhffTg=; b=Ht46Qsgsu4+XWsAm/AIzjfyeVLNtI2EKOfTcwSgHGTvyLnkMLAZSKR3/yqnxl7CcXc y4CxY8aFjCNYHz5GidOw5ulwLSxazFx4BUAquxIUiedwYA0PZcu6sOHDNuFFbrEzt9pt BAhV34Sa3M/47qhF39TnGJuV0sB2OV0pbiwtJS+yZWTLzBFMmYlptWXobgjR+CW5NL2d G8G50HS3ffcbzuDhcNDtHfUkjkxgu/UwTsxPzMXS9di1QC8Uy8aeKhetyGmw4F5+6m/J p6Yg5unOqCcJcz9qsYD3RrD5iYvmPTW9Ss/fMGpHRMqH5SoCZjYNTh8uxY0qD+PM/H/9 nAdw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=GanVWAZT2of8uotgXtl8S+alWNLWB6V0Aj3LCBhffTg=; b=YBpTSRIuCTznk9KQSlcw1YvVp8DhhNND4tGyt2eDjudxR3AquGZXrcD9QLZjGw6g/9 yb9zHUhUQW+1fGdPeXWL8HNhV2PT9+bII5DYuMiiRd9N3gKhm8sehlzqh0bXUH5bd7fA 9M2B2E921v6G+3LEP90VmlAp9rSeX88l40GOXaln0mm/aLalP74BPQVTmcsRG2aXNYZP J2YjegD/6R/qdUpj22jr/s2vz2C9pSHRMZnGSgJ3lIzM98v5L5SDjUH8JwhSbzwVJThI iug6gSuobWUGBGEwxVoDN+cNT3q8femuqe/m1AyHJeJfPSWk94+ouGQlxEXCQeF2aEb9 dHkA==
X-Gm-Message-State: ALKqPwfZodt5McyoFg8xxp1syQ9Chr9rXEql9sZ9HWSkF0fDZPlaKatU zYag+EA/BozRkbYtlx6Ncbaf8DsO
X-Google-Smtp-Source: AB8JxZqVnx96c3hEp9DTc3Y12tRkSreWhZikWCaCocXM4qmVdmCpPQhsA5Bbzt+XD8Yn/zBTYgi6Ig==
X-Received: by 2002:adf:988c:: with SMTP id w12-v6mr19113910wrb.215.1527017549166; Tue, 22 May 2018 12:32:29 -0700 (PDT)
Received: from [192.168.2.112] ([213.90.79.148]) by smtp.googlemail.com with ESMTPSA id 4-v6sm835591wmg.8.2018.05.22.12.32.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 12:32:28 -0700 (PDT)
To: Christer Holmberg <christer.holmberg@ericsson.com>, Paul Kyzivat <pkyzivat@alum.mit.edu>, "mmusic@ietf.org" <mmusic@ietf.org>
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>
From: Thomas Stach <thomass.stach@gmail.com>
Message-ID: <113b734d-1b02-8f31-597a-42f765eec1f0@gmail.com>
Date: Tue, 22 May 2018 21:32:27 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B72EF4D48@ESESSMB109.ericsson.se>
Content-Type: multipart/alternative; boundary="------------774F812345F1AB216E36334B"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/9Do9kLIiK5JJbpGmXPUCcgsDwSg>
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: Tue, 22 May 2018 19:32:34 -0000

Christer,


On 2018-05-19 19:19, Christer Holmberg wrote:
> Hi,
>
>> the proposal works for me.
>> However, as long a we don't have definitions for ice-lite-attribute and the other stuff, I can't >reference it and have to keep the constructions and references that I currently have.
> Not sure I follow.
>
> The definitions are in draft-ietf-mmusic-ice-sip-sdp.
I couldn't find ABNF for ice-lite-attribute, pwd-attribute, 
ice-ufrag-attribute, ...
Once it's there I'll take it.

For the time being I stick with the ABNF that current is in 
draft-ietf-mmusic-trickle-ice-sip, i.e,

          ice-lite-attribute     = %s"a" "=" ice-lite
          ice-pwd-attribute      = %s"a" "=" ice-pwd-att
          ice-ufrag-attribute    = %s"a" "=" ice-ufrag-att
          ice-pacing-attribute   = %s"a" "=" ice-pacing-att

>   Yes, we may have to change those to the "new" style,
yes

Regards
Thomas
> but that should not affect the trickle draft.
>
> 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
>>> 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
>>>
>> _______________________________________________
>> mmusic mailing list
>> mmusic@ietf.org
>> https://www.ietf.org/mailman/listinfo/mmusic
>>