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

Justin Uberti <juberti@google.com> Thu, 24 July 2014 03:12 UTC

Return-Path: <juberti@google.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 CE38B1A0B07 for <mmusic@ietfa.amsl.com>; Wed, 23 Jul 2014 20:12:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.379
X-Spam-Level:
X-Spam-Status: No, score=-1.379 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001, 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 ssBou39MwIsC for <mmusic@ietfa.amsl.com>; Wed, 23 Jul 2014 20:12:46 -0700 (PDT)
Received: from mail-vc0-x230.google.com (mail-vc0-x230.google.com [IPv6:2607:f8b0:400c:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B6A3E1A03C1 for <mmusic@ietf.org>; Wed, 23 Jul 2014 20:12:45 -0700 (PDT)
Received: by mail-vc0-f176.google.com with SMTP id id10so3871834vcb.7 for <mmusic@ietf.org>; Wed, 23 Jul 2014 20:12:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=SgmJxxHsb8OaFeeZmALsC9ZfiquakSuAU1WKg+zSO2o=; b=ASlj9xp75N+NbBmco20Vd2W/bkI61yXLtSlZSIIY5D1Ta67ZcfuDyC41opILG4KfXX pJX0XwxwPLreMg7Px+dIqAPb/2mvYbHTAGgKYK0K5SSnoFHvgyVxc7eNUm/jf6Q/lRZ6 HcfSp1XCdEqF5I0QBCxM/OZQhzMcZRRBp5aezMwiJRzAw3qJ0qjDPGL8lWCjcW6D/2Qp rJuibo/z+ZAdENWnRTgOZL0Paey3Ug//LF5EDHv71PPGNsq8CNd2mgT62IzW4ZIEAXHU 43k0uvrTZQWHSLVfvxMUk+bpVgI5e4abuKsYXUpUD1ZDBzcYBTpIrhT08cD5ZhnZXBFF 0OOw==
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; bh=SgmJxxHsb8OaFeeZmALsC9ZfiquakSuAU1WKg+zSO2o=; b=drr2IG9cfJWlGamafnDLEdyMHOWWDpLE4yJgNyX6r760avyWJfaukQo8qtf5xjl82g hv/BCHZ7ycWoXGWUp2/ngXi15nVU8O/fFddPl9VWKlObKnFChUZXh8CBGv7DETzxUsQC 7lrXoEeFtM6+V26UgPxn8DMF6PLo6ZxZTn2lhZEKPD34+4OJ/rE4v2Dm7WesqCaU9vme /seuZah4hV0CYbn7v/QhcnegmbxjpBaMHlMaKOVZwHlK+1ruDK0XeNQElIrD3luWbwxn 0qgHRXIwPpp4rSbcovFbn+IDskVOqzbNq79FmPVAdkhKM37koSwPVfbGXBH2YePY1V5T PGYA==
X-Gm-Message-State: ALoCoQlMj6JfWkudSYUZ+pBrqw0sIrJb36iviZpCABJsu5r7ohTnIsDAKAoOkFai0cT5sSP5rsdW
X-Received: by 10.220.94.135 with SMTP id z7mr7977221vcm.46.1406171564658; Wed, 23 Jul 2014 20:12:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.4.70 with HTTP; Wed, 23 Jul 2014 20:12:24 -0700 (PDT)
In-Reply-To: <011401cfa6d8$378084f0$a6818ed0$@co.in>
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> <011401cfa6d8$378084f0$a6818ed0$@co.in>
From: Justin Uberti <juberti@google.com>
Date: Wed, 23 Jul 2014 23:12:24 -0400
Message-ID: <CAOJ7v-0hcqOQdzkJOtCZi2DoRsh2DaDCcA2Lp_GQ3U9Yj_Jy5g@mail.gmail.com>
To: Parthasarathi R <partha@parthasarathi.co.in>
Content-Type: multipart/alternative; boundary="001a11c1e4889af43004fee7d4d4"
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/lw1TM3dMDrl-FKCQRpC9Xy-pncs
Cc: Ari Keränen <ari.keranen@ericsson.com>, 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 03:12:48 -0000

It is important to understand that this proposed approach doesn't change
the interactions with signaling at all.

Currently, when doing regular nomination, the CONTROLLING can use its own
policy to decide which active candidate pair to use, as is described in
RFC5245, S 8.1.1.1. This is not possible when doing aggressive nomination.
The solution I am proposing fixes this issue.


On Wed, Jul 23, 2014 at 8:42 PM, Parthasarathi R <partha@parthasarathi.co.in
> wrote:

> Hi Emil,
>
> It is better to handle through signaling as it provides to flexibility in
> the application (like forking usecase). In case of pushing the intelligence
> within ICE will just move the portion of the signaling to ICE in case the
> application is required to know.
>
> Please note that the signaling protocol which choose not to indicate it
> based on the specific signaling protocol design.
>
> Thanks
> Partha
>
> > -----Original Message-----
> > From: mmusic [mailto:mmusic-bounces@ietf.org] On Behalf Of Emil Ivov
> > Sent: Thursday, July 24, 2014 3:58 AM
> > To: Ari Keränen
> > Cc: mmusic
> > Subject: Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245bis
> >
> >
> >
> > On 23.07.14, 18:21, Ari Keränen wrote:
> > > On 7/23/14 6:00 PM, Emil Ivov wrote:
> > >>
> > >>
> > >> On 23.07.14, 12:30, Ari Keränen wrote:
> > >>> On 7/22/14 7:12 PM, Emil Ivov wrote:
> > >>>>
> > >>>> On 22 Jul 2014 6:11 PM, "Ari Keränen" <ari.keranen@ericsson.com
> > >>>> <mailto:ari.keranen@ericsson.com>> wrote:
> > >>>>  >
> > >>>>  > On 7/22/14 11:06 AM, Emil Ivov wrote:
> > >>>>  >>
> > >>>>  >> On 22.07.14, 11:02, Ari Keränen wrote:
> > >>>>  >>>
> > >>>>  >>> Hi,
> > >>>>  >>>
> > >>>>  >>> On 7/21/14 4:45 PM, Emil Ivov wrote:
> > >>>>  >>>>
> > >>>>  >>>> In London we mentioned the option of adding a new attribute
> > that,
> > >>>> during
> > >>>>  >>>> aggressive nomination, the controlling agent can use to
> > notify
> > >>>> its
> > >>>> peer
> > >>>>  >>>> that ICE processing is over and no more changes are going to
> > be
> > >>>>  >>>> attempted. This way controlled agents will no they can now
> > >>>> release
> > >>>>  >>>> resources.
> > >>>>  >>>>
> > >>>>  >>>> This could either be a new attribute (e.g.,
> > >>>> USE-CANDIDATE-CONFIRMED) or,
> > >>>>  >>>> as Justin suggested in an off-list discussion, we could have
> > the
> > >>>>  >>>> controlling agent send a second USE-CANDIDATE once
> > aggressive
> > >>>> nomination
> > >>>>  >>>> converges.
> > >>>>  >>>
> > >>>>  >>>
> > >>>>  >>> Did you consider using the updated offer to indicate that
> > you're
> > >>>> really
> > >>>>  >>> done? This would require that you always send it (i.e., a
> > slight
> > >>>>  >>> modification to 5245), but that's something that has been
> > already
> > >>>>  >>> proposed to be updated for other purposes.
> > >>>>  >>
> > >>>>  >>
> > >>>>  >> The point is to have all that information without involving
> > >>>> signalling,
> > >>>>  >> as is the case with regular nomination.
> > >>>>  >>
> > >>>>  >> Let me ask the question the other way. Is there any reason not
> > >>>> to do
> > >>>> this?
> > >>>>  >
> > >>>>  >
> > >>>>  > Just the usual: are the benefits higher than the added
> > complexity.
> > >>>> Here, depending how it's done, the added complexity should be
> > fairly
> > >>>> low
> > >>>> though.
> > >>>>
> > >>>> The complexity of having to handle that over signalling and the
> > need to
> > >>>> implement it on every sig protocol that ever dares to use ICE is
> > >>>> arguably much higher than that of an extra attribute
> > >>>
> > >>> Actually I meant the complexity of implementing something like
> > this, and
> > >>> why to do/not to do this (in any way).
> > >>
> > >> Yes, so did I. We are talking about the "complexity" of adding one
> > ICE
> > >> attribute as opposed to intertwining the states of ICE and
> > signalling
> > >> and making them dependent on each other.
> > >>
> > >>>>  > 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.
> >
> > 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.
> >
> > Emil
> >
> > --
> > https://jitsi.org
> >
> > _______________________________________________
> > 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
>