Re: [rtcweb] Default candidate pool size

Eric Rescorla <ekr@rtfm.com> Sun, 18 May 2014 17:11 UTC

Return-Path: <ekr@rtfm.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 F27DA1A0160 for <rtcweb@ietfa.amsl.com>; Sun, 18 May 2014 10:11:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.077
X-Spam-Level:
X-Spam-Status: No, score=-0.077 tagged_above=-999 required=5 tests=[FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 diczRU9QZjXt for <rtcweb@ietfa.amsl.com>; Sun, 18 May 2014 10:11:43 -0700 (PDT)
Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 85DD91A011A for <rtcweb@ietf.org>; Sun, 18 May 2014 10:11:42 -0700 (PDT)
Received: by mail-wi0-f172.google.com with SMTP id hi2so3056423wib.5 for <rtcweb@ietf.org>; Sun, 18 May 2014 10:11:41 -0700 (PDT)
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=m26gfx5ybdEfvLfmL98qyn5VATP0sYxw51S5wADzh9s=; b=EsVyHM9ClqWWjwjSlAs67YDPkWEP66d7mV1rFee4rjwB11kw8mxTZLlFRlGorJSk2X ARbSGKrIP1icsplPnPE6rgN5MXhv8M2SVbcMmNGGJKiX4P5I9bYlQEolPHqI5nuSn67B rUp6FDRnS5yLixJuPMA85aOU0U0ZTAALLQ3evJCjaAvqxL1EqUaBUZ1dk3FpCIwOTVM6 +Y9cb//51md4n/bRe+y8zmjWu/XXw33paebpjVQ/UTof88hYguHftrVPbBnXRejo/TKC FFDeMQ50PfkvT4vWigBsS3QMCDBhH+7+NUvaT5LMTJnWwuirJ/6b9cpcT2AEn7NHZjVJ s3CQ==
X-Gm-Message-State: ALoCoQn/pRUPMpa9LlTc4PHic+OVLudPXtohWaI7Guv1XhLoBTXAfehK1l/wB9vlHZAdgnb3GJsS
X-Received: by 10.180.97.68 with SMTP id dy4mr8469319wib.49.1400433101396; Sun, 18 May 2014 10:11:41 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.216.218.198 with HTTP; Sun, 18 May 2014 10:11:00 -0700 (PDT)
X-Originating-IP: [74.95.2.168]
In-Reply-To: <CAOJ7v-3PwfOiLNtrguNru+L+Aun2Qw7giRx23dobu8eh5NDVDw@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>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 18 May 2014 10:11:00 -0700
Message-ID: <CABcZeBOpn4UzhwQrLEL7iMoNr7HuXhvkA3=W-nZBkfAUo5Z-iQ@mail.gmail.com>
To: Justin Uberti <juberti@google.com>
Content-Type: multipart/alternative; boundary="f46d044306ac8a79c104f9afbd20"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/o_Jld_KUzTAuebJK6QBer26V3n4
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:11:45 -0000

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
>>
>
>