[rtcweb] Default candidate pool size

Eric Rescorla <ekr@rtfm.com> Mon, 12 May 2014 00:19 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 D81F31A0384 for <rtcweb@ietfa.amsl.com>; Sun, 11 May 2014 17:19:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 LfM_Zmn8B8JQ for <rtcweb@ietfa.amsl.com>; Sun, 11 May 2014 17:19:39 -0700 (PDT)
Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by ietfa.amsl.com (Postfix) with ESMTP id C8C361A0383 for <rtcweb@ietf.org>; Sun, 11 May 2014 17:19:38 -0700 (PDT)
Received: by mail-wg0-f41.google.com with SMTP id z12so6247513wgg.24 for <rtcweb@ietf.org>; Sun, 11 May 2014 17:19:32 -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:from:date:message-id:subject:to :content-type; bh=4JzbXJtQaj5LIkA7rvDzEZBSjagoIMOBa5pIAg6UEJY=; b=cC3wfRhQqS8fZ/n2Y3pm3yyw17UpDMudA6AK3jMBK71ogRUutCZjwadJ9IjH/2jL0C HCvP92SJL8TRVfo6VpYEAV+2UIDX/gvWUUgIXQPxli9SUAqVki802RFJC1uxe/yxeKxC YEHKKrdIX20wwUNcWUKQEuo3bYu9wrrCbzuktVy6w4slopAeEM5MkTruHeiwZPqMSgPw NUy2y/1RtzAA743GA24DFGw3nwiYqMkKw/7sdHVl2Zut7y1B2Jjsj3081P9jqbujUMhD CCPMGJ2RSmDrbLweMXAMePLskb8jJVGwtbcj77NFCanIGL6ip53bDcDiYz9Pzy6vjD0q KsbQ==
X-Gm-Message-State: ALoCoQm1sZndciUW17ow1Fkwk6mJYDqxapoO9EPEm570/woXHyTfwGuogJKNoIB4xAY340V1jDu+
X-Received: by 10.180.94.226 with SMTP id df2mr12769956wib.1.1399853972619; Sun, 11 May 2014 17:19:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.216.218.198 with HTTP; Sun, 11 May 2014 17:18:52 -0700 (PDT)
X-Originating-IP: [74.95.2.168]
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 11 May 2014 17:18:52 -0700
Message-ID: <CABcZeBNdd9Ze1G3ZOpGHVKsGKBdhEAOzg4qt7XKnX75dhQyTkA@mail.gmail.com>
To: "rtcweb@ietf.org" <rtcweb@ietf.org>, "public-webrtc@w3.org" <public-webrtc@w3.org>
Content-Type: multipart/alternative; boundary="f46d04447e61c69bdb04f928e69e"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/FIQG0aQ1LGdK7OT5OopbUGPeAew
Subject: [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: Mon, 12 May 2014 00:19:41 -0000

https://github.com/rtcweb-wg/jsep/issues/12

JSEP says:
S 4.1.1.
" The PeerConnection constructor allows the application to specify
global parameters for the media session, such as the STUN/TURN servers
and credentials to use when gathering candidates. The size of the ICE
candidate pool can also be set, if desired; by default the candidate
pool size is zero."

The WebRTC spec says:
"At this point the ICE Agent does not know how many ICE components it
needs (and hence the number of candidates to gather), but it can make
a reasonable assumption such as 2. As the RTCPeerConnection object
gets more information, the ICE Agent can adjust the number of
components"

These need to be harmonized.

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.

-Ekr