Re: [rtcweb] Comments on draft-ietf-rtcweb-data-channel-06
Michael Tuexen <Michael.Tuexen@lurchi.franken.de> Sat, 28 December 2013 10:52 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 587CA1AF605 for <rtcweb@ietfa.amsl.com>; Sat, 28 Dec 2013 02:52:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.211
X-Spam-Level: *
X-Spam-Status: No, score=1.211 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_DE=0.35, J_CHICKENPOX_31=0.6, RP_MATCHES_RCVD=-0.538, SPF_HELO_PASS=-0.001] 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 ajnIppo65xjn for <rtcweb@ietfa.amsl.com>; Sat, 28 Dec 2013 02:52:45 -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 E2F121AF604 for <rtcweb@ietf.org>; Sat, 28 Dec 2013 02:52:44 -0800 (PST)
Received: from [192.168.1.200] (p5481894C.dip0.t-ipconnect.de [84.129.137.76]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id C14D21C0C0692; Sat, 28 Dec 2013 11:52:38 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
In-Reply-To: <52AEC405.6070107@alvestrand.no>
Date: Sat, 28 Dec 2013 11:52:37 +0100
Content-Transfer-Encoding: 7bit
Message-Id: <9D7E046C-5CAA-4D7A-B001-D074354B5E26@lurchi.franken.de>
References: <5280E181.20104@ericsson.com> <52AE2C51.5000600@omnitor.se> <52AEC405.6070107@alvestrand.no>
To: Harald Alvestrand <harald@alvestrand.no>
X-Mailer: Apple Mail (2.1510)
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Comments on draft-ietf-rtcweb-data-channel-06
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: Sat, 28 Dec 2013 10:52:46 -0000
On Dec 16, 2013, at 10:12 AM, Harald Alvestrand <harald@alvestrand.no> wrote: > On 12/15/2013 11:25 PM, Gunnar Hellstrom wrote: >> I took a look at the data channel draft. >> >> I am missing descriptions of the requirements of how transmission >> failures are to be handled. >> >> I suggest that section 6.6 "Transferring User Data on a Channel" is >> extended with a description on what happens if the transmission fails. >> It is evident that there will be different actions for the different >> types of channels. >> >> For unordered, unreliable channels, I assume that neither the >> transmitter nor the receiver will be notified of transmission failures. >> >> For ordered, semi-reliable channels, I assume that the transmitter is >> notified about failure if the transmitting channel has no indication >> of successful transmission after the specified number of >> retransmissions or milliseconds. >> Same with the receiver, but the error notification may not appear >> until next transmission is received, so that the gap can be detected. >> >> Also the so called ordered reliable channel may fail. It just has a >> higher number of retries over a longer time. So, same information >> should be provided for that type. > > The traditional way of signalling the failiure of a reliable channel is > to indicate that the channel has failed. > >> >> And, is there just an error notification and then open for trying next >> transmission, or is the channel broken and needs to be opened again. I >> suggest that transmission can continue after the error notification. > > This should expose the corresponding property of the SCTP protocol. I > expect SCTP experts will answer that. SCTP has no notion of a failed stream, only the association can fail. This would correspond to the peer connection. However, a peer can violate the protocol on a data channel. I would suggest to simply reset the corresponding streams in that case. >> >> Can duplications be guaranteed to be avoided in the ordered channel? > > As far as I know, yes. Correct, not only in ordered channels. SCTP does not deliver a user message twice in all cases. > >> Can there be cases when the transmitter gets a notification about >> failure, but the receiver has received the data successfully? > > Yes. Avoiding such a situation is logically impossible; you'd get into > an infinite regression of ACKs otherwise. > >> >> How is this reflected in WebRTC API:s? > > The WebRTC API has no defined function for notification of > single-message transmission failure. So it reflects the assumption that > one either gets no indication at all (for unreliable and limited-retry) > or channel failure (for reliable). Just to be clear: Only an SCTP association can fail, not a stream. Best regards Michael > > _______________________________________________ > rtcweb mailing list > rtcweb@ietf.org > https://www.ietf.org/mailman/listinfo/rtcweb >
- [rtcweb] Comments on draft-ietf-rtcweb-data-chann… Magnus Westerlund
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Gunnar Hellstrom
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Harald Alvestrand
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Gunnar Hellstrom
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Gunnar Hellstrom
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Michael Tuexen
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Michael Tuexen
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Michael Tuexen
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Gunnar Hellstrom
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Michael Tuexen
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Gunnar Hellstrom
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Michael Tuexen
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Michael Tuexen
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Michael Tuexen
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Gunnar Hellstrom
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Michael Tuexen
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Michael Tuexen
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Randell Jesup
- Re: [rtcweb] Comments on draft-ietf-rtcweb-data-c… Magnus Westerlund