Re: [MMUSIC] Questions about ICE candidates with BUNDLE - suggested text

Christer Holmberg <christer.holmberg@ericsson.com> Mon, 22 February 2016 20:18 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C3FA21A1A6D for <mmusic@ietfa.amsl.com>; Mon, 22 Feb 2016 12:18:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
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 efYHTxmzsrd2 for <mmusic@ietfa.amsl.com>; Mon, 22 Feb 2016 12:18:28 -0800 (PST)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E8DB01A1A4A for <mmusic@ietf.org>; Mon, 22 Feb 2016 12:18:27 -0800 (PST)
X-AuditID: c1b4fb30-f79a76d000000a93-14-56cb6d126bfb
Received: from ESESSHC006.ericsson.se (Unknown_Domain [153.88.183.36]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id 69.0A.02707.21D6BC65; Mon, 22 Feb 2016 21:18:26 +0100 (CET)
Received: from ESESSMB209.ericsson.se ([169.254.9.73]) by ESESSHC006.ericsson.se ([153.88.183.36]) with mapi id 14.03.0248.002; Mon, 22 Feb 2016 21:18:24 +0100
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>, Roman Shpount <roman@telurix.com>
Thread-Topic: [MMUSIC] Questions about ICE candidates with BUNDLE - suggested text
Thread-Index: AdFtWOeeQ/zW0OtpRAOrN5PglHqZIwARgwCAAAGPWoAAAi4CAA==
Date: Mon, 22 Feb 2016 20:18:23 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B37E35FDF@ESESSMB209.ericsson.se>
References: <7594FB04B1934943A5C02806D1A2204B37E3054E@ESESSMB209.ericsson.se> <CAD5OKxvOtCSRc-H763pi5BKqwubp8rhQBeJs_odOx=03PKj1Lw@mail.gmail.com> <56CB6C0B.1020209@alum.mit.edu>
In-Reply-To: <56CB6C0B.1020209@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.148]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJIsWRmVeSWpSXmKPExsUyM2K7iq5Q7ukwg6MbBSymLn/MYrFiwwFW i2vLX7NazLgwldmBxePv+w9MHgs2lXosWfKTyePWlIIAligum5TUnMyy1CJ9uwSujEkfHrEU /Eqs+Db1FUsD4474LkZODgkBE4l9X2axQdhiEhfurQeyuTiEBA4zSvzefJkdwlnMKPF63VWW LkYODjYBC4nuf9ogDSIC3hIT5q8Ga2YW6GaUaP8vAGILCwRLXO/ezAZREyKxePppZgjbSaK5 o4kdxGYRUJXoX/0YrIZXwFfi1t7nrBC7tjFKtLY+YwFJcAroSMxd+YcRxGYEuu77qTVMEMvE JW49mc8EcbWAxJI955khbFGJl4//sULYShKNS56wgtzMLKApsX6XPkSrosSU7ofsEHsFJU7O fMIygVFsFpKpsxA6ZiHpmIWkYwEjyypG0eLU4qTcdCMjvdSizOTi4vw8vbzUkk2MwAg7uOW3 wQ7Gl88dDzEKcDAq8fBuiDodJsSaWFZcmXuIUYKDWUmENzUGKMSbklhZlVqUH19UmpNafIhR moNFSZx3tfP6MCGB9MSS1OzU1ILUIpgsEwenVANj3p/1hQIfd786uuHTySvfA8u2RT94y5fU rJh2nlUnTsl5wpMFscdeczA5xmyZ/F3YKM7a+LqH4bI9BV/uca77+yEsdUlB84Vg04lH5YUS t1vyse1lF12erM/wN1/jaOR+VdtVu5yENf3MpCQzjNbei05lVvt6zfeRjfyUxs5ne6ZsP/P0 /ubbSizFGYmGWsxFxYkAbopGPqwCAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/YE-XzSNGf5x4RWdXgBnWw47-ozw>
Cc: Ari Keränen <ari.keranen@ericsson.com>, "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [MMUSIC] Questions about ICE candidates with BUNDLE - suggested text
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
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, 22 Feb 2016 20:18:31 -0000

Hi Paul,

I am trying to follow the same style as BUNDLE in general. Yes, I know it's messy, and I've lost count of the number of times I've had to re-write everything, but I am not going to do it again. 

