WebRTC allows developers to potentially write the next Skype-type application without having to worry about the underlying voice and video codecs, signal processing components like acoustic echo cancellation, bandwidth estimation and other complex components using high level javascript APIs because these components are now baked into the browser. There is also a data channels API that allows for peer to peer data transfer.
http://www.html5rocks.com/en/tutorials/webrtc/basics/