Re: [MMUSIC] Trickle ICE
Emil Ivov <emcho@jitsi.org> Fri, 12 October 2012 22:16 UTC
Return-Path: <emil@sip-communicator.org>
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 1981821F8712 for <mmusic@ietfa.amsl.com>; Fri, 12 Oct 2012 15:16:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[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 563wOgRDuPkZ for <mmusic@ietfa.amsl.com>; Fri, 12 Oct 2012 15:16:19 -0700 (PDT)
Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by ietfa.amsl.com (Postfix) with ESMTP id A699A21F86E3 for <mmusic@ietf.org>; Fri, 12 Oct 2012 15:16:18 -0700 (PDT)
Received: by mail-wi0-f178.google.com with SMTP id hr7so236254wib.13 for <mmusic@ietf.org>; Fri, 12 Oct 2012 15:16:17 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=LFeom1HLORhhZ/fBuGvFrTudrptg7grZ4n2VxNwfcVU=; b=O9oHBK8LnxgQvhLNLdoKjdVt70bIm9diF8P2Dfp1+ByHlrJnPIf7qnJwKHPsCO3EGq wku5L6Zgpfum9uhhor2aTawbazRLd31bo2Y2R6b/SUqw60gDqhYp/73tHpaR0q2MOH/s BulKu6vro8irrfttHki7G0KKHJhE2NTqB/2loLu8hui9+9T8dvmgZhbWLOVq3Ayru8dA MhnT9NqEB3LBYjp2qoOqi+yvktyan6lK7UXixG5HBlqhuTsQ+8gOkxIB+yWH5ola9NTt 7jnp5/23nR/kwBjTmHys/sA124yMzlig6B3tfMz6whHRbyIG2vGHLlJJ9ohfELKCpWX3 OWDA==
Received: by 10.180.105.168 with SMTP id gn8mr8802895wib.10.1350080177873; Fri, 12 Oct 2012 15:16:17 -0700 (PDT)
Received: from camionet.local (shm67-5-88-165-90-188.fbx.proxad.net. [88.165.90.188]) by mx.google.com with ESMTPS id b7sm5349273wiz.3.2012.10.12.15.16.16 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 12 Oct 2012 15:16:16 -0700 (PDT)
Message-ID: <507896B0.50806@jitsi.org>
Date: Sat, 13 Oct 2012 00:16:16 +0200
From: Emil Ivov <emcho@jitsi.org>
Organization: Jitsi
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>
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> <CABkgnnWC4mrnWkVVqtmcpaHgVRGoYFuL2oBjLwXv5+PdGhEHuw@mail.gmail.com>
In-Reply-To: <CABkgnnWC4mrnWkVVqtmcpaHgVRGoYFuL2oBjLwXv5+PdGhEHuw@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Gm-Message-State: ALoCoQmygNyipTd5MRCgN+XEla33Taf6uSeLG2JvkvEamLXFRRuD9hAorjJvWTCBIISzl8WU3Siv
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 22:16:20 -0000
Hey Martin, On 12.10.12, 18:55, Martin Thomson wrote: > 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. Do you mean inter/intra-checklist? > It's seems obvious to me now that there needs to be more certainty > about the interactions on both axes. I do believe we mention both of those but there are probably a number of things still missing. We'll be reviewing the text in the following days but if you can describe specific scenarios that you believe are not currently covered, this would be very helpful. > There are clearly interactions on the one component, but I'm not sure > that the conclusions that you have drawn are necessarily optimal. Completely possible. > 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. Well, the reason we cancel and then restart transactions is exactly because both peers have most probably not opened pinholes. I do however agree that in certain situations transactions may be cancelled when they were just about to succeed, but I also think this would be fairly easy to cover: as you suggested yourself - we just need to declare the check successful. > 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 I agree and I also believe that this is exactly what the text says right now. >, 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. I agree and I think that if a check succeeds while it is being cancelled, we don't necessarily need to insist on the higher priority, redundant pair succeeding. I suppose in we can maybe keep them this way (that is, the lower prio as successful and the higher prio as failed). However if it doesn't and the transaction is properly cancelled then we may just as well reschedule it for the higher prio pair. > >>> 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. It's funny how I find my self on exactly the opposite sides of the same argument in two concurrent threads :). Yes, check-before-trying is definitely better, which is why we currently have it as a SHOULD in the draft. The sentence that you are commenting on was just an example of an alternative way of doing the same thing for protocols that don't have decent Caps negotiation, like SIP. My conversation with Christer was about me desperately insisting that there might be a way to do this with SIP, and him persuading me that there isn't and that we should keep this in mind when designing base trickle. I still think that using things like XMPP disco info and entity capabilities is best when available. >>> 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? No, and neither do we. 5245 defines the concept of cancelling a transaction however and it doesn't cover the case where it succeeds while being cancelled. It might be worth doing it. Cheers, Emil -- https://jitsi.org
- [MMUSIC] Trickle ICE Emil Ivov
- Re: [MMUSIC] Trickle ICE Martin Thomson
- Re: [MMUSIC] Trickle ICE Christer Holmberg
- Re: [MMUSIC] Trickle ICE Emil Ivov
- Re: [MMUSIC] Trickle ICE Emil Ivov
- Re: [MMUSIC] Trickle ICE Christer Holmberg
- Re: [MMUSIC] Trickle ICE Emil Ivov
- Re: [MMUSIC] Trickle ICE Martin Thomson
- Re: [MMUSIC] Trickle ICE Martin Thomson
- Re: [MMUSIC] Trickle ICE Christer Holmberg
- Re: [MMUSIC] Trickle ICE Olle E. Johansson
- Re: [MMUSIC] Trickle ICE Emil Ivov
- Re: [MMUSIC] Trickle ICE Emil Ivov
- Re: [MMUSIC] Trickle ICE Emil Ivov
- Re: [MMUSIC] Trickle ICE Lishitao
- Re: [MMUSIC] Trickle ICE Christer Holmberg
- Re: [MMUSIC] Trickle ICE Emil Ivov
- Re: [MMUSIC] Trickle ICE Emil Ivov
- Re: [MMUSIC] Trickle ICE Christer Holmberg
- Re: [MMUSIC] Trickle ICE Emil Ivov
- Re: [MMUSIC] Trickle ICE Martin Thomson
- Re: [MMUSIC] Trickle ICE Martin Thomson
- Re: [MMUSIC] Trickle ICE Christer Holmberg
- Re: [MMUSIC] Trickle ICE Emil Ivov
- Re: [MMUSIC] Trickle ICE Christer Holmberg
- Re: [MMUSIC] Trickle ICE Emil Ivov
- Re: [MMUSIC] Trickle ICE Emil Ivov
- Re: [MMUSIC] Trickle ICE Martin Thomson
- Re: [MMUSIC] Trickle ICE Bernard Aboba
- Re: [MMUSIC] Trickle ICE Christer Holmberg
- Re: [MMUSIC] Trickle ICE Christer Holmberg
- Re: [MMUSIC] Trickle ICE Olle E. Johansson
- Re: [MMUSIC] Trickle ICE Christer Holmberg