Re: [rtcweb] TR : New Version Notification for draft-marcon-rtcweb-data-channel-management-00.txt

"MARCON, JEROME (JEROME)" <jerome.marcon@alcatel-lucent.com> Sun, 10 March 2013 11:37 UTC

Return-Path: <jerome.marcon@alcatel-lucent.com>
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 7A26F21F87D6 for <rtcweb@ietfa.amsl.com>; Sun, 10 Mar 2013 04:37:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.96
X-Spam-Level:
X-Spam-Status: No, score=-9.96 tagged_above=-999 required=5 tests=[AWL=0.288, BAYES_00=-2.599, HELO_EQ_FR=0.35, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
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 pSoHbnwRNGKz for <rtcweb@ietfa.amsl.com>; Sun, 10 Mar 2013 04:37:30 -0700 (PDT)
Received: from smail2.alcatel.fr (smail2.alcatel.fr [64.208.49.57]) by ietfa.amsl.com (Postfix) with ESMTP id A0F7E21F87C4 for <rtcweb@ietf.org>; Sun, 10 Mar 2013 04:37:29 -0700 (PDT)
Received: from FRMRSSXCHHUB01.dc-m.alcatel-lucent.com (FRMRSSXCHHUB01.dc-m.alcatel-lucent.com [135.120.45.61]) by smail2.alcatel.fr (8.14.3/8.14.3/ICT) with ESMTP id r2ABbC8E016486 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Sun, 10 Mar 2013 12:37:26 +0100
Received: from FR711WXCHHUB01.zeu.alcatel-lucent.com (135.239.2.111) by FRMRSSXCHHUB01.dc-m.alcatel-lucent.com (135.120.45.61) with Microsoft SMTP Server (TLS) id 8.3.213.0; Sun, 10 Mar 2013 12:37:19 +0100
Received: from FR711WXCHMBA02.zeu.alcatel-lucent.com ([169.254.2.26]) by FR711WXCHHUB01.zeu.alcatel-lucent.com ([135.239.2.111]) with mapi id 14.02.0247.003; Sun, 10 Mar 2013 12:37:19 +0100
From: "MARCON, JEROME (JEROME)" <jerome.marcon@alcatel-lucent.com>
To: Salvatore Loreto <salvatore.loreto@ericsson.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: [rtcweb] TR : New Version Notification for draft-marcon-rtcweb-data-channel-management-00.txt
Thread-Index: AQHOGkeKBp6ZZkZVYEKNZbJkrTFNCpiexC8w
Date: Sun, 10 Mar 2013 11:37:19 +0000
Message-ID: <39821B4C400EC14DAD4DB25330A9271A0241E1@FR711WXCHMBA02.zeu.alcatel-lucent.com>
References: <20130218233047.19414.47123.idtracker@ietfa.amsl.com> <39821B4C400EC14DAD4DB25330A9271A012598@FR711WXCHMBA03.zeu.alcatel-lucent.com> <513702F9.2030909@ericsson.com>
In-Reply-To: <513702F9.2030909@ericsson.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [135.239.27.40]
Content-Type: multipart/alternative; boundary="_000_39821B4C400EC14DAD4DB25330A9271A0241E1FR711WXCHMBA02zeu_"
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.69 on 155.132.188.80
Subject: Re: [rtcweb] TR : New Version Notification for draft-marcon-rtcweb-data-channel-management-00.txt
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: Sun, 10 Mar 2013 11:37:31 -0000

Hi Salvatore,

Thanks for your review. Some answers [JM1] in line.


________________________________
De : rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] De la part de Salvatore Loreto
Envoyé : mercredi 6 mars 2013 09:49
À : rtcweb@ietf.org
Objet : Re: [rtcweb] TR : New Version Notification for draft-marcon-rtcweb-data-channel-management-00.txt

Hi Jerome,

thanks for the draft.
some initial comments

1)

1.  Introduction

   [I-D.ietf-rtcweb-data-channel] provides use cases and requirements
   for the definition of RTCWeb data channels, and outlines how the
   Stream Control Transmission Protocol (SCTP) [RFC4960] encapsulated
   within Datagram Transport Layer Security (DTLS) [RFC6347] can be used
   for this purpose.  While some of these requirements easily map to
   existing capabilities of the SCTP protocol and extensions (e.g.
   application messages can be carried as SCTP user messages), SCTP and
   existing SCTP extensions do not natively support the following
   requirements:

   o  data channel bidirectionality (this can be achieved by pairing one
      SCTP outbound stream and one SCTP inbound stream)

   o  data channel priority

   o  partial reliability of delivery, based on a maximum number of
      retransmissions

   o  general data channel setup

here the problem for the 1 and 4 bullets is that SCTP does not have the concept of data channel but only of stream.
[JM1] The introduction basically says that some data channels requirements cannot be met using SCTP alone. It does not say that the document will address all these unfullfilled requirements

About bullet 3, you may want to read the http://tools.ietf.org/html/draft-tuexen-tsvwg-sctp-prpolicies-00
that propose how to define it.
[JM1] OK

About bullet 2, data channel priority, this is an important one that should be discussed and defined.
However I haven't found anything in your proposal about it.
[JM1] Yes, work to be done. I haven't found anything either in Randell's (yours) and Martin's proposal.

2) Data Channel configuration
Sorry but it is not clear to me what how you use DataChannel-configuration...
i.e. if a DataChannel-configuration is 1:1 with an actual DataChannel, or we can have a 1:n relationship
[JM1] Config -> 0..N Data Channels, and Data Channel -> 1 Config.


if I understood you correctly in

