Re: [rtcweb] Issue with new Trickle ICE text
Justin Uberti <juberti@google.com> Thu, 06 March 2014 13:31 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 69D4B1A02CE for <rtcweb@ietfa.amsl.com>; Thu, 6 Mar 2014 05:31:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.925
X-Spam-Level:
X-Spam-Status: No, score=-1.925 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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.547, 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 Lho0u0Id-Hpv for <rtcweb@ietfa.amsl.com>; Thu, 6 Mar 2014 05:31:44 -0800 (PST)
Received: from mail-vc0-x22c.google.com (mail-vc0-x22c.google.com [IPv6:2607:f8b0:400c:c03::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 48E921A02F9 for <rtcweb@ietf.org>; Thu, 6 Mar 2014 05:31:35 -0800 (PST)
Received: by mail-vc0-f172.google.com with SMTP id lf12so2560738vcb.17 for <rtcweb@ietf.org>; Thu, 06 Mar 2014 05:31:31 -0800 (PST)
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=BEJfFjjHGg3oGv/0Evi55GnSYxavX2g+D9VcvqfBQZ4=; b=er7k60ttUlisW/RK6qTQmagj8uqk+13/hdiGyvzEA05FRCUnIJSDf0ZuCfEG0QHNqg tXyzXsNpi/UJ93wYlnNgR6anom1fghzSuTapenrHx94/4rlhvsQbgG7FCye6MHKvnJnW n+kLQYh+xnb7mEPVinfIp4jvkkv/8K2OO4zebyVTQwd3ketit82Lx2+Jq6o+X/kI/k0H /W0VdHRNqA+qZAQCigln8ib+PX4eWp0czeKFsvKz7e6S5/M4NYqkZLGeid4OXSAv93w2 JgMRsVQwhuAzreYXLLJy4MpKPRg0wp8b8YKqaiQzg1vKWL2roaUnnUgzonnfcLZ4Tb3I CWNQ==
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=BEJfFjjHGg3oGv/0Evi55GnSYxavX2g+D9VcvqfBQZ4=; b=kqwwApoW3yA53ssKAnZWU8kaEAsJXphMZSW0ow68WDRzct51lLxmcQDAJNPL0fpC44 HcUyXNpPS/ck4UudUKWzvNqOvRmuBzdr+khnkjMoI65lKuS+QCEIExPxPUdRZrdmvd84 arT6u35bNmDiiG3kd0X1jrMe+GwxUcbvoeWQ16S0joH9ckVMChcmbKJTh4lF9ghZnvwF PHnYw8XpUDwe+voSHi6Am8gBBfmGzYVy1WXUBr9UCqV3G+tClsMMp9HDuolW06QB1Yor 8SsBizDH6vIjCr5HZqbuk37R9dqCKu05l8/YmtrRcBj80N/fJZQ5q9zbr8uAvT6g3whI 9+Ug==
X-Gm-Message-State: ALoCoQldMUPkHJ9srRE9uORvDVC3RsVoMCBkPxcnWKWFAYBBJJxDa2eLd35kDmu3HvVFpukPCgwrK0poKrvZeZUkMgzGCE6I/o7QRUOu3q1m5KaKV/5St36Sy9QO4d7OdAdJsIQQpfSv66XOiBgPoi0mahP1KJXYCip94MMW6DyYE7ymzlgdud5z9UkdxiW1y33VmWGKAEMz
X-Received: by 10.220.98.143 with SMTP id q15mr82651vcn.38.1394112691252; Thu, 06 Mar 2014 05:31:31 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.26.43 with HTTP; Thu, 6 Mar 2014 05:31:11 -0800 (PST)
In-Reply-To: <CABcZeBM4WtkmD2XTAqWO_YcvJLbyOV6dFdpu2wS1PQtQufzM2Q@mail.gmail.com>
References: <CABcZeBM4WtkmD2XTAqWO_YcvJLbyOV6dFdpu2wS1PQtQufzM2Q@mail.gmail.com>
From: Justin Uberti <juberti@google.com>
Date: Thu, 06 Mar 2014 13:31:11 +0000
Message-ID: <CAOJ7v-16=fxaaQHCxTJfnN+rg3ga_HzsJe=YP=YHcZCHMxG1Jg@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Content-Type: multipart/alternative; boundary="001a11c1da06bd45a204f3f027ec"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/n52GwIzMhVvFznuKmU5NpzcQ4CQ
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Issue with new Trickle ICE text
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: Thu, 06 Mar 2014 13:31:52 -0000
As discussed in the meeting, this doesn't mandate Trickle ICE for the application (which can just wait until gathering is complete, as indicated in S 3.4.1). Trickle ICE is mandated for the implementation, but I thought we had agreed that long ago so that applications can get consistent behavior. While the text in S 3.4.2 is new, it is consistent with the text in 4.1.2 and 4.1.5, which defines the behavior for createOffer and setLocalDescription createOffer: Calling this method may do things such as generate new ICE credentials, but does not result in candidate gathering, or cause media to start or stop flowing. setLocalDescription: This API indirectly controls the candidate gathering process. When a local description is supplied, and the number of transports currently in use does not match the number of transports needed by the local description, the PeerConnection will create transports as needed and begin gathering candidates for them. On Wed, Mar 5, 2014 at 9:27 AM, Eric Rescorla <ekr@rtfm.com> wrote: > S 3.4.2 of JSEP now reads: > > JSEP applications typically inform the browser to begin ICE gathering > via the information supplied to setLocalDescription, as this is where > the app specifies the number of media streams to gather candidates > for. However, to accelerate cases where the browser knows the number > of media streams to use ahead of time, the application MAY ask the > browser to gather a pool of potential ICE candidates to help ensure > rapid media setup. When setLocalDescription is eventually called, > and the browser goes to gather the needed ICE candidates, it can > start by checking if any candidates are available in the pool. > > The issue here is that this basically mandates trickle ICE. If the > pool is smaller than the number of independent ICE streams needed, > then there is no way for you to "start gathering" (since this text > says it happens with sLD) and therefore you cannot supply all of the > candidates in the offer. > > If that's not the intention to require (and I don't believe we agreed > to this semantic), then this needs to be rewritten. > > -Ekr > > > _______________________________________________ > rtcweb mailing list > rtcweb@ietf.org > https://www.ietf.org/mailman/listinfo/rtcweb > >
- [rtcweb] Issue with new Trickle ICE text Eric Rescorla
- Re: [rtcweb] Issue with new Trickle ICE text Justin Uberti