Re: [Ice] Trickle ICE review
Peter Thatcher <pthatcher@google.com> Fri, 31 March 2017 22:03 UTC
Return-Path: <pthatcher@google.com>
X-Original-To: ice@ietfa.amsl.com
Delivered-To: ice@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 40DC1126C22 for <ice@ietfa.amsl.com>; Fri, 31 Mar 2017 15:03:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 VL23H72mEMVX for <ice@ietfa.amsl.com>; Fri, 31 Mar 2017 15:03:35 -0700 (PDT)
Received: from mail-qk0-x22e.google.com (mail-qk0-x22e.google.com [IPv6:2607:f8b0:400d:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8C7431201F2 for <ice@ietf.org>; Fri, 31 Mar 2017 15:03:35 -0700 (PDT)
Received: by mail-qk0-x22e.google.com with SMTP id d10so78488006qke.1 for <ice@ietf.org>; Fri, 31 Mar 2017 15:03:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JRtCzXbFS3SHzDijcE8LObAaMZ5GfAZm9bsWn/E7bKw=; b=U/nbzM82wcY8pRmANFxv3PjF0t/3kwI4jsV04csKNWoIPHwF2T+CLx+oOssUeyhkJ/ h8IxtQ9yIqnlaQFh40A9e5UqZNSvXzHCflCEqyhw8yjGkJc3hPHXpKjph6pfKfqhfq63 P9xbAbuWlHUE3HA1WwIlmOJygfoUidm4hajTHOltq5atuW6VZZR/8Cl07FqEh2A1FAxO 8uq04dfYXgkbFp8u3v5pcLV9eNCbDEQT0UlwxUsiltn7TfTrLed9JpWzkWeuM8RYDc5N ByWBCMArImH9uWKbgFa3U+5ToJSr2P3O9R/C54l2jfFbxMHyKX4LrfSJtANDF3ZxbtOe XmAg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JRtCzXbFS3SHzDijcE8LObAaMZ5GfAZm9bsWn/E7bKw=; b=lvMV39x+mU4ow8MwKd9GJFX3MbvO6Uw+b8xeeM0NA1iZuNjNlyKQtu0/vG5MZWclBv MSnwGgNqw5iVqPPEiWGD3nQE1x8dmQX4/kwZwLbEL/a1p9IXtwlBXnL2WIKoa93Oexyc o51c325J4znlQPiodR98ICFu5UBrVtThi97kLZBn8YMi/ghNZ5CW39iQeIXd1BK3YHFC UebEdAEN8s1qzoZGX1Sg28yttxMKQEcxtbi9vjjhoy2AWRnyusfYpaKn4ZpDrIFKxsu+ Q7YJCuiPzAKcXRPfi/YPrwcBjS2gZOFJ2xLUdB9gcsYtz7KwVEr0O2H9Id6QxfDeCRGm vR6A==
X-Gm-Message-State: AFeK/H1jGwJ3VNXpx+3jX1M9+uLjNhiF6TK2KXnnOfjBFI+v7xZpJLzTgFv3l9MdTiTP2ZJKSSsd1TnzZiXl4oJZ
X-Received: by 10.55.17.35 with SMTP id b35mr5061459qkh.275.1490997814541; Fri, 31 Mar 2017 15:03:34 -0700 (PDT)
MIME-Version: 1.0
References: <CAJrXDUHzNT3v5oMPBQu5_OsXwonY7cogDQgTt5QPxN0=6DWQkQ@mail.gmail.com> <7ebb3254-a882-6e05-3159-0ec56614831b@stpeter.im> <CAJrXDUEi0n7P5mDuuLGj285AmQqr9HDFUPGLtLnU+BuJpws6Tw@mail.gmail.com> <7e9e8188-2add-0497-e94f-14ee41afe02d@stpeter.im> <BFB0CDEF-4572-41D5-A5D2-A5D210A1E175@ericsson.com> <7594FB04B1934943A5C02806D1A2204B4CB330A0@ESESSMB109.ericsson.se> <CAJrXDUGy2VUKe33vLm-QOrQ+OSV+nFCKTsHXPt_VZ8sqrdpX0Q@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B4CB378CD@ESESSMB109.ericsson.se> <CAJrXDUFBO9Q4aHMjMr-0L505BMWPNSPkZ+sPGSNGu-JAXz2qww@mail.gmail.com> <0308af65-2cc9-c793-946d-6157d71db069@stpeter.im> <7594FB04B1934943A5C02806D1A2204B4CB38EBB@ESESSMB109.ericsson.se> <CAK35n0ZXaq0vj0xC0fS0fTKLFq+bogfwpr9-nwtXvztW+g7jYQ@mail.gmail.com>
In-Reply-To: <CAK35n0ZXaq0vj0xC0fS0fTKLFq+bogfwpr9-nwtXvztW+g7jYQ@mail.gmail.com>
From: Peter Thatcher <pthatcher@google.com>
Date: Fri, 31 Mar 2017 22:03:23 +0000
Message-ID: <CAJrXDUF838QJAm=cv_E2aOTBLiFXVk6mrfDXHV3p2JKjxMS5Cw@mail.gmail.com>
To: Taylor Brandstetter <deadbeef@google.com>, Christer Holmberg <christer.holmberg@ericsson.com>
Cc: Ari Keränen <ari.keranen@ericsson.com>, Peter Saint-Andre <stpeter@stpeter.im>, "ice@ietf.org" <ice@ietf.org>
Content-Type: multipart/alternative; boundary="001a11475c6418e7d5054c0dfbfa"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ice/Ux7vrESHDcaeITWnwFQqIqLtLMI>
Subject: Re: [Ice] Trickle ICE review
X-BeenThere: ice@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Interactive Connectivity Establishment \(ICE\)" <ice.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ice>, <mailto:ice-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ice/>
List-Post: <mailto:ice@ietf.org>
List-Help: <mailto:ice-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ice>, <mailto:ice-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Mar 2017 22:03:38 -0000
Ah, thanks for explaining this. I like your idea of making the real intention explicit (pair and trickle in the same order). I think that's much more clear and precise. On Thu, Mar 30, 2017 at 8:45 PM Taylor Brandstetter <deadbeef@google.com> wrote: In the phrase " A Trickle ICE agent MUST NOT pair a local candidate until it has been trickled to the remote agent.", what does "has been trickled" mean? Sorry I'm late at responding to this, but I assumed the main intention here was that candidates are paired in the same order that they're trickled, because that was necessary for the unfreezing logic to work. For example: suppose an endpoint already has remote candidates, and then gathers RTP and RTCP candidates. It pairs them in the order "RTCP, RTP" (maybe the STUN response for the RTCP candidate came back first), resulting in an RTCP pair being unfrozen first, but they're trickled in the order "RTP, RTCP" (as a result of the restrictions of section 16), resulting in the remote endpoint unfreezing the RTP pair first. Before, this would have resulted in things failing (as I recall). But this isn't as much of a problem now; I'm looking at the current section 8.1.1, and it would result in the local endpoint just unfreezing *both* pairs, so things would be able to proceed. But it still could result in extra pairs being unfrozen; is that acceptable? If not, I'd suggest moving this note to section 16, and making it more clear what the intention is. For example: "Candidates MUST be paired, following the procedures in section 8.1.1, in the same order that they're trickled." An important related question: There used to be a line that said "When trickle updates are sent, each candidate MUST be delivered to the receiving Trickle ICE implementation ... in the same order that they were sent." But the "in the same order that they were sent" part has been removed. Do we no longer require that the signaling mechanism preserves ordering? If so, Section 16 doesn't make sense any more; it requires a specific order of candidate trickling, but that can't be guaranteed if the signaling mechanism doesn't preserve ordering. All my ramblings above would be moot as well. On Thu, Mar 30, 2017 at 10:53 AM, Christer Holmberg < christer.holmberg@ericsson.com> wrote: Hi, Perhaps we could say something like "re-start or once all candidates have been released", or something like that... We seem to agree, so it's just about wording :) Regards, Christer -----Original Message----- From: Peter Saint-Andre [mailto:stpeter@stpeter.im] Sent: 30 March 2017 20:42 To: Peter Thatcher <pthatcher@google.com>; Christer Holmberg < christer.holmberg@ericsson.com>; Ari Keränen <ari.keranen@ericsson.com> Cc: ice@ietf.org Subject: Re: [Ice] Trickle ICE review On 3/30/17 9:45 AM, Peter Thatcher wrote: > Ah, I see what you mean now. > > In that case, could we just define "ICE session" as the something like > "stuff until the next ICE restart or the termination of all ICE > activity by this agent"? Right, there's no "ICE session termination" message, so that'll have to do. Peter _______________________________________________ Ice mailing list Ice@ietf.org https://www.ietf.org/mailman/listinfo/ice
- Re: [Ice] Trickle ICE review Peter Saint-Andre
- Re: [Ice] Trickle ICE review Peter Saint-Andre
- [Ice] Trickle ICE review Peter Thatcher
- Re: [Ice] Trickle ICE review Peter Saint-Andre
- Re: [Ice] Trickle ICE review Ari Keränen
- Re: [Ice] Trickle ICE review Peter Saint-Andre
- Re: [Ice] Trickle ICE review Peter Thatcher
- Re: [Ice] Trickle ICE review Peter Saint-Andre
- Re: [Ice] Trickle ICE review Ari Keränen
- Re: [Ice] Trickle ICE review Peter Saint-Andre
- Re: [Ice] Trickle ICE review Christer Holmberg
- Re: [Ice] Trickle ICE review Peter Thatcher
- Re: [Ice] Trickle ICE review Christer Holmberg
- Re: [Ice] Trickle ICE review Peter Thatcher
- Re: [Ice] Trickle ICE review Peter Saint-Andre
- Re: [Ice] Trickle ICE review Christer Holmberg
- Re: [Ice] Trickle ICE review Taylor Brandstetter
- Re: [Ice] Trickle ICE review Peter Thatcher