3 ms·
Does anyone have time to ELI5 WebRTC?
by Fifer82 8y ago
Does anyone have time to ELI5 WebRTC?
- ohthehugemanate 8y agoIt's a standard way for browsers to engage in real time communications - most often used for video calls, but not necessarily limited to them. WebRTC is implemented in all the major browsers, and offers push button peer to peer video calls. Ghangouts and jitsi both use WebRTC. Slack and Hipchat use it. Skype is gradually moving over (from the MS proprietary oRTC), so even Microsoft Teams will use it soon.
- j1elo 8y agoWebRTC is just a consensus between multiple parties about how to coordinate and send pure data, or just audio and video, from one peer to another. Then that phrase would extend into multiple layers of complexity. This could be the first one: - The "coordination" part is done with SDP, a type of plain-text messages that are used by both parties to reach an agreement about what video/audio codecs they are capable of understanding, and other similar details. - The "send audio and video" part is done by using ICE to find suitable ports by punching holes in router NATs, which is a common problem we have in current networks. Once ports have been agreed upon, then the audio/video is sent using good old (encrypted) RTP protocol. Anyone could implement this consensus in their applications, and so be able to send audio/video to other apps that implement the same details, but the most relevant implementations of this standard are those integrated into web browsers, because then they expose all this functionality to their JavaScript engines, thus allowing to control all this from a web page.