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

Michael Tuexen <Michael.Tuexen@lurchi.franken.de> Thu, 14 February 2013 22:58 UTC

Return-Path: <Michael.Tuexen@lurchi.franken.de>
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 891E221F86C8 for <rtcweb@ietfa.amsl.com>; Thu, 14 Feb 2013 14:58:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, 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 HAxAEYVBA+cz for <rtcweb@ietfa.amsl.com>; Thu, 14 Feb 2013 14:58:40 -0800 (PST)
Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by ietfa.amsl.com (Postfix) with ESMTP id 5ADE621F897A for <rtcweb@ietf.org>; Thu, 14 Feb 2013 14:58:40 -0800 (PST)
Received: from [192.168.1.101] (p508FB4E4.dip.t-dialin.net [80.143.180.228]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id C9FAA1C0C0BF3; Thu, 14 Feb 2013 23:58:36 +0100 (CET)
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset="us-ascii"
From: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
In-Reply-To: <CABkgnnU0idt+ntpKjTCMUCVFO9=_fSjGRPikD6Nk_Uem3L7E8g@mail.gmail.com>
Date: Thu, 14 Feb 2013 23:58:35 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <89FAFB5C-9D03-4B76-A306-01F9E4EC4105@lurchi.franken.de>
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> <511CB20C.7020003@jesup.org> <CABkgnnU0idt+ntpKjTCMUCVFO9=_fSjGRPikD6Nk_Uem3L7E8g@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
X-Mailer: Apple Mail (2.1283)
Cc: Randell Jesup <randell-ietf@jesup.org>, "rtcweb@ietf.org" <rtcweb@ietf.org>
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 22:58:41 -0000

On Feb 14, 2013, at 11:34 PM, Martin Thomson wrote:

> I should probably collate responses.
> 
> On 14 February 2013 01:44, Randell Jesup <randell-ietf@jesup.org> wrote:
>>> None of what I suggest would change the API.
>> 
>> I think the no-negotiation proposal would require various API changes if you
>> work out the details.
> 
> Sure, some changes, but nothing that would prevent channels from being
> used interchangeably with websockets.  That is, once they are
> established.
> 
>> 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?  ;-)
> 
> Presumably you bought all those other parts of the stack.
> 
>> 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).
> 
> I was under the impression that the SDP code was already needed.  That
> was the premise behind making the suggestion - if we're not using SDP
> to negotiate channels ever, then I might be tempted to revise that.
> 
>> 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).
> 
> The least complex is to have the application just use channels with no
> in-band messages at all.  But we can't do that because we need to have
> messages tagged as being "binary" or "text" to further propagate the
> mistake that the websockets design made.
You could use the PPID of SCTP and would not need the in-band messages...

However, assuming datachannel are bidirectional, I really think we need some
sort of signaling to set them up to avoid collisions. The JS user should
have a clearly defined behavior. So I think the 1.5 RTT solution is the base.
The additional SDP solution is only an acceleration for providing initial
datachannels in 0-RTT. However, allowing the 0-RTT in-band option provides
the same speed-up and isn't restricted to the initial data channels.
So the purely in-band solution with the 0-RTT option seems to be the best
for me. But as Randell pointed out: We had this discussion already and I'm
not sure what we get if we open up it again. New arguments doesn't seem
to come up...

Best regards
Michael
> 
>> 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.
> 
> Yeah, I understand the frustration.  I used to get frustrated with
> this sort of thing too.
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>