Re: [rtcweb] Data Channel Negotiation and reopening of decisions

Randell Jesup <randell-ietf@jesup.org> Thu, 14 February 2013 09:46 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 A256F21F8702 for <rtcweb@ietfa.amsl.com>; Thu, 14 Feb 2013 01:46:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level:
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[AWL=0.200, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xT64bDU1lewL for <rtcweb@ietfa.amsl.com>; Thu, 14 Feb 2013 01:46:53 -0800 (PST)
Received: from r2-chicago.webserversystems.com (r2-chicago.webserversystems.com [173.236.101.58]) by ietfa.amsl.com (Postfix) with ESMTP id 07BAE21F86DD for <rtcweb@ietf.org>; Thu, 14 Feb 2013 01:46:53 -0800 (PST)
Received: from pool-98-111-140-34.phlapa.fios.verizon.net ([98.111.140.34]:2817 helo=[192.168.1.12]) by r2-chicago.webserversystems.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from <randell-ietf@jesup.org>) id 1U5vP2-00091V-C9 for rtcweb@ietf.org; Thu, 14 Feb 2013 03:46:52 -0600
Message-ID: <511CB20C.7020003@jesup.org>
Date: Thu, 14 Feb 2013 04:44:44 -0500
From: Randell Jesup <randell-ietf@jesup.org>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <CABkgnnWUpMSBLioSD2+p82vGszX9R0Q4WFfME5j-DuK+B7KVJw@mail.gmail.com> <5113CD16.6090806@jesup.org> <CABkgnnW792o76t9dKhidOMJpa21VcbPQZFU1HYnY_yjTPCWhYw@mail.gmail.com> <51166A3C.4000604@jesup.org> <CABkgnnV2m=m+qtM1YR4CPse=gyekvWThon_Nxbf8YMVaNuvq6Q@mail.gmail.com> <511B6C9A.4090904@jesup.org> <CABkgnnUiCKuv_=mgLFf4sRnOb1bY190N7E_+V8gfTbKEUTBnDw@mail.gmail.com>
In-Reply-To: <CABkgnnUiCKuv_=mgLFf4sRnOb1bY190N7E_+V8gfTbKEUTBnDw@mail.gmail.com>
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 - r2-chicago.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] Data Channel Negotiation and reopening of decisions
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: Thu, 14 Feb 2013 09:46:53 -0000

On 2/13/2013 5:03 PM, Martin Thomson wrote:
> None of what I suggest would change the API.  At most, it would have
> removed the in-band handshake messages in exchange for loosening some
> of the guarantees.  And I've been trained to value the deletion of
> code highly.  That seemed like a good trade.

I think the no-negotiation proposal would require various API changes if 
you work out the details.

I understand the wish to reduce code.  (You do realize we're running 
over a lightweight stack like SCTP over DTLS over ICE/TURN over UDP, 
right?  ;-)

However, I'm not sure that you're actually reducing code by shifting to 
SDP (I think you're just moving the code/complexity, as the existing 
structures for negotiating m= lines can't be reused here I believe).  
And I think the SDP+no-negotiation-open proposal ends up with yet more 
complexity (and importantly, more application (JS) complexity).

The least complex IMHO is the 0-RTT in-band option, though it's similar 
in complexity to the current "pure" inband (without accelerated 
call-start creation via SDP - i.e. 1.5RTT for all opens).

> And timing?  It wasn't until you presented at the interim that I
> realized just how little value the in-band handshake was adding.

Which Interim?  This one (where I wasn't presenting the in-band 
protocol, though discussion moved there), or Stockholm, where it was 
presented (and again at Atlanta where we added the 'protocol' field, 
which was about the only major commentary).   I realize someone can (and 
will) object at any stage; I just wish objections of this fundamental 
nature were made (a lot) earlier.

> In terms of the specifics of your fast open proposal, what do you do
> with the message(s) that arrive on channels that you reject?  How does
> this surface in the API?

There is no rejection.  Creation of DataChannels (per the JS API) is 
purely declarative.  If you (as an application) wish to 'reject' a 
channel, either throw the object away or call .close() on it if you want 
to be nice to the sender.

> I'll do a blow-by-blow on your points below, if you want to continue
> the conversation.  If we're exchanging rhetoric bombs, I see little
> point.

No, I'm quite willing to continue the conversation; to an extent (how 
much to be determined by the WG) the snake has snuck out of the bag and 
we now have to deal with the comments (both yours and Justin/Peter's).  
I will concede I have an interest in retaining a solution similar to the 
one I've proposed (in-band or preferably 0-RTT), as I have it coded in 
Firefox, used in applications and largely debugged and on-track for 
release to production in 12-18 weeks or so (and major changes might 
cause problems with that and/or future version incompatibilities).  
That's the impact of revisiting issues; we considered DataChannels a 
critical component to have from the start of WebRTC and put a lot of 
effort into first discussing it on the lists and then implementing it.  
We began implementation a year ago, and have tracked changes from the 
lists and drafts since then.   But that isn't the only consideration.

Partly my comments were aimed at all instances where we go back (and go 
back again) with progress being elusive, not just this one issue.

-- 
Randell Jesup
randell-ietf@jesup.org