Re: [rtcweb] Does ROAP mandate the on-the-wire format?

Cullen Jennings <fluffy@cisco.com> Mon, 31 October 2011 00:05 UTC

Return-Path: <fluffy@cisco.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 4EAD511E8091 for <rtcweb@ietfa.amsl.com>; Sun, 30 Oct 2011 17:05:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.227
X-Spam-Level:
X-Spam-Status: No, score=-106.227 tagged_above=-999 required=5 tests=[AWL=0.072, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 QhA5f7M2uDlk for <rtcweb@ietfa.amsl.com>; Sun, 30 Oct 2011 17:05:18 -0700 (PDT)
Received: from mtv-iport-1.cisco.com (mtv-iport-1.cisco.com [173.36.130.12]) by ietfa.amsl.com (Postfix) with ESMTP id B90F711E8090 for <rtcweb@ietf.org>; Sun, 30 Oct 2011 17:05:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=fluffy@cisco.com; l=1917; q=dns/txt; s=iport; t=1320019518; x=1321229118; h=subject:mime-version:from:in-reply-to:date:cc: content-transfer-encoding:message-id:references:to; bh=v7s0FALE3XPE2tcWIPn/ccvxpxiNdo/CcVsld/oBfks=; b=XtICo+CSY6EBKdises1SLm2pn7sKZOX5KvvoM1KBSvRODMomWq0Yyzwl CvYQ4Vv6NpOjgrQOzt3MjqIxFK1Ai7SzR0eOYKiuk+UcMqiMe5Jc3RfbE nJZHnWeJCOUv4bo+PkoHUtxu4pV8/nJOgBjkHcWwyJZ40RL8l+jFqTbXD Q=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av4EAN7krU6rRDoG/2dsb2JhbABDqUCBBYFyAQEBAQIBAQEBDwFbCwULC0YnMAYTIodgCJVAAZ0XBIghYQSIBowIkX4
X-IronPort-AV: E=Sophos;i="4.69,428,1315180800"; d="scan'208";a="10119579"
Received: from mtv-core-1.cisco.com ([171.68.58.6]) by mtv-iport-1.cisco.com with ESMTP; 31 Oct 2011 00:05:18 +0000
Received: from sjc-vpn2-1232.cisco.com (sjc-vpn2-1232.cisco.com [10.21.116.208]) by mtv-core-1.cisco.com (8.14.3/8.14.3) with ESMTP id p9V05Ds8024727; Mon, 31 Oct 2011 00:05:18 GMT
Mime-Version: 1.0 (Apple Message framework v1251.1)
Content-Type: text/plain; charset="iso-8859-1"
From: Cullen Jennings <fluffy@cisco.com>
In-Reply-To: <CALiegfnTJVJTnNy-V_UrQtzAptQ1LUhCyaZFvsAr-L39ePBFGw@mail.gmail.com>
Date: Sun, 30 Oct 2011 15:06:39 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <BACB56B1-B36B-46DE-A80B-73A8243716E0@cisco.com>
References: <CALiegf=gbZJgvCEy83FuS4GJ+6O-kU4MBXdPEgdz4ubSt5Y4pw@mail.gmail.com> <F6C22392-95FE-4CB2-836A-5DF1B5143F8B@acmepacket.com> <CALiegfnTJVJTnNy-V_UrQtzAptQ1LUhCyaZFvsAr-L39ePBFGw@mail.gmail.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
X-Mailer: Apple Mail (2.1251.1)
Cc: "<rtcweb@ietf.org>" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Does ROAP mandate the on-the-wire format?
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, 31 Oct 2011 00:05:19 -0000

Let's say the RTCWeb API passed JSON objects like the ones in ROAP in and out of the PeerConnection object. (I will be arguing that is one thing we should consider).  At that oping you could write the SIP over webesockets in JS in the browsers. You might even find some useful info on how to do the mapping in draft-jennings-rtcweb-signaling-gateway-01

I think there has been a lot of talking past each other on this. In some cases ROAP over webesockets might be a protocol used to speak directly to a ROAP to SIP signaling GW. So I view ROAP over a well defined transport to be a on the wire protocol but certainly not the only on the wire protocol. Just one that some systems could use. 

On the other hand, if one does SIP in JS (or the browser), that works too. 

Hope that helps clarify. 

On Oct 21, 2011, at 10:43 , Iñaki Baz Castillo wrote:

> 2011/10/21 Hadriel Kaplan <HKaplan@acmepacket.com>:
>> Well since the Browser will never know whether ROAP is really to another Browser vs. the Javascript, then yes it could be used that way. (it will probably be painful, but possible)
> 
> The question comes because my wire signaling implementation (SIP over
> WebSocket) is that: SIP. So the JS sends and receives pure SIP
> messages (with SDP) over the wire.
> 
> If ROAP includes a real SDP (as the draft currently states) then I'm
> done as I just need to create a ROAP object (in JavaScript) and pass
> it the received SDP string (and also set some session status
> variables, which can be easily mapped from the received SIP
> request/response).
> 
> Hope I'm right and I don't have to drop the work of long months.
> 
> Regards.
> 
> -- 
> Iñaki Baz Castillo
> <ibc@aliax.net>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb