Re: [rtcweb] RE : I-D Action: draft-ietf-rtcweb-data-channel-04.txt

Randell Jesup <> Tue, 12 March 2013 08:00 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id EEB9B21F86AF for <>; Tue, 12 Mar 2013 01:00:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.486
X-Spam-Status: No, score=-2.486 tagged_above=-999 required=5 tests=[AWL=0.114, BAYES_00=-2.599]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 2mTWj27b5nP7 for <>; Tue, 12 Mar 2013 01:00:27 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id CBD2421F8917 for <>; Tue, 12 Mar 2013 01:00:24 -0700 (PDT)
Received: from [] (port=27295 helo=[]) by with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from <>) id 1UFK8F-0000TN-9Y for; Tue, 12 Mar 2013 03:00:23 -0500
Message-ID: <>
Date: Tue, 12 Mar 2013 04:00:24 -0400
From: Randell Jesup <>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20130117 Thunderbird/19.0
MIME-Version: 1.0
References: <> <> <> <> <> <>, <> <>, <> <>
In-Reply-To: <>
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 -
X-AntiAbuse: Original Domain -
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain -
Subject: Re: [rtcweb] RE : I-D Action: draft-ietf-rtcweb-data-channel-04.txt
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Tue, 12 Mar 2013 08:00:28 -0000

On 3/11/2013 5:20 PM, MARCON, JEROME (JEROME) wrote:
> > Assuming that some day a spec defines the transport of T.140 (or 
> whatever similar protocol) over RTCWeb data channels
> > - with a registered subprotocol
> > - with multiple reliability options supported
> > - requiring some new data channel properties
> > - of which some are assymetric between the endpoints (like the 
> "characters per second" defined in [RFC4103].
> >
> > Then (in the current version of your proposal) it seems to me that
> > * Because current DATA_CHANNEL_OPEN syntax is not extensible:
> > - it is not possible to carry these new properties in DATA_CHANNEL_OPEN
> Why is it not extensible? We have a message type and you could simply
> define another message...
> [JM1]. Mmh, then the spec defining T.140 (or whatever) over data 
> channels (and willing to add a new property like "cps") would have to 
> define a new message type - and more less its own DATA_CHANNEL_OPEN 
> structure? That's a costly extensibility.

It you need to do a more complex negotiation, you have several choices.  
One would be:

Open a reliable data channel for negotiation (0 RTT) (flagged by label & 
protocol).  Over that channel, immediately send a message that sets up 
an offer for T.140 (take your pick on format. A JS app would likely use 
JSON), with a channel which was preset with the appropriate options ("I 
expect to receive data on this channel with these options").  The 
answerer can send back the response (on the negotiation channel), and 
also say "I expect data on this channel with these options").  At this 
point, the T.140 channel is open, and as soon as the response is 
received by the offerer, both sides know it.

If this sounds very much like "fast-path re-negotiation" for JSEP, it 
is.  Once you have DataChannels, you can leverage them to do a lot of 
things.  This sort of sequence is enabled by the ability added to allow 
external negotiation.  This is as fast as any other mechanism (and 
faster than any that goes via a signaling server) - 3 messages, 1 RTT 
total.  (Open, Offer -> Answer)

You can do this in SDP if you wish (and are willing to parse SDP, or 
whatever limited SDP  you need).  As mentioned, I normally would suggest 
JSON or something like that for JS Apps.)

You can also do external negotiation over whatever channel and method 
you like.

Randell Jesup