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

Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> Wed, 19 June 2013 13:13 UTC

Return-Path: <sergio.garcia.murillo@gmail.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 874C721F9C22 for <rtcweb@ietfa.amsl.com>; Wed, 19 Jun 2013 06:13:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 5EJR4+h9tLmP for <rtcweb@ietfa.amsl.com>; Wed, 19 Jun 2013 06:13:26 -0700 (PDT)
Received: from mail-bk0-x22a.google.com (mail-bk0-x22a.google.com [IPv6:2a00:1450:4008:c01::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 3CE1B21F9C20 for <rtcweb@ietf.org>; Wed, 19 Jun 2013 06:13:26 -0700 (PDT)
Received: by mail-bk0-f42.google.com with SMTP id jk13so2378336bkc.29 for <rtcweb@ietf.org>; Wed, 19 Jun 2013 06:13:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=w0r4Ds4LwAuXDPmw9TpTyZH3YNgRchkbvGGPfdrqydU=; b=RP/17b8n76al1ns0gCX7yphz++X/CD9S7uNWOba9XqQc33FQJkAskHW/BZu5uTMhjB 1I48n7eZVb3u5329XHPg2ZA6zz8A8pr5M5fuv7ypikb3xBCS/eUFcEvNLkKfdno8RVs1 0g82ZSgROoutciNUyHFjY8P015C9Qn6YyN2SVNAfS5Klnnl8vqF6EqXTEcthovlWMagD 0C4114lqpr36fzqhtdghicTFIeFZtmNZUsGh0vWPHdgSs5D6iznur5jGi47BN5Y2AWQo gvSB0f89SzcmAUV8/SfMar7PqvrhFE/O9zlGJJgCkTr0f/UW/XEvj7ceW4jdI25xhJwp WZGA==
X-Received: by 10.204.53.3 with SMTP id k3mr378697bkg.152.1371647605248; Wed, 19 Jun 2013 06:13:25 -0700 (PDT)
Received: from [192.168.1.53] (45.Red-83-53-66.dynamicIP.rima-tde.net. [83.53.66.45]) by mx.google.com with ESMTPSA id oy6sm7921956bkb.14.2013.06.19.06.13.23 for <rtcweb@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Jun 2013 06:13:24 -0700 (PDT)
Message-ID: <51C1AE77.5010105@gmail.com>
Date: Wed, 19 Jun 2013 15:13:27 +0200
From: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <CAJrXDUHdoxLTsofiwLBdwBNnCCkCBgjSdbmLaXrNEPODMrsSVA@mail.gmail.com> <CABkgnnUmRpanfpwryyiCUsOdMLzrd74n-4LXaj_AK3aLe0yQ8Q@mail.gmail.com> <CAJrXDUGnEwtsGZwUUqQgH0vDnMPy=XxqwQB9fpNcW9yQDhFt4w@mail.gmail.com> <CABkgnnVghXLu0ZdNkBkvLkqr=xgx6irWnyebU6rv+D45M+iaUg@mail.gmail.com> <CAJrXDUFkdfE2gfkRx6im3qNwjd3ObNv0tGO8O0vht146+A1kfQ@mail.gmail.com> <CALiegfmMWiEZDL4eCc6VSEsH1z8F6K5Xzz_-Z6hiKiD9yAap0Q@mail.gmail.com> <51C0269B.5070200@telecomitalia.it> <51C069CD.6000804@hookflash.com>, <CALiegf=uENdToGPr1eRRgCOHY6kvoEy8-Aja8mhGWSp0Q=4D8w@mail.gmail.com> <AE1A6B5FD507DC4FB3C5166F3A05A4841A2C6D46@TK5EX14MBXC273.redmond.corp.microsoft.com>
In-Reply-To: <AE1A6B5FD507DC4FB3C5166F3A05A4841A2C6D46@TK5EX14MBXC273.redmond.corp.microsoft.com>
Content-Type: multipart/alternative; boundary="------------080601090804040605060205"
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 13:13:27 -0000

To be fair, that use case should already had been resolved much more 
easily long time ago:

<video src="rtsp://yourcameraip">

Best regards
Sergio


El 18/06/2013 17:43, Matthew Kaufman (SKYPE) escribió:
> It isn't SDP that's the problem. It is the offer/answer semantics.
>
> Here's a real simple example of the problem: If I have a web browser 
> that can do RTP A/V, I should be able to send a form post or XHR to 
> ask my security camera to start streaming me RTP video to a specific 
> address and port. The browser doesn't need to do ICE connectivity 
> tests, because it is only going to receive video.
>
> I should be able to use a few lines of JavaScript to initialize the 
> UDP/RTP receive port and wire it to a video window, set up the codec 
> mapping, and ask it for its local address and port so I can tell the 
> camera where to send things. But that isn't how it works at all. 
> Instead I need to run, in JavaScript, the entire offer/answer exchange 
> from the security camera's point of view, extract the relevant 
> information from the SDP blob, and then send it off. (Never mind that 
> I also need to have DTLS-SRTP added to my camera, even though I'm 
> sending unencrypted RTP from it all over the rest of my LAN to other 
> receivers that aren't browsers)
>
> Same thing if I have a two-way radio system that can talk RTP and ICE 
> and which has its own proprietary way of setting up connections... 
> again, need to write a whole SDP parser *and* state machine to run the 
> "fake" offer/answer exchange.
>
> Pain. In. The. Ass.
>
> Matthew Kaufman
>
> ------------------------------------------------------------------------
> *From:* rtcweb-bounces@ietf.org [rtcweb-bounces@ietf.org] on behalf of 
> Iñaki Baz Castillo [ibc@aliax.net]
> *Sent:* Tuesday, June 18, 2013 7:48 AM
> *To:* rtcweb@ietf.org
> *Subject:* Re: [rtcweb] Proposal for a JS API for NoPlan (adding 
> multiple sources without encoding them in SDP)
>
> 2013/6/18 Robin Raymond <robin@hookflash.com <mailto:robin@hookflash.com>>
>
>     SDP is clearly the WRONG technical choice. It was wrong from the
>     start but I think there was a great misunderstanding that it was
>     required or SIP wouldn't be compatible with WebRTC. Since the
>     strong majority at the table were SIP guys because they are the
>     "established" industry it became the 'way to do it' despite how
>     horrible it is for the future. So here we are today...
>
>
>
> Dear WG Chairs,
>
> With all due respect, IMHO there is enough material to reopen the "SDP 
> or not SDP" debate so I would like to request it to the WG.
>
> I would also appreciate that those in favour of mandating SDP as the 
> core communication for WebRTC explain their rationale again (given the 
> number of arguments against SDP and the frustration SDP is causing), 
> and also that they give arguments and responses to all the SDP related 
> issues exposed in this thread, that are nicely summarized in this mail:
>
> http://www.ietf.org/mail-archive/web/rtcweb/current/msg07873.html
>
>
> Really thanks a lot.
>
>
> -- 
> Iñaki Baz Castillo
> <ibc@aliax.net <mailto:ibc@aliax.net>>
>
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb