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

Thomas Stach <thomass.stach@gmail.com> Sat, 19 May 2018 16:43 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 D06BC12DA0C for <mmusic@ietfa.amsl.com>; Sat, 19 May 2018 09:43:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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, RCVD_IN_DNSWL_LOW=-0.7, 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 Yx_QfPr2ukRE for <mmusic@ietfa.amsl.com>; Sat, 19 May 2018 09:43:52 -0700 (PDT)
Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (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 B9E0312D958 for <mmusic@ietf.org>; Sat, 19 May 2018 09:43:51 -0700 (PDT)
Received: by mail-wm0-x22d.google.com with SMTP id x12-v6so6982158wmc.0 for <mmusic@ietf.org>; Sat, 19 May 2018 09:43:51 -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-transfer-encoding:content-language; bh=pO5h2KEL3nhj0pEBYcxVKEMdoIikGuqzgc4XvvrNXr4=; b=nx1iBeBJoJz++EKOM+rAcWbBwOMgDTi6AOedHi4slx2My+HaJDr1n4Y9EdMibLy8JD CfF1aDtc0BBUUe5juTUJQwczaBiyFZoPO9wmdMPoRmFiHw2+HJ2xT8NRuxOtWOLFmSZZ o8nfHbWM6GM6FkEdIpc03MaSktJlMVpwA2xF6dmbVVyOl/EeHHvFqH519Mquj4np/Z0P rAvYMs9U29lX6FPo0PsbCFz5UkIZ9zJC2WIjQ8bX3qm2qzjcBHqGZnkby5CRE9gpKAbN mCh2gojjrFWZhXKA4re9WJeHZRkuy3tKbLBE4AwKOkM4K6Z6J+iP8LyoJSSgA6qRVgNl kyHA==
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-transfer-encoding :content-language; bh=pO5h2KEL3nhj0pEBYcxVKEMdoIikGuqzgc4XvvrNXr4=; b=dQeVuNYtbzsI+7is0bgRzyWZTb69V6FeZMWOIQ7+2vE6WOv/xsE+a04dUb2Z0I3emQ TXd6PjrToZ8oSHDA4W3X6JHhMc7BtUvrET3+K5ViGWjmRjKG06x82QEnC+YtNuutzH2c CnCDyJgEA2zNB4Jaj72AjD0FBrA6I1IdkidJEKFe/aBuyl+izdroVkQXc4r34/8a7YNO O4+swHV1zHJS3F87ggC3f/whkhthRsoLddQFvPNEwMoI26jC8m+8nKqxy5bjjP3//D0I ezTatzGa4ZsKWHAC8uxgj8DJA3540I+5g4lmujBbwftp/G/wrGGkDyPuQBTx2vN5hVwc AvwQ==
X-Gm-Message-State: ALKqPwcILSUpx9qr+A5d4OLiY6xmaD7uPHiVOrtqmeT90nEnHpjD9uk1 htUZkFq+IseLWQeFo9fY4zqMbpDp
X-Google-Smtp-Source: AB8JxZrfGV5xkyZJGuQ/tiwvvRqiubZHaaMZFy3r7waNHKJpCccgvVBbmOvqXAak/hymZshta6h9Yg==
X-Received: by 2002:a1c:130d:: with SMTP id 13-v6mr7349863wmt.109.1526748229889; Sat, 19 May 2018 09:43:49 -0700 (PDT)
Received: from [192.168.2.112] ([213.90.79.148]) by smtp.googlemail.com with ESMTPSA id y11-v6sm470312wrc.93.2018.05.19.09.43.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 May 2018 09:43:48 -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>
From: Thomas Stach <thomass.stach@gmail.com>
Message-ID: <1e39df6e-0778-910f-87ab-3d5b74305e57@gmail.com>
Date: Sat, 19 May 2018 18:43:47 +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: <7594FB04B1934943A5C02806D1A2204B72EDF36B@ESESSMB109.ericsson.se>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/nj6N1H1dklCQPTUlmH5QTfesuxU>
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: Sat, 19 May 2018 16:43:54 -0000

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.

Regards
Thomas

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
>