Re: [ppsp] FWI - raw UDP socket access in browsers

Dave Cottlehuber <dch@skunkwerks.at> Sat, 08 March 2014 09:15 UTC

Return-Path: <dch@jsonified.com>
X-Original-To: ppsp@ietfa.amsl.com
Delivered-To: ppsp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B22B21A015A for <ppsp@ietfa.amsl.com>; Sat, 8 Mar 2014 01:15:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oN1Foidl6V8R for <ppsp@ietfa.amsl.com>; Sat, 8 Mar 2014 01:15:47 -0800 (PST)
Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) by ietfa.amsl.com (Postfix) with ESMTP id 2F48F1A002B for <ppsp@ietf.org>; Sat, 8 Mar 2014 01:15:46 -0800 (PST)
Received: by mail-lb0-f179.google.com with SMTP id p9so3490581lbv.10 for <ppsp@ietf.org>; Sat, 08 Mar 2014 01:15:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jsonified.com; s=google; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=FFi86ny2w+oWhZcOPTXCP7iYfqvQjzNrYmhXEAe3YLs=; b=tBqr8py3NzudP7qk8S1hf8lGZln1A84F00jyE9OZhruYx5nwdCw4jgMfjlNXe5YGUl QBCURx8Tvf1+nnDBvkKSRydXrLuHXtB8wCjjhW1EhPmuQ52l0rwLmbNBqKtPmtTqnaTC ndnh3SkAcDgSerU3m7RfDbFP3jB1Z6fZatzNY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=FFi86ny2w+oWhZcOPTXCP7iYfqvQjzNrYmhXEAe3YLs=; b=BZWPuPsJCwcJgSE9cqPpGE/NMhquqah+33KDSk1fdAgkA+uzMUtBZNeJIhRU+UoL+Y Sn7iT9UHg8clBYcsl9fl6dPn/AWA9m05u3gnrYD4tpV0ZFvwOtkMNELe83VsGGhfl11+ sPhXZEexiiaZxYqBShpDjh/7KpwUpnzyB3tAwy24otRvOmIvWPemEhVH665cmEDVubi4 DTvUwdl6T2xGg/+tSrsCezSU52yFI1PAPxW04o4iSMvz9vLWHcRxchRnmRmPAsKc/g7j 2l/Ep9BAnDGFkchegMJewRPfr+bNPbOXgQOlqs0ySorlbirbyl8vzYwxxn3/o5UxceL3 fhww==
X-Gm-Message-State: ALoCoQm2YTuC+V2tnEUADQ2SGCH1BbI3otSWmY0CAwiOPTIuHtx2e15x2oBpSDRPkse7OnSVxNix
MIME-Version: 1.0
X-Received: by 10.152.172.103 with SMTP id bb7mr662313lac.49.1394270140990; Sat, 08 Mar 2014 01:15:40 -0800 (PST)
Sender: dch@jsonified.com
Received: by 10.112.202.196 with HTTP; Sat, 8 Mar 2014 01:15:40 -0800 (PST)
X-Originating-IP: [87.74.72.216]
In-Reply-To: <CAJYQ-fRK04u88g19EAG9TOSQFWN=tzCLxTacSbsiHzii+YWoSg@mail.gmail.com>
References: <etPan.53170ae3.327b23c6.13b40@akai.jsonified.com> <CAJYQ-fRK04u88g19EAG9TOSQFWN=tzCLxTacSbsiHzii+YWoSg@mail.gmail.com>
Date: Sat, 08 Mar 2014 09:15:40 +0000
X-Google-Sender-Auth: vTyoPWPH0Vem1W0DRBpHXG09wCM
Message-ID: <CAL+Y1nsniFo9-KFc63551fU+-eia46x8uKJ2A2WEBPKVq=W2sA@mail.gmail.com>
From: Dave Cottlehuber <dch@skunkwerks.at>
To: "ppsp@ietf.org" <ppsp@ietf.org>
Content-Type: multipart/alternative; boundary="001a113814c479994204f414d0b9"
Archived-At: http://mailarchive.ietf.org/arch/msg/ppsp/ICVD_jBptZy5IQW4nivsI6TQavg
Subject: Re: [ppsp] FWI - raw UDP socket access in browsers
X-BeenThere: ppsp@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: discussing to draw up peer to peer streaming protocol <ppsp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ppsp>, <mailto:ppsp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ppsp/>
List-Post: <mailto:ppsp@ietf.org>
List-Help: <mailto:ppsp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ppsp>, <mailto:ppsp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Mar 2014 09:15:50 -0000

For firefox it won't be a plugin, it will be native code + exposed js api;
there's no guarantee that this will be merged into the official ff release
though yet.

I hope to have a crack at building it form source next week.

WRT webrtc, you'll also have a full encrypted stack open between every
peer, similar to tcp, including sctp, dtls, udp underneath. I don't think
SCTP is going to be exposed directly in the browsers (i.e. in JS) but I'd
not expect a lot of additional code to do that.

A+
Dave



On 7 March 2014 14:44, Johan Pouwelse <peer2peer@gmail.com> wrote:

> Hi All,
> A plug-in is required for Chrome.
>
> Only "Chrome Apps" have access to the UDP API it seems:
> http://developer.chrome.com/apps/app_network
> For Firefox, is this also "plug-in only"?
>   -j
>
> On 5 March 2014 12:30, Dave Cottlehuber <dch@skunkwerks.at> wrote:
> > Hey folks,
> >
> > I have been following these tickets/features with interest for a while;
> >
> > firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=952927
> > chrome: http://developer.chrome.com/apps/sockets_udp
> >
> > also,
> http://thenextweb.com/google/2013/06/27/google-adds-its-udp-replacement-quic-network-protocol-to-latest-chrome-build/is intriguing. Keep an eye on it in
> https://groups.google.com/a/chromium.org/forum/#!forum/proto-quic
> >
> > A+
> > --
> > Dave Cottlehuber
> > Sent from my PDP11
> >
> > _______________________________________________
> > ppsp mailing list
> > ppsp@ietf.org
> > https://www.ietf.org/mailman/listinfo/ppsp
>