Re: [rtcweb] draft-ibc-rtcweb-sip-websocket -- WebSocket Transport for Session Initiation Protocol (SIP)

<Markus.Isomaki@nokia.com> Tue, 13 September 2011 21:00 UTC

Return-Path: <Markus.Isomaki@nokia.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 6671011E80F2 for <rtcweb@ietfa.amsl.com>; Tue, 13 Sep 2011 14:00:37 -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 Nl-ZaRDMch0Z for <rtcweb@ietfa.amsl.com>; Tue, 13 Sep 2011 14:00:33 -0700 (PDT)
Received: from mgw-da02.nokia.com (smtp.nokia.com [147.243.128.26]) by ietfa.amsl.com (Postfix) with ESMTP id 84B4611E80DB for <rtcweb@ietf.org>; Tue, 13 Sep 2011 14:00:33 -0700 (PDT)
Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-da02.nokia.com (Switch-3.4.4/Switch-3.4.3) with ESMTP id p8DL2YuU001791; Wed, 14 Sep 2011 00:02:37 +0300
Received: from smtp.mgd.nokia.com ([65.54.30.8]) by vaebh106.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 14 Sep 2011 00:02:30 +0300
Received: from 008-AM1MMR1-002.mgdnok.nokia.com (65.54.30.57) by NOK-AM1MHUB-04.mgdnok.nokia.com (65.54.30.8) with Microsoft SMTP Server (TLS) id 8.2.255.0; Tue, 13 Sep 2011 23:02:29 +0200
Received: from 008-AM1MPN1-043.mgdnok.nokia.com ([169.254.3.204]) by 008-AM1MMR1-002.mgdnok.nokia.com ([65.54.30.57]) with mapi id 14.01.0323.007; Tue, 13 Sep 2011 23:02:29 +0200
From: Markus.Isomaki@nokia.com
To: jmillan@aliax.net, rtcweb@ietf.org
Thread-Topic: [rtcweb] draft-ibc-rtcweb-sip-websocket -- WebSocket Transport for Session Initiation Protocol (SIP)
Thread-Index: AQHMclIJVh3fkAsmb0uRhIRZlTGd/ZVLxeng
Date: Tue, 13 Sep 2011 21:02:28 +0000
Message-ID: <E44893DD4E290745BB608EB23FDDB7620AEDD9@008-AM1MPN1-043.mgdnok.nokia.com>
References: <CABw3bnOjMQf048pWQeeKV-eWcAVwpHqOOP-jP=y7FZi1FBAAJA@mail.gmail.com>
In-Reply-To: <CABw3bnOjMQf048pWQeeKV-eWcAVwpHqOOP-jP=y7FZi1FBAAJA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [88.114.26.217]
Content-Type: multipart/alternative; boundary="_000_E44893DD4E290745BB608EB23FDDB7620AEDD9008AM1MPN1043mgdn_"
MIME-Version: 1.0
X-OriginalArrivalTime: 13 Sep 2011 21:02:30.0529 (UTC) FILETIME=[73606F10:01CC7258]
X-Nokia-AV: Clean
Subject: Re: [rtcweb] draft-ibc-rtcweb-sip-websocket -- WebSocket Transport for Session Initiation Protocol (SIP)
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: Tue, 13 Sep 2011 21:00:37 -0000

jmillan@aliax.net<mailto:jmillan@aliax.net> wrote:
> BTW, is there any WebSocket capable web browser for smartphones?

I don't know as of today. But IE, Firefox and Chrome are all making their way to smartphones, and they have all some version of the websocket draft implemented at least in some experimental form. And everyone else is talking about "HTML5" support too. So I belive websockets will be there at least sooner than we will have RTP or STUN. So we will be able to setup the virtual calls but not transport the media :)

RTP and STUN (and SIP, for that matter) implementations are as such available on various smartphone OS's, they just need to be integrated within the browser.

Then there are several practical aspects, like the UI, the fact that the phone may all of a sudden switch between Wi-Fi and the cellular connectivity, the other fact that too frequent keepalives will kill the battery, not all codecs are available and can't be that easily just installed (especially video encoding would benefit from "HW acceleration"), that if you actually browse (or do some other TCP stuff) at the same time as you use VoIP/RTP, bufferbloat will kick in and the call will be garbage for a few seconds - regardless of if the TCP initial window is 3 or 10, and so on. Perhaps worth writing a short draft in the near future.

Markus


