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

Emil Ivov <emcho@jitsi.org> Thu, 24 July 2014 15:46 UTC

Return-Path: <emcho@sip-communicator.org>
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 2ADA51A02D6 for <mmusic@ietfa.amsl.com>; Thu, 24 Jul 2014 08:46:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.301
X-Spam-Level:
X-Spam-Status: No, score=-2.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, 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 FaImwO03KsnM for <mmusic@ietfa.amsl.com>; Thu, 24 Jul 2014 08:46:13 -0700 (PDT)
Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 92FF91A0350 for <mmusic@ietf.org>; Thu, 24 Jul 2014 08:46:08 -0700 (PDT)
Received: by mail-wg0-f50.google.com with SMTP id n12so2829153wgh.21 for <mmusic@ietf.org>; Thu, 24 Jul 2014 08:46:05 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=xGzXjPsjMvDa8oE4JuQxfwFxbGARgGl2Qd1YVnVVGCM=; b=FnLknmrqX2aOcJIxWbHF/wZ91AXY5XRYwUyY0oxLbA+aILW4xPO8YjbAsJFimHiJoF W3ysTPDdE42AWW0VxTjSV7g9v/Q1pX+jLH6U3BarURak/yoQdPE5KfWCYjzENUVa+6Ps KUxmvA7Ot0X7aY1Ud0jYVTeqEUxYQEm7wGrdfMKQkKc5ALS4gIkpLOoeGRt4uRwBZYki D3lGv39BfPEVznSuKF/ca7d8wtIqRRXu6rmD6voSc/SQCP+geHFt6SOPd8hbA315Ky3M rZ/pw/ic+eQ/u9botWSexFlI5e9o/i3Yv4q3ljQX9WElMG3jZXdQqY/WsDT52EAWlbMh 5qeQ==
X-Gm-Message-State: ALoCoQnXn+tDCTekXZlImrXkZ8V2gjGfbUCFS65pIkKSRPjnH9GFHHitiicAjVcmMWIGc86eCRz7
X-Received: by 10.194.7.36 with SMTP id g4mr13490582wja.37.1406216765407; Thu, 24 Jul 2014 08:46:05 -0700 (PDT)
Received: from dhcp-8034.meeting.ietf.org (dhcp-8034.meeting.ietf.org. [31.133.128.52]) by mx.google.com with ESMTPSA id fu7sm24156413wib.2.2014.07.24.08.46.03 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Jul 2014 08:46:04 -0700 (PDT)
Message-ID: <53D12A3A.4080808@jitsi.org>
Date: Thu, 24 Jul 2014 11:46:02 -0400
From: Emil Ivov <emcho@jitsi.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Iñaki Baz Castillo <ibc@aliax.net>
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>
In-Reply-To: <CALiegf=Lvt4RVsJ-iPtORM_VnRhtd_30mqX2Mcq4v=SzMVr_rg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/dEiYTPDalA_QARoyR1uTIE_Gb3s
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 15:46:18 -0000


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