See getUserMedia(), RTCPeerConnection and RTCDataChannel examples.
For more information about WebRTC, see Getting Started With WebRTC.
For more information about getUserMedia(), see Capturing Audio & Video in HTML5.