Re: [MMUSIC] Faster ICE by role reversal?

Emil Ivov <emcho@jitsi.org> Sun, 09 November 2014 01:50 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 14EB51A008F for <mmusic@ietfa.amsl.com>; Sat, 8 Nov 2014 17:50:29 -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 97c_3ZItUI_k for <mmusic@ietfa.amsl.com>; Sat, 8 Nov 2014 17:50:27 -0800 (PST)
Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 50BD61A0089 for <mmusic@ietf.org>; Sat, 8 Nov 2014 17:50:27 -0800 (PST)
Received: by mail-wg0-f50.google.com with SMTP id z12so6337460wgg.37 for <mmusic@ietf.org>; Sat, 08 Nov 2014 17:50:26 -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=fEVP8AdOF8D19ceD+vQoH1ZONcvhXW5k8XQYnHSn3sc=; b=ZvNBSoQrwtQd7uQqa9B+fJKbhPBr+ESOPpp42BKoc4yiDUsE6STaot2GhDMQvjTmu0 RnM2mkFlsyx5jDHgD98EesZKESC8nHmnG492hVklHKoSmRm2XFu8PsUqFarhMwjzej1Y BnTAYlHaELKq+v2cWZnAvRcPwLMwVzWkRmzcenFE7YZB7R/+p3Kd9kMHs/1R3tfAnil3 uTa5xvs974iH9Y65l24Y/Sy7e5dTQwBtrZgQqkxTHEzWjcJDfubySBhvGTFlRojzMddu zrE2+MoAqQbU0PnGzAHAU7mYs5EwoLtCzRTanCtNhHwMc8t7ZUI3XsALorKsmq+uXfYL ZcHw==
X-Gm-Message-State: ALoCoQmHkCtQhuBDcoEzPdDTQO7wkSVuI0EGYEeLD7OSDRzRwRm+SAYHuimwcsSUFSkRXvldQvLf
X-Received: by 10.194.206.72 with SMTP id lm8mr30820324wjc.70.1415497825930; Sat, 08 Nov 2014 17:50:25 -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 ua8sm17391288wjc.7.2014.11.08.17.50.23 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 08 Nov 2014 17:50:24 -0800 (PST)
Message-ID: <545EC85E.8000208@jitsi.org>
Date: Sun, 09 Nov 2014 02:50:22 +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: Justin Uberti <juberti@google.com>, Martin Thomson <martin.thomson@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> <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>
In-Reply-To: <CAOJ7v-13fyrkhyJQJvuGuWjHRFm9KO=-tQ7KLrFt0DW4U1K=RA@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/sqd-I1lgfngrWCuIFMoDBzOPWeU
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 01:50:29 -0000


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
b) it is no longer clear when unused candidates (srflx and relay) can be 
released.

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