WebRTC
Published Oct 12, 2021Updated Oct 26, 2022
Contribute to Docs
WebRTC (Web Real-Time Communication) is a free and open-source collection of APIs that allow peer-to-peer connections between two or more browser clients.
Originally developed in 2011 and currently maintained by Google, WebRTC has been published as a specification by the W3C and is supported by all major browsers.
WebRTC vs WebSockets
WebRTC is commonly used for video chatting apps because it allows two or more computers to connect and send audiovisual data without needing a server.
Conversely, WebSockets allow for a two-way connection between a server and client using the ws://
protocol.
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.
Learn more on Codecademy
- Career path
Front-End Engineer
Front-end engineers work closely with designers to make websites beautiful, functional, and fast.Includes 34 CoursesWith Professional CertificationBeginner Friendly115 hours - Course
Learn WebSockets
Build real-time applications like chatrooms and multiplayer games with WebSockets!With CertificateIntermediate2 hours