Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245bis
Emil Ivov <emcho@jitsi.org> Thu, 24 July 2014 14:21 UTC
Return-Path: <emcho@sip-communicator.org>
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 9AE861A016C for <mmusic@ietfa.amsl.com>; Thu, 24 Jul 2014 07:21:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.679
X-Spam-Level:
X-Spam-Status: No, score=-1.679 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=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 4Vmmf3UjJiJC for <mmusic@ietfa.amsl.com>; Thu, 24 Jul 2014 07:21:24 -0700 (PDT)
Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D74761A0142 for <mmusic@ietf.org>; Thu, 24 Jul 2014 07:21:21 -0700 (PDT)
Received: by mail-vc0-f176.google.com with SMTP id id10so4986853vcb.35 for <mmusic@ietf.org>; Thu, 24 Jul 2014 07:21:18 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=7sDDHVsD0OrvEiqSgpVVlgJWnYI1jnG1mr/JD0f+VYA=; b=lbzgbsXXAI070MuOUzaPlx24DZGGob53hFDPzEF5ZcSL0ScpZTPvkiPw4y4yisLm5+ ph4NteA9e9v5ReULl6zYm/2d2vRbxfizyWtlbmTzPaEDysjnll6Plf3fijCNgDuPTD6i kuKd/kU3v9iR32cg2EWJ14UrepFFHKeIloMLbPmI8/D63MoTYvrXRgYN4IgBatHGRoP3 i0od7jRZA292VpiENiJwiXwkTQp1C3Dzoh+aEIkxIUfe/OMQo8nUwuZsIQCI7ih70hTG 9PJesDtc/mqLICfRKXExnGZ7/yevASVICtfSHpxtQrXNfGqId+yHrXnZAaoZMNvzFRvD kbFw==
X-Gm-Message-State: ALoCoQmA2zGnM5W4yx5YMdJ52HUEYA2yG2bmxr136sIDRZVKIbVTT1rGAngomhviiuCK1Xdxierf
X-Received: by 10.52.154.106 with SMTP id vn10mr10489516vdb.36.1406211678371; Thu, 24 Jul 2014 07:21:18 -0700 (PDT)
Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPSA id nu10sm10812999vdb.11.2014.07.24.07.21.18 for <mmusic@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Jul 2014 07:21:18 -0700 (PDT)
Received: by mail-vc0-f179.google.com with SMTP id hq11so5008226vcb.38 for <mmusic@ietf.org>; Thu, 24 Jul 2014 07:21:17 -0700 (PDT)
X-Received: by 10.221.44.69 with SMTP id uf5mr12942592vcb.4.1406211677939; Thu, 24 Jul 2014 07:21:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.238.75 with HTTP; Thu, 24 Jul 2014 07:20:57 -0700 (PDT)
In-Reply-To: <53D11228.1080201@ericsson.com>
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> <53D11228.1080201@ericsson.com>
From: Emil Ivov <emcho@jitsi.org>
Date: Thu, 24 Jul 2014 10:20:57 -0400
Message-ID: <CAPvvaaLMip-ObdXfWqOhqtm-WR1sEXo8g_bK4=A6L2LPY=9FuA@mail.gmail.com>
To: Ari Keränen <ari.keranen@ericsson.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/fkgMJf6rptv-8qCcD0GDXwmKunw
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:21:26 -0000
On Thu, Jul 24, 2014 at 10:03 AM, Ari Keränen <ari.keranen@ericsson.com> wrote: > 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? USE-CANDIDATE-CONFIRMATION (or whatever name we want) sounds like the most unambiguous and easy to implement option. I don't think priorities should play a role at this stage, just as they don't with regular nomination. Resending USE-CANDIDATE looks slightly more messy to me (especially when trying to make sense of wireshark traces) but it would still work. Emil -- https://jitsi.org
- [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245bis Emil Ivov
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Pal Martinsen (palmarti)
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Ari Keränen
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Emil Ivov
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Emil Ivov
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Ari Keränen
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Ari Keränen
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Justin Uberti
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Ari Keränen
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Justin Uberti
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Emil Ivov
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Ari Keränen
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Emil Ivov
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Iñaki Baz Castillo
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Parthasarathi R
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Justin Uberti
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Iñaki Baz Castillo
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Ari Keränen
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Ari Keränen
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Emil Ivov
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Iñaki Baz Castillo
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Emil Ivov
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Iñaki Baz Castillo
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Emil Ivov
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Iñaki Baz Castillo
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Emil Ivov
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Justin Uberti
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Iñaki Baz Castillo
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Iñaki Baz Castillo
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Iñaki Baz Castillo
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Justin Uberti
- Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245b… Iñaki Baz Castillo