WebRTC is a free, open project that enables web browsers with Real-Time Communications (RTC) capabilities via simple Javascript APIs. The WebRTC components have been optimized to best serve this purpose.
The code that implements WebRTC native APIs (including the Stream and the PeerConnection APIs) are available in libjingle. A sample client application is also provided there.