6.2.  Opening a data channel out-of-band

...

      Note: for each new configuration, the offerer expectedly creates
      one data channel or more, whereas the answerer creates one data
      channel only.  How the final data channel pairing (and SCTP stream
      number assignment) is resolved is further explained in this
      document.

...

so in out of band mode, only one DataChannel will be created per DataChannel-configuration.
i.e. there is no way to create more DataChannels with the same DataChannel-configuration out-bound.
Isn't it? is so why? I don't get the advantage for this limitation
[JM1] For a new config declared in the offer, the answerer does not know how many data channels have been created on offerer's side (1 or more), i.e how many createDataChannel(withThisConfig) were called, as the SDP does not carry this number of channels. If the answerer's browser does nothing, then the answerer's app will not be aware of the offerer's data channels till the offerer sends messages on these. So:
- by creating one data channel of this config, the answerer's browser notifies the app that data sending is fine on this channel, and that other data channels of this config could be created inband later on
- but when I think of it now, this one data channel creation is unnecessary, because the app is unaware of configs anyway. It can at anytime create new data channels of any properties, and these will sometimes match an existing config (so no renegotiation), and sometimes not .
So this answerer's behavior should be removed I think. In any case, each endpoint app can create any number of data channels of any properties. The only noticeable difference noticeable to the app is that sometimes renegotiation will be triggered, sometimes not.

one of the reason people are asking for out-of-bound, is to give the possibility to "disclosure" what kind
of traffic (and how much) is going on between two WebRTC clients (i.e. browser).
[JM1] The kind of traffic is disclosed, not the amount

However, it seems that you make then possible to open more DataChannels with the same DataChannel-configuration
in-band.


6.3.  Opening a data channel in-band

   Each user message sent in a data channel includes the identifier of
   the configuration which this data channel is bound to.  This
   signaling allows to enable or speed up the opening of new data
   channels in-band:



3) Framing

an inband protocol with data framing is unnecessary and a useless complication for WebRTC DataChannel.
That is why the http://tools.ietf.org/html/draft-jesup-rtcweb-data-protocol-04 has no added framing required.

Please note that from a protocol point of view DataChannel is different from WebSocket.

In WebSocket it has been necessary to add a framing (and we tried to design a minimal one, eve if I am not sure we have succeeded in that),
mainly because we need to make the protocol frame-based where the pure TCP is stream-based.
You do not need to do that with SCTP, as it already provides:

       sequenced delivery of user messages within multiple streams, with
       an option for order-of-arrival delivery of individual user
       messages,

[JM1] one principle of the proposal is to not carry in-band any data channel properties, but instead the {SCTP stream number, Config ID} of the channel(s) to be opened. This draft 00 proposes to do so using some header in application message. I agree that despite the header is smaller (2 bytes) than the WebSocket (6 bytes or more), there are other concerns recalled by Randell. I have thought of alternatives since (still inline with the principle).

/Salvatore



On 2/19/13 1:07 AM, MARCON, JEROME (JEROME) wrote:

Hi,

I have submitted a draft proposing a new way of setting up data channels, based on the concept of data channel configurations. It uses a lightweight SDP signaling coupled with a lightweight in-band signaling (not an in-band protocol). I think it can handle efficiently the most demanding setup scenarios. The proposal is besides designed with the intent to not impact on current browser API.

This is a first draft, thanks for your suggestions of improvements.

Jerome

________________________________________
De : internet-drafts@ietf.org<mailto:internet-drafts@ietf.org> [internet-drafts@ietf.org<mailto:internet-drafts@ietf.org>]
Date d'envoi : mardi 19 février 2013 00:30
À : MARCON, JEROME (JEROME)
Objet : New Version Notification for    draft-marcon-rtcweb-data-channel-management-00.txt

A new version of I-D, draft-marcon-rtcweb-data-channel-management-00.txt
has been successfully submitted by Jerome Marcon and posted to the
IETF repository.

Filename:        draft-marcon-rtcweb-data-channel-management
Revision:        00
Title:           RTCWeb data channel management
Creation date:   2013-02-19
Group:           Individual Submission
Number of pages: 15
URL:             http://www.ietf.org/internet-drafts/draft-marcon-rtcweb-data-channel-management-00.txt
Status:          http://datatracker.ietf.org/doc/draft-marcon-rtcweb-data-channel-management
Htmlized:        http://tools.ietf.org/html/draft-marcon-rtcweb-data-channel-management-00


Abstract:
   The Real-Time Communication in WEB-browsers (RTCWeb) working group is
   charged to provide protocols to support direct interactive rich
   communication using audio, video, and data between two peers' web-
   browsers.  For the support of data communication, the RTCWeb working
   group has in particular defined the concept of bi-directional data
   channels over SCTP.  How to transport application messages on these
   data channels seems straightforward (i.e. they can be carried as SCTP
   user messages), however it is yet to be decided how to establish and
   manage these data channels.  This document specifies a method for
   this, which relies first on a lightweight and scalable out-of-band
   negotiation of data channel configurations (within the SDP offer/
   answer exchange) and second on the signaling of the configuration in
   use in the SCTP user message itself.  Once these configurations are
   negotiated, further creations of data channels can occur purely in-
   band by simply sending user messages, which avoids to define a new
   in-band data channel protocol.




The IETF Secretariat
_______________________________________________
rtcweb mailing list
rtcweb@ietf.org<mailto:rtcweb@ietf.org>
https://www.ietf.org/mailman/listinfo/rtcweb




--
Salvatore Loreto, PhD
www.sloreto.com<http://www.sloreto.com>