WebRTC

Anonymous contributor's avatar
Anonymous contributor
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.

  • Front-end engineers work closely with designers to make websites beautiful, functional, and fast.
    • Includes 34 Courses
    • With Professional Certification
    • Beginner Friendly.
      115 hours
  • Build real-time applications like chatrooms and multiplayer games with WebSockets!
    • With Certificate
    • Intermediate.
      2 hours

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.

All contributors

Contribute to Docs

Learn General on Codecademy

  • Front-end engineers work closely with designers to make websites beautiful, functional, and fast.
    • Includes 34 Courses
    • With Professional Certification
    • Beginner Friendly.
      115 hours
  • Build real-time applications like chatrooms and multiplayer games with WebSockets!
    • With Certificate
    • Intermediate.
      2 hours