3 ms·
Can someone explain to me what the purpose of WebRTC is? Why does the browser need some kind of new protocol in a browser to do "real time communication?" I me
by AsymetricCom 13y ago
Can someone explain to me what the purpose of WebRTC is? Why does the browser need some kind of new protocol in a browser to do "real time communication?" I mean, don't we already have TCP/IP?
- computerbob 13y agoAs far as I understand it is a way for a 1-1 communication between browsers. No middleman. So when I talk to another browser it is (browser<->browser2) NOT (browser<->Google<->browser2)
- randyrand 13y agoBrowsers currently can't do any "hosting" so there is no way to directly connect to another browser. WebRTC solves this problem.
- pigubrco 13y agoWebRTC 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/ http://www.html5rocks.com/en/tutorials/webrtc/basics/
- wmf 13y agoIn addition to what pigubrco said, browser developers consider it dangerous to give Web pages direct access to TCP/IP because that would make it very easy to create botnets. Instead, browsers expose high-level APIs like XHR, WebSocket, and WebRTC and the implementations take care to not be vectors for new attacks.