Re: [MMUSIC] Faster ICE by role reversal?

Varun Singh <vsingh.ietf@gmail.com> Mon, 10 November 2014 01:29 UTC

Return-Path: <vsingh.ietf@gmail.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 D2A2D1A8851 for <mmusic@ietfa.amsl.com>; Sun, 9 Nov 2014 17:29:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 IAOPYgcfswcc for <mmusic@ietfa.amsl.com>; Sun, 9 Nov 2014 17:29:12 -0800 (PST)
Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001: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 A4A691A8852 for <mmusic@ietf.org>; Sun, 9 Nov 2014 17:29:12 -0800 (PST)
Received: by mail-ie0-f176.google.com with SMTP id rd18so8087515iec.7 for <mmusic@ietf.org>; Sun, 09 Nov 2014 17:29:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=DlP0ND/cn6JAOS05XyKUleuj+A0RzS3QQ50o1qknYZg=; b=Nw0OBtNgLG2BFbaBNwPBEA28j/Q/htaPzBxcLQYuxWpOa6HnObzNo6+RPFQhw8n9kz 6hg27Ul2zmzgO2CcN7uKwXBfts6DZjnfIGfgzDSK6lSlrg3y+fszyZyc2/bbR1615yIl zfBhhroOEcIdELPAFQmdLYZaAXtPTA6c4iZLUF5hVxXoIFSG+OIHHcfvJHWLEFiTG6wa ujMDkLaww5ewJ3haUnkqRSM040m2d+fkIs5udRDaB15qz8KRW1IAskZYJ2TwPuLyJmC7 +ADtZtugt56KSjEI7T3OP00mR1Vae4dWZZpR111cbBfq0yyboBIu9YpV1HJk7zoVRTkh UCZw==
X-Received: by 10.50.109.133 with SMTP id hs5mr4407848igb.15.1415582951924; Sun, 09 Nov 2014 17:29:11 -0800 (PST)
MIME-Version: 1.0
Received: by 10.50.95.199 with HTTP; Sun, 9 Nov 2014 17:28:51 -0800 (PST)
In-Reply-To: <545FDB2F.1090906@jitsi.org>
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> <545FDB2F.1090906@jitsi.org>
From: Varun Singh <vsingh.ietf@gmail.com>
Date: Sun, 09 Nov 2014 15:28:51 -1000
Message-ID: <CAEbPqrxiSdLVp1aUqyNHiVR0TeFsNcV4WcwxVCCGhMhRVtKsCg@mail.gmail.com>
To: Emil Ivov <emcho@jitsi.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/YqUFLNjk4bcBzkpwTn9OhG3txv4
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: Mon, 10 Nov 2014 01:29:15 -0000

On Sun, Nov 9, 2014 at 11:22 AM, Emil Ivov <emcho@jitsi.org> wrote:
>
>
> 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

do you mean: switching between paths with ICE signalling?

In the case of MPRTP, the scheduling algorithm/congestion controller
can make the decision on which paths to use.
However, if it is single RTP, then switching from one to another makes sense.

> 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).
>

+1 for the rest.

> 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
>
>
> _______________________________________________
> mmusic mailing list
> mmusic@ietf.org
> https://www.ietf.org/mailman/listinfo/mmusic



-- 
http://www.netlab.tkk.fi/~varun/