Re: [rtcweb] Summary of Application Developers' opinions of the current WebRTC API and SDP as a control surface

Iñaki Baz Castillo <ibc@aliax.net> Mon, 08 July 2013 20:43 UTC

Return-Path: <ibc@aliax.net>
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 1A5D721F9E01 for <rtcweb@ietfa.amsl.com>; Mon, 8 Jul 2013 13:43:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.646
X-Spam-Level:
X-Spam-Status: No, score=-2.646 tagged_above=-999 required=5 tests=[AWL=0.031, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, 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 fgmcaBywf7NW for <rtcweb@ietfa.amsl.com>; Mon, 8 Jul 2013 13:43:47 -0700 (PDT)
Received: from mail-qe0-f41.google.com (mail-qe0-f41.google.com [209.85.128.41]) by ietfa.amsl.com (Postfix) with ESMTP id C63EF21F9DF1 for <rtcweb@ietf.org>; Mon, 8 Jul 2013 13:43:47 -0700 (PDT)
Received: by mail-qe0-f41.google.com with SMTP id b4so2612701qen.14 for <rtcweb@ietf.org>; Mon, 08 Jul 2013 13:43:46 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=+bwTFXUWiWBGXsIOQOktvrforTTQy/bQQ5k4IBnYe8I=; b=IOD3TttCWPqCfRhRNq5BczFXwXl2CrnMipsA8kEcgdgQVE9kolgWG0wONBq1dVAWpF xLELkyW7iNPBPspJKXF29Yqoqjl2odNqVLyZD29mQvSdRAOSSqLBLgOasoaiLIPj8ANF yIWHC9z8m7bFS6zU2lwvHS2tiptLgaZkMgPCZSrleRJMiPDbIjzTAKzZ+KG5bT8ml0wI QNZ58hcd5sxD8puf6MbHO71MW+AZcbHq+1a3po/K3rOqwv8DDktyzjsGWqll2x2h/0T3 51b1lShsQornkanG8aE7xX/pgrj0cKBVGsV0KA4wqCtdZz0oT9HEn8e9cC44s2lQCkRG E3eQ==
X-Received: by 10.224.114.207 with SMTP id f15mr5457747qaq.115.1373316226721; Mon, 08 Jul 2013 13:43:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.72.132 with HTTP; Mon, 8 Jul 2013 13:43:26 -0700 (PDT)
In-Reply-To: <1447FA0C20ED5147A1AA0EF02890A64B1C30CD1E@ESESSMB209.ericsson.se>
References: <CAJrXDUGMohpBdi-ft-o_uE7ewFkw7wRY9x7gYEncjov7qi-Bew@mail.gmail.com> <CABcZeBPa4wBS8pYq=0wesMOfL6TkeC7QGAZ8pWwOcnkhkJqWfA@mail.gmail.com> <CAJrXDUFxo8P8wxh8jX3019yPQOuwQ0eVdsFmRXsbWdWinnc5oA@mail.gmail.com> <CABcZeBOTKpmFC34waqZ4kA-P8t+E6yY9gX1JFCHhsBH0+CF-Qw@mail.gmail.com> <1447FA0C20ED5147A1AA0EF02890A64B1C30BC0F@ESESSMB209.ericsson.se> <CAD5OKxtKLMf_d=8GSMrqfNhDHPe9MFP2ZTKzZHFn9CyMr-gSVQ@mail.gmail.com> <1447FA0C20ED5147A1AA0EF02890A64B1C30C833@ESESSMB209.ericsson.se> <CAD5OKxvGfkgRp6tXwbOu_kVteHiBBqsyR5ixH18FMKjCNGO8VQ@mail.gmail.com> <1447FA0C20ED5147A1AA0EF02890A64B1C30CD1E@ESESSMB209.ericsson.se>
From: =?UTF-8?Q?I=C3=B1aki_Baz_Castillo?= <ibc@aliax.net>
Date: Mon, 8 Jul 2013 22:43:26 +0200
Message-ID: <CALiegfmvfJGp_ydO9CuQT+t0bguNYBU0pZYejD-_wn3nrq-JZw@mail.gmail.com>
To: =?UTF-8?Q?Stefan_H=C3=A5kansson_LK?= <stefan.lk.hakansson@ericsson.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQnR3hg6+yQXNJaPSv/J7fi6SXtk+ZjraUiJ28OmEbTVB7YnIl+d5ZQK4bEid5C2+fc7Wc9x
Cc: "<rtcweb@ietf.org>" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Summary of Application Developers' opinions of the current WebRTC API and SDP as a control surface
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: Mon, 08 Jul 2013 20:43:53 -0000

2013/7/8 Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>;:
>> So, was there ever a consensus that "developers MUST NOT
>> touch SDP"?
>
> No, developers are free to touch the SDP (and probably must in certain
> cases).


Do you feel how much painful is "touching a browser generated SDP"? To be clear:

- JS requests "A" to browser.
- Browser returns "A" (in the form of unmanageable blob).
- JS modifies "A" to send "A-bis" in the wire.
- Remote peer receives "A-bis" and replies "B-bis".
- Both JS app are lying to their respective  browsers to get the
desired behavior.

This is really painful, really.

In the other side, as I explained in other thread (may be in this
one?) adding some methods to the current API (to avoid playing with
the SDP) is not the way to go. A specification in which the JS app
does not know what he is sending in-the-wire (a blob generated by the
browser) is doomed to failure.

Please remember that mandating SDP (plain SDP) means that no other
media signaling protocol can be implemented in future WebRTC apps.

SIP phones have *fixed* code and *fixed* logic. This is no longer true
in the Web.

--
Iñaki Baz Castillo
<ibc@aliax.net>;