Now, I did put together the new ICE text rather quickly, so there may be some mistakes, though.

Regards,

Christer

-----Original Message-----
From: Paul Kyzivat [mailto:pkyzivat@alum.mit.edu] 
Sent: 22 February 2016 22:14
To: Roman Shpount <roman@telurix.com>; Christer Holmberg <christer.holmberg@ericsson.com>
Cc: mmusic@ietf.org; Peter Thatcher <pthatcher@google.com>; Ari Keränen <ari.keranen@ericsson.com>
Subject: Re: [MMUSIC] Questions about ICE candidates with BUNDLE - suggested text

Christer,

[I'm replying to Christer, not Roman. For some reason I can't find Christer's original message in my email.]

This generally seems good to me. I noticed one thing:

While I understand the intent, you are using "associate", "associates" 
or "associated" in multiple ways, that may be confusing to some readers. 
E.g.:

    o  Among bundled "m=" lines with which the offerer has associated a
       shared address, the offerer only associates ICE-related media-
       level SDP attributes with the "m=" line associated with the
       offerer BUNDLE-tag.
...
    NOTE: The bundle-only "m=" line, if accepted by the answerer, will
    inherit the candidates associated with the selected offerer BUNDLE
    address.  An answerer that does not support BUNDLE would not accept a
    bundle-only "m=" line.
...
    When an offerer or answerer associates a shared address (i.e. a
    previously selected BUNDLE address) with one or more bundled "m="
    lines, the offerer (or answerer) MUST only associate SDP 'candidate'
    attributes with the "m=" line associated with the offerer BUNDLE-tag
    (or the answerer BUNDLE-tag) address).  The offerer or answerer MUST
    NOT associate 'candidiate' attributes with any other bundled "m="
    line to which the offerer (or answerer) associates a shared address.
...
    When an offerer receives an answer, if the answerer supports and uses
    the ICE mechanism and the BUNDLE extension, the offerer MUST
    associate the same ICE candidates, associated with the "m=" line
    representing the offerer BUNDLE address (selected by the answerer),
    with each bundled "m=" line.

So, which one of these things is not like the others? (This is a game we play with kids. Do they do it in Sweden too?)

In most cases this is talking about where you put things in the SDP. But the last one above isn't that - it is about the implementation taking data from the answer and using it to update internal data structures.

I don't have a specific suggestion for improving it. But I think it would be good to use someting other that "associate" in this case. I
*think* it is the only place where it is used this way.

	Thanks,
	Paul


