Douyu Streaming
Author

Douyu Streaming

Official account of Douyu Streaming Development Department, sharing audio and video technology best practices.

17
Articles
0
Likes
16
Views
0
Comments
Recent Articles

Latest from Douyu Streaming

17 recent articles
Douyu Streaming
Douyu Streaming
Dec 10, 2021 · Cloud Computing

How We Built a Fully Automated Cloud‑Based Web Recording Service for Douyu Ads

This article describes the design and implementation of a cloud‑native automated web‑page recording system for Douyu advertising, covering the problem background, technology stack, end‑to‑end workflow, Chrome extension tricks, containerization with Docker, database handling, and deployment on Kubernetes, enabling scalable, hands‑free video capture and delivery.

Chrome extensionMongoDBPuppeteer
0 likes · 29 min read
How We Built a Fully Automated Cloud‑Based Web Recording Service for Douyu Ads
Douyu Streaming
Douyu Streaming
Dec 1, 2021 · Mobile Development

How to Get, Build, and Extend WebRTC m79 Source for Windows, Android, and iOS

This guide explains how to obtain the WebRTC m79 source, compile it for Windows, Android, and iOS, walk through the basic signaling and peer‑connection workflow, and implement advanced video‑capture and audio‑volume features with custom C++ extensions, while unifying the codebase across platforms.

C++CompilationCross-platform
0 likes · 19 min read
How to Get, Build, and Extend WebRTC m79 Source for Windows, Android, and iOS
Douyu Streaming
Douyu Streaming
Nov 12, 2021 · Fundamentals

How FLV and RTP Interact in Douyu’s Low‑Latency WebRTC Streaming

This article explains the end‑to‑end workflow of Douyu’s fast live streaming system, detailing how FLV tags are converted to RTP packets and back, covering WebRTC’s SDP/ICE/DTLS handshake, FLV and RTP header structures, payload formats for audio (OPUS) and video (H.264), and the server‑side processing pipeline.

FLVProtocolRTP
0 likes · 19 min read
How FLV and RTP Interact in Douyu’s Low‑Latency WebRTC Streaming
Douyu Streaming
Douyu Streaming
Nov 5, 2021 · Fundamentals

How WebRTC Jitter Buffer Manages Delay for Smooth Video Playback

This article explains the concept, components, and algorithms of WebRTC's adaptive jitter buffer, detailing how it calculates network, decode, and render delays to ensure smooth video playback while balancing latency and packet loss.

WebRTCjitter buffermedia streaming
0 likes · 17 min read
How WebRTC Jitter Buffer Manages Delay for Smooth Video Playback
Douyu Streaming
Douyu Streaming
Nov 5, 2021 · Fundamentals

How NetEQ Revolutionizes Audio Jitter Buffering and Packet‑Loss Concealment

This article explains NetEQ, the adaptive audio jitter buffer and packet‑loss concealment technology used in WebRTC, detailing its architecture, core modules, jitter‑estimation algorithms, decision logic, and speed‑change processing, and shows how a custom server‑side implementation can improve stability and listening experience.

NetEQWebRTCaudio jitter buffer
0 likes · 21 min read
How NetEQ Revolutionizes Audio Jitter Buffering and Packet‑Loss Concealment
Douyu Streaming
Douyu Streaming
Nov 5, 2021 · Backend Development

How Douyu Built Its Own High‑Performance P2P Live‑Streaming System

Douyu’s senior streaming engineer Zhou Sha details the company’s self‑developed P2P solution, covering its background, architecture, key technologies such as sub‑streaming, WebRTC, data slicing, SDK design, and the strategies used to boost sharing rates and future roadmap.

CDNData SlicingP2P
0 likes · 24 min read
How Douyu Built Its Own High‑Performance P2P Live‑Streaming System
Douyu Streaming
Douyu Streaming
Oct 29, 2021 · Information Security

Understanding SSL/TLS and DTLS: From Cryptographic Basics to WebRTC Security

This article explains the security risks of early Internet protocols, the evolution of SSL/TLS and DTLS, fundamental cryptographic concepts such as symmetric and asymmetric encryption, hashing, MACs, digital signatures, AES modes and padding, and how these technologies are applied in TLS handshakes, DTLS, and WebRTC.

AESDTLSSSL
0 likes · 27 min read
Understanding SSL/TLS and DTLS: From Cryptographic Basics to WebRTC Security
Douyu Streaming
Douyu Streaming
Oct 29, 2021 · Fundamentals

Mastering WebRTC SDP: A Complete Guide to Analyzing Session Descriptions

This article provides a systematic overview of SDP (Session Description Protocol) and its detailed usage in WebRTC, covering protocol structure, media and session level fields, Plan B vs Unified Plan styles, and the extensive a‑line extensions such as codec, ICE, DTLS, and simulcast parameters.

DTLSICESDP
0 likes · 22 min read
Mastering WebRTC SDP: A Complete Guide to Analyzing Session Descriptions