Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245bis

Ari Keränen <ari.keranen@ericsson.com> Thu, 24 July 2014 14:03 UTC

Return-Path: <ari.keranen@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 12D0C1A033B for <mmusic@ietfa.amsl.com>; Thu, 24 Jul 2014 07:03:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.901
X-Spam-Level:
X-Spam-Status: No, score=-3.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, 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 QSFAgEmPunCs for <mmusic@ietfa.amsl.com>; Thu, 24 Jul 2014 07:03:31 -0700 (PDT)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 320931A0346 for <mmusic@ietf.org>; Thu, 24 Jul 2014 07:03:27 -0700 (PDT)
X-AuditID: c1b4fb2d-f798a6d000000e9b-c4-53d1122de80e
Received: from ESESSHC012.ericsson.se (Unknown_Domain [153.88.253.124]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 6D.6D.03739.D2211D35; Thu, 24 Jul 2014 16:03:25 +0200 (CEST)
Received: from mail.lmf.ericsson.se (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.56) with Microsoft SMTP Server id 14.3.174.1; Thu, 24 Jul 2014 16:03:23 +0200
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3]) by mail.lmf.ericsson.se (Postfix) with ESMTP id 30BC5110299; Thu, 24 Jul 2014 17:03:23 +0300 (EEST)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id C26C9589DC; Thu, 24 Jul 2014 17:03:35 +0300 (EEST)
Received: from dhcp-bcda.meeting.ietf.org (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 2944A589DB; Thu, 24 Jul 2014 17:03:35 +0300 (EEST)
Message-ID: <53D11228.1080201@ericsson.com>
Date: Thu, 24 Jul 2014 10:03:20 -0400
From: Ari Keränen <ari.keranen@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Emil Ivov <emcho@jitsi.org>
References: <53CD7C04.8070106@jitsi.org> <53CE7D0A.4030406@ericsson.com> <53CE7DDD.5030406@jitsi.org> <53CEE1A7.7070202@ericsson.com> <CAPvvaaKohXq8cZjUaQR6VvhHZ+Lkzzk2sQUn+iwSp_H1W6qaSA@mail.gmail.com> <53CFE322.5000508@ericsson.com> <53D03077.5080103@jitsi.org> <53D03578.5020301@ericsson.com> <53D036F1.8070504@jitsi.org>
In-Reply-To: <53D036F1.8070504@jitsi.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGLMWRmVeSWpSXmKPExsUyM+Jvja6u0MVgg6cTFSzW7JzAYjF1+WMW ByaPJUt+Mnn8fxMYwBTFZZOSmpNZllqkb5fAldFzUr1gr1DFzHNWDYwf+boYOTkkBEwktq1f wQhhi0lcuLeeDcQWEjjKKPFpSUYXIxeQvYFRYuX1bSwQzl5Gic//PkA56xglXm7vYIJzFiw4 zwrSzyugLTFr11Z2EJtFQFVi5ornLCA2m4CtxOpXN8FsUYFkiTVbJ7FD1AtKnJz5BCwuIiAv 0d22iAnEZhaQkZhxthHMFhawkVjRvI4ZYtkRJomFM5rAlnEKaEp8fv+PGaLBQmLxm4PsELa8 xPa3c5ghnlOTuHpuEzPEc6oSV/+9YpzAKDoLye5ZSNpnIWlfwMi8ilG0OLW4ODfdyFgvtSgz ubg4P08vL7VkEyMwIg5u+a27g3H1a8dDjAIcjEo8vA/2nw8WYk0sK67MPcQozcGiJM676Ny8 YCGB9MSS1OzU1ILUovii0pzU4kOMTBycUg2MAd2vE+dM7Jn2kMdDf6+Z4tWzkUs6hSICCzUa WBIzNCLvetg6/N647EezW1vVuef9+RWl7i1Om7pvVfX5H7w78dEz/e3LkpZeZ9f0dnmTda3j +/lTtQJ/Jt3uFZ2ovc/feF55R9gTwz6ejdzCex5s21Jqv/9Be65iat2TPGYvpeiSbR/DH2op sRRnJBpqMRcVJwIAgQqMamkCAAA=
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/_jM_QhD3yuD_m-emHVXPeH85q2c
Cc: mmusic <mmusic@ietf.org>
Subject: Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245bis
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Jul 2014 14:03:33 -0000

On 7/23/14 6:28 PM, Emil Ivov wrote:
>>>>>  > For the benefits, currently with SIP you are allowed to release the
>>>>> not selected candidate resources after 3 seconds from concluding ICE
>>>>> (http://tools.ietf.org/html/rfc5245#section-8.3.1).
>>>>>
>>>>> And that is the whole point because currently with aggressive
>>>>> nomination
>>>>> you simply don't know exactly when ICE has concluded.
>>>>
>>>> So if you assume aggressive ICE has concluded after you've got your
>>>> first USE-CANDIDATE checks done (as the text currently says), and you
>>>> stop doing keep-alives on all except the selected candidate pair and
>>>> let
>>>> your relayed and reflexive candidates die away. You still have some
>>>> time
>>>> to switch between the candidates since the candidates are still alive
>>>> for at least some (tens of?) seconds. Isn't that OK?
>>>
>>> If I assume ICE has concluded after my *first* USE-CANDIDATE and let
>>> everything die away then, with aggressive nomination, how am I ever
>>> going to get a second?
>>
>> It takes a while before your server reflexive and relayed candidates die
>> out so you have some time to get more checks through. Of course you
>> shouldn't close the local sockets immediately. However, if you want to
>> do that considerably (> tens of second) later, and perhaps multiple
>> times, it may get more complicated (something like mobility with ICE).
>
> These are exactly the kinds of hacks that implementations try to do
> today. Magic timers and proprietary logic. This is exactly what I was
> hoping we could remove by replicating the same feature in aggressive
> that we already have for regular nomination. As Justin put it:  giving a
> way to the controlling agent to communicate it's selection to the
> controlled.

We could of course recommend some values on how long to wait to take 
away some of the magic.

> It simply doesn't make sense not to have it and it would simplify things
> a lot so the argument "it would add complexity" doesn't really hold.

Makes sense. I'm still wondering what's the best way to do this though.

Would the semantics of the new attribute be "I'm no longer trying to 
find better candidate pairs; use the highest priority with 
USE-CANDIDATE" or "don't use the highest priority pair but use X", or 
something else?


Cheers,
Ari