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

Michael Tuexen <Michael.Tuexen@lurchi.franken.de> Sat, 16 February 2013 17: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 085CA21F8964 for <rtcweb@ietfa.amsl.com>; Sat, 16 Feb 2013 09:58:08 -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=[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 194E6EPlFH4J for <rtcweb@ietfa.amsl.com>; Sat, 16 Feb 2013 09:58:07 -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 0922021F8970 for <rtcweb@ietf.org>; Sat, 16 Feb 2013 09:58:07 -0800 (PST)
Received: from [192.168.1.101] (p508F9EB1.dip.t-dialin.net [80.143.158.177]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id A30F61C0C069D; Sat, 16 Feb 2013 18:58:05 +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: <3A70CC40-2BB4-40FD-A1B0-3257EC973757@skype.net>
Date: Sat, 16 Feb 2013 18:58:05 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <CCA6E561-9792-4799-BE6F-E26C8CB8CDE7@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> <89FAFB5C-9D03-4B76-A306-01F9E4EC4105@lurchi.franken.de> <CABkgnnXFrqTo2QpLhjWt5CmcQc6Kv4=vAgd3DgyndNtL1ewm7g@mail.gmail.com> <8E2722E7-F82A-48D4-80FB-C76929A2E324@lurchi.franken.de> <CABkgnnWzX2tpbadnB3DjhmB7cm6poCDvmxdAW2Z_stMbovJ3gw@mail.gmail.com> <A0FDFC7C-2C85-431C-A03E-0E486F9378D1@lurchi.franken.de>, <CABkgnnWdjV7F9jkbap91q-pLygzWJsTvAOh-m=-9q4VrU9DGUg@mail.gmail.com> <DA07C056-3E80-4E30-B078-5547A174549D@skype.net>, <511F287E.8030500@jesup.org> <3A70CC40-2BB4-40FD-A1B0-3257EC973757@skype.net>
To: "Matthew Kaufman (SKYPE)" <matthew.kaufman@skype.net>
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: Sat, 16 Feb 2013 17:58:08 -0000

On Feb 16, 2013, at 4:30 PM, Matthew Kaufman (SKYPE) wrote:

> You're right of course... I just can't keep straight which of the things are poor choices and which are reasonable choices that have been bastardized to the point of being poor choices.
> 
> If we're going to use SCTP, and it has perfectly good unidirectional channels, why can't we just expose those to users of the W3C WEBRTC API?
Making data channels unidirectional and even making reliability settings a per message property
(so exposing the SCTP API) would be very simple and make the additional protocol superfluous.

However, WebRTC and RTCWEB groups preferred to make the API similar to Websockets...
> 
> Apparently this "we built a simple protocol to allow us to set up bidirectional pairs of SCTP streams to create channels" isn't as simple as it first looked, so we should be revisiting the original assumption, not creating a complicated protocol just because we can.
At least for me, this is a very simple protocol. Even if we add some error handling. Very easy to understand
and from implementing it, very easy to implement.

Best regards
Michael
> 
> Matthew Kaufman
> 
> Sent from my iPad
> 
> On Feb 15, 2013, at 10:40 PM, "Randell Jesup" <randell-ietf@jesup.org> wrote:
> 
>> On 2/15/2013 4:56 PM, Matthew Kaufman (SKYPE) wrote:
>>> None if this would be a problem if we weren't making the mistake of using SCTP, which itself made the mistake of doing full-duplex channels instead of unidirectional channels with optional one-to-one or even many-to-one associations (as RTMFP has, as an example)
>> 
>> SCTP only has unidirectional streams.
>> 
>> If you're referring to the DataChannel protocol, there was a strong wish on the mailing list (and W3) for websockets-like bidirectional channels, so we built a simple protocol to allow us to set up bidirectional pairs of SCTP streams to create channels.
>> 
>> -- 
>> Randell Jesup
>> randell-ietf@jesup.org
>> 
>> _______________________________________________
>> rtcweb mailing list
>> rtcweb@ietf.org
>> https://www.ietf.org/mailman/listinfo/rtcweb
>> 
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>