Re: [MMUSIC] draft-ivov-dispatch-trickle-ice-sip/draft-ivov-mmusic-trickle-ice - PRACK not mandatory

Emil Ivov <emcho@jitsi.org> Mon, 08 April 2013 22:04 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 BB9F921F8470 for <mmusic@ietfa.amsl.com>; Mon, 8 Apr 2013 15:04:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RELAYS=-0.001]
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 RteN-qPULCHL for <mmusic@ietfa.amsl.com>; Mon, 8 Apr 2013 15:04:11 -0700 (PDT)
Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) by ietfa.amsl.com (Postfix) with ESMTP id 784F721F8464 for <mmusic@ietf.org>; Mon, 8 Apr 2013 15:04:11 -0700 (PDT)
Received: by mail-wi0-f180.google.com with SMTP id c10so3054689wiw.7 for <mmusic@ietf.org>; Mon, 08 Apr 2013 15:04:10 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=C0fM/P0X+GbmTSXTj6YMk1gzXo0q3X/2IeRwg+0pVKE=; b=SVitmzh2lH/Cjy/t++cqRsA8/oCVwntxPJ85lXi/EW0KhOWPVjhYrNCMhOof/Jcydj HyVhBfvgHJeoI9wrKLb/eWQIeDhuQRCVYjzGktR/YEl5PNJiXh3aMPBIEoPw6IsTaqOm 4Ajmo4ObgB/dyQWeobXWDLd0l/qDES/tsGqcNJmzwk/pDsSgu58jrF09+IfK/Yv9ZLII G3LGv1iZhjdo7SefXe7Awzo1YaTtU2dAZMXE8U1P+ArRcbytzGBFbA4oC+e4Kn2o7IdI LTUEPyNh6GC+NAIM0+8+3nK/Hi77yRwWyN0aFAgrImJDOm+RKysJJu4eq+gHjZMqhCxc OQJA==
X-Received: by 10.194.121.6 with SMTP id lg6mr382483wjb.22.1365458650580; Mon, 08 Apr 2013 15:04:10 -0700 (PDT)
Received: from camionet.local ([2a01:e35:8a55:abc0:6de6:27c6:8e47:6767]) by mx.google.com with ESMTPS id du2sm22305137wib.0.2013.04.08.15.04.08 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Apr 2013 15:04:09 -0700 (PDT)
Message-ID: <51633ED7.4080407@jitsi.org>
Date: Tue, 09 Apr 2013 00:04:07 +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/20130328 Thunderbird/17.0.5
MIME-Version: 1.0
To: "Stach, Thomas" <thomas.stach@siemens-enterprise.com>
References: <515AFCFE.7030608@acm.org> <515CB4F2.3010404@jitsi.org> <F81CEE99482EFE438DAE2A652361EE120E5725E2@MCHP04MSX.global-ad.net> <515F1D24.8040703@jitsi.org> <515F21AA.2080003@alum.mit.edu> <515FBA77.1030007@jitsi.org> <F81CEE99482EFE438DAE2A652361EE120E573FA4@MCHP04MSX.global-ad.net>
In-Reply-To: <F81CEE99482EFE438DAE2A652361EE120E573FA4@MCHP04MSX.global-ad.net>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Gm-Message-State: ALoCoQlcHA6jrOAekmoDU/LSXz1t3A+17PSC/l0FRfdBoVmiVGd4k8wz4g+fxm2Ak2gYGFXuySKZ
Cc: "mmusic@ietf.org" <mmusic@ietf.org>, Paul Kyzivat <pkyzivat@alum.mit.edu>
Subject: Re: [MMUSIC] draft-ivov-dispatch-trickle-ice-sip/draft-ivov-mmusic-trickle-ice - PRACK not mandatory
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: Mon, 08 Apr 2013 22:04:12 -0000

Hey Thomas,

On 08.04.13, 14:15, Stach, Thomas wrote:
> I agree, that Paul has a good point.
> However, I still do not see a requirement for PRACK. 
> I would still like to avoid it due to the big debate during development of ICE that occurred back in IETF64. 

For those of us who weren't around back then, it would help if you could
remind exactly what the reasons were. This way we can decide if they
also apply to the trickle ICE case.

