Re: [rtcweb] Review request for RTCWeb standard signaling protocol

"Ravindran Parthasarathi" <pravindran@sonusnet.com> Mon, 17 October 2011 13:04 UTC

Return-Path: <pravindran@sonusnet.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 2065621F8B88 for <rtcweb@ietfa.amsl.com>; Mon, 17 Oct 2011 06:04:12 -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=[AWL=-0.000, 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 uTJFAKe4yAu5 for <rtcweb@ietfa.amsl.com>; Mon, 17 Oct 2011 06:04:09 -0700 (PDT)
Received: from mail-ma01.sonusnet.com (sonussf2.sonusnet.com [208.45.178.27]) by ietfa.amsl.com (Postfix) with ESMTP id 8D96C21F8B87 for <rtcweb@ietf.org>; Mon, 17 Oct 2011 06:04:09 -0700 (PDT)
Received: from sonusmail04.sonusnet.com (sonusmail04.sonusnet.com [10.128.32.98]) by sonuspps2.sonusnet.com (8.14.3/8.14.3) with ESMTP id p9HD4fOG017857; Mon, 17 Oct 2011 09:04:41 -0400
Received: from sonusinmail02.sonusnet.com ([10.70.51.30]) by sonusmail04.sonusnet.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 17 Oct 2011 09:04:06 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CC8CCD.3E90E198"
Date: Mon, 17 Oct 2011 18:34:03 +0530
Message-ID: <2E239D6FCD033C4BAF15F386A979BF5115992E@sonusinmail02.sonusnet.com>
In-Reply-To: <665A16AB-AAD8-42B3-AC17-7E629EA2DE35@phonefromhere.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [rtcweb] Review request for RTCWeb standard signaling protocol
Thread-Index: AcyMomLtAl0IYhbeSN65p41bPoj/EwAJ2bQA
References: <2E239D6FCD033C4BAF15F386A979BF510F1367@sonusinmail02.sonusnet.com><4E8AC222.4050308@alvestrand.no><2E239D6FCD033C4BAF15F386A979BF510F14CE@sonusinmail02.sonusnet.com><CALiegf=ejF2kUC1m=74o9eprF1M8wYtgE-Crwa1x14rzDOf+gQ@mail.gmail.com><2E239D6FCD033C4BAF15F386A979BF510F14FD@sonusinmail02.sonusnet.com><393F1888-F834-4DAE-B6B1-1C5D35EE3292@phonefromhere.com><CAOg=WDcC9t2KhQUg0gDJ60gO_2mNyMv9HKt=otCdPDfj4TnoTg@mail.gmail.com><2E239D6FCD033C4BAF15F386A979BF510F152B@sonusinmail02.sonusnet.com><CABRok6mM7TfbLgGhoQvdRh1Kwoi5BhRweLcqWg7VZOFnaa8VOw@mail.gmail.com><2E239D6FCD033C4BAF15F386A979BF510F1532@sonusinmail02.sonusnet.com> <CABRok6n33QK0Si1Y0kT7+U0zgAWsJ4d5GENK_KL-JPx5a4erYg@mail.gmail.com> <2E239D6FCD033C4BAF15F386A979BF511598EE@sonusinmail02.sonusnet.com> <665A16AB-AAD8-42B3-AC17-7E629EA2DE35@phonefromhere.com>
From: "Ravindran Parthasarathi" <pravindran@sonusnet.com>
To: "Tim Panton" <tim@phonefromhere.com>
X-OriginalArrivalTime: 17 Oct 2011 13:04:06.0543 (UTC) FILETIME=[408341F0:01CC8CCD]
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Review request for RTCWeb standard signaling protocol
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, 17 Oct 2011 13:04:12 -0000

Tim,

 

Please read inline.

 

Thanks

Partha

 

From: Tim Panton [mailto:tim@phonefromhere.com] 
Sent: Monday, October 17, 2011 1:27 PM
To: Ravindran Parthasarathi
Cc: Neil Stratford; samuel; rtcweb@ietf.org
Subject: Re: [rtcweb] Review request for RTCWeb standard signaling protocol

 

 

On 17 Oct 2011, at 08:45, Ravindran Parthasarathi wrote:





RTCWeb server signaling plays the key role which calls for standardization as browser & RTCWebserver is not required from the same vendor.

 

And that is where we differ. The web server can _serve_ it's javascript to the browser. 

<partha> Here, webserver acts as a configuration/provisional module to browser and dynamically load the Javascript based signaling protocol in the endpoint.  Please note that Javascript is a programming environment and not the signaling replacement. Apart from this webserver needs to develop its own signaling protocol to acts as RTCWeb server.  In case of Inaki SIP over websocket usecase, RTCWeb server acts as SIP proxy or SIP B2BUA.

 

The argument here is whether the complete protocol & application has to be developed in each webserver vs the signaling protocol API exists in browser, IETF defined standard signaling protocol in webserver, web programmer invokes server API & client API to make the RTCWeb application. I prefer the second approach because web developer has no need to understand the underlying intricacies.  You can easily the understand the complication involved in signaling protocol by the offer/answer discussion in RTCWeb alias. 

 

</partha> 

 

So the only standards needed are the pre-existing web standards of javascript and http.

<partha> HTTP is not replacement of SIP in RTCWeb. I agree to the extend that websocket change the signaling paradigm in RTCWeb because two communication established between client & server then routing issue is resolved automatically which is one of the core function of signaling protocol </partha>

 

The browser only has to be capable of running the javascript served to ensure compatibility.

<partha> Javascript is the programming environment </partha>

That's the way that everything on the web works these days, from shopping carts to realtime 

chat. The browser is given site-specific code to run that interacts with site-specific code on

the web server. The web server may choose to convert those requests into a standard protocol 

for further processing (e.g. SQL), or may deal with the request internally.

 

Note, I'm not ruling out the use of SIP, but as  Iñaki Baz Castillo has demonstrated, that too

can be accomplished purely with existing web technologies.

 

<partha> I'm not favor Inaki solution of SIP over websocket because it is overkill for signaling protocol. Websocket solves routing issues between browser-webserver- browser, so the lightweight protocol over websocket will be sufficient and there is no need of complicated SIP based Javascript stack. 

 

Also, I'm not believer of the downloading complete signaling protocol script because it will delay the setup time which is crucial in lot of real-time application. Of course, it may not be critical for free application but not for professional services.

 

AFAIK, signaling protocol codebase expands very quickly with the addition of new services and leads to more delay in the setup of the session.  </partha>

 

 No embedded signalling code 

is needed.

 

Tim.