W3C home > Mailing lists > Public > public-webrtc@w3.org > July 2013

Re: URL.createObjectURL() for DataChannels

From: <piranna@gmail.com>
Date: Thu, 18 Jul 2013 01:09:17 +0200
Message-ID: <CAKfGGh20rHxYhOtX+x51YEgG2Vs-MPbk73ED7+pyF9NEockrOw@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Peter Thatcher <pthatcher@google.com>, Harald Alvestrand <harald@alvestrand.no>, Silvia Pfeiffer <silviapfeiffer1@gmail.com>, public-webrtc <public-webrtc@w3.org>
Another (bit diferent) use case: since DataChannels API is inspired by
WebSockets one, being able to use a URI and maybe also having a scheme (dc:
the same way ws:) they would be easier interchangeable and being able to
reuse code to be used both with connections to servers or with other peers
just changing the URI.
El 17/07/2013 18:06, "piranna@gmail.com" <piranna@gmail.com> escribió:

> I didn't know about RFC 6920, but yes, the point is to identify each
> object by their hash, both for anonimity and uniqueness. Regarding to
> magnet links, some people proposed it to me several times, but don't
> know how a browser would manage various webapps (a browser based P2P
> like mine, a bittorrent client on the cloud, a DirectConnect client
> installed on its machine...) registering for the magnet scheme...
>
> Any way, thanks for remind us about them :-)
>
>
> 2013/7/17 Martin Thomson <martin.thomson@gmail.com>:
> > On 17 July 2013 00:58, piranna@gmail.com <piranna@gmail.com> wrote:
> >> I've remember another use case I read some time ago, regarding to use a
> P2P
> >> URI scheme inside <video> tag sources:
> >>
> >> <video>
> >>     <source src="p2p:123456789abcd"/>
> >>     <source src="http:/dc:abcd1234/video.avi"/>
> >>     <source src="http://example.com/video.avi"/>
> >> </video>
> >>
> >> I find this very doable and with real use cases...
> >
> > RFC 6920 already exists.  It deals with the security issues that
> > haven't been mentioned yet.
> >
> > Or, you could use what has actually been deployed:
> > https://en.wikipedia.org/wiki/Magnet_URI_scheme
>
>
>
> --
> "Si quieres viajar alrededor del mundo y ser invitado a hablar en un
> monton de sitios diferentes, simplemente escribe un sistema operativo
> Unix."
> – Linus Tordvals, creador del sistema operativo Linux
>
Received on Wednesday, 17 July 2013 23:09:45 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:35 UTC