Tagged articles
STUN
17 articles · Page 1 of 1
This article explains how NAT, originally a temporary fix for IPv4 address exhaustion, became permanent and broke the internet's original peer-to-peer design, forcing centralization through client-server architecture, complicating direct connections with STUN/TURN/ICE, and hindering IPv6 adoption due to ingrained security mindsets.
CGNATICEIPv6
0 likes · 18 min read

This article explains WebRTC’s peer‑to‑peer architecture, common use cases, performance metrics, how it works with STUN/TURN/ICE, compares it to WebSockets, and outlines future trends for real‑time communication in web applications.
STUNTURNWebRTC
0 likes · 6 min read

This article explains WebRTC fundamentals, the PeerConnection API, signaling, ICE, STUN/TURN servers, the full P2P call flow, and provides a Node.js WebSocket signaling server example for front‑end developers building real‑time communication.
Node.jsPeerConnectionSTUN
0 likes · 15 min read


大转转FESep 6, 2024 · Frontend Development
This article explores WebRTC’s fundamental architecture, detailing PeerConnection terminology, core methods and events, various connection strategies—including local network, STUN, and TURN—and walks through the complete signaling and ICE exchange process, culminating in a step‑by‑step Node.js WebSocket signaling server implementation with full code examples.
Node.jsPeerConnectionSTUN
0 likes · 16 min read

This article provides a comprehensive beginner‑friendly guide to WebRTC, covering its definition, development history, application scenarios, core components, signaling server setup with Node.js and Socket.io, media negotiation, ICE candidate handling, STUN/TURN traversal, and complete code examples for building one‑to‑one real‑time audio/video communication.
ICESTUNSignaling
0 likes · 20 min read

The article shows how to transform a single‑threaded Rust STUN server into a high‑performance, multi‑core service by using Linux’s SO_REUSEPORT to bind multiple threads, assigning each to a NIC queue, and employing batch syscalls recvmmsg/sendmmsg, achieving over a million packets per second with significantly lower CPU usage.
LinuxMultithreadingNetworking
0 likes · 15 min read

This article explains how RTC and WebRTC use P2P communication, the challenges posed by NAT, and how ICE, STUN, TURN, SDP and RTP work together to enable reliable real‑time audio‑video transmission over the internet.
ICENAT traversalRTP
0 likes · 16 min read

This article explains the challenges of connecting two devices behind NAT and firewalls, explores the underlying principles of NAT, STUN, ICE, and related protocols, and presents practical strategies—including port mapping, relay fallback, and IPv6 considerations—to achieve reliable peer‑to‑peer communication.
ICENATSTUN
0 likes · 55 min read

This comprehensive guide explains how two machines behind NAT and stateful firewalls can establish direct UDP communication without relays, covering concepts such as SNAT, STUN, ICE, port‑mapping protocols, carrier‑grade NAT, IPv6, and fallback relay strategies like TURN and DERP.
ICENAT traversalSTUN
0 likes · 47 min read

This tutorial explains WebRTC fundamentals, signaling via WebSocket, NAT traversal with STUN/TURN, peer‑to‑peer connection flow, media capture, screen sharing, recording, and deployment tips, providing complete Vue and Node.js code examples for building robust 1‑to‑1 and multi‑user video applications.
P2PSTUNTURN
0 likes · 30 min read

This article explains WebRTC fundamentals, compares it with WebSocket, describes SDP, ICE, STUN/TURN NAT traversal, and provides full server‑side and client‑side JavaScript code to build a peer‑to‑peer video conferencing demo.
ICEJavaScriptNAT traversal
0 likes · 16 min read


ByteFESep 23, 2021 · Frontend Development
This article explains how to create a browser‑based 1‑to‑1 real‑time audio/video communication application using WebRTC APIs, covering media capture, SDP and ICE handling, signaling with socket.io, peer‑to‑peer connection setup, data channels, and NAT traversal techniques.
JavaScriptRTCPeerConnectionSTUN
0 likes · 15 min read

This article explains how WebRTC uses ICE, along with STUN and TURN protocols, to overcome NAT obstacles, detailing NAT types, detection procedures, candidate gathering, and connection flow to achieve reliable peer‑to‑peer real‑time communication.
ICENAT traversalSTUN
0 likes · 13 min read

This article provides a comprehensive overview of WebRTC, covering its core components MediaStream, RTCPeerConnection, and RTCDataChannel, the processes of media and network negotiation, NAT traversal techniques, signaling, and practical code examples for building real‑time communication applications.
MediaStreamRTCDataChannelRTCPeerConnection
0 likes · 14 min read

This article explains WebRTC fundamentals, its architecture, signaling, ICE, STUN/TURN mechanisms, and provides step‑by‑step guidance to build a peer‑to‑peer video chat using JavaScript APIs, Koa and Socket.io, including coturn server setup and essential code snippets.
STUNSignalingTURN
0 likes · 18 min read

WebRTC is a Google‑originated technology that enables real‑time audio, video, and data transmission across browsers, mobile platforms, and IoT devices, and this article explains its popularity, P2P connection process, signaling, NAT/ICE mechanisms, STUN/TURN servers, VP9 codec, JavaScript APIs, and security measures.
MediaStreamP2PSTUN
0 likes · 12 min read

This article explains WebRTC fundamentals, including its core JavaScript APIs, device compatibility, the STUN/TURN/ICE process for establishing peer-to-peer connections, SDP negotiation, and provides a complete code example for building a simple browser‑based video chat application.
Browser APIsICESTUN
0 likes · 7 min read