On 2/22/16 2:29 PM, Roman Shpount wrote:
> On Mon, Feb 22, 2016 at 5:10 AM, Christer Holmberg 
> <christer.holmberg@ericsson.com 
> <mailto:christer.holmberg@ericsson.com>>
> wrote:
>
>     Assuming we will only associated ICE candidates to the “m=” line
>     associated with the offerer/answerer BUNDLE-tag, below is a first
>     suggested of modified ‘ICE Considerations’ text:
>
>     __ __
>
>     -----------------------____
>
>     __ __
>
>     11.  ICE Considerations____
>
>     __ __
>
>     11.1.  General____
>
>     __ __
>
>         This section describes how to use the BUNDLE grouping 
> extension____
>
>         together with the Interactive Connectivity Establishment 
> (ICE)____
>
>         mechanism [RFC5245].____
>
>     __ __
>
>         The generic procedures for negotiating usage of ICE using 
> SDP,____
>
>         defined in [I-D.ietf-mmusic-ice-sip-sdp], also apply to usage of
>     ICE____
>
>         with BUNDLE, with the following exceptions:____
>
>     __ __
>
>         o  When BUNDLE addresses for a BUNDLE group have been selected
>     for____
>
>            both endpoints, ICE connectivity checks and keep-alives only
>     need____
>
>            to be performed for the whole BUNDLE group, instead of per
>     bundled____
>
>            "m=" line.____
>
>     __ __
>
>         o  Among bundled "m=" lines with which the offerer has
>     associated a____
>
>            shared address, the offerer only associates ICE-related
>     media-____
>
>            level SDP attributes with the "m=" line associated with 
> the____
>
>            offerer BUNDLE-tag.____
>
>     __ __
>
>         o  Among bundled "m=" lines with which the answerer has
>     associated a____
>
>            shared address, the answerer only associates ICE-related
>     media-____
>
>            level SDP attributes with the "m=" line associated with 
> the____
>
>            answerer BUNDLE-tag.____
>
>     __ __
>
>         Support and usage of ICE mechanism together with the BUNDLE
>     extension____
>
>         is OPTIONAL.____
>
>     __ __
>
>     11.2.  SDP Offer/Answer Procedures____
>
>     __ __
>
>     11.2.1.  General____
>
>     __ __
>
>         When an offerer associates a unique address with a bundled "m="
>     line____
>
>         (excluding any bundle-only "m=" line), it MUST also associate
>     unique____
>
>         ICE candidates to the "m=" line, according to the procedures 
> in____
>
>         [I-D.ietf-mmusic-ice-sip-sdp].____
>
>     __ __
>
>         An offerer MUST NOT associate ICE candidates with a bundle-only
>     "m="____
>
>         line with a zero port value.____
>
>     __ __
>
>         NOTE: The bundle-only "m=" line, if accepted by the answerer,
>     will____
>
>         inherit the candidates associated with the selected offerer
>     BUNDLE____
>
>         address.  An answerer that does not support BUNDLE would not
>     accept a____
>
>         bundle-only "m=" line.____
>
>     __ __
>
>         When an offerer or answerer associates a shared address (i.e. 
> a____
>
>         previously selected BUNDLE address) with one or more bundled
>     "m="____
>
>         lines, the offerer (or answerer) MUST only associate SDP
>     'candidate'____
>
>         attributes with the "m=" line associated with the offerer
>     BUNDLE-tag____
>
>         (or the answerer BUNDLE-tag) address).  The offerer or answerer
>     MUST____
>
>         NOT associate 'candidiate' attributes with any other bundled
>     "m="____
>
>         line to which the offerer (or answerer) associates a shared
>     address.____
>
>         This also apply to any other ICE-related media-level SDP
>     attribute.____
>
>     __ __
>
>         NOTE: The following ICE-related media-level SDP attributes 
> are____
>
>         defined in [I-D.ietf-mmusic-ice-sip-sdp]: 'candidiate', 
> 'remote-____
>
>         candidates', 'ice-mismatch', 'ice-ufrag', 'ice-pwd', and 
> 'ice-____
>
>         pacing'.____
>
>     __ __
>
>     11.2.2.  Generating the Initial SDP Offer____
>
>     __ __
>
>         When an offerer generates an initial offer, it associates unique
>     ICE____
>
>         candidates with the bundled "m=" lines, according to Section
>     11.2.1.____
>
>     __ __
>
>     11.2.3.  Generating the SDP Answer____
>
>     __ __
>
>         When an answerer generates an answer that contains a BUNDLE
>     group,____
>
>         the answerer MUST only associate SDP 'candidate' attributes 
> (and____
>
>         other ICE-related media-level SDP attributes) with the "m=" 
> line____
>
>         associated with the answerer BUNDLE-tag.____
>
>     __ __
>
>     11.2.4.  Offerer Processing of the SDP Answer____
>
>     __ __
>
>         When an offerer receives an answer, if the answerer supports and
>     uses____
>
>         the ICE mechanism and the BUNDLE extension, the offerer 
> MUST____
>
>         associate the same ICE candidates, associated with the "m=" 
> line____
>
>         representing the offerer BUNDLE address (selected by the
>     answerer),____
>
>         with each bundled "m=" line.____
>
>     __ __
>
>     11.2.5.  Modifying the Session____
>
>     __ __
>
>         When an offerer generates a subsequent offer, it associates
>     unique or____
>
>         shared ICE candidates with the bundled "m=" lines, according 
> to____
>
>         (Section 11.2.1).____
>
>
>
> I am not 100% sure about what exactly is meant by ICE candidate being 
> associated with an m= line. Does this mean ICE candidate is created 
> for this m= line and "candidate" SDP attribute is included in this m= line?
>
> Overall the text is good, but I would explicitly replace "ICE 
> candidates" with "ICE candidates or any other ICE-related media-level 
> SDP attributes" to avoid any potential confusion. This will also make 
> the phrase "This also apply to any other ICE-related media-level SDP 
> attribute" unnecessary.
> _____________
> Roman Shpount