Re: [rtcweb] ALPN question - other labels?

Paul Kyzivat <pkyzivat@alum.mit.edu> Fri, 08 August 2014 16:12 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 BB82E1B2C45 for <rtcweb@ietfa.amsl.com>; Fri, 8 Aug 2014 09:12:58 -0700 (PDT)
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 xoXYXGMDtBQG for <rtcweb@ietfa.amsl.com>; Fri, 8 Aug 2014 09:12:57 -0700 (PDT)
Received: from qmta05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:48]) by ietfa.amsl.com (Postfix) with ESMTP id 251381B2C46 for <rtcweb@ietf.org>; Fri, 8 Aug 2014 09:12:55 -0700 (PDT)
Received: from omta15.westchester.pa.mail.comcast.net ([76.96.62.87]) by qmta05.westchester.pa.mail.comcast.net with comcast id cBYh1o0051swQuc55GCuy2; Fri, 08 Aug 2014 16:12:54 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.164]) by omta15.westchester.pa.mail.comcast.net with comcast id cGCu1o00h3ZTu2S3bGCuqT; Fri, 08 Aug 2014 16:12:54 +0000
Message-ID: <53E4F706.6040708@alum.mit.edu>
Date: Fri, 08 Aug 2014 12:12:54 -0400
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.6.0
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>
References: <53E3EE8E.90205@alum.mit.edu> <CABkgnnWc9-Ri4_NP1w=-TWf0u6KF0RgGgMz50ofVaZowW_2btw@mail.gmail.com> <53E4351D.5030507@alum.mit.edu> <CABkgnnVgdYEt9QRCBqJHHWfz=VMp9HxNWmZv63VvzOrAvWWXNA@mail.gmail.com>
In-Reply-To: <CABkgnnVgdYEt9QRCBqJHHWfz=VMp9HxNWmZv63VvzOrAvWWXNA@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1407514374; bh=lFRJmDIEiyAcflwTXD94klCHmzfIDZWNMNA3dTMSb/M=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=Ck40hVlyqVbgaK8SRjkCSOurOkqP1q/oR/I03drKe2rFRKfCcdlW3oCmm6Nah068F jkpo3dAwXHGaUMssqGMANsongagd4WdQVXT/d9OU84Q4n3xiiE+zgsVPcYLzOzC27m 9quz35942DM2bF8NkNpRcP870EukP9TgNUU1Mp5tv7aUolFSmENcWMr4w5ZGCpi3Iw JNpfECMeHgxtN5uYHstqbHJLJB/rVpG3sjKxtfz7F6vPsY62P7rpKxCl0IRz7rvXHi LhUWwj4HMvgdIa5RizXBsGi4uuCb0brITBuwXf6CcydsCYk1M0CuG5LyjtofruK85J XLBJbCb/Ap0tw==
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/SJbhrsSQ0iZRSh693u47XBBV8XM
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] ALPN question - other labels?
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: Fri, 08 Aug 2014 16:12:59 -0000

On 8/7/14 10:41 PM, Martin Thomson wrote:
>
> On Aug 7, 2014 7:25 PM, "Paul Kyzivat" <pkyzivat@alum.mit.edu
> <mailto:pkyzivat@alum.mit.edu>> wrote:
>  > My primary question is how is a browser expected to behave if some
> other label is offered? Will it still support use of the JSEP APIs?
>
> ALPN requires that a peer in the server role reject the connection if it
> can't select a protocol. That is what Firefox will do, though it will
> tolerate no ALPN extension as long as it doesn't have confidential media.

Are you saying that the offering and acceptance of ALPN values is 
controlled totally by the browser, without any influence by the JS app?

>  > And, for interop reasons, will there be a way to get a browser to
> offer another label and still support the JSEP APIs if the other end
> accepts it?
>
> That is an interesting question. You would need to teach the browser
> that other protocol, I guess.

IMO this would only be interesting if other values can also be used in 
the server role.

For now I think it is more important that you be very clear what you 
intend.

I think it means that CLUE implementations will always need to use 
"webrtc" as the ALPN for the CLUE data channel, so that it will be right 
when interoperating with WebRTC. That is possible, though it seems weird 
when not interoperating.

(I'm struggling to figure out what c-webrtc means for a native clue 
device, such as an MCU.)

	Thanks,
	Paul