Re: [rtcweb] JSEP issue regarding TRANSPORT/IDENTICAL mux category attributes

Christer Holmberg <christer.holmberg@ericsson.com> Fri, 07 April 2017 18:05 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 12DA6129531 for <rtcweb@ietfa.amsl.com>; Fri, 7 Apr 2017 11:05:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.219
X-Spam-Level:
X-Spam-Status: No, score=-4.219 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 bFxwDBP5Pu2l for <rtcweb@ietfa.amsl.com>; Fri, 7 Apr 2017 11:05:10 -0700 (PDT)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (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 BD6431296CE for <rtcweb@ietf.org>; Fri, 7 Apr 2017 11:04:57 -0700 (PDT)
X-AuditID: c1b4fb30-ea83298000006667-0b-58e7d4c7e60d
Received: from ESESSHC011.ericsson.se (Unknown_Domain [153.88.183.51]) by (Symantec Mail Security) with SMTP id 81.C0.26215.7C4D7E85; Fri, 7 Apr 2017 20:04:55 +0200 (CEST)
Received: from ESESSMB102.ericsson.se ([169.254.2.218]) by ESESSHC011.ericsson.se ([153.88.183.51]) with mapi id 14.03.0339.000; Fri, 7 Apr 2017 20:04:54 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Taylor Brandstetter <deadbeef@google.com>
CC: "rtcweb@ietf.org" <rtcweb@ietf.org>, "draft-ietf-rtcweb-jsep.all@tools.ietf.org" <draft-ietf-rtcweb-jsep.all@tools.ietf.org>
Thread-Topic: [rtcweb] JSEP issue regarding TRANSPORT/IDENTICAL mux category attributes
Thread-Index: AQHSr36eMjMyAXrC2UmT2mQyg8/5uKG6CFGAgAA57/A=
Date: Fri, 07 Apr 2017 18:05:25 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B4CB5A243@ESESSMB102.ericsson.se>
References: <D50D32D2.1AB0F%christer.holmberg@ericsson.com> <CAK35n0Z2kBKmu_0MciAD3sZsjBhQLE2_TAeE1ZhHnUwmhvaa3g@mail.gmail.com>
In-Reply-To: <CAK35n0Z2kBKmu_0MciAD3sZsjBhQLE2_TAeE1ZhHnUwmhvaa3g@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.148]
Content-Type: multipart/alternative; boundary="_000_7594FB04B1934943A5C02806D1A2204B4CB5A243ESESSMB102erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprLIsWRmVeSWpSXmKPExsUyM2K7se7xK88jDDrmmlpcXvGQ1WLP9o/s Fmv/tbM7MHss2FTqsWTJTyaPL5c/swUwR3HZpKTmZJalFunbJXBlXJ7dylowYQVjxZLmi6wN jFcWM3YxcnJICJhIPNyzgbWLkYtDSGA9o8SMn++ZQRJCAosZJS7sL+li5OBgE7CQ6P6nDRIW EdCVuPl1IRtIPbNAC6NE/9tJzCA1wgIREqsP2ELUREpcnvOXEcK2kuj9sBCshEVAReLGVjGQ MK+Ar8SRvz1sEGubGCVuzOtmA0lwCgRKNF2fCGYzCohJfD+1hgnEZhYQl7j1ZD4TxM0CEkv2 nGeGsEUlXj7+xwphK0k0LnnCClGfL/Fx2lV2iGWCEidnPmGZwCgyC8moWUjKZiEpmwV0KrOA psT6XfoQJYoSU7ofskPYGhKtc+ayI4svYGRfxShanFqclJtuZKSXWpSZXFycn6eXl1qyiREY aQe3/DbYwfjyueMhRgEORiUe3oTZzyOEWBPLiitzDzFKcDArifAe2AEU4k1JrKxKLcqPLyrN SS0+xCjNwaIkzuu470KEkEB6YklqdmpqQWoRTJaJg1OqgXHrObndaSK8pjpNyyNq5W9fTWdm 1H6a68W0PMGSiT+veev3+Mtvj96KkT7yZ1vZRCubQzZBf07ZZHLouHXUKzSmSR6vKXRyaHCJ X5Fad4sj/eJjIyv9vdNTsjyvTf/k+CQyiD99rUzxYrb5gonNQY5Cn95MUjC5d3m7r4f0vO2T gmfzc/1qVWIpzkg01GIuKk4EAGJ+irqwAgAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/-kqdCnLfk_tkjjSAY7n4BCwsnNE>
Subject: Re: [rtcweb] JSEP issue regarding TRANSPORT/IDENTICAL mux category attributes
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Apr 2017 18:05:13 -0000

Hi,

>The suggestion to change "specifies that attributes... should not be repeated" to "specifies when attributes ... MUST not be repeated" sounds
>good to me. The actual "when" is described in more detail in the following paragraphs.

I don’t think we should describe the “when” in JSEP – at least not using RFC 2119 terminology. We should reference the “Mux considerations” section in BUNDLE. I have created a BUNDLE PR that (among other things) clarifies the “when” within that section.

https://github.com/cdh4u/draft-sdp-bundle/pull/33/commits/9d3d02d04ca036e2b128d760b61c73e5dd1a0a48

JSEP also contains the following statement (and a number of similar statements):

   “The following attributes, which are of category IDENTICAL or
   TRANSPORT, MUST appear only in "m=" sections which either have a
   unique address or which are associated with the bundle-tag.”

While correct, I again think we should either reference to BUNDLE for the “when”, OR say something like “According to BUNDLE, the following attributes, which…”.

That way, if something for whatever reason changes in BUNDLE, JSEP will automatically be aligned.

Regards,

Christer



On Fri, Apr 7, 2017 at 2:09 AM, Christer Holmberg <christer.holmberg@ericsson.com<mailto:christer.holmberg@ericsson.com>> wrote:
Hi,

I have found an issue in JSEP.

Section 5.2.1 says:


   "Each m= section, provided it is not marked as bundle-only, MUST

   generate a unique set of ICE credentials and gather its own unique

   set of ICE candidates.  Bundle-only m= sections MUST NOT contain any

   ICE credentials and MUST NOT gather any candidates.”

…and:

   "[I-D.ietf-mmusic-sdp-mux-attributes] groups SDP attributes into

   different categories.  To avoid unnecessary duplication when

   bundling, Section 8.1 of [I-D.ietf-mmusic-sdp-bundle-negotiation]

   specifies that attributes of category IDENTICAL or TRANSPORT should

   not be repeated in bundled m= sections."


First, the two paragraphs contradict each other, because the ICE credentials (SDP ‘ice-ufrag’, ice-pwd’ etc attributes) are of TRANSPORT category.

Second, according to BUNDLE, IDENTICAL/TRANSPORT category attributes are not duplicated if the m- section 1) contains a shared address (BUNDLE address) or 2) is bundle-only.
If the m- line contains a unique address, which is common in the initial offer, attributes need to be associated with each m- line. However, the text does not address that.

I think the easiest way to fix it is by simply s/“specifies that attributes”/ “specifies WHEN attributes”.

…and change “should not” to “must not”.

Regards,

Christer



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