> Once the UAS has sent the 183 there is an early dialog. 
> Of course the 183 can be lost, such that UAS and UAC are out of sync with respect to the dialog state.
> 
> Now, RFC5245 specifies (in case PRACK is not used) that the provisional response is retransmitted 
> with the exponential backoff timers. I want to keep this behaviour also for trickle ICE because now 
> the UAC will eventually receive one of the retransmissions and could also send trickled candidates.

Not necessarily. The UAC may be performing half trickle in which case it
won't be sending anything else.

> Interesting is of course what happens with the INFO if the UAC has not yet received a provisional response.
> I would expect receipt of a 481 response to the INFO request since the UAC does not yet know about the dialog.
> This 481 could trigger at the UAS the immediate retransmission of the provisional response 
> in order to establish the early dialog. Then, the INFO could also be retransmitted.

This could indeed work and it could potentially help gain almost up to
an RTT. Anyone has a problem with it?

> Of course you are right.
> However, since the INFO can carry arbitrary SDP fragments, you can also include ufrag and password 
> and any of the other ICE attributes.

I didn't mean to imply you couldn't, however Paul's comment, discussed
above, killed this approach anyway.

Cheers,
Emil

> 
> 
> Regards
> Thomas
> 
> Emil Ivov wrote:
>> On 05.04.13, 21:10, Paul Kyzivat wrote:
>>> Note that until at least one provisional response makes it back to
>>> the UAC it won't be possible for the UAC to send INFOs. (It can't do
>>> so until there is an early dialog.)
>>>
>>> So its possible that if you only send unreliable provisionals then
>>> the trickling from UAC to UAS may not be happen until the call is
>>> established. 
>>
>> Great point! So it seems like we are back to mandating PRACK.
>>
>> What would be the issue with this anyway?
>>
>> Emil
>>
>>>
>>> 	Thanks,
>>> 	Paul
>>>
>>> On 4/6/13 2:51 AM, Emil Ivov wrote:
>>>> Hey Thomas,
>>>>
>>>> On 05.04.13, 12:04, Stach, Thomas wrote:
>>>>> inline
>>>>>
>>>>> Emil Ivov wrote:
>>>>>> Hey Marc and thanks for your comments!
>>>>>>
>>>>>> Replies inline.
>>>>>>
>>>>>> On 02.04.13, 17:45, Marc Petit-Huguenin wrote:
>>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>>> Hash: SHA256
>>>>>>>
>>>>>>> I read draft-ivov-dispatch-trickle-ice-sip and
>>>>>>> draft-ivov-mmusic-trickle-ice during the preparation of the
>>>>>>> rfc5245bis draft and I have some suggestions that I will be
>>>>>>> presenting step by step below:
>>>>>>>
>>>>>>> 1. The 180 needs to be reliable
>>>>>>
>>>>>> Agreed. We'll make the change in the next revision.
>>>>>>
>>>>> The answer with any initial candidates needs to be in a 183 not a
>>>>> 180. 
>>>>
>>>> Well 5245 actually talks about 18x but I agree that using 183 rather
>>>> than 180 would help manage post pick-up latency better.
>>>>
>>>>> In addition, I don't think that the 183 needs to be reliable.
>>>>> This was not necessary for RFC5245 and could also be
>> avoided for trickle ICE, since the
>>>>> INFO with the new candidates is already reliably sent.
>>>>
>>>> Well, it's not only about the candidates (the 183 could actually
>>>> contain none of those). However, we'd also need to make sure that
>>>> things like the ufrag and password are also received.
>>>>
>>>>> If the INFO contains always the complete list of
>> candidates (instead of just a delta), the ICE agents will
>>>>> eventually have all candidates even if the 183 with the
>> initial candidates got lost with the initial candidates.
>>>>> As an optimisation if you don't want to always send the complete
>>>>> list, you could just include it in the first INFO and use deltas
>>>>> afterwards. 
>>>>
>>>> I like this suggestion and I agree we could add something along
>>>> those lines in case PRACK is not user or supported.
>>>>
>>>> Thanks for the tip!
>>>> Emil
>>>>>
>>>>>
>>>>> Regards
>>>>> Thomas
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> mmusic mailing list
>>> mmusic@ietf.org
>>> https://www.ietf.org/mailman/listinfo/mmusic

-- 
https://jitsi.org