From: ext José Luis Millán [mailto:jmillan@aliax.net]
Sent: 13 September, 2011 23:16
To: rtcweb@ietf.org; Isomaki Markus (Nokia-CIC/Espoo)
Subject: [rtcweb] draft-ibc-rtcweb-sip-websocket -- WebSocket Transport for Session Initiation Protocol (SIP)

On Tue, Sep 13, 2011 at 9:25 PM,  <Markus.Isomaki@nokia.com<mailto:Markus.Isomaki@nokia.com>> wrote:
> Hi Inaki,
>
> Fully agree about everything you say below.

Hi,

Sorry if this mail arrives out of the original mail thread.

>
> It would be interesting to understand the performance differences of the native vs. Javascript SIP stack, if there is anything we should be worried about. This is my only concern when (perhaps one day) applying RTCWeb in devices like smartphones. If the JS stack works in (any of) today's high end smartphones without problems, we should be fine.

The are no meaningful performance penalties at all using the JavaScript SIP stack in our prototype. In fact, multiple SIP stack instances can run in a single Web browser freshly.  BTW, is there any WebSocket capable web browser for smartphones?

>
> Markus
>
>
>>-----Original Message-----
>>From: rtcweb-bounces@ietf.org<mailto:rtcweb-bounces@ietf.org> [mailto:rtcweb-bounces@ietf.org<mailto:rtcweb-bounces@ietf.org>] On Behalf
>>Of ext Iñaki Baz Castillo
>>Sent: 13 September, 2011 21:23
>>To: Ravindran Parthasarathi
>>Cc: rtcweb@ietf.org<mailto:rtcweb@ietf.org>
>>Subject: Re: [rtcweb] draft-ibc-rtcweb-sip-websocket -- WebSocket Transport
>>for Session Initiation Protocol (SIP)
>>
>>2011/9/13 Ravindran Parthasarathi <pravindran@sonusnet.com<mailto:pravindran@sonusnet.com>>:
>>> Hi Inaki,
>>>
>>> I like the idea of using SIP between browser & server.
>>>
>>> I really don't know the strong reason for tunneling SIP message within
>>websocket. In fact, we are discussing SIP vs websocket in
>>http://www.ietf.org/mail-archive/web/rtcweb/current/msg01071.html mail
>>thread as signaling protocol for RTCweb. Could you please mention the
>>technical advantage in going in the path of SIP over websocket rather than
>>having plain SIP connection over TCP or TLS or (UDP or DTLS).
>>
>>Hi Ravindran,
>>
>>SIP is a complex protocol and there are numerous extensions and features in
>>many RFC's extending the SIP protocol. Having to rely on the features
>>implemented in a native SIP stack within the web-browser seems not enough
>>flexible IMHO. I also expect many limitations and lack-of-features in the
>>different SIP implementations of each browser (and each version of the
>>browser).
>>
>>In the other side, if the SIP stack is coded within a JavaScript library and makes
>>usage of the WebSocket protocol, innovation depends on the developer and
>>not on the browser native capabilities. A web page could offer a minimal SIP
>>stack just implementing basic outgoing calls (i.e. "Click2Call" buttons in the
>>web), while another web page could prefer to provide a powerful SIP stack
>>implementing blink/attended transfer, subscription to presence and
>>dialogs/calls, conference features, call-pickup, SIP messaging and so on
>>(imagine such phone integrated within an enterprise intranet). I don't expect
>>that the SIP stack integrated within *every* existing web-browsers would
>>implement all those SIP features in a correct way (because that does not
>>happen neither when using expensive SIP desktop phones or softphones).
>>
>>Also, the specification defined in the draft solves NAT issues (at signaling
>>level) without requiring server side solutions for fixing NAT in clients.
>>
>>WebSocket protocol is becoming a new "transport" protocol.
>>Implementing SIP protocol on top of it can only bring advantages and new
>>possibilities. The specification in the draft is an adaptation of SIP to make use
>>of WebSocket, as it already does with UDP, TCP and SCTP transports.
>>
>>
>>BTW, as said in the first mail, we have published the draft after having a
>>working prototype making usage of the specification described in the
>>document. After that, we see no real advantage on having a native SIP stack
>>within a web browser. The prototype will be shown soon.
>>
>>Best regards.
>>
>>--
>>Iñaki Baz Castillo
>><ibc@aliax.net<mailto:ibc@aliax.net>>
>>_______________________________________________
>>rtcweb mailing list
>>rtcweb@ietf.org<mailto:rtcweb@ietf.org>
>>https://www.ietf.org/mailman/listinfo/rtcweb
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org<mailto:rtcweb@ietf.org>
> https://www.ietf.org/mailman/listinfo/rtcweb
>