Re: [rtcweb] Default candidate pool size

Justin Uberti <juberti@google.com> Sun, 18 May 2014 17:15 UTC

Return-Path: <juberti@google.com>
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 52FCB1A011B for <rtcweb@ietfa.amsl.com>; Sun, 18 May 2014 10:15:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.129
X-Spam-Level:
X-Spam-Status: No, score=-0.129 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001] 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 1F2wlMg6fnPf for <rtcweb@ietfa.amsl.com>; Sun, 18 May 2014 10:15:49 -0700 (PDT)
Received: from mail-vc0-x22f.google.com (mail-vc0-x22f.google.com [IPv6:2607:f8b0:400c:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4D3D31A014B for <rtcweb@ietf.org>; Sun, 18 May 2014 10:15:49 -0700 (PDT)
Received: by mail-vc0-f175.google.com with SMTP id hu19so8371016vcb.6 for <rtcweb@ietf.org>; Sun, 18 May 2014 10:15:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=5C8e8/rvfmYBQkppZ8E2PcXpcQGFOT0QhcIo7yimWwg=; b=KzbTzZ9s3CjTRUvCOSDxcfc/g9RmsWoCD9eBOULupuKM90jI/JRD1YQoOPUBUPmFnE xwvzUxdLmSUMSXiwI1PvMxsd0P/2rCgdGVo4FWEc1Doo8YPCumUQ7PZKiAtmwaDwRuvD /3S8cU9ReHcQuT26SU9yBQbN412lhxUHAr3kHSLVpVKJ4/D8mppRsrw/yNMnrQm+K0U5 S9jJjNT9+SCE4s4TJNiArJrYc1Iklt4a7hbKabGk/s6ZI435hC1ahGifOtwHpQY9qsaX tI8WZyAiIHT+yvbk/G9sK1r1oqq696rjRD8yQY3aEt6xKftxxucI4y8H5Xbj/d9uUhmC bSyw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=5C8e8/rvfmYBQkppZ8E2PcXpcQGFOT0QhcIo7yimWwg=; b=Iro1UGFRU6fW82ezkkddAJDJdlJcx9Q0m8rJWN/63lX5kh882nlLZriMFgyN7VG1BY 0+mEiFOLB9I86ebSFpctKPniHR+wPPU2sLdSepyJEUtO0noQLzbknlIYikb5X1edGvsK ORqv1F2oEXoHVTLtbE4jxl8WA91pm6OJH4xv6yeuspA4HPdt29RKohTLJXmlv8EEBrg2 CrZmb29Nblf5x5USjRFLOCq+coQVwR74QXppDfnWMvnstwK7191jIQh+gMGvJzTm1xfi alUOJ362BtyE0RdT+IL7H+OHQEbvk/VacE9KCTRwBbjGPzNUNdkcJ7R0DoxprGtXPk4J pvnQ==
X-Gm-Message-State: ALoCoQkKrgJ9tbgyZgw0FJUPgIr+pPASFdP/LCnMe8+HP1+cAbxvQuLkWcdZCOnPCfBVvKUjlivg
X-Received: by 10.58.134.101 with SMTP id pj5mr1498420veb.38.1400433348963; Sun, 18 May 2014 10:15:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.145.105 with HTTP; Sun, 18 May 2014 10:15:28 -0700 (PDT)
In-Reply-To: <CABcZeBOpn4UzhwQrLEL7iMoNr7HuXhvkA3=W-nZBkfAUo5Z-iQ@mail.gmail.com>
References: <CABcZeBNdd9Ze1G3ZOpGHVKsGKBdhEAOzg4qt7XKnX75dhQyTkA@mail.gmail.com> <CABkgnnVjJTnTypBqL-YLMPwo0_RSdkMLgQvD+L03jwyt_ffDqQ@mail.gmail.com> <FFCA477F-653D-46FF-93CE-4338EA856C5C@iii.ca> <CABcZeBMS5x-wW24PAOOCMG8nM2Ac1fvi_y2XOekmgAeQHL056A@mail.gmail.com> <8C8E3AB0-F3B6-4413-BD01-05D117FF598F@iii.ca> <CAOJ7v-3PwfOiLNtrguNru+L+Aun2Qw7giRx23dobu8eh5NDVDw@mail.gmail.com> <CABcZeBOpn4UzhwQrLEL7iMoNr7HuXhvkA3=W-nZBkfAUo5Z-iQ@mail.gmail.com>
From: Justin Uberti <juberti@google.com>
Date: Sun, 18 May 2014 10:15:28 -0700
Message-ID: <CAOJ7v-0U9bbujV4_S3ekPDt0UiN=F=JAe4t1LSOP=Fb07TK5GQ@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Content-Type: multipart/alternative; boundary="089e01183daa4c0d3a04f9afcc9a"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/OgXn4RGsBEdYpS6qhnNIIbBG8D8
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>, "public-webrtc@w3.org" <public-webrtc@w3.org>
Subject: Re: [rtcweb] Default candidate pool size
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: Sun, 18 May 2014 17:15:51 -0000

That would be my preference as well. Due to timing, it shouldn't be an
error to pass in a local desc that has *fewer* candidates than the ICE
agent knows about, but you should never be able to pass in more.


On Sun, May 18, 2014 at 10:11 AM, Eric Rescorla <ekr@rtfm.com> wrote:

>
>
>
> On Sun, May 18, 2014 at 10:05 AM, Justin Uberti <juberti@google.com>wrote:
>
>> Sounds good to me. As to the default, I'm fine with leaving it
>> unspecified.
>>
>> Regarding the email from Kiran:
>> - onicecandidate never fires until after setLocalDescription is called,
>> regardless of candidate pooling. Candidate pooling just causes any pooled
>> candidates to be emitted immediately once setLocalDescription is called.
>> - candidates specified in setLocalDescription are ignored. We could make
>> it an error to pass in candidates that the browser hasn't given to you, but
>> that doesn't seem super critical.
>>
>
> This seems like it's coupled to the more general question of how
> we behave when someone passes in stuff in SetLocal that doesn't
> correspond to stuff we allow you to change in the SDP. My general
> preference would be an error in all such cases, but I could be talked
> out of that.
>
> -Ekr
>
>
>> On Sun, May 18, 2014 at 9:56 AM, Cullen Jennings <fluffy@iii.ca> wrote:
>>
>>>
>>> how about just adding the pool size to RTCConfiguration ?
>>>
>>> On May 18, 2014, at 9:26 AM, Eric Rescorla <ekr@rtfm.com> wrote:
>>>
>>> > As far as I know, this has been agreed on, but the W3C spec has
>>> > never been updated to reflect it.
>>> >
>>> > -Ekr
>>> >
>>> >
>>> >
>>> > On Sat, May 17, 2014 at 11:04 AM, Cullen Jennings <fluffy@iii.ca>
>>> wrote:
>>> >
>>> > I think the JS app needs a way to say what it needs in the way of pool
>>> size.
>>> >
>>> >
>>> > On May 12, 2014, at 12:15 PM, Martin Thomson <martin.thomson@gmail.com>
>>> wrote:
>>> >
>>> > > On 11 May 2014 17:18, Eric Rescorla <ekr@rtfm.com> wrote:
>>> > >>
>>> > >> My personal opinion is that candidate pooling is useful here and we
>>> > >> should probably leave the default in the hands of the browser. I
>>> > >> could live with 0 however.
>>> > >
>>> > > I tend to agree.  The selection of a default seems like a good
>>> > > opportunity for browsers to optimize.  For instance, a mobile device
>>> > > might choose to defer gathering until it knows that it needs them;
>>> > > whereas a device with a good source of power might prefer the latency
>>> > > benefits associated with early gathering.  No point in us specifying
>>> > > this.
>>> > >
>>> > > _______________________________________________
>>> > > rtcweb mailing list
>>> > > rtcweb@ietf.org
>>> > > https://www.ietf.org/mailman/listinfo/rtcweb
>>> > >
>>> >
>>> >
>>>
>>> _______________________________________________
>>> rtcweb mailing list
>>> rtcweb@ietf.org
>>> https://www.ietf.org/mailman/listinfo/rtcweb
>>>
>>
>>
>