Re: [rtcweb] Support for websockets

Cullen Jennings <fluffy@cisco.com> Wed, 07 September 2011 15:03 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 DFECD21F8B56 for <rtcweb@ietfa.amsl.com>; Wed, 7 Sep 2011 08:03:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.253
X-Spam-Level:
X-Spam-Status: No, score=-103.253 tagged_above=-999 required=5 tests=[AWL=-0.654, BAYES_00=-2.599, 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 sHBF4VzkGxfH for <rtcweb@ietfa.amsl.com>; Wed, 7 Sep 2011 08:03:01 -0700 (PDT)
Received: from mtv-iport-3.cisco.com (mtv-iport-3.cisco.com [173.36.130.14]) by ietfa.amsl.com (Postfix) with ESMTP id 70BA721F8A56 for <rtcweb@ietf.org>; Wed, 7 Sep 2011 08:03:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=fluffy@cisco.com; l=2094; q=dns/txt; s=iport; t=1315407891; x=1316617491; h=subject:mime-version:from:in-reply-to:date:cc: content-transfer-encoding:message-id:references:to; bh=6tRkkpvIUrwbwdNIK4HqCuUglhxTwQRPD5H5KNAK1GU=; b=L2MZQP1V+yM74FSA6aX8vimTDni5GT8cfFgLtQV+nF0hOa/sphDpjbcw dMj+SQ7Kk4+pi4jh6Ete2GKu0vLUnkYw7aBDfEDpAABq4iuG5WPCoMYOJ Cwd9x8XfE44qxjX20DhhgZ2FXhyOGJH7hZJWnoi3QyV6Iag501aZ822Uc A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av4EAHqHZ06rRDoG/2dsb2JhbABEp214gUYBAQEBAgEBAQEPASc0CwULCxguJzAGCgkih1MEmGcBnkuGC2AEh2yLRoUSjCI
X-IronPort-AV: E=Sophos;i="4.68,345,1312156800"; d="scan'208";a="680774"
Received: from mtv-core-1.cisco.com ([171.68.58.6]) by mtv-iport-3.cisco.com with ESMTP; 07 Sep 2011 15:04:47 +0000
Received: from [192.168.4.100] (sjc-fluffy-8914.cisco.com [10.20.249.165]) by mtv-core-1.cisco.com (8.14.3/8.14.3) with ESMTP id p87F4kfQ008271; Wed, 7 Sep 2011 15:04:46 GMT
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="us-ascii"
From: Cullen Jennings <fluffy@cisco.com>
In-Reply-To: <4E665588.5000700@mozilla.com>
Date: Wed, 07 Sep 2011 09:04:46 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <F2636DC8-94B1-4C17-8A82-B4ED745C913E@cisco.com>
References: <4E259484.20509@ericsson.com>, <37897D97-85A9-4B21-85C3-A7E9BE1EF3E7@cisco.com>, <4E26B742.6050606@jitsi.org>, <62C71813-83B4-44D3-8E54-28262311CDB3@cisco.com> <BLU152-W38359A17A67825B59CD5D0934C0@phx.gbl> <4E27BE02.7090606@ericsson.com> <9F9278CB1892FB48BF35CB5CC3992478A5395C720E@HKGMBOXPRD01.polycom.com> <4E2EB82C.30709@alvestrand.no> <4E643E39.8020205@skype.net> <4E665588.5000700@mozilla.com>
To: Christopher Blizzard <blizzard@mozilla.com>
X-Mailer: Apple Mail (2.1084)
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Support for websockets
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, 07 Sep 2011 15:03:02 -0000

Sooner or later, I do think we should talk about how to spoof RTP through firewalls that only allow HTTP traffic. Certainly websockets would be worth looking at but I suspect we will find that it was not designed for transfer of large high bandwidth material (like video) and that something similar but different is needed. 


On Sep 6, 2011, at 11:16 AM, Christopher Blizzard wrote:

> On 9/4/2011 8:12 PM, Matthew Kaufman wrote:
>> 
>> 
>> I think there's a legitimate question as to how transmission of media over TCP should work. I believe that the existing code bases all assume that if you get IP addresses, you use them; if you get IP addresses for TURN servers you talk to them over UDP and use TURN for relaying; and if you get IP addresses for TURNS servers you talk to them over TLS/TCP and use them for relaying. Therefore the only TCP transport is TURN-over-TLS-over-TCP.
>> 
>> Is that sufficient and reasonable, or should media-over-websockets (or something else) be how TCP transmission of media works?
> 
> It's important to note that WebSockets aren't raw sockets in the classic TCP or POSIX sense.  So a conversation about transmission of media over TCP doesn't really apply to WebSockets, exactly.  It's true that since WS is over TCP that it's reliable and ordered.  What would be interesting would be a discussion of how to take media data coming in over a WebSocket and feed it to a consumer that could display that media, as well as the reverse.  But an API discussion feels like something that's more that's something that belongs at the W3C.
> 
> If we wanted a standardized representation in WS that might happen here, but it's not something that's strictly required.  Well-built APIs to encoders and decoders could mean that it's up to page implementers to figure out how to package the data, manipulated by     JS.
> 
> --Chris
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb