Re: [rtcweb] When are ICE candidates added to the SDP
Harald Alvestrand <harald@alvestrand.no> Mon, 19 May 2014 11:18 UTC
Return-Path: <harald@alvestrand.no>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A731E1A034E for <rtcweb@ietfa.amsl.com>; Mon, 19 May 2014 04:18:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.55
X-Spam-Level:
X-Spam-Status: No, score=-2.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.651] 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 ImN6GierssdF for <rtcweb@ietfa.amsl.com>; Mon, 19 May 2014 04:18:22 -0700 (PDT)
Received: from mork.alvestrand.no (mork.alvestrand.no [158.38.152.117]) by ietfa.amsl.com (Postfix) with ESMTP id C4A331A0348 for <rtcweb@ietf.org>; Mon, 19 May 2014 04:18:21 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mork.alvestrand.no (Postfix) with ESMTP id 047847C36F8 for <rtcweb@ietf.org>; Mon, 19 May 2014 13:18:21 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at alvestrand.no
Received: from mork.alvestrand.no ([127.0.0.1]) by localhost (mork.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2MZOCS2P7iRi for <rtcweb@ietf.org>; Mon, 19 May 2014 13:18:19 +0200 (CEST)
Received: from [10.199.4.109] (unknown [12.238.61.12]) by mork.alvestrand.no (Postfix) with ESMTPSA id 928747C36F6 for <rtcweb@ietf.org>; Mon, 19 May 2014 13:18:18 +0200 (CEST)
Message-ID: <5379E879.6080903@alvestrand.no>
Date: Mon, 19 May 2014 13:18:17 +0200
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <CABcZeBNUTf42tS9FrjS9Q6Zk8LBkhpKOR1z2v8MHoeNEUf93Mw@mail.gmail.com> <804DCB7A-9D65-4438-82C7-1A553905984B@iii.ca> <CABcZeBN9o8ngf6P4TQWhGXseJ5bysFgdCGbBtAeXrCx1Sn1zcg@mail.gmail.com> <CAOJ7v-2KijjfV3VKDGT4yj4FmwQZmrcfFEmTXMHJb2oPS5jiqQ@mail.gmail.com>
In-Reply-To: <CAOJ7v-2KijjfV3VKDGT4yj4FmwQZmrcfFEmTXMHJb2oPS5jiqQ@mail.gmail.com>
X-Enigmail-Version: 1.6
Content-Type: multipart/alternative; boundary="------------090109040009080802030107"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/QpjBLbIUY2oNIaDmc-XkLtTdY5Y
Subject: Re: [rtcweb] When are ICE candidates added to the SDP
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
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: Mon, 19 May 2014 11:18:24 -0000
On 05/19/2014 06:14 AM, Justin Uberti wrote: > Agree with Martin's analysis. > > Regarding what we should do after a new setLocalDescription, the > implementation does need to change the value of iceGatheringState if > new gathering is going to occur. As pointed out, since we don't have a > callback for iceGatheringState, firing onicecandidate(null) if no > gathering needs to happen seems reasonable, if inelegant. > > But the reason for not having an iceGatheringState callback was > because we felt that it was redundant with onicecandidate. That now > seems debatable, and I'd rather add that callback than pound > onicecandidate until it looks like said callback. The onicecandidate(NULL) always seemed inelegant to me; it wasn't supplying a candidate, it was indicating something else. I'd be happy with replacing it with an iceGatheringState change callback (if we can ensure that this will do the Right Thing in all cases...) > > > On Sat, May 17, 2014 at 5:28 PM, Eric Rescorla <ekr@rtfm.com > <mailto:ekr@rtfm.com>> wrote: > > > > > On Sat, May 17, 2014 at 11:19 AM, Cullen Jennings <fluffy@iii.ca > <mailto:fluffy@iii.ca>> wrote: > > > On May 11, 2014, at 6:51 PM, Eric Rescorla <ekr@rtfm.com > <mailto:ekr@rtfm.com>> wrote: > > > However, we agreed in London that we would do "always > trickle", and > > that even if there were candidates available at the time > when CreateOffer > > (because of candidate pooling) was called, they would not be > included > > in the initial offer. > > Hmm - did we agree they would not be there or they might not > be there? > > > My memory is that Justin argued that it would be more consistent to > not have them and I agreed to check to see if that was a big deal > for Firefox. It's not. > > > > Either way, I think that things will work better if we can > provide whatever information we have available at the time the > call returns. So my preference would be that if they are in > the pool, they are returned as early as possible. > > > We're talking about having the onicecandidate callbacks called > immediately > on setLocal(), so this should't have much latency impact. > > > > > > > > I can not really see any good reasons for delaying the return > of the candidates that are available. Even when you are doing > trickily ICE, this is going to result in less round trips of > "trickle" and result in closer synchronization of the > connectivity checks from both sides for the candidates that > are returned in the first offer. That will help up the success > rate of trickle ICE. > > > See above. I don't think this analysis is really correct. > > -Ekr > > > > _______________________________________________ > rtcweb mailing list > rtcweb@ietf.org <mailto:rtcweb@ietf.org> > https://www.ietf.org/mailman/listinfo/rtcweb > > > > > _______________________________________________ > rtcweb mailing list > rtcweb@ietf.org > https://www.ietf.org/mailman/listinfo/rtcweb -- Surveillance is pervasive. Go Dark.
- [rtcweb] When are ICE candidates added to the SDP Eric Rescorla
- Re: [rtcweb] When are ICE candidates added to the… Rauschenbach, Uwe (NSN - DE/Munich)
- Re: [rtcweb] When are ICE candidates added to the… Iñaki Baz Castillo
- Re: [rtcweb] When are ICE candidates added to the… Eric Rescorla
- Re: [rtcweb] When are ICE candidates added to the… Harald Alvestrand
- Re: [rtcweb] When are ICE candidates added to the… Eric Rescorla
- Re: [rtcweb] When are ICE candidates added to the… Harald Alvestrand
- Re: [rtcweb] When are ICE candidates added to the… Martin Thomson
- Re: [rtcweb] When are ICE candidates added to the… Rauschenbach, Uwe (NSN - DE/Munich)
- Re: [rtcweb] When are ICE candidates added to the… Rauschenbach, Uwe (NSN - DE/Munich)
- Re: [rtcweb] When are ICE candidates added to the… Eric Rescorla
- Re: [rtcweb] When are ICE candidates added to the… Martin Thomson
- Re: [rtcweb] When are ICE candidates added to the… Martin Thomson
- Re: [rtcweb] When are ICE candidates added to the… Rauschenbach, Uwe (NSN - DE/Munich)
- Re: [rtcweb] When are ICE candidates added to the… Silvia Pfeiffer
- Re: [rtcweb] When are ICE candidates added to the… Martin Thomson
- Re: [rtcweb] When are ICE candidates added to the… Cullen Jennings
- Re: [rtcweb] When are ICE candidates added to the… Eric Rescorla
- Re: [rtcweb] When are ICE candidates added to the… Justin Uberti
- Re: [rtcweb] When are ICE candidates added to the… Harald Alvestrand
- Re: [rtcweb] When are ICE candidates added to the… Iñaki Baz Castillo
- Re: [rtcweb] When are ICE candidates added to the… Sergio Garcia Murillo
- Re: [rtcweb] When are ICE candidates added to the… Iñaki Baz Castillo