Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245bis

Justin Uberti <juberti@google.com> Thu, 24 July 2014 17:17 UTC

Return-Path: <juberti@google.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B3431A0ACE for <mmusic@ietfa.amsl.com>; Thu, 24 Jul 2014 10:17:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.379
X-Spam-Level:
X-Spam-Status: No, score=-1.379 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.001, SPF_PASS=-0.001] autolearn=no
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 12QV2xyAR9sI for <mmusic@ietfa.amsl.com>; Thu, 24 Jul 2014 10:17:34 -0700 (PDT)
Received: from mail-vc0-x229.google.com (mail-vc0-x229.google.com [IPv6:2607:f8b0:400c:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2CFB51A0AD3 for <mmusic@ietf.org>; Thu, 24 Jul 2014 10:17:19 -0700 (PDT)
Received: by mail-vc0-f169.google.com with SMTP id hu12so5441978vcb.28 for <mmusic@ietf.org>; Thu, 24 Jul 2014 10:17:18 -0700 (PDT)
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=ncDMgiTpzDQkc6R7buAGLX0cqA4fk1HetKLRuBpGce8=; b=MgBM/WGTeIhusXbwI9r9hxQhYZ3KljtMX+B17Ys53eynnSDXN0Nbco0rzRhGsMlMin P/S2751DXNjcUDKur1/4HAH5mTuX/nKvPIBAGgtKElZf/YT+wJp8k78LhflwuAsNtqkK ibPkVoDAFwMEjQaIwo6CCTPGvO3TK7nhKReHuFdwRQPquGLavdKmw+dimCl5ndMbMNYY J9u4hJw4y2CQ4eHsnIvBg4JPCnHYsxOJc3yL3TbbBYTQ5diYlwVbhHNkmdNmQmns88xc 23uIMkMPndXZK4/qmHHQA23zS6z4ArmZxJMHxFTwtHQgkHBKuk0Us0mdMHl3xq4QAQWF A5ig==
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=ncDMgiTpzDQkc6R7buAGLX0cqA4fk1HetKLRuBpGce8=; b=eZ023E5Vz0o4419NdU+2OjIQM8RVM+M70Q5zjRkw+j+TrmQc7e0CoCZxszdQ1/p8qL JEAVPvN/XqzVgIE40pmi1mx4FpY8R9U6aYUSgNxjKKTu9bsf6oVWzRxuiDiExoinw+7t QGEzKmL0MexRJaK2Qz1Y22H3LO3olVZK+jcbk3F1Ai7gZjzdfrfq67NStkBkQlnyHIL5 CPF1skWSGt+sQP+d3dbYlm2qsKDVwGIvnFNvQNAdmmDQhabF51UQ8cCr38K4k+KAprl4 QucFvVp7eG8hZOdyAEaiYUTRiQDDElHEnYNXPG27lVAVNYOEblm3m5M7OsZYt7t1GI+7 /sxw==
X-Gm-Message-State: ALoCoQkX8MLUBAaAPLZc3Dn9Dy3RGHCozozoVfL3SgM5e6X1uv2ufA51gMNLXW4xprU8Fn769zp7
X-Received: by 10.221.44.69 with SMTP id uf5mr14598270vcb.4.1406222238234; Thu, 24 Jul 2014 10:17:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.4.70 with HTTP; Thu, 24 Jul 2014 10:16:58 -0700 (PDT)
In-Reply-To: <53D12A3A.4080808@jitsi.org>
References: <53CD7C04.8070106@jitsi.org> <53CE7D0A.4030406@ericsson.com> <53CE7DDD.5030406@jitsi.org> <53CEE1A7.7070202@ericsson.com> <CAPvvaaKohXq8cZjUaQR6VvhHZ+Lkzzk2sQUn+iwSp_H1W6qaSA@mail.gmail.com> <53CFE322.5000508@ericsson.com> <53D03077.5080103@jitsi.org> <53D03578.5020301@ericsson.com> <53D036F1.8070504@jitsi.org> <53D11228.1080201@ericsson.com> <CAPvvaaLMip-ObdXfWqOhqtm-WR1sEXo8g_bK4=A6L2LPY=9FuA@mail.gmail.com> <CALiegfmaYVx4Kvw-kjyLaK688Vk7bNp5KiApQtF8d6vtKwzm=w@mail.gmail.com> <CAPvvaaLtCvXV=FQam3eTQCUP8FZyh=0ApDfiSUEBBGqNTWpxKg@mail.gmail.com> <CALiegf=etc0vRnz_qR7vLnrfHJT3F-Bs6YEN5u1bg98QHnAANA@mail.gmail.com> <CAPvvaaJ5dqVzV4=woto04TK6btA6LMywrifsOd7BWqjk1-A_jw@mail.gmail.com> <CALiegf=Lvt4RVsJ-iPtORM_VnRhtd_30mqX2Mcq4v=SzMVr_rg@mail.gmail.com> <53D12A3A.4080808@jitsi.org>
From: Justin Uberti <juberti@google.com>
Date: Thu, 24 Jul 2014 13:16:58 -0400
Message-ID: <CAOJ7v-13BvzDuKza-svNgMTP6sU+HJU9HyW8ekJ87+m_VPWzwg@mail.gmail.com>
To: Emil Ivov <emcho@jitsi.org>
Content-Type: multipart/alternative; boundary="001a11339e88fc567f04fef3a0d8"
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/-eRrYNpaZEX3Pad0H7Ox9rIihCI
Cc: Ari Keränen <ari.keranen@ericsson.com>, mmusic <mmusic@ietf.org>
Subject: Re: [MMUSIC] Seriously, USE-CANDIDATE!!! in 5245bis
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jul 2014 17:17:36 -0000

The PRIORITY attribute is only for determining priority for peer-reflexive
candidates. Using it to change priority for other types of candidates would
be a significant change in semantics; I don't want to go there.


On Thu, Jul 24, 2014 at 11:46 AM, Emil Ivov <emcho@jitsi.org> wrote:

>
>
> On 24.07.14, 11:33, Iñaki Baz Castillo wrote:
>
>> 2014-07-24 17:15 GMT+02:00 Emil Ivov <emcho@jitsi.org>:
>>
>>> The ICE server should select the request
>>>> with highest PRIORITY
>>>>
>>>
>>> I am not sure what you mean by ICE server.
>>>
>>
>> The ICE agent receiving the requests.  Imagine a ICE-Lite server which
>> is just a "server".
>>
>
> Well ok, but an ICE lite agent doesn't really get to select anything. It
> just has to try and understand what the controlling agent has selected.
> Currently it would do that based on priority but this is suboptimal. That's
> what we are trying to improve.
>
>
>  regardless it receives later a new one with less
>>>> PRIORITY. This is clear in the RFC. And this is because it is supposed
>>>> that both peers agree on selecting the request-response with higher
>>>> PRIORITY, regardless which one arrives before.
>>>>
>>>
>>> This is not true for regular nomination where the nominated candidate
>>> is chosen solely based on the USE-CANDIDATE option.
>>>
>>
>> I just mean aggressive nomination.
>>
>>
>>
>>  This makes sense. Let's assume requests come in this order:
>>>>
>>>> 1)
>>>>
>>>>     Req1-good-connection PRIORITY: 9000  -->
>>>>     Req2-bad-connection PRIORITY: 1000  -->
>>>>
>>>> should the server chose Req2? not at all.
>>>>
>>>> 2)
>>>>
>>>>     Req2-bad-connection PRIORITY: 1000  -->
>>>>     Req1-good-connection PRIORITY: 9000  -->
>>>>
>>>> server should choose Req1 once it arrives.
>>>>
>>>
>>> I think you are confusing multiple received USE-CANDIDATE options for
>>> *different* candidate pairs (which is what happens with aggressive
>>> nomination) with receiving a second USE-CANDIDATE option for *the
>>> same* candidate pair.
>>>
>>
>>
>> Humm, not :)
>>
>
> Getting multiple USE-CANDIDATES on *different* candidates is simply the
> definition of aggressive nomination. We are not discussing this.
>
> The "second" USE-CANDIDATE that mails in this thread have referred to was
> about the possibility to do a second USE-CANDIDATE on the *same* pair as an
> indication for selecting that candidate. Neither of your examples below
> display this.
>
>
>  - ICE-Lite servers opens UDP socket in ports 1111 and 2222.
>>
>> - Client sends:
>>
>>    ICE-Req-1 USE_CANDIDATE PRIORITY 555  -->  port 1111
>> and later:
>>    ICE-Req-2 USE_CANDIDATE PRIORITY 666  -->  port 2222
>>
>> I just mean that in this case the ICE-Lite server must first select
>> Req1--1111 pair and then move to Req2--2222 pair.
>>
>> But in this case:
>>
>>    ICE-Req-1 USE_CANDIDATE PRIORITY 666  -->  port 1111
>> and later:
>>    ICE-Req-2 USE_CANDIDATE PRIORITY 555  -->  port 2222
>>
>> the ICE-Lite server must first select Req1--1111 pair and would NOT
>> move to Req1--2222 pair.
>>
>
>
> The point is that, once the two checks above succeed, the controlling
> agent may choose to send an additional *third* request on *any* of the two
> in order to communicate its desire to use that candidate pair.
>
> This may be the higher priority candidate pair or it may be another one
> (e.g., if it gave a better RTT) and its choice would depend on the
> controlling agent.
>
> Is it clearer now?
>
> Emil
>
> --
> https://jitsi.org
>
>
> _______________________________________________
> mmusic mailing list
> mmusic@ietf.org
> https://www.ietf.org/mailman/listinfo/mmusic
>