Re: [rtcweb] Proposal for a JS API for NoPlan (adding multiple sources without encoding them in SDP)

Robin Raymond <robin@hookflash.com> Wed, 19 June 2013 15:59 UTC

Return-Path: <robin@hookflash.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 C000421F9DC2 for <rtcweb@ietfa.amsl.com>; Wed, 19 Jun 2013 08:59:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.112
X-Spam-Level:
X-Spam-Status: No, score=-1.112 tagged_above=-999 required=5 tests=[AWL=-0.292, BAYES_00=-2.599, HTML_IMAGE_ONLY_32=1.778, HTML_MESSAGE=0.001]
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 jq9IJEy+g12z for <rtcweb@ietfa.amsl.com>; Wed, 19 Jun 2013 08:59:33 -0700 (PDT)
Received: from mail-ob0-x236.google.com (mail-ob0-x236.google.com [IPv6:2607:f8b0:4003:c01::236]) by ietfa.amsl.com (Postfix) with ESMTP id 82E4A21F9DB1 for <rtcweb@ietf.org>; Wed, 19 Jun 2013 08:59:30 -0700 (PDT)
Received: by mail-ob0-f182.google.com with SMTP id va7so6099545obc.41 for <rtcweb@ietf.org>; Wed, 19 Jun 2013 08:59:30 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:x-gm-message-state; bh=+1NDFXjryrrUcrpd0gKi5jH8+P+jMyEK4sje3gXHgb8=; b=kITzcJSuTCmrNwQDZJsJPJpWS28lyZasDXKl2NTTxxP86TKJhOC4CCAZJECPHOAql9 UERprc5Pa52+ad4Bd07LOrUgqe2KNH8HvaEjWurDVjQMce38gudWhqqbkS2s5hBjBXRx xhYV8RnjvjNNZRO4DQ2wTWiBMnYLq7R+PrzpHcj34mY7RJg+yFXMoGGdkap1EBUdvXdt Dgx76iney2eJC9/ZLuHHujLmP/NpdyEwZwGpH7uh3FtGwaJ+MC/3vrdoDqM1/Dqpas1u CyH9oSUq5mYM5DfQqf4SkCAO+DxzrWoGdRQCQuVsQdhZycbiHs+UsEtq6zySMYufNaoj feVw==
X-Received: by 10.60.60.196 with SMTP id j4mr2414256oer.37.1371657570114; Wed, 19 Jun 2013 08:59:30 -0700 (PDT)
Received: from Robins-MacBook-Pro.local (CPE602ad08742f7-CM602ad08742f4.cpe.net.cable.rogers.com. [99.224.116.224]) by mx.google.com with ESMTPSA id i2sm25266566obz.11.2013.06.19.08.59.27 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Jun 2013 08:59:28 -0700 (PDT)
Message-ID: <51C1D55D.6040905@hookflash.com>
Date: Wed, 19 Jun 2013 11:59:25 -0400
From: Robin Raymond <robin@hookflash.com>
User-Agent: Postbox 3.0.8 (Macintosh/20130427)
MIME-Version: 1.0
To: Peter Thatcher <pthatcher@google.com>
References: <CAJrXDUHdoxLTsofiwLBdwBNnCCkCBgjSdbmLaXrNEPODMrsSVA@mail.gmail.com> <CAHp8n2m4VwkpbdGE+q73qqij5RDCB4Vb-Ui1LmGSx1zmv8TX2g@mail.gmail.com> <CAJrXDUEfdsZJBgkcb=MJnxRmk9ZMTHw39DE=YWa+ngXxvfsQ0A@mail.gmail.com>
In-Reply-To: <CAJrXDUEfdsZJBgkcb=MJnxRmk9ZMTHw39DE=YWa+ngXxvfsQ0A@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------080705040102020905040401"
X-Gm-Message-State: ALoCoQn6ccyKq9PNaqPA9jEJQ8G1QPvFpfxDQB8A7DsUFM7GZcRZsWlySp9IzyeO9DfUzgNf8YEK
Cc: "<rtcweb@ietf.org>" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Proposal for a JS API for NoPlan (adding multiple sources without encoding them in SDP)
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: Wed, 19 Jun 2013 15:59:33 -0000

Then why not move to a lower level API and do it as a shim (i.e. reverse 
polyfill)?

If provided a lower level API that works without SDP where the 
individual network/media component wiring/attributes can be controlled, 
we could create the same WebRTC API that exists today for people who 
think "SDP out to be enough for anybody" layered on top of it; They lose 
absolutely nothing (in fact they gain a lot since now they can tweak the 
logic to be even more compatible with their networks and dynamically 
update it as needed instead of waiting for the next browser "patch" to 
be deployed everywhere on all platforms). The only different is that 
it's an JavaScript implementation rather than written in C++. They get 
what they want but we get what we need.

That's the difference, they *want* this API as it "works/good enough for 
them", whereas many of *need* a lower level API to do anything 
sophisticated at all. As it stands, it makes many use cases for us who 
whom don't want to do basic SIP/SDP signaling extremely challenging, 
complex, ugly, brittle, if not outright impossible. I've explained many 
times why using SDP with offer/answer is horribly bad idea (and I can 
re-share those links if needed).

-Robin


> Peter Thatcher <mailto:pthatcher@google.com>
> 19 June, 2013 11:15 AM
>
>
>
> I hope so as well.  Unfortunately, Microsoft's input seems to be "our 
> way or the highway" and the input of others seems to be "SDP ought to 
> be enough for anybody".  My thinking is that we can make incremental 
> improvements toward a cleaner API without being so extreme at either 
> end.  And I hope I can find others that think similarly.
>
>