Re: [MMUSIC] Trickle ICE for SIP Questions

Dan Wing <dwing@cisco.com> Wed, 03 July 2013 19:01 UTC

Return-Path: <dwing@cisco.com>
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 9115811E821E for <mmusic@ietfa.amsl.com>; Wed, 3 Jul 2013 12:01:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.476
X-Spam-Level:
X-Spam-Status: No, score=-110.476 tagged_above=-999 required=5 tests=[AWL=0.123, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
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 iRyLCfo-bfSw for <mmusic@ietfa.amsl.com>; Wed, 3 Jul 2013 12:01:55 -0700 (PDT)
Received: from mtv-iport-2.cisco.com (mtv-iport-2.cisco.com [173.36.130.13]) by ietfa.amsl.com (Postfix) with ESMTP id C1C8A11E8221 for <mmusic@ietf.org>; Wed, 3 Jul 2013 12:01:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3314; q=dns/txt; s=iport; t=1372878107; x=1374087707; h=mime-version:subject:from:in-reply-to:date:cc: content-transfer-encoding:message-id:references:to; bh=oM7l2byjw4n12r2zdxGixgBMiraAvGOSvVlELQiLAG4=; b=Wg/505QoXaRPSvnt2BKq4GKTIIgp8I0vXEmTfZerj4b43KdPX9RgbBWe SVil2xbjas7wt6Nijfy3t/ry1YcFh/t4fAfc2QTxF6JW3dowqInTmi7Bk JhVNg68OQUfy3CRdiGWN9jtKEtVhjlluxUdNkzNQ93nHzCpjHPnHLFRXj Q=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AjAFABp01FGrRDoG/2dsb2JhbABagwkywQCBBhZ0giMBAQEDAQEBATc0CwULCw44JzAGE4gJBQ26FQSOKIEQMweDBGkDiSOKVINSkUWDMRw
X-IronPort-AV: E=Sophos;i="4.87,989,1363132800"; d="scan'208";a="85214316"
Received: from mtv-core-1.cisco.com ([171.68.58.6]) by mtv-iport-2.cisco.com with ESMTP; 03 Jul 2013 19:01:47 +0000
Received: from sjc-vpn2-667.cisco.com (sjc-vpn2-667.cisco.com [10.21.114.155]) by mtv-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id r63J1kLT014443; Wed, 3 Jul 2013 19:01:46 GMT
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
From: Dan Wing <dwing@cisco.com>
In-Reply-To: <51D43186.2010907@jitsi.org>
Date: Wed, 03 Jul 2013 12:01:46 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <E41E201C-E622-4477-82E7-9F76AA5F49B4@cisco.com>
References: <51D43186.2010907@jitsi.org>
To: Emil Ivov <emcho@jitsi.org>
X-Mailer: Apple Mail (2.1508)
Cc: MMUSIC IETF WG <mmusic@ietf.org>
Subject: Re: [MMUSIC] Trickle ICE for SIP Questions
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, 03 Jul 2013 19:01:59 -0000

On Jul 3, 2013, at 7:13 AM, Emil Ivov <emcho@jitsi.org> wrote:

> Hey all,
> 
> Christer, Enrico and I are preparing the next version of Trickle ICE for SIP. Now that discussions on BUNDLE and the plans seem to be winding down, we wanted to run a few questions by the working group.
> 
> Q1: Making reliable provisional responses and PRACK mandatory. Obviously this would be nice to avoid, so the question is: is there a reasonable mechanism to achieve this (and by reasonable, we mean something that wouldn't be harder than implementing support for PRACK).
> 
> There was some discussion about this back in April and there was a suggestion for implementing a 5245-style hack where the answerer basically resends the 180 until it knows that it has been received.
> 
> 5245 uses connectivity checks for this (i.e. it stops 180 retransmissions when the first connectivity check is received) but we don't have that option here since the 180 may contain either none or only host candidates so there are strong chances that no binding request would be received on them.

I might work, because each re-transmission would probably have additional candidates (because the STUN/TURN transactions will have completed), and thus more likely that those re-transmissions (containing those additional candidates) would result in the remote endpoint sending a STUN binding request.

-d



> Thomas also suggested a second option which would be to also use INFO requests with trickled candidates as an indication that 180 was received. This however wouldn't work with half trickle so we are basically back to vanilla ICE for all (non-re) INVITEs.
> 
> Another option would be to mandate an INFO request with "end-of-candidates" in response to the 180, but that would be just the same as mandating PRACK support.
> 
> Thomas also suggested that the answerer can start sending INFOs right after it sends its answer in the 180 and then it can just resend the 180 if the INFOs result in a 481 response.
> 
> Personally I think this could potentially be made to work, but it would imply a level of complexity that considerably exceeds PRACK support.
> 
> Opinions?
> 
> Q2: How do we send INFOs? Are they blocking or do we just send them in parallel? If the latter, then what happens when an INFO fails because it is received out of order? Do we just tell the application to resend the candidates asap?
> 
> This also leads to the following question:
> 
> Q3: What exactly do we send in INFOs? Just the latest batch of freshly learned candidates or all candidates we've learned so far? Dale suggested that if we do this cumulatively we wouldn't need to worry about the case with the out-of-order INFOs from Q2 since the information gets resent anyway. A drawback here would obviously be that this adds more complexity for trickle ICE users (WebRTC applications specifically)
> 
> A third option would be to allow both and leave it to the application.
> 
> Comments are most welcome!
> 
> Emil
> 
> -- 
> https://jitsi.org
> _______________________________________________
> mmusic mailing list
> mmusic@ietf.org
> https://www.ietf.org/mailman/listinfo/mmusic