Re: [rtcweb] Default candidate pool size

Eric Rescorla <ekr@rtfm.com> Sun, 18 May 2014 17:39 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 5CB021A01B1 for <rtcweb@ietfa.amsl.com>; Sun, 18 May 2014 10:39:16 -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 zauwAUdWD2xE for <rtcweb@ietfa.amsl.com>; Sun, 18 May 2014 10:39:13 -0700 (PDT)
Received: from mail-we0-f173.google.com (mail-we0-f173.google.com [74.125.82.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 650CE1A016C for <rtcweb@ietf.org>; Sun, 18 May 2014 10:39:13 -0700 (PDT)
Received: by mail-we0-f173.google.com with SMTP id u57so4518621wes.18 for <rtcweb@ietf.org>; Sun, 18 May 2014 10:39:12 -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=pFwwQOPl7mbpi+0K+qPDukyMvx9wMfHJwfddyU8W5wg=; b=jSLS3fzqht9j+tNMr/zi+RDbYkjroKNw9nisyEJdA3ta0nIKlxsgIZS6iLkkvCVtoF P57FVsqmbwoJ2+yVUyIuo3LJQ30tww++5skEG+USZKiWZJacBQyoW2sUVoMj2KUW3BYa hQmjAHsje8EB9UNm0w0RSm4R6KmA2e7zlG4HNaFsMYEqNZvwGOtASQyB8iRJ4jabEehF 51WtWncz0shBjvc+amJX8iVXC0fquUmLLHN/NekGEeEzmN/h+HI5jq1UFkzDcomL7nvs WiQQbj5EBpO3tbBc9MP9JwJnMYt5Rxei3RBBv98qC4iCOWTGP7KC9fH9Qb2A45XP5bhm JI0A==
X-Gm-Message-State: ALoCoQn3L3haRq3O6NxpWRf9/JffYvk4fbfhFFB46yXy0mZLAdkz9TIJdZcwb7qnbhVPZE/sxdfb
X-Received: by 10.180.94.226 with SMTP id df2mr8601710wib.1.1400434752424; Sun, 18 May 2014 10:39:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.216.218.198 with HTTP; Sun, 18 May 2014 10:38:32 -0700 (PDT)
X-Originating-IP: [74.95.2.168]
In-Reply-To: <CAOJ7v-0U9bbujV4_S3ekPDt0UiN=F=JAe4t1LSOP=Fb07TK5GQ@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> <CAOJ7v-0U9bbujV4_S3ekPDt0UiN=F=JAe4t1LSOP=Fb07TK5GQ@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 18 May 2014 10:38:32 -0700
Message-ID: <CABcZeBNdAKOCDmB0XDaUu4qWx=nMJomgm2tR7TYZ2A0wheFm2Q@mail.gmail.com>
To: Justin Uberti <juberti@google.com>
Content-Type: multipart/alternative; boundary="f46d04447e61f3272d04f9b01f4f"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/LFH2rGzfo_TqaTp58YyuscyBI-U
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:39:16 -0000

On Sun, May 18, 2014 at 10:15 AM, Justin Uberti <juberti@google.com> wrote:

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

However, i would prefer it doesn't have any impact on which
candidates are used, since nothing makes you do setLocalDescription()
with any ICE candidates. If we need some way to refuse an ice candidate
(which I don't think we do) it should be in onicecandidate.

-Ekr




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