Re: [MMUSIC] Faster ICE by role reversal?

Justin Uberti <juberti@google.com> Sun, 09 November 2014 05:53 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 3FBE81A0A85 for <mmusic@ietfa.amsl.com>; Sat, 8 Nov 2014 21:53:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.972
X-Spam-Level:
X-Spam-Status: No, score=-1.972 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.594, 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 2JnvJ-LBEu8R for <mmusic@ietfa.amsl.com>; Sat, 8 Nov 2014 21:53:29 -0800 (PST)
Received: from mail-vc0-x22f.google.com (mail-vc0-x22f.google.com [IPv6:2607:f8b0:400c:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A00391A0A6A for <mmusic@ietf.org>; Sat, 8 Nov 2014 21:53:29 -0800 (PST)
Received: by mail-vc0-f175.google.com with SMTP id hy4so2942735vcb.6 for <mmusic@ietf.org>; Sat, 08 Nov 2014 21:53:28 -0800 (PST)
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=k2fhzS0rmmfg5k8RRQiEhZ463hKF6rcMntI+INwCEvc=; b=EngjMhE1Hhh88LfNF1B/fto/aY6KEBgNHIqr6T15AcXihVzhl6LDy40XNaLCdwlmzB AAfw7nN4+2RJBoy7eP48/+9jTMcY7dq+ZGueMmvzCs3IA8P6SGX4uXqx0rilonotVkOH Sbdn2sc7Xy1VX4fGc6Ijfu0ziqdFux8VZ/0YJH4XjUU3hBXpPErjgX0sjv9j3qyBbHgj C8zlRTZChhePkQURxbSQLzJrcOAm1ekyMnS/Busa1Z+8zKQux7CA1Dfe+XeeOMsk2j/F Mpv1Dd2xdwo74LhWpmDHqntkNNszMoloUJgVifmSzubsoevt1KBc2d4SHYO/5AxDxgZT p1DQ==
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=k2fhzS0rmmfg5k8RRQiEhZ463hKF6rcMntI+INwCEvc=; b=CgQrKM/l4oj4V2aW8boWVU1dmuRZKy6yUHWfjA4UDFubB0Lt3A2OjCzOw3wgtAoVVD V8pKzchDsJ73WNWvy2rNCWCa0Fz8jsEdLdshlYMORNQVJKhnnRCHsQqBxSuzV/Dh0rBH u0hHmgPeZKlu3S0xulpv5NNQAviRkY7Pjekabt7mo49mFa17kgjzPIt2liAh9OeHxek6 vrnZ2ycv1owcN20om1DAjrU5uWK3uYyoDscetnI0uOkdIsMREOvZphhrsgw6nPzr+9YK eAbX6BmH/pfk3cFyQ3aXHTNRdkfEfqWC6JkX5R5QzHr9cMfwIm2n5NKayALAplcrtj7o wA7g==
X-Gm-Message-State: ALoCoQlt8m+VA1rz8FZ8OinlQdcsxZfl/fuBOZ/zAlDIcFdJ/lZb5mNHJcp4zxNfDToiJXON7utS
X-Received: by 10.52.146.100 with SMTP id tb4mr12624789vdb.23.1415512408550; Sat, 08 Nov 2014 21:53:28 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.237.130 with HTTP; Sat, 8 Nov 2014 21:53:07 -0800 (PST)
In-Reply-To: <545EC85E.8000208@jitsi.org>
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> <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>
From: Justin Uberti <juberti@google.com>
Date: Sat, 08 Nov 2014 21:53:07 -0800
Message-ID: <CAOJ7v-0q3=NMgKz3Shbzra1-Vd91i_JcqSu40Daq02quKzZzHg@mail.gmail.com>
To: Emil Ivov <emcho@jitsi.org>
Content-Type: multipart/alternative; boundary="bcaec51ba22149881c050766aa90"
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/NDTNDHtJM_XoW-QBnIdqLWFpWlw
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 05:53:33 -0000

On Sat, Nov 8, 2014 at 5:50 PM, Emil Ivov <emcho@jitsi.org> wrote:

>
>
> On 8.11.14, 7:08, Justin Uberti wrote:
>
>> Yeah, I'm of the same opinion. If you are going to allow tricking of new
>> candidates, you only have two choices:
>> a) ICE never ends, or
>> b) ICE restart
>>
>> But ICE restart invalidates existing candidates,
>>
>
> Existing candidates can very well be part of the new ICE negotiation and
> if they are confirmed as "still working", no invalidation needs to occur.
>
> 5245 even already mentions this:
>    Consequently, the set of candidates MAY include some,
>    none, or all of the previous candidates for that stream and MAY
>    include a totally new set of candidates gathered as described in
>    Section 4.1.1.
>
>
>
>  which is a serious issue.
>>
>> Therefore I think continuous nomination is the simplest solution to this
>> problem.
>>
>
> Continuous nomination has at least two serious problems:
>
> a) we lose the possibility to clearly detect failures and we need to
> resort to magic timers
>

It's timers one way or another (e.g. how do you know when to give up on
retransmitting ICE checks?). I don't think this is a salient point.


> b) it is no longer clear when unused candidates (srflx and relay) can be
> released.
>

This is explicitly discussed in my proposal.

>
> We could obivously work on resolving the above issues by preserving the
> end-of-candidates indication and then allowing new candidates to still
> arrive after it. We could also work on clearing out a few other points,
> like for example, how receiving a trickled candidate means one needs to
> potentially re-gather and re-trickle and re-check local candidates.
>
> While this is certainly a possibility ... it is likely to simply take us
> to something very similar to ICE restarts. Potentially even the exact same
> thing, only triggered with something other and a ufrag/pwd update. :)
>
> So, it might be more productive to just rename "ICE restarts" to something
> that scares us less and see if and how we need to address any actual issues
> there.
>
> Emil
>
>
> --
> https://jitsi.org
>