Re: [rtcweb] Comment on draft-ietf-rtcweb-overview-02 (Browser RTC trapezoid)

"Ravindran Parthasarathi" <pravindran@sonusnet.com> Wed, 19 October 2011 06:39 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 9810611E8090 for <rtcweb@ietfa.amsl.com>; Tue, 18 Oct 2011 23:39:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.557
X-Spam-Level:
X-Spam-Status: No, score=-2.557 tagged_above=-999 required=5 tests=[AWL=-0.559, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_18=0.6]
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 vUCNHI9+GSNS for <rtcweb@ietfa.amsl.com>; Tue, 18 Oct 2011 23:39:13 -0700 (PDT)
Received: from mail-ma01.sonusnet.com (sonussf2.sonusnet.com [208.45.178.27]) by ietfa.amsl.com (Postfix) with ESMTP id 2FC8811E8073 for <rtcweb@ietf.org>; Tue, 18 Oct 2011 23:39:13 -0700 (PDT)
Received: from sonusmail07.sonusnet.com (sonusmail07.sonusnet.com [10.128.32.157]) by sonuspps2.sonusnet.com (8.14.3/8.14.3) with ESMTP id p9J6dhKJ024009; Wed, 19 Oct 2011 02:39:43 -0400
Received: from sonusinmail02.sonusnet.com ([10.70.51.30]) by sonusmail07.sonusnet.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 19 Oct 2011 02:38:59 -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_01CC8E28.CC4331CC"
Date: Wed, 19 Oct 2011 12:01:55 +0530
Message-ID: <2E239D6FCD033C4BAF15F386A979BF51159A20@sonusinmail02.sonusnet.com>
In-Reply-To: <4E9E5D8D.6030707@alvestrand.no>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Comment on draft-ietf-rtcweb-overview-02 (Browser RTC trapezoid)
Thread-Index: AcyOHoHXAcFfRo72QSKhIaC8Aw8jrAAB0SFQ
References: <2E239D6FCD033C4BAF15F386A979BF511599F9@sonusinmail02.sonusnet.com> <4E9E5D8D.6030707@alvestrand.no>
From: Ravindran Parthasarathi <pravindran@sonusnet.com>
To: Harald Alvestrand <harald@alvestrand.no>
X-OriginalArrivalTime: 19 Oct 2011 06:38:59.0845 (UTC) FILETIME=[C8AC7350:01CC8E29]
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Comment on draft-ietf-rtcweb-overview-02 (Browser RTC trapezoid)
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 Oct 2011 06:39:15 -0000

Harald,

 

Please read inline.

 

Thanks

Partha

 

From: Harald Alvestrand [mailto:harald@alvestrand.no] 
Sent: Wednesday, October 19, 2011 10:48 AM
To: Ravindran Parthasarathi
Cc: rtcweb@ietf.org
Subject: Re: Comment on draft-ietf-rtcweb-overview-02 (Browser RTC
trapezoid)

 

On 10/19/2011 01:12 AM, Ravindran Parthasarathi wrote: 

Harald,

 

In Fig 2 (Browser RTC Trapezoid), I'm getting the feel that JS/HTML
communicates with webserver directly without the involvement of browser.
Please clarify whether it is intended not to use browser  for JS.

Sorry, you completely lost me there.

The browser is the execution context for Javascript. The words "it is
intended not to use browser for JS" look like English to me, but I can't
find any interpretation that makes any sense.



<partha> Sorry, I messed up with the words here but you clarified it in
the below mail thread </partha>


If you don't have a clear view of the Javascript execution model, I
recommend spending a few hours with an introductory Javascript text and
playing with writing some Javascript in your own web pages. It will save
lots of confused emails to the list.

<partha> In fact I tried couple of W3Cschools Javascript before starting
the mail thread in RTCWeb. I'll learn more terminology in Javascript to
clearly present my ideas </partha>





 

IMO, the browser RTC trapezoid shall be 

 

                   +-----------+             +-----------+

                   |   RTCWeb  |  Federation |   RTCWeb  |

                   |           |  Signaling  |           |

                   |           |-------------|           |

                   |  Server   |   protocol  |  Server   |

                   |           |             |           |

                   +-----------+             +-----------+

                        /                           \

                       /                             \   RTCWeb

                      /                               \  Signaling

                     /                                 \

                    /  RTCWeb                           \

                   /   Signaling                         \

                  /                                       \

            +-----------+                           +-----------+

            |           |                           |           |

            |           |                           |           |

            |  Browser  | ------------------------- |  Browser  |

            |           |          Media path       |           |

            |           |                           |           |

            +-----------+                           +-----------+

            +-----------+                           +-----------+

            |JS/HTML/CSS|                           |JS/HTML/CSS|

            +-----------+                           +-----------+


Absolutely not.

1) The term "RTCWeb Signaling" has no clear definition, as this
discussion has proved again.

<partha> May I need to put clear definition by which we will come to
common understanding. </partha>


2) The conceptual difference between the media path (managed by the
browser without being mediated through Javascript) and the signalling
path (mediated through Javascript, transmitted through interfaces that
this WG has no intention of changing) is lost by the inversion of the
"browser stack".

 

<partha> Agreed and my intention is not manage media path through
Javascript. My figure has to change JS/HTML position to reflect it
correctly. </partha>



The detailed relationships between the browser components are better
described in Figure 1 of -overview- than in Figure 2 (the one you've
quoted). I've noted the need to mention that the JS uses browser
functions to access HTTP and WebSockets too, since it's apparently not
completely obvious to all.

<partha> My intention of the mail is above statement and it is not clear
from the figure 1 & 2.  </partha>






 




I explained the same diagram in Fig 1 of
draft-partha-rtcweb-signaling-00. RTCWeb signaling shall be proprietary
HTTP/websocket. I'm asking this change because I'm seeing folks confuses
API vs. on-wire-protocol. Also, Please note that JS + browser is the
single system with two different modules and it shall have protocol or
API to communicate (without passing any information in the wire). Could
you please let me know in case I'm missing something.

 

Thanks

Partha