Bilibili Tech
Nov 8, 2022 · Frontend Development
Design and Implementation of Bilibili's Self‑Developed Live Streaming P2P System Using WebRTC
Bilibili designed a self‑built live‑streaming P2P system that uses WebRTC DataChannels and a Tracker‑mediated handshake to exchange 60 KB MessagePack‑encoded HLS segment blocks among viewers, employing a free‑market task allocation to balance seeding and consumption, thereby significantly cutting CDN bandwidth costs.
BrowserHLSMessagePack
0 likes · 16 min read