Re: [rtcweb] Summary of Signaling Components in RTCweb (clarifications)

Saúl Ibarra Corretgé <saul@ag-projects.com> Fri, 21 October 2011 09:50 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 2384D21F8B63 for <rtcweb@ietfa.amsl.com>; Fri, 21 Oct 2011 02:50:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.688
X-Spam-Level:
X-Spam-Status: No, score=-1.688 tagged_above=-999 required=5 tests=[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 jTcOAnRazsj7 for <rtcweb@ietfa.amsl.com>; Fri, 21 Oct 2011 02:50:16 -0700 (PDT)
Received: from mail.sipthor.net (node06.dns-hosting.info [85.17.186.6]) by ietfa.amsl.com (Postfix) with ESMTP id 68F9921F8B4F for <rtcweb@ietf.org>; Fri, 21 Oct 2011 02:50:16 -0700 (PDT)
Received: by mail.sipthor.net (Postfix, from userid 5001) id 65606B01B5; Fri, 21 Oct 2011 11:50:15 +0200 (CEST)
Received: from [192.168.99.36] (ip3e830637.speed.planet.nl [62.131.6.55]) by mail.sipthor.net (Postfix) with ESMTPSA id 8D6BAB01A0; Fri, 21 Oct 2011 11:50:14 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="iso-8859-1"
From: Saúl Ibarra Corretgé <saul@ag-projects.com>
In-Reply-To: <931AFC17-0745-439C-ADB4-6E4581855645@phonefromhere.com>
Date: Fri, 21 Oct 2011 11:50:13 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <6236FA56-9D22-4659-939F-16100F4833DB@ag-projects.com>
References: <CALiegfmQBEEX+6FuA3tujePh3HUyfCU5Wy3N_=cn_K_GXZ267g@mail.gmail.com> <CALiegf=2Kv1CpS+EONbKZ01R8vvX2g1ofQ+Wgj5EEETr0vQK_g@mail.gmail.com> <931AFC17-0745-439C-ADB4-6E4581855645@phonefromhere.com>
To: Tim Panton <tim@phonefromhere.com>
X-Mailer: Apple Mail (2.1084)
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Summary of Signaling Components in RTCweb (clarifications)
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: Fri, 21 Oct 2011 09:50:17 -0000

Hi Tim,

> 
> Thanks for putting the time into the document and updates, it
> is very useful.
> 
> It does highlight one area that I think is problematic , you say:
> "JS-Server Media Signaling (in-the-wire): This means carrying SDP (or like-SDP) bodies. In contrast to the JS-Server Routing Signaling this information MAY be treated as "blob" by the RTCweb server, by leaving it to pass verbatim to the destination of the message (which is indicated in the JS-Server Routing Signaling)."
> 
> Which is right, the RTCWebserver could treat the the media and network info as blobs. 
> The local JS Application however can't.
> It needs to know things that are in that SDP in order to render the application for the user. 
> Examples include - 
> 	is it a video or audio stream? 
> 	is DTMF available (i.e. should it render a keypad) ? 
> 	What is the screen size of the video? 
> To answer these questions the JS apps will need to parse the SDP-like blob, so strictly it isn't a Blob anymore.
> 

Assuming this SDP-like thing is ROAP, for example, an API could be produced for this purpose. If one wants low level access it ma extract the blob and parse it himself.

> What's more there is are examples where the server should be able to understand the JS-Server Media Signaling.
> I'm thinking of the simplest use-case, peer to peer calls within a single website. As I mentioned in an earlier email,
> the server can be told what the respective browsers support, and then make a determination of what the intersection of codecs is and then inform the browser's JSapp to use that. This has advantages in simplicity and
> lack of risk of deadlocks, retries, glare etc.
> 
> So in short, I think that treating the SDP-like as a blob has significant disadvantages.
> 

Notice the MAY ;-) 

--
Saúl Ibarra Corretgé
AG Projects