Re: [rtcweb] Filling in details on "trickle ICE"
"Jim Barnett" <Jim.Barnett@genesyslab.com> Fri, 24 August 2012 22:32 UTC
Return-Path: <Jim.Barnett@genesyslab.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 83C5121F8593 for <rtcweb@ietfa.amsl.com>; Fri, 24 Aug 2012 15:32:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
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 UYrgQHw14Xic for <rtcweb@ietfa.amsl.com>; Fri, 24 Aug 2012 15:32:23 -0700 (PDT)
Received: from relay-out1.dc.genesyslab.com (relay-out1.dc.genesyslab.com [198.49.180.220]) by ietfa.amsl.com (Postfix) with ESMTP id E4DDB21F854A for <rtcweb@ietf.org>; Fri, 24 Aug 2012 15:32:23 -0700 (PDT)
Received: from g2.genesyslab.com (g2.genesyslab.com [192.168.20.138]) by relay-out1.dc.genesyslab.com (8.13.8+Sun/8.13.8) with ESMTP id q7OMWLGW028556; Fri, 24 Aug 2012 15:32:21 -0700 (PDT)
Received: from NAHALD.us.int.genesyslab.com ([192.168.20.93]) by g2.genesyslab.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 24 Aug 2012 15:32:21 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 24 Aug 2012 15:33:16 -0700
Message-ID: <E17CAD772E76C742B645BD4DC602CD81069D82BF@NAHALD.us.int.genesyslab.com>
In-Reply-To: <CABkgnnU3ecmhUwCYHmppwLJz-nbSA6=VRF7nF7wcpb+5QAWmdQ@mail.gmail.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [rtcweb] Filling in details on "trickle ICE"
Thread-Index: Ac2CPpsrRW3In9tQQKaqjU44C+9/UQACRsyw
References: <CABcZeBMzgAs=hK38hCjS7t6yLjkTydS2TQUb8R3rBbRKGakVdQ@mail.gmail.com><CABkgnnVBBAH=HCkn_cksBs_9A_hm=VfFwcTtvOM3C7XB2h2KTA@mail.gmail.com><CABcZeBMFUFjU=FQo5LeJrcMfajeae0j+PWw5U2g5dUQNcJLWaA@mail.gmail.com><CABkgnnXiL3_U+Hci9ooDqBCsoV3KF8pwgcf9zbuN6EKZkK+aiQ@mail.gmail.com><CABcZeBNkkH93ybuMWoFg-ddKWnRgdn2Vgyb50W21A2GoMWxw6Q@mail.gmail.com><CABkgnnXQ25ZYNqeO+=FsYDR3aNvFS2zvrKWGs5o=h8m+Eq=Y+Q@mail.gmail.com><3B8DB12B-ABB3-4AC2-A0A0-93DC62C619D3@iii.ca> <CABkgnnU3ecmhUwCYHmppwLJz-nbSA6=VRF7nF7wcpb+5QAWmdQ@mail.gmail.com>
From: Jim Barnett <Jim.Barnett@genesyslab.com>
To: Martin Thomson <martin.thomson@gmail.com>, Cullen Jennings <fluffy@iii.ca>
X-OriginalArrivalTime: 24 Aug 2012 22:32:21.0987 (UTC) FILETIME=[53DD2330:01CD8248]
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Filling in details on "trickle ICE"
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Aug 2012 22:32:24 -0000
Martin, Just to make sure that I understand your position, I take you to be saying: 1) in the case where both endpoints have downloaded their apps from the same server, they can do trickle ICE any way that they want. 2) in the case where an application is talking to an unknown or legacy peer, trickle ICE is a bad idea because there is no standard way to do it. (i.e. try it at your own risk) Is this correct? - Jim -----Original Message----- From: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] On Behalf Of Martin Thomson Sent: Friday, August 24, 2012 5:23 PM To: Cullen Jennings Cc: rtcweb@ietf.org Subject: Re: [rtcweb] Filling in details on "trickle ICE" On 24 August 2012 11:16, Cullen Jennings <fluffy@iii.ca> wrote: > > I'm confused on what you are trying to say. Are you saying > > 1) we don't need trickle ICE > > 2) we can do trickily ICE but no standards need to be written for two > different devices to do trickle ICE It's just 2) Trickle candidates is a *new thing*, a new problem that needs to be solved. It's fairly clear that trickling is an optimization that was never considered in the design of ICE. We can solve the problem by writing an RFC, but you can also write fewer standards and enable the same outcome. An RFC would specify how this differs from ICE and what new behaviours are expected from endpoints. That RFC would also describe how implementations would discover if peers support the new behaviour so that they don't do things that would surprise or break implementations that did not. The alternative is to recognize that ICE specifies a number of features that are really, really important, both from an interoperability and a security standpoint: The use of STUN Binding requests to gather server reflexive addresses. The use of TURN to allocate TURN relays. The use of STUN Binding requests to establish connectivity and consent. Constraints over how checks can be sent (which are actually not all suitable in this context for other reasons). A way to resolve the problem of who performs candidate pair selection. Then ICE has a bunch of really useful advice on what implementations might do: gather candidates, prioritize them, check them, retry checks, track those that succeed, etc... None of that is really necessary, just super handy. The signalling stuff in ICE is not relevant to the rtcweb architecture. So we can ignore that part. WebRTC decided to use it, but that's their problem. The most invasive thing that ICE does is describe a specific algorithm in some detail. Implicit in this algorithm is the fact that all candidates have to be signaled together. This is also stuff that we don't *need* in rtcweb. This might have been useful when you use RFCs to describe every facet of your application, but it is in fact unnecessary for applications of the sort that exist in rtcweb. Many of these applications want things like trickle candidates, which can give better session initialization performance. Many of these will have code on both endpoints. Obviously, applications that want to interoperate with ICE implementations will have to play nice with ICE. But this is usually known a priori. Building signaling for this is presumptuous. I understand how someone might conclude that you need to standardize this behaviour. It depends on what preconceptions you have. If you wanted to port trickle candidates to your SIP PBX, then I can see how the standardization option might seem attractive. The Microsoft API proposal makes all of this possible by only taking the really important stuff from RFC 5245. --Martin _______________________________________________ rtcweb mailing list rtcweb@ietf.org https://www.ietf.org/mailman/listinfo/rtcweb
- [rtcweb] Filling in details on "trickle ICE" Eric Rescorla
- Re: [rtcweb] Filling in details on "trickle ICE" … Cullen Jennings
- Re: [rtcweb] Filling in details on "trickle ICE" Martin Thomson
- Re: [rtcweb] Filling in details on "trickle ICE" Eric Rescorla
- Re: [rtcweb] Filling in details on "trickle ICE" Martin Thomson
- Re: [rtcweb] Filling in details on "trickle ICE" Eric Rescorla
- Re: [rtcweb] Filling in details on "trickle ICE" Martin Thomson
- Re: [rtcweb] Filling in details on "trickle ICE" Cullen Jennings
- Re: [rtcweb] Filling in details on "trickle ICE" Martin Thomson
- Re: [rtcweb] Filling in details on "trickle ICE" Jim Barnett
- Re: [rtcweb] Filling in details on "trickle ICE" Martin Thomson
- Re: [rtcweb] Filling in details on "trickle ICE" Matthew Kaufman
- Re: [rtcweb] Filling in details on "trickle ICE" Jim Barnett
- Re: [rtcweb] Filling in details on "trickle ICE" Matthew Kaufman
- Re: [rtcweb] Filling in details on "trickle ICE" Peter Saint-Andre
- Re: [rtcweb] Filling in details on "trickle ICE" Bernard Aboba
- Re: [rtcweb] Filling in details on "trickle ICE" Emil Ivov
- Re: [rtcweb] Filling in details on "trickle ICE" Bernard Aboba
- Re: [rtcweb] Filling in details on "trickle ICE" Francois Audet
- Re: [rtcweb] Filling in details on "trickle ICE" Bernard Aboba
- Re: [rtcweb] Filling in details on "trickle ICE" Francois Audet
- Re: [rtcweb] Filling in details on "trickle ICE" Emil Ivov
- Re: [rtcweb] Filling in details on "trickle ICE" Emil Ivov
- Re: [rtcweb] Filling in details on "trickle ICE" Cullen Jennings (fluffy)
- Re: [rtcweb] Filling in details on "trickle ICE" Lishitao
- Re: [rtcweb] Filling in details on "trickle ICE" Magnus Westerlund
- Re: [rtcweb] Filling in details on "trickle ICE" Martin Thomson
- Re: [rtcweb] Filling in details on "trickle ICE" Justin Uberti
- Re: [rtcweb] Filling in details on "trickle ICE" Emil Ivov
- Re: [rtcweb] Filling in details on "trickle ICE" Justin Uberti
- Re: [rtcweb] Filling in details on "trickle ICE" Cullen Jennings (fluffy)
- Re: [rtcweb] Filling in details on "trickle ICE" Emil Ivov
- Re: [rtcweb] Filling in details on "trickle ICE" Christer Holmberg
- Re: [rtcweb] Filling in details on "trickle ICE" Matthew Kaufman
- Re: [rtcweb] Filling in details on "trickle ICE" Christer Holmberg
- Re: [rtcweb] Filling in details on "trickle ICE" Emil Ivov
- Re: [rtcweb] Filling in details on "trickle ICE" Christer Holmberg
- Re: [rtcweb] Filling in details on "trickle ICE" Emil Ivov
- Re: [rtcweb] Filling in details on "trickle ICE" Christer Holmberg
- Re: [rtcweb] Filling in details on "trickle ICE" Emil Ivov
- Re: [rtcweb] Filling in details on "trickle ICE" Christer Holmberg
- Re: [rtcweb] Filling in details on "trickle ICE" Emil Ivov
- Re: [rtcweb] Filling in details on "trickle ICE" Ted Hardie
- Re: [rtcweb] Filling in details on "trickle ICE" Christer Holmberg