WebRTC

So WebRTC seemed to pop up out of nowhere, and now I’m seeing it all over the place.

“realtime” communication directly between browsers, enabling true peer-to-peer communications. What does that mean?

A few apps that have already popped up demonstrate what it can do:

 

ShareFest.me – Copy a file on your computer to another user, on another computer, in their browser. No server involved, the data is directly sent between them.

 

PeerCDN.com – a content delivery network that serves up content *from other browsers*. Imagine getting rid of servers and having browsers serve up files among themselves.

 

WebRTC effectively is a new feature of HTML5 that enables peer-to-peer serverless communications, in a generic way. This reminds me of the technology adobe releated for video sharing, using the RTMFP protocol.

 

At this time, it appears firefox and chrome support it, with IE lagging behind.

HTML5 Cross-domain communication

I hadn’t realized until reading this article that html5 has baked in a way to allow a hosting webpage to receive messages from a page contains in a child iframe. This is normally not allowed in modern browsers due to the potential for big ol security problems, but this html5 method has security measures in place that prevent it being abused. Nice stuff.

http://stevehanov.ca/blog/index.php?id=109