Re: [MMUSIC] Faster ICE by role reversal?

Emil Ivov <emcho@jitsi.org> Fri, 07 November 2014 00:31 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 DFA871ACE2C for <mmusic@ietfa.amsl.com>; Thu, 6 Nov 2014 16:31:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.979
X-Spam-Level:
X-Spam-Status: No, score=-1.979 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-0.7, 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 artzVKBK2OcI for <mmusic@ietfa.amsl.com>; Thu, 6 Nov 2014 16:31:38 -0800 (PST)
Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 196151ACE2B for <mmusic@ietf.org>; Thu, 6 Nov 2014 16:31:37 -0800 (PST)
Received: by mail-pa0-f47.google.com with SMTP id kx10so2325916pab.6 for <mmusic@ietf.org>; Thu, 06 Nov 2014 16:31:37 -0800 (PST)
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=mG4/gK9waVdan98KUBVUNooC9Dj4zCZhI7rEVTFrrwE=; b=bPOnGoxBL/eJ3okRFkzZGVwgbvXtq6qwVwLbQWkLR9otaNBDN8A9afOQE6mno4FSVF u1Jus8KXbdDMm2sC5V0GLlV0M3eqLG7l+v4jQh8rVOUjVHmFHQveTyHSnu3vylfg8KQW OGNj85oec6/nQQbq1wEJ6E/KwcOl0q3BR9FvVUTjUdDq/7mxyLhNrLVZNJl37Q1Qt8MP gXGFljJXxKggEVOkssvkgqQWDzgJ8/2q6icnGnZyzarYcUCu/Ogy6uSCuXotz/RJ0WSz vbdT4lgDUJwUkf6FPpt0qW0yKnWeQK9yOQtE++z/K+oYthjU9sz/xHCYzjwqkRC2xYX7 Z+cA==
X-Gm-Message-State: ALoCoQmYqdx9LIW12E2pCdo5UFHsE83RXdbTSMg7s8PpGXgkhEMivBki0cM4yGwvKFuOfDYEvUrt
X-Received: by 10.70.56.103 with SMTP id z7mr5450755pdp.164.1415320297596; Thu, 06 Nov 2014 16:31:37 -0800 (PST)
Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com. [209.85.220.48]) by mx.google.com with ESMTPSA id qu6sm6885785pbc.92.2014.11.06.16.31.36 for <mmusic@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Nov 2014 16:31:36 -0800 (PST)
Received: by mail-pa0-f48.google.com with SMTP id ey11so2341102pad.21 for <mmusic@ietf.org>; Thu, 06 Nov 2014 16:31:36 -0800 (PST)
X-Received: by 10.66.194.39 with SMTP id ht7mr8023756pac.91.1415320296111; Thu, 06 Nov 2014 16:31:36 -0800 (PST)
MIME-Version: 1.0
Received: by 10.66.100.227 with HTTP; Thu, 6 Nov 2014 16:31:15 -0800 (PST)
In-Reply-To: <CABkgnnVCpRJUdKn34jsds1Dwe8nOA8uoJw4T35ogQ-LTtyb4Rg@mail.gmail.com>
References: <CABkgnnVrXKz-7M_Qn7pSZBxCJTdQYPDOcEzrEbbv6eYrQs1Dhg@mail.gmail.com> <67A963F0-3667-47A7-B116-4712BA1147AD@vidyo.com> <CABkgnnV+ARP5xC-z=3AshUObUX_m3uisLY6NcsgEZVq-1drU8Q@mail.gmail.com> <DD8DA86E-3C6A-44A7-B4E1-92CC0742369D@vidyo.com> <CAOJ7v-1OpbtEujbp4rZOnmOxXB2hoTfjtn5U_kR5wML5sXD_4Q@mail.gmail.com> <545911E9.3070300@ericsson.com> <CAOJ7v-2ikhh+2Y5avJOjR=86UikOfSo169k3jSvFsU=52o3+zw@mail.gmail.com> <CAOJ7v-1oS999xAd52ANcWfW98Dq7nPJV0=1Z5o9fPigFaT7+1w@mail.gmail.com> <CABkgnnVCpRJUdKn34jsds1Dwe8nOA8uoJw4T35ogQ-LTtyb4Rg@mail.gmail.com>
From: Emil Ivov <emcho@jitsi.org>
Date: Fri, 07 Nov 2014 01:31:15 +0100
Message-ID: <CAPvvaaKeozeL=M1MvmveR-jkptEcheVewBoV04jS5aN6ghb76A@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/lJH1SEUKQGJSSulFjDUkH5Is8K8
Cc: Jonathan Lennox <jonathan@vidyo.com>, Ari Keränen <ari.keranen@ericsson.com>, mmusic <mmusic@ietf.org>, Dan Wing <dwing@cisco.com>
Subject: Re: [MMUSIC] Faster ICE by role reversal?
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: Fri, 07 Nov 2014 00:31:40 -0000

On Fri, Nov 7, 2014 at 12:29 AM, Martin Thomson
<martin.thomson@gmail.com> wrote:
> On 6 November 2014 13:47, Justin Uberti <juberti@google.com> wrote:
>> I looked into how MICE works; I think that continuous nomination might be
>> able to effectively support that use case, as well as the case that Brandon
>> was interested in, namely picking the route that uses the best set of TURN
>> servers.
>
> I've always believe that continuous ICE operation was the only way to
> ensure proper reliability.  Multipath or otherwise.  You just need to
> work out when it is safe to completely stop on any given pair,
> assuming that you don't want to be testing the complete mesh all the
> time.  But you also might want multiple paths available, or maybe
> backup paths.

There are two aspects here:

1. Obtaining multiple valid paths as a result of ICE processing (and
leaving it up to apps to use one or more) and
2. Handling events where new candidates become available and need to
be communicated to the remote party.

"1" can definitely be very useful so that would be a great feature to
add to ICE.

I agree that, especially with mobiles, "2" is also important. That
said, what is the problem of doing this with Trickle ICE today?

Starting a new Trickle ICE negotiation is a very light-weight process.
It is basically a matter of sending a new ufrag/pwd pair.  It is also
a non-disruptive process as media continues during ICE processing and
failure results in falling back to whatever one had before.

Also note that, if new candidates appear as a result of mobility
event, it might be worth rechecking your previous pairs anyway because
some of them may have become invalid or, on the contrary, more
relevant.

On the other hand, having a clear "start" and "end" in ICE processing
also has value as it allows one to declare failure in a deterministic
way, as opposed to just waiting out magic timers.

I other words, I think we already have everything that is necessary
for continuous ICE operation, don't we?

Emil

-- 
https://jitsi.org