Re: [rtcweb] Making progress on the signaling discussion (NB: Action items enclosed!)

Harald Alvestrand <harald@alvestrand.no> Wed, 12 October 2011 12:44 UTC

Return-Path: <harald@alvestrand.no>
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 8FC5121F8C4C for <rtcweb@ietfa.amsl.com>; Wed, 12 Oct 2011 05:44:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.598
X-Spam-Level:
X-Spam-Status: No, score=-110.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
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 wkBglZcFVIzw for <rtcweb@ietfa.amsl.com>; Wed, 12 Oct 2011 05:44:05 -0700 (PDT)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id 9077421F8C35 for <rtcweb@ietf.org>; Wed, 12 Oct 2011 05:44:05 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id CB87E39E10E; Wed, 12 Oct 2011 14:25:05 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5La7QHMJgVK0; Wed, 12 Oct 2011 14:25:05 +0200 (CEST)
Received: from hta-dell.lul.corp.google.com (unknown [62.20.124.50]) by eikenes.alvestrand.no (Postfix) with ESMTPS id 07F9239E072; Wed, 12 Oct 2011 14:25:05 +0200 (CEST)
Message-ID: <4E95871F.9010605@alvestrand.no>
Date: Wed, 12 Oct 2011 14:25:03 +0200
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15
MIME-Version: 1.0
To: Tim Panton <tim@phonefromhere.com>
References: <CA+9kkMBi9BzDu=WOq3RG-o5nbfnUTftDg3LRBU3DFh=Kc4W5ZQ@mail.gmail.com> <CALiegfmYgQ+yb=pDp1J2_PVa1SkxTOuaUCM02Vt6-iGabwif1g@mail.gmail.com> <CA+9kkMCUTiPO3eASjn0mbRA9YCF6TMmGGOjQ4NkVkvzVMN39Gg@mail.gmail.com> <CALiegfnx=qoS_pqyC45WVEYEFqj-3eP9g_kyhAUaOO6He_UEfw@mail.gmail.com> <CA+9kkMCibnPLrEq1234bUMXpiKBK0+22mqwYOM__CpcO2nOayg@mail.gmail.com> <CALiegfms2bt-WPtMeosFQz3-aSf2L6mfX+i68tw45sSgix561Q@mail.gmail.com> <4E8D6507.8000707@ericsson.com> <CALiegf=VyViX2arp0gr0dK4WN_jv=bjwP0LUAxRf=quTxrYrUQ@mail.gmail.com> <CALiegfn15szv-2yXeWptWjsQC2CwVODg_X90gD4odZkCR0LzvA@mail.gmail.com> <4E955775.10206@alvestrand.no> <CABRok6n6UA_nFfLzQ4K+H0+idspEsymW29OZH0J5q1ewF3PpRw@mail.gmail.com> <4E956526.2090604@alvestrand.no> <380E325E-A7EF-489A-AA24-0270224FC87A@phonefromhere.com> <4E957C55.9020706@alvestrand.no> <13C2526B-E7B1-408C-BD1D-EC5E8C8F6472@phonefromhere.com>
In-Reply-To: <13C2526B-E7B1-408C-BD1D-EC5E8C8F6472@phonefromhere.com>
Content-Type: multipart/alternative; boundary="------------050604030702040202000507"
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Making progress on the signaling discussion (NB: Action items enclosed!)
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, 12 Oct 2011 12:44:06 -0000

On 10/12/11 14:13, Tim Panton wrote:
>
> On 12 Oct 2011, at 12:39, Harald Alvestrand wrote:
>
>> On 10/12/11 12:31, Tim Panton wrote:
>>>
>>> On 12 Oct 2011, at 11:00, Harald Alvestrand wrote:
>>>
>>>> On 10/12/11 11:46, Neil Stratford wrote:
>>>>> On Wed, Oct 12, 2011 at 10:01 AM, Harald Alvestrand 
>>>>> <harald@alvestrand.no <mailto:harald@alvestrand.no>> wrote
>>>>>
>>>>>     One of the worries I have with doing a "low level spec"
>>>>>     unconstrained by our present competence (ignorance?) in  is
>>>>>     that I'm reasonably sure we have the knowledge to generate and
>>>>>     parse SDP, because the codebases we are building on already
>>>>>     generate and parse SDP, and the information present there is
>>>>>     enough to set up calls, because we're already setting up calls
>>>>>     using that information.
>>>>>
>>>>>     I'm less sure of our "getting things right" if we start off by
>>>>>     describing the capabilities and control knobs to be exposed in
>>>>>     an unconstrained API.
>>>>>
>>>>>
>>>>> As a counter argument, those very same codebases that generate and 
>>>>> parse SDP also contain internal APIs that look a lot like a low 
>>>>> level spec API, and the information they present is enough to 
>>>>> generate and parse SDP and set up calls.
>>>>>
>>>>> Maybe we don't like those APIs and perhaps they expose too much as 
>>>>> they were never intended to be made public, but they do exist already.
>>>> Yup. And I suspect they're all subtly different.
>>>>
>>>
>>> You could look at that in a positive light -
>>> as evidence that there are multiple ways to solve this problem and 
>>> deduce:
>>> a) it isn't impossibly hard
>>> b) there isn't one 'correct' way of doing it.
>>>
>>> Which would lead me back to specifying as _little_ as possible and 
>>> letting innovation take place.
>>>
>> We have to specify enough for interoperation in at least the use 
>> cases of the scenarios document.
>> In enough detail for interoperation to happen.
>>
>> That could turn out to be a lot, especially if we can't point to 
>> existing specs and say "use that".
>
> So, to paraphrase (and make sure I understand) - your argument is that 
> if we don't use SDP,
> we will have to specify all the fields and associated meanings for 
> every codec we expect to support.
>
> If we do use SDP, then we just point at existing usage and say - 
> 'there, use that' .
>
> If we use a subset or variant on SDP we can say - 'use that, except 
> for this bit to do with port allocation'.
>
> Is that a fair (if informal) summary?
Yes, exactly.

We've been around this bush a few times under the guise of "why don't we 
redefine SDP in JSON" or "why don't we redefine SDP in XML"; this time, 
it somewhat resembles "why don't we reencode SDP as API calls". I 
believe a lot of the same arguments apply.