Re: [rtcweb] Data Channel Protocol: Data before DATA_CHANNEL_ACK

Michael Tuexen <Michael.Tuexen@lurchi.franken.de> Mon, 10 February 2014 20:23 UTC

Return-Path: <Michael.Tuexen@lurchi.franken.de>
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 2D1501A047C for <rtcweb@ietfa.amsl.com>; Mon, 10 Feb 2014 12:23:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RP_MATCHES_RCVD=-0.548, SPF_HELO_PASS=-0.001] autolearn=ham
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 S-APAM9bFcVv for <rtcweb@ietfa.amsl.com>; Mon, 10 Feb 2014 12:23:54 -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 CC3971A046A for <rtcweb@ietf.org>; Mon, 10 Feb 2014 12:23:53 -0800 (PST)
Received: from [192.168.1.103] (p508F3BD7.dip0.t-ipconnect.de [80.143.59.215]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 0DF8E1C0E97B8; Mon, 10 Feb 2014 21:23:52 +0100 (CET)
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B1D167D92@ESESSMB209.ericsson.se>
Date: Mon, 10 Feb 2014 21:23:51 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <4F79265D-0671-4338-ABD8-93E2BBDFB4AD@lurchi.franken.de>
References: <7594FB04B1934943A5C02806D1A2204B1D166D41@ESESSMB209.ericsson.se> <CAJrXDUHBBt6L7tp4Ck426xQEkAQEmOnscmu2mBFUGR8YVHqoaw@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1D167CCE@ESESSMB209.ericsson.se> <CAJrXDUHVkcKWwmYmpZSyfaikq2shQwWUmOiBDPN=NPQJigDAnw@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1D167D92@ESESSMB209.ericsson.se>
To: Christer Holmberg <christer.holmberg@ericsson.com>
X-Mailer: Apple Mail (2.1510)
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Data Channel Protocol: Data before DATA_CHANNEL_ACK
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: Mon, 10 Feb 2014 20:23:56 -0000

On Feb 10, 2014, at 9:18 PM, Christer Holmberg <christer.holmberg@ericsson.com> wrote:

> 
> 
>> I think what is already in the standard is sufficient for your use case.  You just need to add a little application-specific signalling.  I don't think the in-band signalling is the right place to put things like this.
> 
> If it is sufficient to use in-band signalling to say ”I would like to send you this data”, I think it is equally sufficient to use in-band signaling to reply “No, I don’t want that data”...
> 
> Anyway, if people don't think it's needed, then I guess one can simply reset the stream.
Exactly. If the peer resets the stream before sending a DATA_CHANNEL_ACK, it is an error.
Section 6 of draft-ietf-rtcweb-data-protocol-02.txt contains

Therefore, receiving an SCTP stream reset request for a stream on which no DATA_CHANNEL_ACK message has been received indicates to the sender of the corresponding DATA_CHANNEL_OPEN message the failure of the data channel setup procedure.

Best regards
Michael
> 
> Regards,
> 
> Christer
> 
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb