8 Creative Uses of WebRTC

WebRTC is not limited to video communication websites (like palava), but can be used for a whole variety of applications. Here’s a collection of our favorite projects and demos so far:

1) Collaborative Browsing

As a website operator, you can include the TowTruck library (by Mozilla) to add collaborative features to your website. This includes for example shared cursors, seeing what others are typing and voice communication. The github project already has more than 900 watchers and is very active!

2) Distributed Content Delivery Networks

PeerCDN and SwarmCDN are projects aiming to distribute content delivery. Instead of having to care about decentralizing your CDN server infrastructure, it makes totally sense to just fetch the content from a user nearby!

3) Gaming

Mozilla is working on Banana Bread, which is a port of the first person shooter Cube 2: Sauerbraten. They are utilizing emscripten to translate the C++ code to JavaScript and replace OpenGL with WebGL. It uses WebRTC to provide multiplayer capabilities via the p2p library.

The PeerGaming project tries to provide a general framework for web-based multiplayer games.

The official Chromium Blog demonstrates data channels in a little game called cubeslam.

4) File Sharing

Drop a file on sharefest.me and send your friends the link to share it. Works like a charm! These days seem to be finally over!

5) Code Reviews

Codassium could actually push remote code reviews to the next level! Tsahi Levent-Levi interviewed the creators.

6) Responsive Font Sizes

This demo shows a very useful example of how you can use getUserMedia without actually showing the video stream.

7) New kinds of User Interfaces with getUserMedia

soundstep built a demo (Chrome only) that lets you play Xylophone, using only your webcam to control it.

This snake implementation (Chrome only) uses the position of your head to control the snake. It uses the headtrackr library to accomplish this.

8) “Game With A Purpose”

In WikiGolf (Chrome only), two players try to find the shortest connection between two random wikipedia articles. The creators hope to “solve difficult problems in Artificial Intelligence” with the resulting data. The game was built using the PeerJS library.


Creative Commons Lizenzvertrag Jan Lelis (palava.tv)