Re: [MMUSIC] Faster ICE by role reversal?

Emil Ivov <emcho@jitsi.org> Sun, 09 November 2014 21:23 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 C06FB1A8731 for <mmusic@ietfa.amsl.com>; Sun, 9 Nov 2014 13:23:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 XgcrEtPdHVpW for <mmusic@ietfa.amsl.com>; Sun, 9 Nov 2014 13:23:02 -0800 (PST)
Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ACE961A8729 for <mmusic@ietf.org>; Sun, 9 Nov 2014 13:23:01 -0800 (PST)
Received: by mail-wg0-f51.google.com with SMTP id l18so7263318wgh.24 for <mmusic@ietf.org>; Sun, 09 Nov 2014 13:23:00 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=hoyk3Gd+WdPacAmNPw3+dX6WKRFb57sKWOgzW97edjc=; b=O5M+hGN9c4lDxreM4AtPr4tGZP40oWybogqqPtga1ph3qmg7bmSNs7hOkXYJ8F0miW TIaJAgu5wTzSHediGhcSgpHjqTc4PTRPQSqyEIRuroBjCYUFeqwLPHWBKsyAige+ncef w34mceWtG7cn0oaDq2jH4UiXThY1Jw0XZaSAEmH8NCl4LBfVKMFyrjN/Wy87J7YChmRA kjfEd56HW3IzcVH36iJRGbhhU2nrW4zA9Vcso41SprorS0KICdVL/ZRa/ijtzQBQH/89 gas+HgtJhKzrWMLy26n8uEWZa+PbrKfbLAqxxSmyRzcwEgenfw6VcyeN2v/3H8CHq6mU 7uPA==
X-Gm-Message-State: ALoCoQkeiTSPCbRSjUXOhXsik5kdVhgjzm9+KAxHaL8jsfWfmuWx6gxhcbvOmYhnKpkk5HC/+uX/
X-Received: by 10.180.212.110 with SMTP id nj14mr24808231wic.45.1415568180221; Sun, 09 Nov 2014 13:23:00 -0800 (PST)
Received: from [192.168.1.21] (9.6.69.91.rev.sfr.net. [91.69.6.9]) by mx.google.com with ESMTPSA id s10sm10830102wix.14.2014.11.09.13.22.57 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 09 Nov 2014 13:22:58 -0800 (PST)
Message-ID: <545FDB2F.1090906@jitsi.org>
Date: Sun, 09 Nov 2014 22:22:55 +0100
From: Emil Ivov <emcho@jitsi.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>, Bernard Aboba <bernard_aboba@hotmail.com>
References: <CABkgnnVrXKz-7M_Qn7pSZBxCJTdQYPDOcEzrEbbv6eYrQs1Dhg@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> <CAPvvaaKeozeL=M1MvmveR-jkptEcheVewBoV04jS5aN6ghb76A@mail.gmail.com> <CABkgnnURgnkU+CWkCRzo2oKbV-pQnP0eLRZMouSNTWuk8TJ8+w@mail.gmail.com> <CAPvvaa+FKe+9FoegxCByAHj0d9aL2nLz10AK6HjX5Ao9PsgYMw@mail.gmail.com> <CABkgnnXUazQA6TWFDY=DPn6neoPbh5+=oUBW4cYjj_0dV0FaaA@mail.gmail.com> <CAOJ7v-13fyrkhyJQJvuGuWjHRFm9KO=-tQ7KLrFt0DW4U1K=RA@mail.gmail.com> <545EC85E.8000208@jitsi.org> <BLU406-EAS2743A5E6A5ADCEBF347F5C893830@phx.gbl> <CABkgnnXrdeQEkDme5D2LgkLPDAurPbidyVKJEm6rq+PER9uMmA@mail.gmail.com>
In-Reply-To: <CABkgnnXrdeQEkDme5D2LgkLPDAurPbidyVKJEm6rq+PER9uMmA@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/jDoPT_UDmUZJvNE8n47sKhu6dCU
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: Sun, 09 Nov 2014 21:23:05 -0000


On 9.11.14, 20:29, Martin Thomson wrote:
> On 9 November 2014 09:41, Bernard Aboba <bernard_aboba@hotmail.com> wrote:
>> For example, say two peers are initially on the same WiFi LAN so that host candidate checks work.  As a result, there is no reason for either peer to keep unused relay candidates. Media is flowing, then one peer senses WiFi signal strength decreasing so it brings up an LTE interface. While it can trickle the new host, srflx and relay candidates, the other peer no longer has functioning relay candidates so the checks could fail.  While the peer could have kept its LTE interface hot all along and used it to ensure that the other peer kept its relay candidates that would have a high cost in terms of energy usage.
>
>
> I think that this is the key problem.  And we need to start to
> concentrate on the properties that we are looking for, rather than
> looking dogmatically at one solution or other.  We need clear rules
> (or an acknowledgment that there is a policy decision) around when a
> given candidate can be released.  We probably also need rules or
> mechanisms to support a reduction in testing of candidate pairs.
>
> Emil's suggestion that you have some sort of explicit marker to
> declare candidates dead or unusable is definitely worthwhile.  I
> wonder if that's not better suited to something on the media path
> though.

So how about the following:

1. Ability for ICE to yield multiple paths
2. The ability to use these paths simultaneously or exclusively
3. Switching between available paths with no non-ICE signalling
4. (?) If paths are used exclusively, the ability for either path to do 
a switch (we may want to limit this to switches that only change the 
local candidate and not the remote one.
5. As interfaces come up: ability to add new candidates without 
disrupting ongoing communication
6. As interfaces go down: ability to update without disrupting the 
communication (well ... to whatever extent that is possible).

I think those are the main set. And then there's also one that is more 
MICE-specific:

7. In the case of a mobility event: the ability to attempt to quickly 
recover at least partial connectivity (as opposed to restoring all paths).

I think the value that MICE brings here, and that is not addressed by 
points 1-6 is that it optimizes cases where a NATed mobile node is 
talking to a public media server (e.g., a tablet in a 
WebEx/Hangouts/Jitsi Meet conference). In those cases, MICE allows the 
mobile conference participant to move to a new location and just 
continue streaming to the media server. The server would latch onto the 
new address of the mobile and the disruption time would be very low.

The reason I kept it as a separate item is because it has different 
constraints than regular ICE updates. It is an optimization for some 
cases. It tries to recover any form of connectivity as quickly as 
possible in order to reduce handover latency. Period.

There are many cases where this specific MICE optimization wouldn't work 
(e.g., when both peers are behind common types of NATs) but this is not 
a problem since MICE would then do a proper update through signalling 
anyway (e.g., an ICE restart) in order to re-establish other paths of 
communication or cover the cases that didn't connect with the optimization.

Dan, Pal, Tiru, is the above summary correct?

If so, I think we have the option of addressing this case separately. 
The following is vague but, for example, we could allow for 
peer-reflexive candidates to be discovered at any point, with the 
possibility to replace a pre-existing path.I am not even sure we need 
the extra ICE attributes defined by MICE in that case ... but I am 
likely missing something.

Anyways, the importance here is that agents would not attempt to pair 
these late peer reflexive candidates anything else than the address that 
they were received on. They would just latch onto them and do nothing 
else until a restart is triggered.

Thoughts?

Emil

-- 
https://jitsi.org