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

Emil Ivov <emcho@jitsi.org> Thu, 24 July 2014 15:18 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 2AA181A0377 for <mmusic@ietfa.amsl.com>; Thu, 24 Jul 2014 08:18:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.679
X-Spam-Level:
X-Spam-Status: No, score=-1.679 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, 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 DXFqidNDJvmc for <mmusic@ietfa.amsl.com>; Thu, 24 Jul 2014 08:18:11 -0700 (PDT)
Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5A8CC1A03CC for <mmusic@ietf.org>; Thu, 24 Jul 2014 08:15:31 -0700 (PDT)
Received: by mail-vc0-f169.google.com with SMTP id hu12so5228572vcb.14 for <mmusic@ietf.org>; Thu, 24 Jul 2014 08:15:30 -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:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=Boz9BNEqohukImrTJxBSBbTGgt26Luu604+zO6jvTsE=; b=DZjruYiWPqKLqb2zLfsnLD9LRlA6B8chjWh4+yKauPXzNwEQUHxlrpQH9Swo4QVJTH eMJ+Ht5wOTSEaIi0nRDOjKiHOSa8M3NkQLxuNQfvR5/tTE35r4cWtTg+djlCHDHB8eQN kyPPcY2EoWvX8DL0kFK25Cxofjq2TdO4t6U+IvzIxuxqAzpOOl+c+joWURMJoH7wuDk5 V+33owqnDC4ut76zFHZ4y1KCS+MRrPjAyZz8jnlTfJigrQaKgRZTWGdmuyGcCDk92y3q dhjknilZM0zMU30H2gaNJLb+rUYVegJWsLXh22Lo9vuiJepU+A5p1alORFQO2z/awxVL Dvvw==
X-Gm-Message-State: ALoCoQkPkZzl+nmGT4iK2mMM+VPNt6L6EXxil8Sf9jhRqqvt8IL96WsQ0qc9kOBMNkQ5FSBTC6W8
X-Received: by 10.220.179.197 with SMTP id br5mr4946042vcb.80.1406214930473; Thu, 24 Jul 2014 08:15:30 -0700 (PDT)
Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPSA id u9sm1766125vep.17.2014.07.24.08.15.30 for <mmusic@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Jul 2014 08:15:30 -0700 (PDT)
Received: by mail-vc0-f174.google.com with SMTP id la4so5140993vcb.33 for <mmusic@ietf.org>; Thu, 24 Jul 2014 08:15:29 -0700 (PDT)
X-Received: by 10.52.53.33 with SMTP id y1mr11269493vdo.31.1406214929942; Thu, 24 Jul 2014 08:15:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.238.75 with HTTP; Thu, 24 Jul 2014 08:15:09 -0700 (PDT)
In-Reply-To: <CALiegf=etc0vRnz_qR7vLnrfHJT3F-Bs6YEN5u1bg98QHnAANA@mail.gmail.com>
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>
From: Emil Ivov <emcho@jitsi.org>
Date: Thu, 24 Jul 2014 11:15:09 -0400
Message-ID: <CAPvvaaJ5dqVzV4=woto04TK6btA6LMywrifsOd7BWqjk1-A_jw@mail.gmail.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/SDiFtT1WwoSvzHhFDCVS0RmHAKM
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:18:15 -0000

On Thu, Jul 24, 2014 at 11:08 AM, Iñaki Baz Castillo <ibc@aliax.net> wrote:
> 2014-07-24 16:48 GMT+02:00 Emil Ivov <emcho@jitsi.org>:
>> Well, if you are going to resend it at all then you don't even need to
>> change priority. The simple fact that you are re-confirming it should
>> be enough of an indication.
>
> I don't think it should work.

It wouldn't work with existing implementations. The point is to define
the spec in a way that makes it work in future implementations.

> The ICE server should select the request
> with highest PRIORITY

I am not sure what you mean by ICE server.

> 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.

The point is to create an unambiguous

> 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.

Emil


-- 
https://jitsi.org