Re: [rtcweb] draft-alvestrand-one-rtp-00.txt ICE usage

Randell Jesup <randell-ietf@jesup.org> Fri, 12 August 2011 17:42 UTC

Return-Path: <randell-ietf@jesup.org>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AAB4221F85C6 for <rtcweb@ietfa.amsl.com>; Fri, 12 Aug 2011 10:42:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.492
X-Spam-Level:
X-Spam-Status: No, score=-2.492 tagged_above=-999 required=5 tests=[AWL=0.107, BAYES_00=-2.599]
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 chmOKcVYISLw for <rtcweb@ietfa.amsl.com>; Fri, 12 Aug 2011 10:42:45 -0700 (PDT)
Received: from arthur.webserversystems.com (arthur.webserversystems.com [174.132.191.98]) by ietfa.amsl.com (Postfix) with ESMTP id 33B1621F85B2 for <rtcweb@ietf.org>; Fri, 12 Aug 2011 10:42:44 -0700 (PDT)
Received: from pool-98-111-140-38.phlapa.fios.verizon.net ([98.111.140.38] helo=[192.168.1.12]) by arthur.webserversystems.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <randell-ietf@jesup.org>) id 1QrvlS-00025a-IA for rtcweb@ietf.org; Fri, 12 Aug 2011 12:43:22 -0500
Message-ID: <4E4565C8.9010104@jesup.org>
Date: Fri, 12 Aug 2011 13:41:28 -0400
From: Randell Jesup <randell-ietf@jesup.org>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <4E43BDB3.8000504@alvestrand.no> <4E4423A7.2000501@alum.mit.edu> <4E44CC15.3030004@alvestrand.no> <4E453EE9.7030102@alum.mit.edu> <4E4544C9.6010304@alvestrand.no> <4E454D5A.1080909@alum.mit.edu>
In-Reply-To: <4E454D5A.1080909@alum.mit.edu>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - arthur.webserversystems.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - jesup.org
X-Source:
X-Source-Args:
X-Source-Dir:
Subject: Re: [rtcweb] draft-alvestrand-one-rtp-00.txt ICE usage
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Aug 2011 17:42:45 -0000

On 8/12/2011 11:57 AM, Paul Kyzivat wrote:

> Trimming, and changing subject
> On 8/12/11 11:20 AM, Harald Alvestrand wrote:
>> There are 2 possible things to do for the offerer:
>> - Start ICE procedure on all ports when sending the offer
>> - Wait until the answer comes back, and either start ICE procedure on
>> one port (if the responder understood TOGETHER), or start the ICE
>> procedure on all ports (if the responder did not understand TOGETHER)
>> The first alternative is a number of milliseconds faster, but others
>> should chime in on whether that's significant or not.
1/2 RTT is significant especially on slower/longer-distance connections,
since I think all the other setup stuff we're talking about adds up.
We have to make sure that we don't have the "...lo?" problem when
answering an incoming connection.  (Setup delay of more than a couple
hundred ms causes first syllables to be lost.)  It might even be worse on a
computer if the person has a headset on or answers in speakerphone mode with
a button press - you don't have the natural delay of bringing a receiver to
face.

> (I don't know much about ICE, so just call me on it if I say something
> stupid)
> IIUC, there are some aspects of ICE that MUST be done before sending the
> offer. Specifically that involved gathering the candidate list, which
> may involve assignment of multiple local ports, interactions with a TURN
> server, etc. I don't think everything can be deferred until the answer
> is received.
Right; one assumes you've done them.

> (I suppose one approach would be for the initial offer to set the port
> to zero in all but the first m-line. Then, once the first answer is
> received, indicating whether TOGETHER is supported, another offer can be
> generated, using appropriate ICE based on whether using TOGETHER or not.
> But that does start to get complex.)
That forces a full extra RTT plus overhead...  Ouch.

-- 
Randell Jesup
randell-ietf@jesup.org