Re: [rtcweb] Data Channel Negotiation and reopening of decisions
Martin Thomson <martin.thomson@gmail.com> Thu, 14 February 2013 22:22 UTC
Return-Path: <martin.thomson@gmail.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 DAB8821F8581 for <rtcweb@ietfa.amsl.com>; Thu, 14 Feb 2013 14:22:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.24
X-Spam-Level:
X-Spam-Status: No, score=-5.24 tagged_above=-999 required=5 tests=[AWL=-1.641, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4cFPdU2i684W for <rtcweb@ietfa.amsl.com>; Thu, 14 Feb 2013 14:22:16 -0800 (PST)
Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by ietfa.amsl.com (Postfix) with ESMTP id 1F8FB21F890E for <rtcweb@ietf.org>; Thu, 14 Feb 2013 14:22:15 -0800 (PST)
Received: by mail-wg0-f54.google.com with SMTP id fm10so2255393wgb.33 for <rtcweb@ietf.org>; Thu, 14 Feb 2013 14:22:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=LTUkWr0nBO1YWVG/b4R7DxgVMkLPdlH6y6hndHaUuIE=; b=lQy0V6F7SiULVC1kz+QUPWM+QHBS7c6sweG21tVavieCvC46Wh9r8xU8vTpv4BxnjV XpDSENIWJIb4AbOh78ow11fxejmCnWN7oYCWH8Oi6Mq7XDkvImoOQApY7izae/T7jbvh FbNZv4KRkjAQszaPtzpmDFSBMHKr82Tj2K8UIVK3ohOavtLrgHfEHp29/cn+sI7ILbyZ 7OrDMzGsf1+zRBPjUG9aEQGPbPx9qggHEP5pbHppNOYi3GEBccdGrUYZpRuBNLn1qe/A V3aDj+Sdcj2YCXqVDNNJwd7QltK+DzGartFBC53GlmInQ6AWdoq7knMgaKs3Ps4AG9+3 omsA==
MIME-Version: 1.0
X-Received: by 10.180.76.84 with SMTP id i20mr550554wiw.9.1360880535113; Thu, 14 Feb 2013 14:22:15 -0800 (PST)
Received: by 10.194.5.135 with HTTP; Thu, 14 Feb 2013 14:22:15 -0800 (PST)
In-Reply-To: <511CA8B8.9030109@jesup.org>
References: <CABkgnnWUpMSBLioSD2+p82vGszX9R0Q4WFfME5j-DuK+B7KVJw@mail.gmail.com> <5113CD16.6090806@jesup.org> <CABkgnnW792o76t9dKhidOMJpa21VcbPQZFU1HYnY_yjTPCWhYw@mail.gmail.com> <51166A3C.4000604@jesup.org> <CABkgnnV2m=m+qtM1YR4CPse=gyekvWThon_Nxbf8YMVaNuvq6Q@mail.gmail.com> <511B6C9A.4090904@jesup.org> <CABkgnnUiCKuv_=mgLFf4sRnOb1bY190N7E_+V8gfTbKEUTBnDw@mail.gmail.com> <F55AA828-4DEA-4B19-849B-3D003B210D62@iii.ca> <CABkgnnWQYSwhAwgzAhbH1y0qqMhs3niDuT811CExQ4zrJidTJA@mail.gmail.com> <511CA8B8.9030109@jesup.org>
Date: Thu, 14 Feb 2013 14:22:15 -0800
Message-ID: <CABkgnnVVuzAvgCiQEqNMqq0fdB+skKXJvExufPn-AY4-E-Symg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Randell Jesup <randell-ietf@jesup.org>
Content-Type: text/plain; charset="UTF-8"
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Data Channel Negotiation and reopening of decisions
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: Thu, 14 Feb 2013 22:22:27 -0000
On 14 February 2013 01:04, Randell Jesup <randell-ietf@jesup.org> wrote: > Not sure what's going on here with Stream X - is there a missing assumption > of SDP negotiation of Stream X? Yes, I was in a hurry and assumed you'd guess that. > The strong exposure of Stream numbers here > implies they're surfaced to the application, no? Stream numbers are already exposed as soon as you have SDP negotiation. This assumes that you use the same number in both directions for the one channel. > Or is it totally dependent > on ordering of opens, and in the glare case they get cross-connected as one > DataChannel with no notification of this (neither side gets onDataChannel). In the glare case, yes, streams can get cross-connected. > For StreamY from bob->alice (the "reply" direction): what are the > properties? This also implies that the JS API has to change to let you set > transport properties on a channel that came from onDataChannel. Properties would be set to some defaults by the browser. And yes, the properties should be mutable - SCTP certainly doesn't prevent that (I covered this in my first email). > Obviously there's no way to know anything about an incoming "onDataChannel" > event not due to SDP; I'm sure your comment would be "if that matters, > negotiate it". How does the application cause negotiation to happen? > (More JS API change I assume). Yes, as above: properties have to be assigned defaults for the ondatachannel event. and yes, my response would be "if properties matter, negotiate them". An application can negotiate by doing offer/answer. > I think there are unexplored interactions between SDP negotiation (and > stream number selection) and this (dynamic no-negotiation creation). You > might need to fail SDP requests to open stream X if the answerer has opened > a channel on Stream X before seeing the SDP, or have the answerer pick the > stream (but that causes problems when data from the answerer arrives before > the Answer). I don't think that this is a concern. Once you allow for mismatched channel properties, this all becomes easy. The answer can use the channel it has open to stream X. One thing that might help with consistency is to define how browsers select stream identifiers. e.g., start at the lowest available identifier. This should help applications do zero-negotiation uses without surprising behaviour. >> (Not just because >> eventual consistency is web-scale.) > > I'm not sure exactly what the last statement here means. Sorry, that's a random synapse misfire. I've been doing too much eventual consistency stuff recently. If you can suffer the digression: http://www.youtube.com/watch?v=b2F-DItXtZs
- [rtcweb] Data Channel Negotiation Martin Thomson
- Re: [rtcweb] Data Channel Negotiation Randell Jesup
- Re: [rtcweb] Data Channel Negotiation Martin Thomson
- Re: [rtcweb] Data Channel Negotiation Michael Tuexen
- Re: [rtcweb] Data Channel Negotiation Randell Jesup
- Re: [rtcweb] Data Channel Negotiation Martin Thomson
- Re: [rtcweb] Data Channel Negotiation Martin Thomson
- Re: [rtcweb] Data Channel Negotiation Michael Tuexen
- Re: [rtcweb] Data Channel Negotiation Michael Tuexen
- Re: [rtcweb] Data Channel Negotiation Martin Thomson
- [rtcweb] Data Channel Negotiation and reopening o… Randell Jesup
- Re: [rtcweb] Data Channel Negotiation and reopeni… Stefan Håkansson LK
- Re: [rtcweb] Data Channel Negotiation and reopeni… Martin Thomson
- Re: [rtcweb] Data Channel Negotiation and reopeni… Cullen Jennings
- Re: [rtcweb] Data Channel Negotiation and reopeni… Martin Thomson
- Re: [rtcweb] Data Channel Negotiation and reopeni… Randell Jesup
- Re: [rtcweb] Data Channel Negotiation and reopeni… Randell Jesup
- Re: [rtcweb] Data Channel Negotiation and reopeni… Martin Thomson
- Re: [rtcweb] Data Channel Negotiation and reopeni… Martin Thomson
- Re: [rtcweb] Data Channel Negotiation and reopeni… Michael Tuexen
- Re: [rtcweb] Data Channel Negotiation and reopeni… Martin Thomson
- Re: [rtcweb] Data Channel Negotiation and reopeni… Michael Tuexen
- Re: [rtcweb] Data Channel Negotiation and reopeni… Martin Thomson
- Re: [rtcweb] Data Channel Negotiation and reopeni… Ted Hardie
- Re: [rtcweb] Data Channel Negotiation and reopeni… Michael Tuexen
- Re: [rtcweb] Data Channel Negotiation and reopeni… Michael Tuexen
- Re: [rtcweb] Data Channel Negotiation and reopeni… Martin Thomson
- Re: [rtcweb] Data Channel Negotiation and reopeni… Matthew Kaufman (SKYPE)
- Re: [rtcweb] Data Channel Negotiation and reopeni… Michael Thornburgh
- Re: [rtcweb] Data Channel Negotiation and reopeni… Ted Hardie
- Re: [rtcweb] Data Channel Negotiation and reopeni… Randell Jesup
- Re: [rtcweb] Data Channel Negotiation and reopeni… Randell Jesup
- Re: [rtcweb] Data Channel Negotiation and reopeni… Michael Tuexen
- Re: [rtcweb] Data Channel Negotiation and reopeni… Matthew Kaufman (SKYPE)
- Re: [rtcweb] Data Channel Negotiation and reopeni… Matthew Kaufman (SKYPE)
- Re: [rtcweb] Data Channel Negotiation and reopeni… Randell Jesup
- Re: [rtcweb] Data Channel Negotiation and reopeni… Michael Tuexen
- Re: [rtcweb] Data Channel Negotiation and reopeni… Michael Tuexen
- Re: [rtcweb] Data Channel Negotiation and reopeni… Tim Panton
- Re: [rtcweb] Data Channel Negotiation and reopeni… Harald Alvestrand
- Re: [rtcweb] Data Channel Negotiation and reopeni… Paul Kyzivat
- Re: [rtcweb] Data Channel Negotiation and reopeni… Martin Thomson
- Re: [rtcweb] Data Channel Negotiation and reopeni… Paul Kyzivat
- Re: [rtcweb] Data Channel Negotiation and reopeni… Paul Kyzivat
- Re: [rtcweb] Data Channel Negotiation and reopeni… Stefan Håkansson LK
- Re: [rtcweb] Data Channel Negotiation and reopeni… Randell Jesup
- Re: [rtcweb] Data Channel Negotiation and reopeni… Paul Kyzivat
- Re: [rtcweb] Data Channel Negotiation and reopeni… Harald Alvestrand