Re: [rtcweb] RTCWEB Data Channel: message interleaving

Paul Kyzivat <pkyzivat@alum.mit.edu> Thu, 06 February 2014 16:23 UTC

Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 76B5A1A01BD for <rtcweb@ietfa.amsl.com>; Thu, 6 Feb 2014 08:23:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level:
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_SOFTFAIL=0.665] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7dg0tTy3N5RT for <rtcweb@ietfa.amsl.com>; Thu, 6 Feb 2014 08:23:02 -0800 (PST)
Received: from qmta02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:24]) by ietfa.amsl.com (Postfix) with ESMTP id 5C4A11A0143 for <rtcweb@ietf.org>; Thu, 6 Feb 2014 08:23:02 -0800 (PST)
Received: from omta07.westchester.pa.mail.comcast.net ([76.96.62.59]) by qmta02.westchester.pa.mail.comcast.net with comcast id P3DS1n0031GhbT8514P1DA; Thu, 06 Feb 2014 16:23:01 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.164]) by omta07.westchester.pa.mail.comcast.net with comcast id P4P11n0083ZTu2S3T4P1mg; Thu, 06 Feb 2014 16:23:01 +0000
Message-ID: <52F3B6E5.9040001@alum.mit.edu>
Date: Thu, 06 Feb 2014 11:23:01 -0500
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <7594FB04B1934943A5C02806D1A2204B1D15BD1A@ESESSMB209.ericsson.se> <CAJrXDUGJO1C-47PmU7nwgRaZu19XTvsgwyq=6m=-vsL6LYqqLA@mail.gmail.com> <E1FE4C082A89A246A11D7F32A95A17826DFCD56D@US70UWXCHMBA02.zam.alcatel-lucent.com> <CAJrXDUGtf4U_jhX1hmbPTtXQidR=oHL0cCrKCaZhnLsQd8NvLw@mail.gmail.com> <A9D7F81A-C0E6-44DF-AFC4-4AAB1E78DA19@lurchi.franken.de> <E1FE4C082A89A246A11D7F32A95A17826DFCD683@US70UWXCHMBA02.zam.alcatel-lucent.com> <CFF06852-E7C6-4A9D-A15B-D79F45D24834@lurchi.franken.de> <52F2B457.8040305@alum.mit.edu> <E1FE4C082A89A246A11D7F32A95A17826DFCD8A3@US70UWXCHMBA02.zam.alcatel-lucent.com> <52F2C347.7000304@alum.mit.edu> <E1FE4C082A89A246A11D7F32A95A17826DFCDB0B@US70UWXCHMBA02.zam.alcatel-lucent.com> <D0E5C5FC-43FA-4BEF-941F-367573D9CBDA@lurchi.franken.de> <7594FB04B1934943A5C02806D1A2204B1D15EDA7@ESESSMB209.ericsson.se> <6A0518D4-D15D-4970-A56C-87FEDA60F978@lurchi.franken.de>
In-Reply-To: <6A0518D4-D15D-4970-A56C-87FEDA60F978@lurchi.franken.de>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1391703781; bh=WOpNa9mdk2s6YlLQBP6eTYwJfRpJig351zxZypnJ6M4=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=QFXNs0Wq9AP1x0esuFuEQVrHK8NI6jBiG8WgECyda63Cc14foojy5JDeMaJfcpUSs psj+opTjGECXnUieL9EEbx4stslQomxirqQdJzg2uqBaaWb4AVg+y1ULE3PBIyWm7V 0a6DA/sp9XIULKJfVPva4qW1YLumr5DhTI72ze7K5o917/odV4c35goPa30gpOKlWS VaDsp8Qm9LBUkOvxquuAgmSwfjNa1kUFvBhlH/KD85dKzMYqihCj5QpvQtyCf4Z9ki DsPhdXLbTBFtxK87TYSlY1nORCkYITtboJo1i6w1E9YDD3W2jVB1zPlkV/i2ZXuS1F zrTjmZKa2hRFg==
Subject: Re: [rtcweb] RTCWEB Data Channel: message interleaving
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
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, 06 Feb 2014 16:23:03 -0000

On 2/6/14 3:52 AM, Michael Tuexen wrote:
> On Feb 6, 2014, at 9:38 AM, Christer Holmberg <christer.holmberg@ericsson.com> wrote:
>
>> Hi,
>>
>>> If NDATA is not supported, the message size is limited to avoid the monopolization. This limit will be signalled through SDP.
>>
>> What do you mean by "signaled through SDP"?
>>
>> Will the browser inform the JS app, using SDP, if the local and/or remote peer doesn't support NDATA?
> What will be signalled in SDP is the maximum message size the end-point can handle. This is needed
> anyway... If you don't support NDATA, you can signal a smaller value of, let's say 16KB or so.
>
> NDATA is negotiated via the SCTP setup and there is no need for another signalling channel.
>
> After the association is up, both sides know if NDATA is supported and, if I remember correctly,
> there is a JS way of making message size limits available to the application. So you can
> limit the message size if NDATA is not supported by both peers. So that is the plan:
> * If NDATA is supported by both peers, message size are only limited by reassembly
>    memory and any limit is signalled via SDP. The corresponding support will be in the
>    next revision of the SDP ID.
> * If NDATA is not supported by both peers, a message size limit applies to avoid monopolisation.

I assume that in the RFC this will just be a MUST NOT. Will that apply 
to the SCTP implementation? Or to the SCTP user?

(In a practical sense, will this be implemented in the SCTP stack, in 
the DataChannel "stack", in the browser, or in javascript?)

	Thanks,
	Paul