Re: [Stox] [rtcweb] Proposed message to send to the IETF rtcweb and W3C WebRTC working groups.

Daniel-Constantin Mierla <miconda@gmail.com> Mon, 22 July 2013 16:22 UTC

Return-Path: <miconda@gmail.com>
X-Original-To: stox@ietfa.amsl.com
Delivered-To: stox@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3A66811E8122 for <stox@ietfa.amsl.com>; Mon, 22 Jul 2013 09:22:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level:
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 aeyQleikPhqX for <stox@ietfa.amsl.com>; Mon, 22 Jul 2013 09:22:32 -0700 (PDT)
Received: from mail-ea0-x236.google.com (mail-ea0-x236.google.com [IPv6:2a00:1450:4013:c01::236]) by ietfa.amsl.com (Postfix) with ESMTP id 3C71321F8267 for <stox@ietf.org>; Mon, 22 Jul 2013 09:22:03 -0700 (PDT)
Received: by mail-ea0-f182.google.com with SMTP id d10so3949857eaj.41 for <stox@ietf.org>; Mon, 22 Jul 2013 09:22:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=GI5kKrCIoU/VW/s/VAmYbfPJjafjSoQxcZd4ncKu55E=; b=tlSO9JXH9C1jtLg6EZudiVanIWJTc/MWnCa3AZ1CEzID7hRBAxXyoOJllUJ8Cwi/Bk vOFfWPWF1EcrtzVqzg8YiGlDYjsOK4UBInQW1nBAwopxUz3iFiHEdJfg5blc9UShKBYU c9vz630hYencpW0f3OCpIIjB7W0BRANYyzj4AEfjoT7uBjIFKX3KbRreUTPnQ21RLaNA UYTh2T5auRHtFjhXErJ9++OoAklCgkFGZYDF2kMNMawbHfjPTE6nmvXU3dANXjQICC3B CXQoS0eOH56XQpq8Q3f6r9HnYV4M6X5dTEmvo42fu1rzaUSV4if42CPRD154sfUP60DY ZBHQ==
X-Received: by 10.14.69.206 with SMTP id n54mr27965055eed.154.1374510122406; Mon, 22 Jul 2013 09:22:02 -0700 (PDT)
Received: from [127.0.0.1] (ns.asipto.com. [213.133.111.169]) by mx.google.com with ESMTPSA id r54sm51909376eev.8.2013.07.22.09.22.00 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Jul 2013 09:22:01 -0700 (PDT)
Message-ID: <51ED5C27.6040406@gmail.com>
Date: Mon, 22 Jul 2013 18:21:59 +0200
From: Daniel-Constantin Mierla <miconda@gmail.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:23.0) Gecko/20100101 Thunderbird/23.0
MIME-Version: 1.0
To: Iñaki Baz Castillo <ibc@aliax.net>
References: <51ED4A45.9000703@ik.nu> <CALiegfk1kUuezLSOqfLRnFC7gNWXgjerv9Q_mPKrR01zp3mdqQ@mail.gmail.com> <51ED4FA2.8070603@gmail.com> <CALiegf=FR9sw3Pt=4iRkeu9S3zy3tpVt+5s+tu_n+gWjS8b8Wg@mail.gmail.com>
In-Reply-To: <CALiegf=FR9sw3Pt=4iRkeu9S3zy3tpVt+5s+tu_n+gWjS8b8Wg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Mailman-Approved-At: Mon, 22 Jul 2013 09:26:39 -0700
Cc: stox <stox@ietf.org>, XMPP Jingle <jingle@xmpp.org>, "public-webrtc@w3.org" <public-webrtc@w3.org>, Ralph Meijer <ralphm@ik.nu>
Subject: Re: [Stox] [rtcweb] Proposed message to send to the IETF rtcweb and W3C WebRTC working groups.
X-BeenThere: stox@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: miconda@gmail.com
List-Id: SIP-TO-XMPP Working Group discussion list <stox.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/stox>, <mailto:stox-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/stox>
List-Post: <mailto:stox@ietf.org>
List-Help: <mailto:stox-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/stox>, <mailto:stox-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Jul 2013 16:22:39 -0000

On 7/22/13 5:44 PM, Iñaki Baz Castillo wrote:
> 2013/7/22 Daniel-Constantin Mierla <miconda@gmail.com>:
>> On 7/22/13 5:14 PM, Iñaki Baz Castillo wrote:
>>> Great. First thing you should complain about is the fact that current
>>> WebRTC specification makes unfeasible for a browser to use SDP-XML as
>>> defined by XEP-0167. So if you have a SIP server you will be able to
>>> directly connect from the browser, but if you have a Jingle server you
>>> will need a gateway.
>> You are obviously misinforming here. SIP is the signaling protocol and a SIP
>> server has really little to deal with SDP -- I'm sure you know that.
> I was talking about a SIP device also implementing WebRTC in the media
> plane.
You wrote a SIP server, just read above.

And producing a xml blob instead of text plain blob does not make much 
difference from the architecture point of view, if that was your 
concern, nor simplifies things.

Cheers,
Daniel

>   Current WebRTC spec mandates plain-SDP usage in the wire to
> signal your media description and transport/ICE information to the
> peer. So if you want to communicate with a XEP-0167 compliant
> server/endpoint, then you need a gateway to convert the plain-SDP
> generated by the browser into the SDP-XML version defined by XEP-0167.
>
>
>
>> And one
>> cannot call directly a SIP endpoint from the browser, as SIP is not a
>> mandatory signaling protocol, so there is extensive need of coding a
>> javascript SIP stack (or reusing an existing one).
> Reusing existing JavaScript SIP stacks is something good, don't you agree?
>
>
> Please, let's focus:
>
>
> Today from a browser you can speak SIP over WebSocket and connect to a
> SIP media server/gateway understanding the SDP of WebRTC. So yes, you
> can talk SIP fom a browser.
>
> Today fom a browser you cannot speak XMPP/Jingle (XEP-0167) over
> WebSocket (or over AJAX) because the browser produces a plain SDP
> blob, while you need a XML based SDP as XEP-1067 states. You can parse
> such a SDP blob string in JavaScript and map it into a XML body,
> but... good luck with that...
>
>
> Hope it is clear now.
>
>
> Regards.
>
>
>
>
> --
> Iñaki Baz Castillo
> <ibc@aliax.net>

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda