Re: [rtcweb] "20 lines" (Re: RTCWeb default signaling protocol [was RE: About defining a signaling protocol for WebRTC (or not)])

Saúl Ibarra Corretgé <saul@ag-projects.com> Tue, 27 September 2011 07:23 UTC

Return-Path: <saul@ag-projects.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 F22FC21F8E06 for <rtcweb@ietfa.amsl.com>; Tue, 27 Sep 2011 00:23:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.705
X-Spam-Level:
X-Spam-Status: No, score=-1.705 tagged_above=-999 required=5 tests=[AWL=-0.017, BAYES_00=-2.599, HELO_MISMATCH_NET=0.611, MIME_8BIT_HEADER=0.3]
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 lpPQQWRBYfvC for <rtcweb@ietfa.amsl.com>; Tue, 27 Sep 2011 00:23:53 -0700 (PDT)
Received: from mail.sipthor.net (node06.dns-hosting.info [85.17.186.6]) by ietfa.amsl.com (Postfix) with ESMTP id CA80821F8CEC for <rtcweb@ietf.org>; Tue, 27 Sep 2011 00:23:51 -0700 (PDT)
Received: by mail.sipthor.net (Postfix, from userid 5001) id 042F7B01B0; Tue, 27 Sep 2011 09:26:32 +0200 (CEST)
Received: from [192.168.99.36] (ip3e830637.speed.planet.nl [62.131.6.55]) by mail.sipthor.net (Postfix) with ESMTPSA id 2CB2CB017D; Tue, 27 Sep 2011 09:26:32 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=iso-8859-1
From: =?iso-8859-1?Q?Sa=FAl_Ibarra_Corretg=E9?= <saul@ag-projects.com>
In-Reply-To: <2E239D6FCD033C4BAF15F386A979BF510F1089@sonusinmail02.sonusnet.com>
Date: Tue, 27 Sep 2011 09:26:31 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <34DBD417-B3B0-4659-911D-BC09BBF2559B@ag-projects.com>
References: <CALiegfnOCxyTo9ffQ272+ncdu5UdgrtDT-dn10BWGTZMEjZoCg@mail.gmail.com><2E239D6FCD033C4BAF15F386A979BF510F0C0A@sonusinmail02.sonusnet.com><05CAC192-E462-421F-B1E5-B78DC8F60306@ag-projects.com><2E239D6FCD033C4BAF15F386A979BF510F0C93@sonusinmail02.sonusnet.com><16880306-5B3A-4EFD-ADE4-1201138D9182@acmepacket.com><8584590C8D7DD141AA96D01920FC6C698C896B71@gbplmail03.genband.com><CA+9kkMAwnnKKO5+q6ey4Z0QNxax1QF21vVtw8FNsHy_rmfenjQ@mail.gmail.com><4E76E078.5020708@jesup.org><8548CBBD-4E12-48F3-BC59-341FF45EF22F@acmepacket.com><4E77495E.4000409@jesup.org><CALiegfkTdCAeEdZbXP1Y9L6i4Anjrgf1CG6ZNj35WGoHL3p_Ew@mail.gmail.com><4E774F92.4040405@jesup.org><8ECCEE59-E855-4EA9-92B9-543D1585B1F0@ag-projects.com><4E778F1F.9090105@jesup.org><CEA0AC9E-6387-4066-95DC-0D70302E80A7@ag-projects.com><4E77C3EC.9060801@jesup.org><CAD5OKxtciYxaVpb7b3G9yMg1A97b9dkjkOpppZcSRzS5SAO3+A@mail.gmail.com><DB86C19C-781C-4FD2-ADE2-D6E1C0EE1D61@ag-projects.com><2E239D6FCD033C4BAF15F386A979BF510F1086@sonus inmail02 .sonusnet.co m><CALiegfmWrNEN03VN0=C6q_ptf=oHCxAMqPoeHis6eNdzreHm9A@mail.gmail.com><2E239D6FCD033C4BAF15F386A979BF510F1088@sonusinmail02.sonusnet.com> <CALiegf=nyXUJrMxTB=u8qTPMkEicCjqG2yi97t2Ri0pa6FgcVQ@mail.gmail.com> <2E239D6FCD033C4BAF15F386A979BF510F1089@sonusinmail02.sonusnet.com>
To: Ravindran Parthasarathi <pravindran@sonusnet.com>
X-Mailer: Apple Mail (2.1084)
Cc: Jozsef Vass <jovass@adobe.com>, rtcweb@ietf.org
Subject: Re: [rtcweb] "20 lines" (Re: RTCWeb default signaling protocol [was RE: About defining a signaling protocol for WebRTC (or not)])
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: Tue, 27 Sep 2011 07:23:54 -0000

Hi,

On Sep 26, 2011, at 9:52 PM, Ravindran Parthasarathi wrote:

> Hi Inaki,
> 
> <snip> 
> Ok, but such protocol should be carried within HTTP or WebSocket, rather than being a native SIP/XMPP/whatever-custom-protocol built-in the web browsers. Do we agree on this? I think the answer is "not", so please continue reading. </snip>
> 
> Your assumption is wrong here. When I ask for standard signaling protocol, websocket will be one of the alternative to considered for further discussion in case there is an agreement for having standard signaling protocol.
> 

I'd consider WebSocket the transport, not the signaling protocol per se. After reading your last emails I'm not exactly sure about what you are proposing. Let me state a starting point: two browsers can't communicate with each other without meeting somewhere, like a server for example. Both are behind NAT and there is no discovery mechanism, so the only way for them to communicate is to visit a website, for example.

Now, if two users (browsers) are already in the same website, they'd have downloaded the same JS libraries from the web server, as Inaki pointed out, so they may speak SIP, XMPP or whatever signaling protocol.

What I think you are suggesting is that RTCweb-enabled browsers include some sort of signaling library built-in, is this correct? Even if they do that you'll need server cooperation to reach each other, and even in the multiplayer game example, you are always connected to a server.

Thus, I strongly disagree to trying to include any signaling protocol as part of RTCweb. Developers may choose a JS library to do that, or even develop their own, and deploy it in the web servers that power their site.


Regards,

--
Saúl Ibarra Corretgé
AG Projects