Re: [rtcweb] RTCWeb default signaling protocol [was RE: About defining a signaling protocol for WebRTC (or not)]

Randell Jesup <randell-ietf@jesup.org> Tue, 04 October 2011 14:44 UTC

Return-Path: <randell-ietf@jesup.org>
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 2A2AF21F8C4E for <rtcweb@ietfa.amsl.com>; Tue, 4 Oct 2011 07:44:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.57
X-Spam-Level:
X-Spam-Status: No, score=-2.57 tagged_above=-999 required=5 tests=[AWL=0.029, BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V-HFGVHutENz for <rtcweb@ietfa.amsl.com>; Tue, 4 Oct 2011 07:44:13 -0700 (PDT)
Received: from r2-chicago.webserversystems.com (r2-chicago.webserversystems.com [173.236.101.58]) by ietfa.amsl.com (Postfix) with ESMTP id 2220321F8B68 for <rtcweb@ietf.org>; Tue, 4 Oct 2011 07:44:13 -0700 (PDT)
Received: from pool-173-49-141-165.phlapa.fios.verizon.net ([173.49.141.165] helo=[192.168.1.12]) by r2-chicago.webserversystems.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <randell-ietf@jesup.org>) id 1RB6H8-0007AI-2p for rtcweb@ietf.org; Tue, 04 Oct 2011 09:47:18 -0500
Message-ID: <4E8B1B86.2080805@jesup.org>
Date: Tue, 04 Oct 2011 10:43:18 -0400
From: Randell Jesup <randell-ietf@jesup.org>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <CALiegfnOCxyTo9ffQ272+ncdu5UdgrtDT-dn10BWGTZMEjZoCg@mail.gmail.com> <2E239D6FCD033C4BAF15F386A979BF510F0C0A@sonusinmail02.sonusnet.com> <05CAC192-E462-421F-B1E5-B78DC8F60306@ag-projects.com> <2E239D6FCD033C4BAF15F386A979BF510F0C93@sonusinmail02.sonusnet.com> <16880306-5B3A-4EFD-ADE4-1201138D9182@acmepacket.com> <2E239D6FCD033C4BAF15F386A979BF510F137B@sonusinmail02.sonusnet.com> <226C9800-9791-465A-B519-40935E2D135F@phonefromhere.com>
In-Reply-To: <226C9800-9791-465A-B519-40935E2D135F@phonefromhere.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - r2-chicago.webserversystems.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - jesup.org
X-Source:
X-Source-Args:
X-Source-Dir:
Subject: Re: [rtcweb] RTCWeb default signaling protocol [was RE: About defining a signaling protocol for WebRTC (or not)]
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: Tue, 04 Oct 2011 14:44:14 -0000

On 10/4/2011 5:16 AM, Tim Panton wrote:
> Partha - here's a quick review of http://tools.ietf.org/html/draft-partha-rtcweb-signaling-00
>
> I'm not going to go through it line by line as I disagree with almost all of it, so I
> focus on 2 key assumptions:
>
> Firstly ->
>
> Fig 1 is wrong  - in the _huge_ majority of instances there will be
> only one web server in such a diagram. Federated services will only be the minority case.

Agreed.

> Secondly ->
>
> You assume that being compatible with a legacy protocol would be a good thing,
> but don't examine why.
> I contend that there is no suitable legacy protocol and no advantage would be conveyed by
> implementing one directly in a browser. I'll use SIP to illustrate my point:
>
> The illusion is that there are lots of SIP devices that users are itching to call from their browsers. There aren't.

I agree, that is not a reason for any standard on signalling (though as 
you say Partha didn't actually give a reason).  If someone is building 
an access-the-PSTN app (and they will), they can use or build a lib to 
do so - though I'll also mention these fully-functional JS SIP/etc 
libraries we presume don't exist yet and are a lot of work to write and 
debug.  A Skype can do so easily; a small PBX add-on company using 
Asterisk not so much.

I have a different argument: I want it to be *easy* for a website 
author/app developer to add audio or video for their users.   The 
developers aren't experts on glare, forking, the intricacies of getting 
offer-answer (or whatever) right, ad nauseum.  If you ask them to 
*design* their own protocol, they'll make a ton of 'rookie' mistakes.  
And for added fun, they'll likely never correct them and in many cases 
never understand why the bug is occasionally reported by their users.

A random example is forking - forking will happen (forward call to all 
the devices the person logged in under) , and handling forking well 
requires some thought and experience.

The obvious answer is "those people shouldn't design a protocol (leave 
that to the big guys), they should use a standard library."  Ok, great, but:

1) These don't exist yet (minor issue; one presumes they'll exist "soon")
2) The quality and testing of these libraries is unlikely to equal that 
of existing signalling stacks available freely for quite a while
3) Inaki's (sorry about the cedilla) point about "website-based 
libraries can be updated more often than ones baked into a browser" is 
valid, but it has a flip-side - the swarm of smaller users of webrtc are 
likely to download a version of jSIP.js (or whatever) and are not likely 
to actively track updates.  My understanding is that this is rife in the 
use of things like jquery - upgrading is time-consuming and risks 
breakage, and requires QA.  People grab one version and never change it 
- while Firefox for example updates every 6 weeks.  (He may have a 
better argument with IE users, especially in business, but my point 
still holds.)  The larger, sophisticated users are more likely to 
update, or debug problems when they occur, so I'm not worried about them 
- and they can use jSIP.js regardless if there's a signalling protocol 
in the browser.

Point 3 is in ways the strongest point here, since I assume these 
libraries will exist at some point.

You'll note I'm not arguing for SIP here - I'm arguing that there are 
valid reasons for easy default signalling *as and option*, especially 
for the health of the "little guy" app/service developer who wants to 
add RT media.  If we had a functional, debugged, standard JS protocol 
that was free and we could figure a way for app developers to ease the 
update process, it would undercut my argument - but we don't have that, 
and we can't count on that, at least not for a while.  It does not 
*have* to be any existing signalling standard - though using one of 
those is probably easiest, quickest (if the wars over whether/what 
subside) and least error-prone.


> Conclusion ->
>
> So we should focus upon the most common use-case and not get distracted into discussing
> what is at best an edge case.
>
> The risk of such a discussion (of a standard signalling protocol) is that we will still be discussing it in 3 years time and each of the browser makers will have implemented their own subtly different webRTC solutions.

Yes, this is critical.  We need to finish it.  I'd rather have it 
finished and a strong project to build a "standard" external JS library 
under way than to have the whole thing wait.  But if I had my druthers 
(what the bleep are those, anyways?) I'd have an optional signalling 
protocol available.


-- 
Randell Jesup
randell-ietf@jesup.org