Re: [MMUSIC] UPDATE mechanism for Trickle ICE - Comment on draft-ivov-mmusic-trickle-ice-sip-01

Emil Ivov <emcho@jitsi.org> Wed, 23 October 2013 14:42 UTC

Return-Path: <emil@sip-communicator.org>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E971F11E838B for <mmusic@ietfa.amsl.com>; Wed, 23 Oct 2013 07:42:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.249
X-Spam-Level:
X-Spam-Status: No, score=-3.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_FR=0.35, 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 3El7ureSnuTx for <mmusic@ietfa.amsl.com>; Wed, 23 Oct 2013 07:42:32 -0700 (PDT)
Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by ietfa.amsl.com (Postfix) with ESMTP id E443C11E838A for <mmusic@ietf.org>; Wed, 23 Oct 2013 07:42:31 -0700 (PDT)
Received: by mail-wg0-f47.google.com with SMTP id c11so903776wgh.26 for <mmusic@ietf.org>; Wed, 23 Oct 2013 07:42:31 -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:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=iTGsUOlGOZXeNzn8eG/0KqKaq6WMm3A4c13abF2g+CA=; b=E126rfkhZysdDybxXypzP/WgOWA90wI8x1wGJlOy3sq+B65MLVHFYLOsNIp37sm/KO FGWLpAWyOCmiM5n4HG+1G+JpruD1ZqL0yobOAajFr2VMEffMuF/v0IiBDr6yRaZt9DS6 oLS7uoBh9ARWn9VGzL75KH6+p49gS+5kShhXmggQTteGEg3ZzB8Fs6nOQzKQ1B1nD17G AVVXTf+oXRC6w69qpSW8K/P288pXUhb/9d9EvE0wuy7mvNJMsMdIb+pAZVVFEucAawC5 iwNV2odEhcJ94wf7psE3Ab6MgwU/WlFae8xnpDHPts1yCxNtXcc8D0eH52ujcPJhHA1V HUSA==
X-Gm-Message-State: ALoCoQmjtf1EyfTr+ejRvSMQrvFKUAmez9hCdkuILm1PSqojmWlwvUAvv4f/pyAsl5cfUkLRNS83
X-Received: by 10.194.94.33 with SMTP id cz1mr1910192wjb.73.1382539351076; Wed, 23 Oct 2013 07:42:31 -0700 (PDT)
Received: from pastropnet.u-strasbg.fr (pastropnet.u-strasbg.fr. [130.79.90.87]) by mx.google.com with ESMTPSA id fr4sm17514330wib.0.2013.10.23.07.42.29 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Oct 2013 07:42:30 -0700 (PDT)
Message-ID: <5267E052.6020401@jitsi.org>
Date: Wed, 23 Oct 2013 16:42:26 +0200
From: Emil Ivov <emcho@jitsi.org>
Organization: Jitsi
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
To: Christer Holmberg <christer.holmberg@ericsson.com>
References: <00a401cece8b$7b00f780$7102e680$@co.in> <CAPvvaaK3YOOB-Ta8+eoRcfQ8NrNRDdDf5a3VvOaN0vK=0unf7A@mail.gmail.com> <00ce01cecf48$6c0b5500$4421ff00$@co.in>, <5266BB46.4070305@jitsi.org> <7594FB04B1934943A5C02806D1A2204B1C4EBB51@ESESSMB209.ericsson.se>, <5266C0A7.5040305@jitsi.org> <7594FB04B1934943A5C02806D1A2204B1C4EBBEA@ESESSMB209.ericsson.se> <5266DAB0.7020001@jitsi.org> <7594FB04B1934943A5C02806D1A2204B1C4EC9F2@ESESSMB209.ericsson.se> <5267CA43.8020304@jitsi.org> <7594FB04B1934943A5C02806D1A2204B1C4EDE3A@ESESSMB209.ericsson.se>
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B1C4EDE3A@ESESSMB209.ericsson.se>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: 'mmusic' <mmusic@ietf.org>
Subject: Re: [MMUSIC] UPDATE mechanism for Trickle ICE - Comment on draft-ivov-mmusic-trickle-ice-sip-01
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.12
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: Wed, 23 Oct 2013 14:42:37 -0000

On 23.10.13, 16:06, Christer Holmberg wrote:
> Hi,
>
>>> First, I completely messed up with the candidate types. Sorry for the
>>> confusion :)
>>>
>>> Anyway, it doesn't really matter what type of candidates are trickled
>>> - it's about whether trickled candidates can be affected by
>>> Offers/Answers.
>>
>> And by affected you really mean invalidated. OK, I think I understand now.
>>
>> I don't think there's anything in 5245 that defines semantics which would invalidate existing candidates.
>
> Generally, in SDP Offer/Answer, when an SDP attribute is not present, it means that it's invalidated, or the default value (if such has been specified) is assumed.

What I meant was that 5245 explicitly states that all previously 
signalled candidates MUST be signalled in updated Offers, so candidate 
removal in the middle of ICE processing is not something that is defined 
for ICE.

Also, non-signalled candidates, like peer reflexive, are not required to 
be signalled in update Offers, so their absence in an offer cannot in 
any way be construed as a request for their removal.

> You could of course argue that, if a candidate has never been carried in an SDP Offer/Answer to begin with, SDP Offer/Answers should have no impact on it.

Yes, that's exactly what I'd argue since this is pretty much what 5245 
says (I say "pretty much" because it doesn't explicitly state it for 
trickle, but the general case matches).

> But, that really depends on whether the candidates are considered
> part of the SDP state or not. IF so, trickled candidates would update
> that state, in the same way SDP Offers/Answers do.

Right, and I've already mentioned that I don't see any reason to 
consider them as part of the SDP state, just as you wouldn't consider 
peer-reflexive candidates to be part of it.

> My point is that these things need to be clearly clarified.

I also agree that a clarification would be helpful (especially a clear 
one ;) ). It's easy to get lost in all this.

>>>>> So, that would mean that if an Offer is received without the peer
>>>>> refexive candidates, the answerer would remove them.
>>>>
>>>> You lost me. How would an answerer remove candidates from an offer if
>>>> they weren't there in the first place? Did you mean to say something
>>>> else?
>>>
>>> I referred to the example below, where an Offer does not contain a
>>> candidate that was previously trickled, and whether the answerer will
>>> then assume that the candidate is no longer valid.
>>
>> Right. I don't think there's such a risk. 5245 explicitly forbids update Offers and Answers to remove candidates that have been announced previously and it allows (as in MAY, not SHOULD) that new candidates be added.
>>
>> The former should address your concern and I believe we could simply remove the latter as it is of little use, if any.
>
> Well, then there is of course a risk that the receiver of the Answer
> will trigger an error, as the trickled candidate is not included in
> the Answer (as the Answer was sent before the candidate was trickled
> :)

Lost me again. I think some ascii art or a web sequence diag [0] would 
be very helpful here. Want to give it a try?

Or we could continue this discussion once we have the specific cases in 
the new version of the draft. Hopefully it would be easier that way.

Emil

[0] WebSequenceDiagrams: https://www.websequencediagrams.com/

>
> Regards,
>
> Christer
>

-- 
https://jitsi.org