Re: [MMUSIC] Trickle ICE

Martin Thomson <martin.thomson@gmail.com> Fri, 12 October 2012 16:55 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 01BD021F873C for <mmusic@ietfa.amsl.com>; Fri, 12 Oct 2012 09:55:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.846
X-Spam-Level:
X-Spam-Status: No, score=-3.846 tagged_above=-999 required=5 tests=[AWL=-0.247, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id efjqXUhlJ106 for <mmusic@ietfa.amsl.com>; Fri, 12 Oct 2012 09:55:16 -0700 (PDT)
Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) by ietfa.amsl.com (Postfix) with ESMTP id 64C6221F871A for <mmusic@ietf.org>; Fri, 12 Oct 2012 09:55:09 -0700 (PDT)
Received: by mail-lb0-f172.google.com with SMTP id k13so2450093lbo.31 for <mmusic@ietf.org>; Fri, 12 Oct 2012 09:55:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=POjKUEaPukAxlE019xion2CrIf7lfLUCI/Bb+VxzPxs=; b=K752jcXHTlH8UHq3BbqvvUlPhYyLK5M2LNgWytdzEFptJFU1/hC/TLvIH3dCiAM6qD rOb1X7ZFM/bQhTd3Ygy+yvdgRl3caJzwgNBlPch/4i0iODBnj5vFpm0OzoffS10jDCs/ UwZxdn/36yrABv65WTD+vUcDG4b9CEagz+pXrK59DVeKNr0p4uet+hbpi5JHZbV5BzrC PXwqDunumyOcK41kLF4Aw8gGrF3E6x5qO0yM6p4+7BqZQcCZpNZCWPGpG4ghmvdAfrbn mslEQ7N3Qd1pUnxQ9nqFnd8MEOJPOO71sWzr48v3W+aeU8Cg0XbYNx/D/omFVu1AAHMi rqoQ==
MIME-Version: 1.0
Received: by 10.152.105.135 with SMTP id gm7mr4493042lab.22.1350060908217; Fri, 12 Oct 2012 09:55:08 -0700 (PDT)
Received: by 10.112.83.2 with HTTP; Fri, 12 Oct 2012 09:55:08 -0700 (PDT)
In-Reply-To: <50773B68.10707@jitsi.org>
References: <20121010141600.30314.22528.idtracker@ietfa.amsl.com> <5075864F.3030700@jitsi.org> <CABkgnnX1TaXMYqqLzvwzMRjPO72CccUj6j7oic_-6Oqy+pUZrg@mail.gmail.com> <5075FAC3.20709@jitsi.org> <CABkgnnXtK_c1G2t9_0pFpNYZAdXCtDxtdSroRXQHjqfcQq_j2g@mail.gmail.com> <50773B68.10707@jitsi.org>
Date: Fri, 12 Oct 2012 09:55:08 -0700
Message-ID: <CABkgnnWC4mrnWkVVqtmcpaHgVRGoYFuL2oBjLwXv5+PdGhEHuw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Emil Ivov <emcho@jitsi.org>
Content-Type: text/plain; charset="UTF-8"
Cc: MMUSIC IETF WG <mmusic@ietf.org>
Subject: Re: [MMUSIC] Trickle ICE
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.12
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: Fri, 12 Oct 2012 16:55:17 -0000

Emil,

On 11 October 2012 14:34, Emil Ivov <emcho@jitsi.org> wrote:
>> Actually, this part in Section 9 wasn't very clear.
>
> Sorry about that. We'll try to add clarifications before the 01 deadline.

Actually, I think that we've just uncovered a case of talking past
each other.  I was talking about the inter-component interactions and
you were talking about the interactions intra-component.

It's seems obvious to me now that there needs to be more certainty
about the interactions on both axes.

There are clearly interactions on the one component, but I'm not sure
that the conclusions that you have drawn are necessarily optimal.
When you make the choice to cancel an outstanding transaction, you
don't do anything other than increase the probability of success.  The
Binding requests from the lower priority pair have gone out and may
still succeed, assuming of course that both peers are opening
pinholes.

Cancelling the transaction at this point seems counterproductive.
Instead, adding the new pair to the check list such that a transaction
is created in response to the next ordinary check timer pop ensures
that checks proceed on the new pair as soon as is reasonable, while
allowing the lower priority pair to move to the Failed or Succeeded
state normally.

This may result in a lower priority pair reaching Succeeded before the
higher priority one, but that was an inevitable consequence of the
sequencing anyhow.

>> You can't send an offer sans candidates and expect it to work.
>
> Indeed not. I would expect it to fail for non-trickle agents (without
> alerting the remote user) which would then be my cue to fallback to
> vanilla ICE.

That's an interesting choice.  I tend to prefer don't-even-try
solutions to try-fail-and-fallback ones if at all possible.  They tend
to be more robust because your legacy peer doesn't get in a messed up
state due to the failure.

>> Note: we probably also need to note that a transaction can succeed for
>> a Frozen candidate pair (due to the fact that you can't take a STUN
>> packet back, so "cancelling" a transaction might still result in a
>> successful Binding response.  I don't know what you would do with
>> this, but I'd just move the pair to Succeeded.
>
> The case where a cancelled transaction ends up succeeding is indeed
> worth covering, but given how the concept is defined in 5245 then maybe
> at least part of the coverage should go in 5245bis?

5245 doesn't really have the concept of re-freezing a pair, does it?
(Again, this was related to my comments on inter-component checking,
it might not be relevant ultimately.)

Cheers,
Martin