Re: [rtcweb] Low Level Javascript API Proposal avail on the webrtc list

Neil Stratford <neils@belltower.co.uk> Wed, 05 October 2011 09:49 UTC

Return-Path: <neils@vipadia.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 E858321F8B73 for <rtcweb@ietfa.amsl.com>; Wed, 5 Oct 2011 02:49:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level:
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 8urAcDMWUCaf for <rtcweb@ietfa.amsl.com>; Wed, 5 Oct 2011 02:49:42 -0700 (PDT)
Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by ietfa.amsl.com (Postfix) with ESMTP id 5246421F8B35 for <rtcweb@ietf.org>; Wed, 5 Oct 2011 02:49:42 -0700 (PDT)
Received: by iaby26 with SMTP id y26so1990337iab.31 for <rtcweb@ietf.org>; Wed, 05 Oct 2011 02:52:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.231.45.17 with SMTP id c17mr3906052ibf.87.1317808369576; Wed, 05 Oct 2011 02:52:49 -0700 (PDT)
Sender: neils@vipadia.com
Received: by 10.231.200.146 with HTTP; Wed, 5 Oct 2011 02:52:49 -0700 (PDT)
In-Reply-To: <CALiegfkU_qg5CN4g79jzRexw5W0ianWJGMPvPEt7KJSATu1CAg@mail.gmail.com>
References: <545388B3-3189-4291-BD1D-52898B888F3E@phonefromhere.com> <CAD5OKxt_3bnODVCWxrrrKVWO3R3Or1FjhMOHwgUzq3-h6dW0LA@mail.gmail.com> <4E8BC0ED.2020001@skype.net> <CALiegfkU_qg5CN4g79jzRexw5W0ianWJGMPvPEt7KJSATu1CAg@mail.gmail.com>
Date: Wed, 5 Oct 2011 10:52:49 +0100
X-Google-Sender-Auth: YZYqYKZt2d-xgQ96_iWPMeuekts
Message-ID: <CABRok6k2=ax8DD-+VEQ7j4YdeoAKqWh1zg8kWduYdguTfDmhCg@mail.gmail.com>
From: Neil Stratford <neils@belltower.co.uk>
To: rtcweb@ietf.org
Content-Type: multipart/alternative; boundary=0015176f0b4cc02b5f04ae8a2b95
Subject: Re: [rtcweb] Low Level Javascript API Proposal avail on the webrtc list
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, 05 Oct 2011 09:50:07 -0000

On Wed, Oct 5, 2011 at 10:31 AM, Iñaki Baz Castillo <ibc@aliax.net> wrote:

> 2011/10/5 Matthew Kaufman <matthew.kaufman@skype.net>et>:
> > This stuff is exactly what you'll need to add yet more code to solve if
> you
> > try to bake SDP offer-answer into the browser to turn it 90% of the way
> into
> > a SIP phone.
> >
> > And exactly what you *don't* need browser code to solve if it is done
> > elsewhere (for instance, the server might be handling the entire SIP and
> SDP
> > exchange and resolve forking issues at that end without involving the
> client
> > at all.)
>
> No please. The client CAN be intelligent, and that is how SIP usually
> works (intelligence in endpoints rather than in servers).
>
> You can do that if you want (you can build a custom
> SIP<-->EasySimpleJsonProtocol gateway in server side), but please
> don't mandate it. Let me to deal with SDP's in client side (at
> JavaScript level), please. Others could choose what to do, but don't
> force me to create a ugly application protocol gateway just because
> some people prefer to make web clients as "simple as possible".
>

I don't think that anyone is saying that we want to mandate a simple Json
signalling protocol - just that you have the option of coding it all in
javascript at the client side, or at the server side if you wanted to. The
important thing in my view is not to bake SDP into the JS API with the
browser in such a way that we can only build something that looks like SIP.

By SDP 'client side at JavaScript level' are you proposing that the JS API
accepts SDP directly as a parameter, or that you parse the SDP in JS and set
the ICE connection and codecs up as appropriate? (Which is my preference.)