TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Good resources on learning how WebRTC works under the hood?

11 pointsby mohitmunover 7 years ago
I want to understand more in deep about SDP, SIP, STUN, TURN and other terms. Also how WebRTC works at protocol level

2 comments

indescions_2017over 7 years ago
High Performance Browser Networking by Ilya Grigorik is a canonical resource. Lots of deep historical and technical background on WebRTC. As well as WebSockets, HTTP&#x2F;2, TLS, UDP, TCP, and much more.<p><a href="https:&#x2F;&#x2F;hpbn.co&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hpbn.co&#x2F;</a><p>Then for a practical example, try this Codelab on Real time communication with WebRTC:<p><a href="https:&#x2F;&#x2F;codelabs.developers.google.com&#x2F;codelabs&#x2F;webrtc-web&#x2F;#0" rel="nofollow">https:&#x2F;&#x2F;codelabs.developers.google.com&#x2F;codelabs&#x2F;webrtc-web&#x2F;#...</a><p>Once you are ready to build your own prototype. You can check out existing implementations from PeerJS, SimpleWebRTC, SIP.js, and Twilio.<p>Although it is relatively easy to invent your own. Dedicated third party cloud providers such as Twilio are quite mature. Best of luck!<p><a href="http:&#x2F;&#x2F;peerjs.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;peerjs.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;sipjs.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sipjs.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;simplewebrtc.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;simplewebrtc.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;coturn&#x2F;rfc5766-turn-server&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;coturn&#x2F;rfc5766-turn-server&#x2F;</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;otalk&#x2F;restund" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;otalk&#x2F;restund</a><p><a href="https:&#x2F;&#x2F;talky.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;talky.io&#x2F;</a><p><a href="https:&#x2F;&#x2F;xirsys.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xirsys.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;www.twilio.com&#x2F;webrtc" rel="nofollow">https:&#x2F;&#x2F;www.twilio.com&#x2F;webrtc</a>
asimpletuneover 7 years ago
There are a few protocols involved in webrtc. Read MDN’s documentation and go from there. I’d imagine the best place to understand specific details from there would be the browser source code. Check Mozilla’s PRs for webrtc.