Re: [rtcweb] Why is required to have local streams before running ICE gathering? (another SDP limitation?)

Jim Barnett <Jim.Barnett@genesyslab.com> Fri, 14 June 2013 17:46 UTC

Return-Path: <jim.barnett@genesyslab.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 825A721F9D11 for <rtcweb@ietfa.amsl.com>; Fri, 14 Jun 2013 10:46:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZJNYbH6vk0xJ for <rtcweb@ietfa.amsl.com>; Fri, 14 Jun 2013 10:46:31 -0700 (PDT)
Received: from service107-us.mimecast.com (service107-us.mimecast.com [207.211.31.84]) by ietfa.amsl.com (Postfix) with ESMTP id 9E77821F9D06 for <rtcweb@ietf.org>; Fri, 14 Jun 2013 10:46:30 -0700 (PDT)
Received: from webmail-us.genesyslab.com (168.75.250.3 [168.75.250.3]) (Using TLS) by service107-us.mimecast.com; Fri, 14 Jun 2013 13:46:29 -0400
Received: from GENSJZMBX02.msg.int.genesyslab.com ([fe80::64cd:bb44:81d2:5bca]) by GENSJZFE01.msg.int.genesyslab.com ([::1]) with mapi id 14.02.0318.004; Fri, 14 Jun 2013 10:46:26 -0700
From: Jim Barnett <Jim.Barnett@genesyslab.com>
To: Eric Rescorla <ekr@rtfm.com>
Thread-Topic: [rtcweb] Why is required to have local streams before running ICE gathering? (another SDP limitation?)
Thread-Index: AQHOaEYPQWFF9liWoEG7x+aoa8JPBZk0OBIAgAAAh4CAAVflAIAAIwwA///KGaE=
Date: Fri, 14 Jun 2013 17:46:26 +0000
Message-ID: <CFB23B7B-0ED6-4EC6-AE0B-98041F04037A@genesyslab.com>
References: <CALiegf=ABGSR+CRM-GiMJ-Vmk29-FAyCNgWSFfeneB4V6ObkYQ@mail.gmail.com> <CABcZeBPFTOi6S4YXUSPTo1pGvT=zM9_bivi9Q7MAg5wSrATfXQ@mail.gmail.com> <CABcZeBM6NN2jm9s+mrNj759AiQu31R8QdRgkr65gKxOFm0jvjw@mail.gmail.com> <CALiegfmjvoMgcVRnrsfg4AMdpguDW1X-gmzOKiHZenUGheA7Aw@mail.gmail.com>, <CABcZeBOEsgWUA5w4wCAtD_K5YhEdDXR2GvqhocX=BExJCUZn9w@mail.gmail.com>
In-Reply-To: <CABcZeBOEsgWUA5w4wCAtD_K5YhEdDXR2GvqhocX=BExJCUZn9w@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
MIME-Version: 1.0
X-MC-Unique: 113061413462900401
Content-Type: text/plain; charset="WINDOWS-1252"
Content-Transfer-Encoding: quoted-printable
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Why is required to have local streams before running ICE gathering? (another SDP limitation?)
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
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: Fri, 14 Jun 2013 17:46:36 -0000

You can call updateICE at any point.  I also recall us agreeing to let you specify the number of candidates, but it's not in the spec. If it gets added to updateICE then you would be able to specify the number of candidates before setLocal.

On Jun 14, 2013, at 10:01 AM, "Eric Rescorla" <ekr@rtfm.com<mailto:ekr@rtfm.com>> wrote:




On Fri, Jun 14, 2013 at 4:53 AM, Iñaki Baz Castillo <ibc@aliax.net<mailto:ibc@aliax.net>> wrote:
2013/6/13 Eric Rescorla <ekr@rtfm.com<mailto:ekr@rtfm.com>>:
>> 1. There is agreement that there should be a mechanism to pre-specify
>> the size of a candidate pool to gather, though I just glanced in the spec
>> and I didn't see it. (May have missed it though).
>
>
> I see that there still is some (not quite up to date) text here:
>
> Create an ICE Agent as defined in [ICE] and let connection's
> RTCPeerConnection ICE Agent be that ICE Agent and provide it the STUN and
> TURN servers from the configuration array. The ICE Agent will proceed with
> gathering as soon as the IceTransports constraint is not set to "none". 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.


Hi Eric, thanks a lot for the information you provide.

Is it feasible with the current API to ask for N ICE candidates prior
to having the local SDP set as local descriptor in the PeerConnection?


That has been discussed (and I thought agreed upon) but I don't see
it in the spec.

-Ekr

_______________________________________________
rtcweb mailing list
rtcweb@ietf.org<mailto:rtcweb@ietf.org>
https://www.ietf.org/mailman/listinfo/rtcweb